Skip to content

build(deps): declare the host-shared stack as peer dependencies - #52

Merged
TheGreatAxios merged 4 commits into
mainfrom
cl-9057-memory-move-intx-hono-drizzle-orm-postgres-to
Sep 27, 2026
Merged

TheGreatAxios merged 4 commits into
mainfrom
cl-9057-memory-move-intx-hono-drizzle-orm-postgres-to

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • @intx/* (^0.4.0), drizzle-orm, hono, hono-openapi and postgres are caret peerDependencies, floored at the versions CI tests, with exact devDependencies pins. arktype is the only runtime dependency.
  • engines is removed (Interchange packages declare none) and "sideEffects": false is set.
  • package.json interchange.grantRequirements is the single source of grant requirements. src/grant-requirements.ts reads it at module load, validates it with arktype and derives its types from that schema. The lockstep test is deleted.
  • The README says the package ships dist/ and runs on Node 22+ or Bun, and its peer list matches peerDependencies.

Verification

  • bun install --frozen-lockfile, bun run typecheck, bun run build and bun test ./src pass (456 tests).
  • npm pack --dry-run passes.
  • dist/index.js loads under Node v22.23.3 and v24.4.1, and MEMORY_CAPABILITY_IDS resolves from package.json.

Closes CL-9057
Closes CL-9165
Closes CL-9167
Closes CL-9160
Closes CL-9171
Closes CL-9175

@TheGreatAxios TheGreatAxios left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self-review, three passes over origin/main..HEAD.

Verdict: ready for review.

  • Peers match every external bare import in src/. arktype is the only runtime dependency.
  • The grant requirements load from package.json from both src/ and the packed dist/, checked under Node 22 and 24.
  • The README runtime and peer text matches package.json and the build/prepack scripts.
  • Waivers are listed in the description, each with its Greybeard ruling.

@TheGreatAxios
TheGreatAxios force-pushed the cl-9057-memory-move-intx-hono-drizzle-orm-postgres-to branch from eeb72f4 to c7eca84 Compare September 25, 2026 18:31
The interchange.grantRequirements field in the manifest is now the only
declaration. The module loads and validates it with arktype and derives
its types from that schema; the lockstep test is gone.
@TheGreatAxios
TheGreatAxios force-pushed the cl-9057-memory-move-intx-hono-drizzle-orm-postgres-to branch from c7eca84 to e5488cd Compare September 26, 2026 01:32
@TheGreatAxios TheGreatAxios changed the title Declare peers, drop engines, and read grant requirements from package.json build(deps)!: declare the host-shared stack as peer dependencies Sep 26, 2026
@intx/*, drizzle-orm, hono, hono-openapi and postgres move to caret
peerDependencies floored at the tested versions, with exact
devDependency pins; arktype is the only runtime dependency. engines is
removed to match Interchange packages and sideEffects is false.
Runtime support no longer claims there is no dist build, and the peer
line matches package.json peerDependencies.
@TheGreatAxios
TheGreatAxios force-pushed the cl-9057-memory-move-intx-hono-drizzle-orm-postgres-to branch from e5488cd to 61ef445 Compare September 26, 2026 01:36
@TheGreatAxios TheGreatAxios changed the title build(deps)!: declare the host-shared stack as peer dependencies build(deps): declare the host-shared stack as peer dependencies Sep 26, 2026
@TheGreatAxios
TheGreatAxios added this pull request to stack #61 September 26, 2026 01:57
@TheGreatAxios
TheGreatAxios merged commit 3971576 into main Sep 27, 2026
2 checks passed
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