You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Release management capabilities (like nx release) with dry-run, skip-publish, etc. #1169
Monorepos need robust release management. Currently tools like nx release provide a comprehensive release workflow that handles versioning, changelog generation, and publishing in a single command with fine-grained control. Vite+ as a unified toolchain could benefit from similar capabilities.
Proposed Solution
A vp release command (or similar) that supports:
Core features
Version bumping — automatic version detection from conventional commits (patch/minor/major)
Changelog generation — per-package and root-level changelogs from commit history
Publishing — coordinated npm publish across workspace packages in dependency order
Flags / Options
--dry-run — preview what would happen without making changes
--skip-publish — version bump + changelog only, no npm publish
Thank you all for working on this feature, it's something I'm very much looking forward to for monorepo management.
I read through the RFC and relevant docs from @ubugeeei's PR #1180: Usage Guide and CI Action Template. This is largely how I would expect the command to work, I'm raising a few questions to reason beyond my own use case.
On versioning, I understood from the docs that each package gets updated independently but there are several mentions of lockstep releases. It sounds like vp release publishes all packages unless scoped to a named set, so what happens if those packages aren't all on the same version initially? Will each package be bumped to the next major/minor/patch version, or will they be brought into alignment? I think that lockstep releases should be configurable such that they're enforced if enabled, but mostly I'm asking for clarity on what assumptions are made for the initial release.
Related to versioning, I'm curious if release type mapping will be supported in the future. I see that it's hard-coded now and that makes sense, but some teams like to use custom commit types or change the semantic correspondence so it would be good to consider how that might fit into the config in the future. It could be as simple as an override map, e.g. { 'refactor': MINOR, 'customThing': PATCH }
The example CI workflow is really helpful in explaining how this is meant to be used in production. One thing was unclear though, should it be possible to publish a pre-release package from a feature branch, or is it assumed that code will be merged to the default branch before publish? I assume the latter, but this is another place where the docs might be ambiguous.
Lastly, on the open questions in the RFC the only one I have a strong opinion on is SHA pinning of actions. Given the number of supply chain attacks we've seen recently on npm my gut feeling is that those actions should be pinned for security. If you include version comments dependabot can still bump them as well. Changelog customization isn't something that feels necessary out of the gate, since the template already uses --generate-notes, allowing an optional summary appended to the top would cover most needs.
Thank you again for the hard work here, looking forward to trying it out soon!
Activity
cpojer commentedon Mar 27, 2026
@ubugeeei is potentially working on an RFC. We'd like the community to provide input on the design of this feature.
ubugeeei commentedon Mar 28, 2026
I'll try this ;D
Marco-Pagani commentedon Jun 24, 2026
Thank you all for working on this feature, it's something I'm very much looking forward to for monorepo management.
I read through the RFC and relevant docs from @ubugeeei's PR #1180: Usage Guide and CI Action Template. This is largely how I would expect the command to work, I'm raising a few questions to reason beyond my own use case.
On versioning, I understood from the docs that each package gets updated independently but there are several mentions of lockstep releases. It sounds like
vp releasepublishes all packages unless scoped to a named set, so what happens if those packages aren't all on the same version initially? Will each package be bumped to the next major/minor/patch version, or will they be brought into alignment? I think that lockstep releases should be configurable such that they're enforced if enabled, but mostly I'm asking for clarity on what assumptions are made for the initial release.Related to versioning, I'm curious if release type mapping will be supported in the future. I see that it's hard-coded now and that makes sense, but some teams like to use custom commit types or change the semantic correspondence so it would be good to consider how that might fit into the config in the future. It could be as simple as an override map, e.g.
{ 'refactor': MINOR, 'customThing': PATCH }The example CI workflow is really helpful in explaining how this is meant to be used in production. One thing was unclear though, should it be possible to publish a pre-release package from a feature branch, or is it assumed that code will be merged to the default branch before publish? I assume the latter, but this is another place where the docs might be ambiguous.
Lastly, on the open questions in the RFC the only one I have a strong opinion on is SHA pinning of actions. Given the number of supply chain attacks we've seen recently on npm my gut feeling is that those actions should be pinned for security. If you include version comments dependabot can still bump them as well. Changelog customization isn't something that feels necessary out of the gate, since the template already uses
--generate-notes, allowing an optional summary appended to the top would cover most needs.Thank you again for the hard work here, looking forward to trying it out soon!