Skip to content

npm publish command with lerna's from-package publish behaviour

License

Notifications You must be signed in to change notification settings

js-soft/enhanced-npm-publish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

enhanced-publish

installing

  • run npm install -g enhanced-publish
  • use npx to run and execute the package

usage

The package is a command line tool that can be used to publish your package to npm. It works exactly like npm publish but it also allows you to specify to only publish the package if there is no version conflict.

--if-possible

The behavior is heavily inspired by lerna's from-package publishing strategy.

The command adds a flag --if-possible to the npm publish command and will not publish if the package already exists in the registry.

--use-preid-as-tag

Will use the 'preid' as the tag. 1.0.0-alpha.1 becomes --tag alpha in the publish command.

About

npm publish command with lerna's from-package publish behaviour

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published