-
Notifications
You must be signed in to change notification settings - Fork 151
feat(global-cli): release support #1180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ubugeeei
wants to merge
37
commits into
main
Choose a base branch
from
feat/publish-support
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
92eb8e7
feat(global-cli): add monorepo release workflow with publish safety c…
ubugeeei 650a278
refactor
ubugeeei 013da0a
test: more conventional commit perser tests
ubugeeei e5e927a
refactor: first publishing guidance template
ubugeeei ba8f778
more docs
ubugeeei 6af54bb
remove tokio
ubugeeei 4ea6d8b
refactor
ubugeeei ab737c2
refactor
ubugeeei a7c8da2
refactor
ubugeeei ad2b473
refactor
ubugeeei 0ec06d9
feat(release): harden vp release flow
ubugeeei eb0557b
fix(release): keep repo manifests unchanged
ubugeeei c61cbe0
fix(release): restore CI buildability
ubugeeei 3e079f6
fix(release): resolve remaining compile errors
ubugeeei 7fb661a
fix(release): use standard success exit statuses
ubugeeei 100eae4
fix(release): drop unused runner helper
ubugeeei c40d266
fix(release): handle invalid tags in tests
ubugeeei 5045471
test(versioning): align invalid patch expectation
ubugeeei a02c430
fix(release): keep publish workflow template parseable
ubugeeei 28f157b
chore(global): drop checked-in binaries
ubugeeei 155e4b6
fix ci
ubugeeei c43ffa0
Merge branch 'main' of github.com:voidzero-dev/vite-plus into feat/pu…
ubugeeei c3c9209
Merge branch 'main' into feat/publish-support
ubugeeei fe917e2
fix ci
ubugeeei 982d328
Merge branch 'feat/publish-support' of github.com:voidzero-dev/vite-p…
ubugeeei 3d305ba
fix ci
ubugeeei 6c0dba0
Merge branch 'main' of github.com:voidzero-dev/vite-plus into feat/pu…
ubugeeei 66122e2
fix vp release tagging and verification
ubugeeei 1f1fdb1
fix ci
ubugeeei 39f0ef9
Merge remote-tracking branch 'origin/main' into feat/publish-support
ubugeeei 6bf799a
fix: align rolldown workspace deps
ubugeeei 1c029a1
fix: stabilize windows script test and fixture format
ubugeeei 4c07242
test: isolate env exec runtime cache
ubugeeei c983d41
Merge branch 'main' into feat/publish-support
ubugeeei ced4ce5
Merge branch 'main' into feat/publish-support
ubugeeei 54e4fde
Merge branch 'main' into feat/publish-support
ubugeeei d0c32a7
Merge branch 'main' of github.com:voidzero-dev/vite-plus into feat/pu…
ubugeeei File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,11 +19,16 @@ Vite+ is the unified entry point for local web development. It combines [Vite](h | |
| - **`vp build`:** Build applications for production with Vite + Rolldown | ||
| - **`vp run`:** Execute monorepo tasks with caching and dependency-aware scheduling | ||
| - **`vp pack`:** Build libraries for npm publishing or standalone app binaries | ||
| - **`vp release`:** Version and publish workspace packages with native publish preflight during `--dry-run`, release checks before real publishes by default, retry-friendly exact version overrides via `--version`, optional changelog generation via `--changelog`, prerelease channels like `--preid alpha` / `beta` / `rc`, and `--projects` order respected between independent packages | ||
| - **`vp create` / `vp migrate`:** Scaffold new projects and migrate existing ones | ||
|
|
||
| All of this is configured from your project root and works across Vite's framework ecosystem. | ||
| Vite+ is fully open-source under the MIT license. | ||
|
|
||
| `vp release` detects likely checks from `build`, `pack`, `prepack`, `prepublishOnly`, `prepare`, and `vitePlus.release.checkScripts`. Real releases run those checks before publishing unless you pass `--no-run-checks`; dry-runs stay lightweight by default and can opt in with `--run-checks`. `--dry-run` also runs the native publisher in dry-run mode from a temporary release manifest state when the git worktree is clean. Use `--yes` for CI or other non-interactive runs, and `--version <x.y.z>` when retrying a partial publish at an exact version. | ||
|
|
||
| Real releases always create git tags after a successful publish. When every released package shares the same target version, `vp release` also creates a repository-level `v<version>` tag so GitHub Releases and repo-wide release notes can follow the same watermark. Preview-only flags such as `--skip-publish` and `--no-git-tag` are therefore limited to `--dry-run`. | ||
|
|
||
|
Comment on lines
+28
to
+31
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not the right place for the release docs. |
||
| ## Getting Started | ||
|
|
||
| Install Vite+ globally as `vp`: | ||
|
|
@@ -120,6 +125,7 @@ Use `vp migrate` to migrate to Vite+. It merges tool-specific config files such | |
|
|
||
| - **build** - Build for production | ||
| - **pack** - Build libraries | ||
| - **release** - Version and publish workspace packages, with optional changelog generation | ||
| - **preview** - Preview production build | ||
|
|
||
| #### Manage Dependencies | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything here should only be one line with 6-7 words or so.