Is it possible to override the 'npm publish' command?
See original GitHub issueLet’s say we have a custom a npm package publishing workflow which replaces npm publish
.
If we still want to use lerna on top of this workflow, is this possible currently to replace npm publish
with a different command? If not, would you be open to a PR for this?
Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Is there a workaround for `npm publish -f` - Stack Overflow
Once a package is unpublished, it cannot be republished. If you've unpublished a package by mistake, we'd recommend publishing again under a different...
Read more >npm-publish - npm Docs
By default npm will publish to the public registry. This can be overridden by specifying a different default registry or using a scope...
Read more >npm-publish - npm Docs
Publish a package. ... This can be overridden by specifying a different default registry or using a scope in the name (see package.json...
Read more >Unpublishing packages from the registry - npm Docs
As a package owner or collaborator, if your package has no dependents, you can permanently remove it from the npm registry by using...
Read more >Updating your published package version number - npm Docs
To change the version number in package.json , on the command line, in the package root directory, run the following command, replacing <update_type>...
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
You could conceivably chain some
lerna exec
calls, I suppose.npm pack
is run during thenpm publish
process.This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.