File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed
packages/create-next-app/templates/typescript Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,20 @@ Read about our [Commitment to Open Source](https://vercel.com/oss).
1212
1313> You may need to run ` yarn types ` again if your types get outdated.
1414
15- To contribute to [ our examples] ( examples ) , take a look at the [ “Adding examples” section] ( #adding-examples ) .
15+ To contribute to [ our examples] ( examples ) , take a look at the [ “Adding examples”
16+ section] ( #adding-examples ) .
17+
18+ ## Building
19+
20+ You can build the project, including all type definitions, with:
21+
22+ ``` bash
23+ yarn build
24+ # - or -
25+ yarn prepublish
26+ ```
27+
28+ If you need to clean the project for any reason, use ` yarn clean ` .
1629
1730## Adding warning/error descriptions
1831
Original file line number Diff line number Diff line change 55 " packages/*"
66 ],
77 "scripts" : {
8+ "clean" : " yarn lerna clean -y && yarn lerna bootstrap && yarn lerna exec 'rm -rf ./dist'" ,
9+ "build" : " yarn prepublish" ,
810 "lerna" : " lerna" ,
911 "dev" : " lerna run dev --stream --parallel" ,
1012 "dev2" : " while true; do yarn --check-files && yarn dev; done" ,
Original file line number Diff line number Diff line change 1+ /** @type {import('next').NextConfig } */
12module . exports = {
23 reactStrictMode : true ,
34}
You can’t perform that action at this time.
0 commit comments