Repository navigation
fix(deps): run on stable effect 4.0.5 - #143
Merged
Merged
Conversation
A fresh install of dw-mc crashes at launch: @effect/platform-node rc.115
asks for @effect/platform-node-shared ^4.0.0-rc.115, which now resolves to
the stable 4.0.5, and that release imports effect/process, a module the
pinned effect rc.115 does not have. Pinning effect, @effect/platform-node
and @effect/vitest to 4.0.5 keeps the three on one version.
Stable effect drops the unstable/ prefix, so effect/unstable/{cli,process,
persistence,encoding} become effect/{cli,process,persistence,encoding}.
Schema.Int's JSON Schema now carries the safe-integer bounds, and the
findings test states the document claude is handed as it now is.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
A fresh install of
dw-mccrashes at launch withERR_MODULE_NOT_FOUND.@effect/platform-node@4.0.0-rc.115asks for@effect/platform-node-shared@^4.0.0-rc.115, which now resolves to the stable 4.0.5, and that release importseffect/process, which the pinnedeffect@4.0.0-rc.115does not have. The quality gate's tarball step catches it on every pull request, #142 included. Effect runs on the stable 4.0.5 throughout.What changes
package.json:effect,@effect/platform-nodeand@effect/vitestare pinned to 4.0.5.src/,tools/,.oxlintrc.json,docs/v1-design.md:effect/unstable/{cli,process,persistence,encoding}becomeseffect/{cli,process,persistence,encoding}, the paths stable Effect exports.src/domain/findings.test.ts: the JSON Schema handed toclaude --json-schemanow carries the safe-integerminimum/maximumthatSchema.Intemits on 4.0.5..changeset/effect-stable.md: apatchchangeset, because 0.9.0 on npm has the same crash.Test plan
pnpm check: pass, 856/856 testspnpm pack,pnpm add <tarball>into an empty project,dw-mc --versionprintsdw-mc v0.9.0, anddw-mc --helprenders. Onlyeffect@4.0.5is in the tree.Risk
The change is a runtime dependency move from an rc to stable, under every command. If it is wrong, a command fails at run time, which
pnpm checkand the tarball step would not show. Reverting the commit brings back rc.115, along with the crash on install.🤖 Generated with Claude Code