Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve Next build errors in Next example #8456

Merged
merged 1 commit into from
Apr 6, 2023
Merged

Conversation

borisno2
Copy link
Member

@borisno2 borisno2 commented Apr 5, 2023

This pull request fixes the nextjs-keystone example deployment for Vercel, as it had a number of build issues.

@changeset-bot

This comment was marked as resolved.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 5, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit b86c3a4:

Sandbox Source
@keystone-6/sandbox Configuration

@borisno2 borisno2 marked this pull request as ready for review April 5, 2023 22:06
@borisno2
Copy link
Member Author

borisno2 commented Apr 5, 2023

@borisno2 borisno2 requested a review from dcousens April 5, 2023 22:06
@@ -9,7 +9,7 @@
"keystone:start": "keystone start",
"next:dev": "next dev -p 4000",
"next:build": "next build",
"build": "keystone build && next build",
"build": "keystone build --no-ui && next build",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ui is not being used by this example

@@ -19,6 +19,7 @@
"@keystone-6/fields-document": "^7.0.0",
"@preconstruct/next": "^4.0.0",
"@prisma/client": "^4.12.0",
"graphql": "^16.6.0",
Copy link
Member

@dcousens dcousens Apr 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing dependency

@@ -3,7 +3,7 @@
"target": "esnext",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": false,
"skipLibCheck": false,
"skipLibCheck": true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as the monorepo

@dcousens dcousens enabled auto-merge (squash) April 6, 2023 02:40
@dcousens dcousens disabled auto-merge April 6, 2023 02:40
@dcousens dcousens merged commit c15699a into main Apr 6, 2023
@dcousens dcousens deleted the fix-keystone-next-vercel branch April 6, 2023 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants