https://github.com/juliencrn/npm-version-tests
Basic repo to understand how works git tag with npm version and automate theses using npm scripts
https://github.com/juliencrn/npm-version-tests
Last synced: 6 months ago
JSON representation
Basic repo to understand how works git tag with npm version and automate theses using npm scripts
- Host: GitHub
- URL: https://github.com/juliencrn/npm-version-tests
- Owner: juliencrn
- Created: 2021-11-02T17:58:15.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-24T02:41:39.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T01:10:29.859Z (12 months ago)
- Language: JavaScript
- Size: 142 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Npm tests
- [x] Understand git tag and npm version
- [x] Understand npm publish
- [ ] Generate a changelog
- [ ] Make it working in a monorepo
- [ ] Compile all in few commands (ci > tag > publish by eg.)## Release process
After committing, create a git tag using lerna.
```bash
# Update the version in package.json first, then create the tag
lerna version \
--no-private \ # Only on usehooks-ts, others packages are now private
--yes # skips `Are you sure you want to publish these packages?`
```> Lerna will never publish packages which are marked as private ("private": true in the package.json).