diff --git a/README.md b/README.md index 0482f72b2b..24fe118ce2 100644 --- a/README.md +++ b/README.md @@ -169,7 +169,7 @@ yarn dx 1. Run (in development mode) ```sh - yarn dev --scope=@calcom/web + yarn dev ``` #### Setting up your first user @@ -233,14 +233,14 @@ yarn workspace @calcom/web playwright-report 4. Start the server. In a development environment, just do: ```sh - yarn dev --scope=@calcom/web + yarn dev ``` For a production build, run for example: ```sh - yarn build --scope=@calcom/web - yarn start --scope=@calcom/web + yarn build + yarn start ``` 5. Enjoy the new version. diff --git a/apps/docs/package.json b/apps/docs/package.json index 970623587b..9fafab12c9 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -4,8 +4,8 @@ "description": "", "main": "index.js", "scripts": { - "dev": "next", - "start": "next start", + "dev": "PORT=4000 next", + "start": "PORT=4000 next start", "build": "next build" }, "author": "Cal.com, Inc.", diff --git a/package.json b/package.json index df987adba3..d0bacc2b02 100644 --- a/package.json +++ b/package.json @@ -7,19 +7,22 @@ "packages/*" ], "scripts": { - "build": "turbo run build", + "build": "turbo run build --scope=\"@calcom/web\" --include-dependencies", "clean": "turbo run clean && rm -rf node_modules", "db-deploy": "turbo run db-deploy", "db-seed": "turbo run db-seed", "deploy": "turbo run deploy", - "dev": "turbo run dev --parallel", + "dev": "turbo run dev --scope=\"@calcom/web\"", + "docs-dev": "turbo run dev --scope=\"@calcom/docs\"", + "docs-build": "turbo run dev --scope=\"@calcom/docs\" --include-dependencies", + "docs-start": "turbo run dev --scope=\"@calcom/docs\"", "dx": "turbo run dx", "format": "prettier --write \"**/*.{ts,tsx,md}\"", "heroku-postbuild": "turbo run @calcom/web#build", "lint": "turbo run lint", "pre-commit": "lint-staged", "prepare": "husky install", - "start": "turbo run start", + "start": "turbo run start --scope=\"@calcom/web\"", "test": "turbo run test", "test-playwright": "yarn playwright test", "test-e2e": "turbo run test-e2e",