https://github.com/tsuk1ko/postversion
Self-use npm postversion script
https://github.com/tsuk1ko/postversion
npm versions
Last synced: 7 months ago
JSON representation
Self-use npm postversion script
- Host: GitHub
- URL: https://github.com/tsuk1ko/postversion
- Owner: Tsuk1ko
- License: mit
- Created: 2022-10-29T08:07:35.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-21T03:54:37.000Z (over 2 years ago)
- Last Synced: 2025-02-28T17:45:36.302Z (7 months ago)
- Topics: npm, versions
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@tsuk1ko/postversion
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# postversion
Self-use npm postversion script
## Installation
### npm
```bash
npm i -D @tsuk1ko/postversion
```### yarn
```bash
yarn add -D @tsuk1ko/postversion
```## Usage
Add a `postversion` script to your `package.json`
```json
{
"scripts": {
"postversion": "tpv"
}
}
```When you run [`npm version`](https://docs.npmjs.com/cli/version/) and confirm, commits and the new tag will be pushed to the remote.
### Notice
This script won't run `npm publish`. It is designed for publishing package with GitHub Actions.