Skip to content

feat(pack): add --exe flag and upgrade tsdown to 0.21.0-beta.2#646

Merged
fengmk2 merged 1 commit intomainfrom
vp-pack-exe
Feb 27, 2026
Merged

feat(pack): add --exe flag and upgrade tsdown to 0.21.0-beta.2#646
fengmk2 merged 1 commit intomainfrom
vp-pack-exe

Conversation

@fengmk2
Copy link
Copy Markdown
Member

@fengmk2 fengmk2 commented Feb 27, 2026

Summary

  • Upgrade tsdown from 0.20.3 to 0.21.0-beta.2 for experimental Node.js SEA support
  • Add --exe CLI option to vp pack for bundling as a standalone Node.js executable
  • Add RFC document for the full vp pack command
  • Add global snap tests for --exe success (Node.js 25.7.0) and error (Node.js < 25.5.0) cases
  • Fix size replacement regex in snap test utils to handle uppercase units (MB, GB)

Test plan

  • pnpm -F vite-plus snap-test-local command-pack — help output includes --exe, build/cache unchanged
  • pnpm -F vite-plus snap-test-global command-pack-exe — successful exe build with Node.js 25.7.0
  • pnpm -F vite-plus snap-test-global command-pack-exe-error — clear error on Node.js < 25.5.0

🤖 Generated with Claude Code

@fengmk2 fengmk2 self-assigned this Feb 27, 2026
Copy link
Copy Markdown
Member Author

fengmk2 commented Feb 27, 2026

@fengmk2 fengmk2 changed the title feat(pack): add --exe flag and upgrade tsdown to 0.21.0-beta.2 feat(pack): add --exe flag and upgrade tsdown to 0.21.0-beta.2 Feb 27, 2026
@fengmk2 fengmk2 changed the base branch from main to graphite-base/646 February 27, 2026 02:41
@fengmk2 fengmk2 changed the base branch from graphite-base/646 to vp-pack-fix February 27, 2026 02:41
@fengmk2 fengmk2 changed the base branch from vp-pack-fix to graphite-base/646 February 27, 2026 05:26
@graphite-app graphite-app Bot changed the base branch from graphite-base/646 to main February 27, 2026 05:28
- Upgrade tsdown from 0.20.3 to 0.21.0-beta.2 for experimental SEA support
- Add `--exe` CLI option to `vp pack` for bundling as Node.js executable
- Add RFC document for the full `vp pack` command
- Add global snap tests for --exe success (Node.js 25.7.0) and error cases
- Fix size replacement regex in snap test utils to handle uppercase units (MB, GB)
@fengmk2 fengmk2 marked this pull request as ready for review February 27, 2026 06:06
Copy link
Copy Markdown
Member Author

fengmk2 commented Feb 27, 2026

Merge activity

  • Feb 27, 6:08 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Feb 27, 6:08 AM UTC: @fengmk2 merged this pull request with Graphite.

@fengmk2 fengmk2 merged commit 0331cef into main Feb 27, 2026
18 checks passed
@fengmk2 fengmk2 deleted the vp-pack-exe branch February 27, 2026 06:08
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.

2 participants