Skip to content

Allow create-vite-plus preview builds - #132

Merged
fengmk2 merged 1 commit into
voidzero-dev:mainfrom
liangmiQwQ:allow-create-vite-plus
Oct 14, 2026
Merged

fengmk2 merged 1 commit into
voidzero-dev:mainfrom
liangmiQwQ:allow-create-vite-plus

Conversation

@liangmiQwQ

Copy link
Copy Markdown
Contributor

This PR adds create-vite-plus to WORKSPACE_PACKAGES, so the bridge accepts and serves its preview builds.

Vite+ adds the create-vite-plus package in voidzero-dev/vite-plus#3028, and voidzero-dev/vite-plus#3048 lets its preview workflows publish it. Without this, the upload of its tarball is rejected, and reads of create-vite-plus are redirected to npm, so pnpm create vite-plus@0.0.0-commit.<sha> can't resolve.

config/production.env needs to be synced to production and staging with void secret sync after merging.

🤖 Generated with Claude Code

@fengmk2
fengmk2 merged commit 9071d50 into voidzero-dev:main Oct 14, 2026
4 checks passed
fengmk2 pushed a commit to voidzero-dev/vite-plus that referenced this pull request Oct 14, 2026
This PR prepares the registry bridge preview publish for
`create-vite-plus`, added in #3028.

`publish-preview-register.yml` runs from `main` through `workflow_run`,
so #3028 can't change it for its own preview build. Without this, the
upload step rejects the `create-vite-plus` tarball because the action's
default `workspace-packages` only allows
`vite-plus,@voidzero-dev/vite-plus-*`, and the whole preview publish
fails.

This PR:

- passes `workspace-packages` with `create-vite-plus` to the upload
step. It is an allowlist, so PRs that don't pack the package are
unaffected.
- adds `create-vite-plus` to the preview comment, with instructions to
create a project from the build. They set both `npm_config_registry` and
`pnpm_config_registry` (pnpm 11+ only reads the latter), and keep it
exported because the new project pins the preview version.

It depends on voidzero-dev/pkg-pr-registry-bridge#132, which allows
`create-vite-plus` on the bridge. Until #3028 merges, preview comments
on other PRs will also list `create-vite-plus`, although only #3028
builds it.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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