Skip to content

Commit

Permalink
feat(Next): Support Next.js 14
Browse files Browse the repository at this point in the history
  • Loading branch information
xrutayisire committed Oct 30, 2023
1 parent 9486332 commit 7976de7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ else
fi

rm -rf e2e-projects/cypress-next-app \
&& yarn dlx --quiet create-next-app@13.5.4 --app --eslint --import-alias '@/*' --no-src-dir --tailwind --typescript --use-npm e2e-projects/cypress-next-app \
&& yarn dlx --quiet create-next-app@latest --app --eslint --import-alias '@/*' --no-src-dir --tailwind --typescript --use-npm e2e-projects/cypress-next-app \
&& yarn dlx --quiet vite-node ./cypress/plugins/addAuth.ts -- ${EMAIL} ${PASSWORD} ${PRISMIC_URL} \
&& yarn dlx --quiet vite-node ./cypress/plugins/createRepo.ts -- "${_PRISMIC_REPO}" "${PASSWORD}" "${PRISMIC_URL}" \
&& yarn workspaces foreach --include '{@slicemachine/adapter-next,@slicemachine/init,@slicemachine/manager,@slicemachine/plugin-kit,slice-machine-ui,start-slicemachine}' --topological --verbose pack --out "${THIS_DIR}"/e2e-projects/cypress-next-app/%s-%v.tgz \
Expand Down
2 changes: 1 addition & 1 deletion packages/init/src/lib/framework.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const FRAMEWORKS: Record<string, Framework> = {
prismicDocumentation: "https://prismic.dev/init/next-11-13",
adapterName: "@slicemachine/adapter-next",
compatibility: {
next: "^11.0.0 || ^12.0.0 || ^13.0.0",
next: "^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0",
},
devDependencies: {
...DEFAULT_DEV_DEPENDENCIES,
Expand Down

0 comments on commit 7976de7

Please sign in to comment.