diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0c82d5fb516..cadbf49015e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -223,7 +223,7 @@ pnpm install 2. Run the docs site: ```shell -cd packages/docs && pnpm start +pnpm docs.dev ``` ### To open the test apps for debugging run: diff --git a/package.json b/package.json index 2e9ff44da0a..7a580c072e6 100644 --- a/package.json +++ b/package.json @@ -121,6 +121,8 @@ "cli.validate": "tsm scripts/validate-cli.ts", "commit": "git-cz", "deps": "pnpm upgrade -i -r --latest", + "docs.dev": "cd packages/docs && pnpm dev", + "docs.preview": "cd packages/docs && pnpm preview", "docs.sync": "tsm scripts/docs_sync/index.ts && pnpm fmt", "eslint.update": "tsm scripts/eslint-docs.ts", "fmt": "pnpm prettier.fix && pnpm syncpack format", diff --git a/scripts/index.ts b/scripts/index.ts index 77f06aa899d..b087aef9090 100644 --- a/scripts/index.ts +++ b/scripts/index.ts @@ -1,5 +1,5 @@ /** - * This is the root build scripts module (keep in commonjs). It's only a .js file but will handling + * This is the root build scripts module (keep in commonjs). It's only a .js file but will handle * registering typescript files with esbuild-register to allow Node.js to build .ts files * on-demand. */