Update nextjs-contentful-store project setup - #48
Merged
Conversation
pfferrari
force-pushed
the
feat/710-update-setup
branch
from
September 9, 2026 14:12
2dafad3 to
eee6b6e
Compare
nextjs-contentful-store project setup
gciotola
approved these changes
Sep 9, 2026
malessani
approved these changes
Sep 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes commercelayer/issues-app/issues/710
What I did
Updated packages
ESLint stays on 9 (
eslint-config-next@16pullstypescript-eslint@^8); TypeScript on 5.9 by choice.Migrations
Entry<Fields>no longer exists; typings rewritten as 7EntrySkeletonTypes, images retyped asAsset,withoutUnresolvableLinksmodifier. Also fixedgetProduct, which queried a non-existent key.<CommerceLayer>droppedendpoint,<OrderContainer>→<Order>, subpath exports removed.iframe-resizerv5 is GPL-3.0, so the dependency was removed rather than upgraded: the custom iframe is now CL's<HostedCart />, plus a containermin-heightand an SSR token guard it requires.shadow-smremapped, colourlessborder-2).setState-in-effect violations fixed by deriving state.Security
pnpm audit: 14 → 1, all 14 dev-only (pnpm audit --prodclean).overridesinpnpm-workspace.yaml.uuid@9left knowingly: the advisory needs abufargument, the only call site isv4()with none.Cleanup & fixes
lodash, imported in 8 files but never declared.NEXT_PUBLIC_CL_ENDPOINT— unused after v5. Changes the deploy button URLs.Verification
typecheck,lint,buildclean. All routes exercised against a live Contentful space — 200s with zero runtime errors,/xx/en-us→ 404./fr/fr-frreturns 500 because the space has onlyit-ITanden-USenabled.Checklist (general changes)