From 554d0613267a5765772980491968670b5f46ce7a Mon Sep 17 00:00:00 2001 From: Junya Kono Date: Sat, 31 Dec 2022 07:14:25 +0900 Subject: [PATCH] docs: add pnpm to template readme (#44427) Add pnpm command to execute npm script ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] [e2e](https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs) tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) ## Documentation / Examples - [x] Make sure the linting passes by running `pnpm build && pnpm lint` - [x] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md) Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com> --- packages/create-next-app/templates/app/js/README-template.md | 2 ++ packages/create-next-app/templates/app/ts/README-template.md | 2 ++ .../create-next-app/templates/default/js/README-template.md | 2 ++ .../create-next-app/templates/default/ts/README-template.md | 2 ++ 4 files changed, 8 insertions(+) diff --git a/packages/create-next-app/templates/app/js/README-template.md b/packages/create-next-app/templates/app/js/README-template.md index bef3866553..279bcab781 100644 --- a/packages/create-next-app/templates/app/js/README-template.md +++ b/packages/create-next-app/templates/app/js/README-template.md @@ -8,6 +8,8 @@ First, run the development server: npm run dev # or yarn dev +# or +pnpm dev ``` Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. diff --git a/packages/create-next-app/templates/app/ts/README-template.md b/packages/create-next-app/templates/app/ts/README-template.md index bb30f88bc8..5bc7ca24ac 100644 --- a/packages/create-next-app/templates/app/ts/README-template.md +++ b/packages/create-next-app/templates/app/ts/README-template.md @@ -8,6 +8,8 @@ First, run the development server: npm run dev # or yarn dev +# or +pnpm dev ``` Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. diff --git a/packages/create-next-app/templates/default/js/README-template.md b/packages/create-next-app/templates/default/js/README-template.md index a25d769b27..ca8a3a2128 100644 --- a/packages/create-next-app/templates/default/js/README-template.md +++ b/packages/create-next-app/templates/default/js/README-template.md @@ -8,6 +8,8 @@ First, run the development server: npm run dev # or yarn dev +# or +pnpm dev ``` Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. diff --git a/packages/create-next-app/templates/default/ts/README-template.md b/packages/create-next-app/templates/default/ts/README-template.md index fb9bcc9fb5..965a1228cf 100644 --- a/packages/create-next-app/templates/default/ts/README-template.md +++ b/packages/create-next-app/templates/default/ts/README-template.md @@ -8,6 +8,8 @@ First, run the development server: npm run dev # or yarn dev +# or +pnpm dev ``` Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.