Skip to content

Conversation

RobinMalfait
Copy link
Member

@RobinMalfait RobinMalfait commented Oct 1, 2025

This PR ensures that if we release v3 in the future, that we don't use latest as the npm tag, but v3-lts instead.

Unfortunately we can't just use 3 or v3 because they are not valid and you will get an error when trying to publish.

Angular uses v{n}-lts for the versions they still support: https://www.npmjs.com/package/@angular/core?activeTab=versions

Adding a tag is important, because omitting the --tag is the same as --tag latest

Just `3` or `v3` are not valid and you will get an error. Angular uses
`v{n}-lts` for the versions they still support: https://www.npmjs.com/package/@angular/core?activeTab=versions

Adding a tag is important, because omitting the `--tag` is the same as
`--tag latest`
@RobinMalfait RobinMalfait requested a review from a team as a code owner October 1, 2025 16:24
@RobinMalfait RobinMalfait merged commit 7e2dd53 into v3 Oct 1, 2025
26 of 28 checks passed
@RobinMalfait RobinMalfait deleted the fix/never-publish-v3-as-latest branch October 1, 2025 16:25
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