Skip to content

Commit

Permalink
make sure "webpack" exists in the repo for typings (#30371)
Browse files Browse the repository at this point in the history
fixes "yarn types" needed before "yarn dev"
use incremental typescript for next package
  • Loading branch information
sokra authored Oct 29, 2021
1 parent c53eaac commit c03e284
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ test-timings.json
# Vercel
.vercel
.now

# Cache
*.tsbuildinfo
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
"typescript": "4.4.3",
"wait-port": "0.2.2",
"web-streams-polyfill": "2.1.1",
"webpack": "link:./node_modules/webpack5",
"webpack-bundle-analyzer": "4.3.0",
"worker-loader": "3.0.7"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/next/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"target": "ES2017",
"esModuleInterop": true,
"moduleResolution": "node",
"jsx": "react"
"jsx": "react",
"incremental": true
},
"exclude": ["dist", "./*.d.ts"]
}
4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19883,6 +19883,10 @@ webpack-sources@^3.2.0:
watchpack "^2.2.0"
webpack-sources "^3.2.0"

"webpack@link:./node_modules/webpack5":
version "0.0.0"
uid ""

websocket-driver@>=0.5.1:
version "0.7.3"
resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.7.3.tgz#a2d4e0d4f4f116f1e6297eba58b05d430100e9f9"
Expand Down

0 comments on commit c03e284

Please sign in to comment.