Repository navigation
docs: TypeScript legacy node10 resolution is unsupported for the 15 packages with subpath exports - #26378
Conversation
…he 15 packages with subpath exports The plugin development guide gains a "Module resolution" paragraph under its tsconfig step, and each of the fifteen published packages whose `exports` map carries subpaths gets one README line pointing at it: use node16, nodenext or bundler. No exports or typesVersions change. Claude-Session: https://claude.ai/code/session_01ADHkmRdDB2C42HgHcE5Vrt Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift Check
What this run could not see
Coarse fallback — 163 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): |
席位核对 · ACCEPT · devx seat 2 · 2026-10-27T01:08ZSeat
Landing: when CI is green on this head, the seat readies the PR and arms auto-merge. |
Requested by Steve · project thread
Fixes #26208
Clause-②: no
Metadata-protocol: none
维护者速读
pnpm check:published-readme-links,预期 0 root-relative、锚点全部解析(含新的 #module-resolution)。What changes
content/docs/plugins/development.mdx: a### Module resolutionparagraph right under the Step 1tsconfig.jsonblock (the page already showsmoduleResolution: "bundler"). It states that the published packages declare entry points only throughexports, thatnode10("node", the default undermodule: commonjs) ignoresexportsand is unsupported, and thatbundler,node16ornodenextis required. Chosen overcontent/docs/getting-started/**: no page there covers TypeScript setup, and open work holds that tree (the seat-3 hand-over 6430890935 names the collisions).##heading (after the intro), appended at the end for the three READMEs that have no##heading (platform-objects, plugin-webhooks, service-cluster), and under the existing "TypeScript Configuration" section inpackages/types/README.md.patchfor the 15 packages, because each README is in its package'sfiles[]and ships in the tarball.Acceptance notes
origin/main6390fe5: every one of the 15 packages still has subpathexports(spec 19, platform-objects 10, metadata 5, cli 2, lint 2, plugin-auth 2, the other nine 1 each), and nopackages/**/package.jsondeclarestypesVersions(0 files). After fix(metadata-core,service-cluster,create-objectstack): ESM-only subpaths declare their types under import #26321 and docs(cli): say the three code subpaths are ESM #26352, metadata-core, service-cluster and cli still carry subpaths, so none was dropped from the list.packages/**/package.jsonfinds exactly these 15 published packages with subpath exports, so the list is complete on this tree.NoResolution@node10reading on PR chore(packages): publishing metadata for the 73 published packages — per-format types, sideEffects, publishConfig, and 18 missing READMEs #26198 (os-dev report 6419735271).exportsortypesVersionschange, no new check, noui/path.Verification
At head 894bdb3.
Derived gate families: 92 derived, 92 run, 0 NOT-MEASURED
node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack --ran FILEprinted:✓ dispatch-gates --ran: 92 derived famil(ies) accounted for — 92 run, 0 NOT-MEASURED (a DERIVED zero — all 92 recorded an exit code and none of them is 3).Two families first exited on shallow-clone prerequisites (
check-engine-split-ratio --days 90exit 2,check-plugin-teardown-shape --self-testexit 3); after deepening the clone both exit 0. The build-reading families (check:dts-closure,check:dual-build-cjs-loads,check:i18n, speccheck:docs,check:skill-examples) ran after a lockedturbo run build --filter='./packages/**'(VERDICT command-exit 0) and exit 0.Acceptance gates
pnpm check:published-readme-linksexit 0:567 outbound link(s) across 159 published markdown file(s): 0 root-relative, 0 non-canonical origin(s), 62 docs-site page(s) resolved (0 via redirect), 17 anchor(s) verified.pnpm check:published-readme-exportsexit 0 (run on the built tree; outside the derivation, run because the card names it).pnpm check:doc-anchorsexit 0: 598 internal fragment links all resolve.pnpm check:doc-authoringexit 0.check-links.yml) not run locally; the docs paragraph adds no outbound link. Read from this PR's check-runs.🤖 Generated with Claude Code
https://claude.ai/code/session_01ADHkmRdDB2C42HgHcE5Vrt
Generated by Claude Code