Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

reggi
Copy link
Contributor

@reggi reggi commented Nov 14, 2024

BREAKING CHANGE: When publishing a package with a pre-release version, you must explicitly specify a tag.

ref: npm/statusboard#898

@reggi reggi requested a review from a team as a code owner November 14, 2024 17:56
@reggi
Copy link
Contributor Author

reggi commented Nov 14, 2024

this does not implement rfc 7

@reggi
Copy link
Contributor Author

reggi commented Nov 25, 2024

maybe check should go on line 125 after tarball pack

@reggi
Copy link
Contributor Author

reggi commented Nov 25, 2024

or within async #getManifest

@wraithgar wraithgar changed the title fix!: publishing prerelease requires tag fix!: publishing prerelease requires explicit tag Nov 25, 2024
wraithgar
wraithgar previously approved these changes Nov 25, 2024
@reggi reggi force-pushed the reggi/abort-no-prerelease-tag branch 2 times, most recently from 55d74be to 3a43aa5 Compare November 25, 2024 16:58
@reggi reggi force-pushed the reggi/abort-no-prerelease-tag branch from 3a43aa5 to 03b8d32 Compare November 25, 2024 16:59
@wraithgar wraithgar merged commit 16b7367 into latest Nov 25, 2024
20 checks passed
@wraithgar wraithgar deleted the reggi/abort-no-prerelease-tag branch November 25, 2024 17:11
wraithgar pushed a commit that referenced this pull request Dec 6, 2024
BREAKING CHANGE: Upon publishing, in order to apply a default "latest"
dist tag, the command now retrieves all prior versions of the package.
It will require that the version you're trying to publish is above the
latest semver version in the registry, not including pre-release tags.

Implements [npm
RFC7](https://github.com/npm/rfcs/blob/main/accepted/0007-publish-without-tag.md).

Related to prerelease dist-tag: #7910
A part of npm 11 roadmap: npm/statusboard#898

---------

Co-authored-by: Jordan Harband <[email protected]>
haines added a commit to cerbos/cerbos that referenced this pull request Feb 10, 2025
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