Conversation
There was a problem hiding this comment.
Greptile Summary
This PR updates Next.js version pinning across the entire monorepo to ensure version consistency. The changes affect three key package.json files: the root, apps/docs, and apps/sim packages.
In the root package.json, both the overrides section and devDependencies are updated to pin Next.js and @next/env to exactly version 15.4.1, removing the caret (^) which previously allowed semantic versioning flexibility for minor and patch updates.
The apps/docs/package.json receives a straightforward upgrade from Next.js ^15.3.2 to ^15.4.1, bringing it in line with the rest of the monorepo's target version.
Most importantly, apps/sim/package.json removes the caret from its overrides section, changing from ^15.4.1 to exactly 15.4.1 for both next and @next/env. This ensures the override behavior is consistent with the root package configuration.
This coordinated change addresses version inconsistencies that could occur in a monorepo setup where different workspaces might resolve to different patch versions of Next.js. The overrides sections are particularly crucial as they force the specified versions throughout the entire dependency tree, preventing transitive dependencies from requesting incompatible versions. This type of version pinning is essential for framework stability in complex applications where even patch releases can introduce breaking changes or behavioral differences.
Confidence score: 5/5
- This PR is extremely safe to merge with minimal risk of production issues
- Score reflects simple dependency version updates with clear coordination across the monorepo
- No files require special attention as these are straightforward
package.jsonversion pinning changes
3 files reviewed, no comments
* fix(next-js): pin version * fix
Summary
pin next js version 15.4.1