rsnext/docs/api-reference
Steven 9f9214abe5
Updated create-next-app docs to include pnpm usage (#35755)
This PR updates the docs and examples for `create-next-app` to include pnpm usage.

The following script was used to update every example README:

```js
const fs = require('fs')
const examples = fs.readdirSync('./examples')

for (let example of examples) {
    const filename = `./examples/${example}/README.md`
    const markdown = fs.readFileSync(filename, 'utf8')
    const regex = new RegExp(`^yarn create next-app --example (.*)$`, 'gm')
    const output = markdown.replace(regex, (yarn, group) => {
        const pnpm = `pnpm create next-app -- --example ${group}`
        return `${yarn}\n# or\n${pnpm}`
    })
    fs.writeFileSync(filename, output)
}
```
2022-03-30 21:03:21 +00:00
..
data-fetching Add link for revalidate from notFound section (#35553) 2022-03-23 13:43:12 -05:00
next Update middleware examples list (#35622) 2022-03-28 16:05:58 +00:00
next.config.js Fix typo in rewrites docs (#35639) 2022-03-27 18:15:08 +00:00
cli.md feat(cli): introduce next info CLI command (#32972) 2022-01-04 15:35:32 +00:00
create-next-app.md Updated create-next-app docs to include pnpm usage (#35755) 2022-03-30 21:03:21 +00:00
edge-runtime.md web runtime: add AbortController & AbortSignal (#32089) 2021-12-21 17:12:53 +00:00