Repository navigation
fix: depend on zod by range in the published packages - #816
Merged
alongubkin merged 2 commits intoOct 4, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Member
Author
|
@greptileai review |
alongubkin
deleted the
alon/alien-1150-published-packages-pin-zod-exactly
branch
October 4, 2026 01:31
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.
Fixes ALIEN-1150.
Problem
@alienplatform/core,@alienplatform/sdk,@alienplatform/ai-gatewayand@alienplatform/testingdepended on"zod": "4.5.2"exactly; every other runtime dependency of these packages uses a caret range. An app on any other zod 4.x got a second zod installed just for the Alien packages, and schemas and types from one copy don't match the other. An app on zod^4.6.5failed its type check and needed a pnpm override ("@alienplatform/core>zod": "4.6.5") to install at all cleanly.Fix
"zod": "^4.5.2"in those four packages'dependencies, so the app's zod 4.x satisfies them. The lockfile changes only those four specifiers; resolved versions are unchanged.bindingsandcommandskeep their exact zod devDependency, which doesn't reach apps.Testing
pnpm install --frozen-lockfilepasses.@alienplatform/coreand installed it into a scratch app that depends on zod4.6.5: exactly one zod (4.6.5) is installed, shared by the app and core. With the exact pin, npm nests a separate 4.5.2 under core.🤖 Generated with Claude Code