Migrate codex-flows to Node pnpm and VitePlus #4

Closed
matamune wants to merge 5 commits from node-pnpm-viteplus-final into main
Owner

Summary

  • migrates the monorepo from Bun to Node 24 LTS + pnpm + VitePlus
  • replaces runner = "bun" / defineBunFlow with the Node flow runner and helpers, with no compatibility path
  • replaces Bun runtime APIs with Node APIs, including node:sqlite, Node HTTP, Node child processes, and smol-toml
  • updates CI, docs, bundled flows, gateway packaging, and package-on-demand commands to vp / pnpm
  • aligns package versions to 0.132.1 and documents the Codex-line versioning policy in RELEASE.md
  • intentionally exports CodexEventEmitter from @peezy.tech/codex-flows and removes broad source catch-all aliases
  • documents the lightweight PR policy plus maintainer-gated full CI flow

Verification

  • pnpm install --frozen-lockfile
  • pnpm run check:types
  • pnpm run test
  • pnpm run build
  • pnpm run release:check
  • git diff --check
  • targeted Bun/vpx/bunx cruft search
  • package-boundary scan for relative imports leaving workspace package roots
  • node --check scripts/ci/pr-policy-check.mjs
  • maintainer-gated trusted-ci validated on prior settled head

Notes

This is intentionally a breaking migration. The branch removes Bun lock/config/type dependencies and does not preserve runner = "bun" or defineBunFlow aliases.

This replaces #3, whose Forgejo PR metadata became stale after a follow-up branch push. This PR is opened from the final settled branch and should not be updated by force-push or follow-up branch pushes.

## Summary - migrates the monorepo from Bun to Node 24 LTS + pnpm + VitePlus - replaces `runner = "bun"` / `defineBunFlow` with the Node flow runner and helpers, with no compatibility path - replaces Bun runtime APIs with Node APIs, including `node:sqlite`, Node HTTP, Node child processes, and `smol-toml` - updates CI, docs, bundled flows, gateway packaging, and package-on-demand commands to `vp` / `pnpm` - aligns package versions to `0.132.1` and documents the Codex-line versioning policy in `RELEASE.md` - intentionally exports `CodexEventEmitter` from `@peezy.tech/codex-flows` and removes broad source catch-all aliases - documents the lightweight PR policy plus maintainer-gated full CI flow ## Verification - `pnpm install --frozen-lockfile` - `pnpm run check:types` - `pnpm run test` - `pnpm run build` - `pnpm run release:check` - `git diff --check` - targeted Bun/vpx/bunx cruft search - package-boundary scan for relative imports leaving workspace package roots - `node --check scripts/ci/pr-policy-check.mjs` - maintainer-gated `trusted-ci` validated on prior settled head ## Notes This is intentionally a breaking migration. The branch removes Bun lock/config/type dependencies and does not preserve `runner = "bun"` or `defineBunFlow` aliases. This replaces #3, whose Forgejo PR metadata became stale after a follow-up branch push. This PR is opened from the final settled branch and should not be updated by force-push or follow-up branch pushes.
matamune added 5 commits 2026-05-20 22:42:12 +00:00
Add gated PR CI policy
Some checks failed
pr-policy / check (pull_request_target) Successful in 5s
trusted-ci / check (pull_request_target) Failing after 5s
35011d851b
Simplify maintainer CI approval note
All checks were successful
pr-policy / check (pull_request_target) Successful in 4s
trusted-ci / check (pull_request_target) Successful in 2m17s
9ffa20be62
matamune added the
ci:reviewed-workflow
ci:run-full
labels 2026-05-20 22:42:27 +00:00
Author
Owner

Closing in favor of #5. #5 starts from the current main tip, preserving the same final tree without updating the PR branch after creation.

Closing in favor of #5. #5 starts from the current main tip, preserving the same final tree without updating the PR branch after creation.
matamune closed this pull request 2026-05-20 22:48:29 +00:00
All checks were successful
pr-policy / check (pull_request_target) Successful in 4s
Required
Details
trusted-ci / check (pull_request_target) Successful in 2m17s
Required
Details

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: peezy-tech/codex-toys#4
No description provided.