Skip to content

Commit 34288e5

Browse files
committed
fix ci
1 parent c5265c0 commit 34288e5

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

crates/vite_shared/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ pub mod versioning;
1616

1717
pub use conventional_commit::{ConventionalCommit, parse_conventional_commit};
1818
pub use env_config::{EnvConfig, TestEnvGuard};
19-
pub use home::get_vp_home;
2019
pub use git::{GitError, capture_git, is_clean_git_worktree, parse_github_repo_slug, run_git};
20+
pub use home::{get_vp_home, get_vp_home as get_vite_plus_home};
2121
pub use package_json::{
2222
DependencyProtocolSummary, DevEngines, Engines, PackageJson, PackageJsonError, PackageManifest,
2323
PackageManifestDocument, PublishConfig, ReleaseLifecycle, RuntimeEngine, RuntimeEngineConfig,

packages/cli/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,16 @@ Vite+ is the unified entry point for local web development. It combines [Vite](h
1717
- **`vp build`:** Build applications for production with Vite + Rolldown
1818
- **`vp run`:** Execute monorepo tasks with caching and dependency-aware scheduling
1919
- **`vp pack`:** Build libraries for npm publishing or standalone app binaries
20+
- **`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
2021
- **`vp create` / `vp migrate`:** Scaffold new projects and migrate existing ones
2122

2223
All of this is configured from your project root and works across Vite's framework ecosystem.
2324
Vite+ is fully open-source under the MIT license.
2425

26+
`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.
27+
28+
Real releases always create git tags after a successful publish. Preview-only flags such as `--skip-publish` and `--no-git-tag` are therefore limited to `--dry-run`.
29+
2530
## Getting Started
2631

2732
Install Vite+ globally as `vp`:
@@ -118,6 +123,7 @@ Use `vp migrate` to migrate to Vite+. It merges tool-specific config files such
118123

119124
- **build** - Build for production
120125
- **pack** - Build libraries
126+
- **release** - Version and publish workspace packages, with optional changelog generation
121127
- **preview** - Preview production build
122128

123129
#### Manage Dependencies

packages/cli/snap-tests-global/cli-helper-message/snap.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Execute:
2727
Build:
2828
build Build for production
2929
pack Build library
30+
release Version and publish workspace packages with readiness checks, confirmation, and optional changelog generation
3031
preview Preview production build
3132

3233
Manage Dependencies:

0 commit comments

Comments
 (0)