1.0.1 • Published 4 years ago
npm-hello-lee v1.0.1
npm-test
publish npm package
usage
使用
- Commands
lerna publish: Create a new release of the packages that have been updated. Prompts for a new version and updates all the packages on git and npmlerna versionlerna bootstrap:Bootstrap the packages in the current Lerna repo. Installing all their dependencies and linking any cross-dependencies.lerna list:List all of the public packages in the current Lerna repo.lerna changed:Check which packages have changed since the last release.lerna diff:Diff all packages or a single package since the last release.lerna execlerna run:Run an npm script in each package that contains that script.lerna init:Create a new lerna repo or upgrade an existing repo to the current version of Lerna.lerna addlerna cleanlerna import:Import the package in the local path<pathToRepo>intopackages/<directory-name>with commit history.lerna linklerna createlerna info