Private packages should not be listed in publish success messages
See original GitHub issueRunning lerna publish
prompts for individual package versions for packages marked with private: true
.
lerna publish
? Select a new version for @org/package-a
? Enter a custom version 1.0.0-alpha.1 # Forced to manually enter a dummy version
Changes:
- @org/package-a: 1.0.0-alpha.1 => 1.0.0-alpha.1 (private) # This is confusing
- @org/package-b: 1.0.0-alpha.1 => 1.0.0-alpha.1
- ...
? Are you sure you want to publish the above changes? Yes
lerna info publish Publishing packages to npm...
lerna info published @package-b
lerna info git Pushing tags...
Successfully published:
- @org/package-a: 1.0.0-alpha.1 => 1.0.0-alpha.1 # This is confusing
- @org/package-b: 1.0.0-alpha.1 => 1.0.0-alpha.1
lerna success publish finished
While it doesn’t actually publish the private packages to NPM, the console output still shows it as published successfully.
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
A Step-by-Step Guide to Publishing Private npm Package on ...
In this blog, I will discuss how you can do it but first, let us understand why you need GitHub repositories and not...
Read more >Private npm packages in Github package registry | by Jacob Do
Publish a version of your package. This step is extremely short, just run npm publish and the tsdx will take care of the...
Read more >Publish private npm package with github actions and packages
If the repository is public, the package will be public. And if the repository is private, the package will be private too.
Read more >Publish Private NPM Packages with Proxy Registry Verdaccio
In the event a scoped package is not available in our registry, the request is proxied to npmjs . The same settings are...
Read more >How to publish NuGet packages | Microsoft Learn
You can also make private packages available to only a team or organization by hosting them on a file share, a private NuGet...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Well it “is” versioned in the sense of “it has a version”. But I don’t ever want or need to update the version, because they are never consumed by anyone.
You’re right. Maybe we should add an option to skip versioning instead?
That way, the CLI tool can skip the other weird prompts below too.
As for sending a PR, my schedule is pretty full and won’t be available again till beginning of June. I’ll try to send then if someone doesn’t get around to it before me. 😉