8000 fix(deps): run on stable effect 4.0.5 by dominikwozniak · Pull Request #143 · dominikwozniak/dw-mc · GitHub
[go: up one dir, main page]

Skip to content

fix(deps): run on stable effect 4.0.5 - #143

Merged
dominikwozniak merged 1 commit into
mainfrom
fix/effect-stable
Oct 20, 2026
Merged

dominikwozniak merged 1 commit into
mainfrom
fix/effect-stable

Conversation

@dominikwozniak
Copy link
Copy Markdown
Owner

A fresh install of dw-mc crashes at launch with ERR_MODULE_NOT_FOUND. @effect/platform-node@4.0.0-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, which the pinned effect@4.0.0-rc.115 does 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-node and @effect/vitest are pinned to 4.0.5.
  • src/, tools/, .oxlintrc.json, docs/v1-design.md: effect/unstable/{cli,process,persistence,encoding} becomes effect/{cli,process,persistence,encoding}, the paths stable Effect exports.
  • src/domain/findings.test.ts: the JSON Schema handed to claude --json-schema now carries the safe-integer minimum/maximum that Schema.Int emits on 4.0.5.
  • .changeset/effect-stable.md: a patch changeset, because 0.9.0 on npm has the same crash.

Test plan

  • pnpm check: pass, 856/856 tests
  • The quality gate's tarball step run by hand: pnpm pack, pnpm add <tarball> into an empty project, dw-mc --version prints dw-mc v0.9.0, and dw-mc --help renders. Only effect@4.0.5 is 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 check and the tarball step would not show. Reverting the commit brings back rc.115, along with the crash on install.

🤖 Generated with Claude Code

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>
@dominikwozniak
dominikwozniak merged commit e1fc389 into main Oct 20, 2026
1 check passed
@dominikwozniak
dominikwozniak deleted the fix/effect-stable branch October 20, 2026 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0