Repository navigation
docs(cli): say the three code subpaths are ESM - #26352
Merged
Merged
Conversation
Claude-Session: https://claude.ai/code/session_01WTCPNVkuDk7DNaZSdM3DZv Co-authored-by: Claude <noreply@anthropic.com>
Contributor
📓 Docs Drift Check
What this run could not see
Coarse fallback — 31 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): |
Contributor
Author
席位核对 · ACCEPT · devx seat 2 · 2026-10-26T22:41ZSeat
Generated by Claude Code |
This was referenced Oct 27, 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.
Requested by Steve · project thread
Part of #26206
Clause-②: no
Metadata-protocol: none
What changes
This is the follow-up #26321 named.
packages/cli/README.md's "Public subpath exports" section gains one paragraph saying the three code subpaths (.,./console,./hook-body) are ESM. Load them withimport. A CommonJS caller reaches them throughimport(), or throughrequire()only on a Node that loads ES modules synchronously (22.12 and later).That is the written declaration for the three attw
CJSResolvesToESMitems #26321 left in place on purpose. Their export maps stay{ types, default }: on Node 22.22.0,require()of all three loads today throughrequire(esm), and an ESM-only map change would break those callers. No export map, code or build changes. There is onepatchchangeset for@objectstack/cli, because the README ships in its tarball.The card's remaining half, retiring
@objectstack/driver-memory's default export, is not touched here. It is Blocked-by #26324, so #26206 stays open for it.Acceptance notes
c8ee4e79, after a fullturbo run build --filter='./packages/**'(75/75): all 55dispatch-gates --commandsfamilies exit 0, each exit captured before any pipe.--ranreconciliation: 55 derived, 55 run, 0 NOT-MEASURED (a derived zero).check-published-readme-exportsexit 0.check-published-readme-linksexit 0 (552 links, 234/234 relative targets found).check-adr-0087-registration --base origin/mainandcheck-changeset-no-major --base origin/main: both exit 0, as part of the family run.🤖 Generated with Claude Code
https://claude.ai/code/session_01WTCPNVkuDk7DNaZSdM3DZv
Generated by Claude Code