Migrate codex-flows to Node pnpm and VitePlus #3

Closed
matamune wants to merge 4 commits from node-pnpm-viteplus-ready 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 new 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
  • node --check scripts/ci/consume-pr-label.mjs

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 #2, whose Forgejo PR metadata became stale after force-pushes. #3 is opened from a fresh branch and should not be force-pushed.

## 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 new 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` - `node --check scripts/ci/consume-pr-label.mjs` ## 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 #2, whose Forgejo PR metadata became stale after force-pushes. #3 is opened from a fresh branch and should not be force-pushed.
Author
Owner

Closing in favor of #4. #3 received a follow-up branch push and Forgejo kept stale PR commit/event metadata. #4 is opened from the final settled branch and should not receive follow-up pushes.

Closing in favor of #4. #3 received a follow-up branch push and Forgejo kept stale PR commit/event metadata. #4 is opened from the final settled branch and should not receive follow-up pushes.
matamune closed this pull request 2026-05-20 22:42:28 +00:00
Some checks failed
pr-policy / check (pull_request_target) Successful in 5s
Required
Details
trusted-ci / check (pull_request_target) Failing after 5s
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!3
No description provided.