Skip to content

Commit

Permalink
chore(deps): bump next major version to 14.x (#9170)
Browse files Browse the repository at this point in the history
Co-authored-by: Diego Carvalho <[email protected]>
  • Loading branch information
direisc and Diego Carvalho committed Jun 12, 2024
1 parent f1adac1 commit 2f46896
Show file tree
Hide file tree
Showing 15 changed files with 127 additions and 124 deletions.
2 changes: 1 addition & 1 deletion design-system/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.4",
"@types/tinycolor2": "^1.4.3",
"next": "^13.3.0",
"next": "^14.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tinycolor2": "^1.4.2"
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"js-yaml": "^4.1.0",
"lodash.debounce": "^4.0.8",
"markdown-it": "^14.0.0",
"next": "^13.3.0",
"next": "^14.2.0",
"next-compose-plugins": "^2.2.1",
"prism-react-renderer": "^2.0.0",
"react": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-admin-ui-logo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@keystone-6/core": "workspace:^",
"@keystone-ui/core": "workspace:^",
"@prisma/client": "^5.0.0",
"next": "^13.3.0",
"next": "^14.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-admin-ui-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@keystone-6/core": "workspace:^",
"@keystone-ui/core": "workspace:^",
"@prisma/client": "^5.0.0",
"next": "^13.3.0",
"next": "^14.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-field-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@keystone-ui/fields": "workspace:^",
"@keystone-ui/icons": "workspace:^",
"@prisma/client": "^5.0.0",
"next": "^13.3.0",
"next": "^14.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-output-paths/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@keystone-6/core": "workspace:^",
"@prisma/client": "^5.0.0",
"next": "^13.3.0",
"next": "^14.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@keystone-6/document-renderer": "workspace:^",
"@preconstruct/next": "^4.0.0",
"graphql": "^16.8.1",
"next": "^13.3.0",
"next": "^14.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/document-field/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@keystone-6/fields-document": "workspace:^",
"@preconstruct/next": "^4.0.0",
"@prisma/client": "^5.0.0",
"next": "^13.3.0",
"next": "^14.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-nextjs-app-directory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"graphql": "^16.8.1",
"graphql-request": "^5.0.0",
"graphql-yoga": "^3.1.0",
"next": "^13.3.0",
"next": "^14.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-nextjs-pages-directory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"graphql": "^16.8.1",
"graphql-request": "^5.0.0",
"graphql-yoga": "^3.1.0",
"next": "^13.3.0",
"next": "^14.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@keystone-6/document-renderer": "workspace:^",
"@preconstruct/next": "^4.0.0",
"graphql": "^16.8.1",
"next": "^13.3.0",
"next": "^14.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
"inflection": "^3.0.0",
"intersection-observer": "^0.12.0",
"meow": "^9.0.0",
"next": "^13.3.0",
"next": "^14.2.0",
"pluralize": "^8.0.0",
"prisma": "5.14.0",
"prompts": "^2.4.2",
Expand Down
4 changes: 4 additions & 0 deletions packages/core/src/admin-ui/templates/next-config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
export const nextConfigTemplate = (basePath?: string) =>
`const nextConfig = {
// Experimental ESM Externals
// https://nextjs.org/docs/messages/import-esm-externals
// required to fix build admin ui issues related to "react-day-picker" and "date-fn"
experimental: { esmExternals: 'loose' },
typescript: {
ignoreBuildErrors: true,
},
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ export async function build (
undefined,
undefined,
undefined,
undefined,
'default'
)
}
Loading

0 comments on commit 2f46896

Please sign in to comment.