-
Notifications
You must be signed in to change notification settings - Fork 1
Release story
Antony Budianto edited this page Jul 12, 2018
·
2 revisions
Lerna will handle the package releases, including bumping the version, update the dependents version, and publishing.
$ npm run release
> react-kits@ prerelease /home/myname/project/react-kits
> npm run build
> react-kits@ build /home/myname/project/react-kits
> lerna run build
lerna info version 2.11.0
> [email protected] build /home/myname/project/react-kits/packages/react-kits-server
> microbundle --jsx=React.createElement
Build "reactKitsServer" to lib:
1.34 kB: index.js
1.33 kB: index.m.js
1.48 kB: index.umd.js
lerna success run Ran npm script 'build' in packages:
lerna success - react-kits-server
> react-kits@ release /home/myname/project/react-kits
> lerna publish
lerna info version 2.11.0
lerna info current version 0.4.0
lerna info Checking for updated packages...
lerna info Comparing with v0.4.0.
lerna info Checking for prereleased packages...
? Select a new version (currently 0.4.0) Patch (0.4.1)
Changes:
- react-kits: 0.4.0 => 0.4.1
- react-kits-server: 0.4.0 => 0.4.1
- ~~name~~: 0.4.0 => 0.4.1 (private)
? Are you sure you want to publish the above changes? Yes
lerna info publish Publishing packages to npm...
lerna info published react-kits-server
lerna info published react-kits
lerna info git Pushing tags...
Successfully published:
- [email protected]
- [email protected]
lerna success publish finished