Skip to content

Commit

Permalink
Upgrade next.js (#595)
Browse files Browse the repository at this point in the history
* Upgrade next.js

* can get rid of this now

* And ts
  • Loading branch information
Janpot authored Jun 23, 2022
1 parent 01a5e28 commit 6143b41
Show file tree
Hide file tree
Showing 5 changed files with 134 additions and 125 deletions.
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
},
"devDependencies": {
"@mui/monorepo": "https://github.com/mui/material-ui.git#master",
"@next/eslint-plugin-next": "^12.1.6",
"@next/eslint-plugin-next": "12.1.6",
"@playwright/test": "^1.22.1",
"@swc/helpers": "^0.3.8",
"@swc/helpers": "^0.4.2",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^13.0.0",
"@types/jest": "^27.4.0",
Expand Down Expand Up @@ -64,7 +64,7 @@
"regenerator-runtime": "^0.13.9",
"rimraf": "^3.0.2",
"ts-node": "^10.7.0",
"typescript": "^4.6.3",
"typescript": "^4.7.4",
"yarn-deduplicate": "^4.0.0"
},
"dependencies": {
Expand All @@ -74,5 +74,9 @@
"jest-environment-jsdom": "^28.0.0-alpha.8",
"semver": "^7.3.7",
"yargs": "^17.5.1"
},
"resolutions": {
"@types/react": "18.0.14",
"@types/react-dom": "18.0.5"
}
}
2 changes: 0 additions & 2 deletions packages/toolpad-app/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
import 'react/next';

export {};
12 changes: 6 additions & 6 deletions packages/toolpad-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
"@mui/toolpad-core": "^0.0.7",
"@mui/x-data-grid-pro": "^5.11.0",
"@prisma/client": "^3.13.0",
"@swc/wasm": "^1.2.189",
"@swc/wasm": "^1.2.204",
"@types/cors": "^2.8.12",
"@types/prettier": "^2.4.3",
"@types/react-dom": "^17.0.14",
"@types/react-dom": "^18.0.5",
"arg": "^5.0.1",
"basic-auth": "^2.0.1",
"clsx": "^1.1.1",
Expand All @@ -62,7 +62,7 @@
"json-to-ts": "^1.7.0",
"json5": "^2.2.1",
"lodash-es": "^4.17.21",
"next": "^12.1.4",
"next": "12.1.6",
"path-to-regexp": "^6.2.0",
"prettier": "^2.6.2",
"pretty-bytes": "^6.0.0",
Expand All @@ -75,21 +75,21 @@
"react-hook-form": "^7.29.0",
"react-inspector": "^5.1.1",
"react-is": "^18.1.0",
"react-query": "^3.34.19",
"react-query": "^3.39.1",
"react-router-dom": "^6.3.0",
"react-split-pane": "^0.1.92",
"serialize-javascript": "^6.0.0",
"sucrase": "^3.21.0",
"superjson": "^1.8.1",
"ts-node": "^10.7.0",
"typescript": "^4.6.3"
"typescript": "^4.7.4"
},
"devDependencies": {
"@types/babel__code-frame": "^7.0.3",
"@types/crypto-js": "^4.1.1",
"@types/glob": "^7.2.0",
"@types/lodash-es": "^4.17.6",
"@types/react": "^17.0.43",
"@types/react": "^18.0.14",
"@types/react-inspector": "^4.0.2",
"@types/serialize-javascript": "^5.0.2",
"ajv": "^8.11.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/toolpad-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@mui/x-data-grid-pro": "^5.11.0",
"quickjs-emscripten": "^0.20.0",
"react-error-boundary": "^3.1.4",
"react-query": "^3.34.19"
"react-query": "^3.39.1"
},
"devDependencies": {
"react": "^18.1.0"
Expand Down
Loading

0 comments on commit 6143b41

Please sign in to comment.