Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patrykzurawik/meta-bump
yarn plugin for meta
https://github.com/patrykzurawik/meta-bump
Last synced: about 2 months ago
JSON representation
yarn plugin for meta
- Host: GitHub
- URL: https://github.com/patrykzurawik/meta-bump
- Owner: patrykzurawik
- License: mit
- Fork: true (mateodelnorte/meta-yarn)
- Created: 2018-10-16T12:01:15.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-27T04:49:37.000Z (about 4 years ago)
- Last Synced: 2024-07-24T10:48:55.064Z (2 months ago)
- Language: JavaScript
- Size: 54.7 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# meta-bump
Bump plugin for [meta](https://github.com/mateodelnorte/meta). It will:
* bump provided package with provided version (in it's package.json) and add Git tag
* update appropriate consumer packages `package.json` files with new Git tag version and regenerate yarn.lock/package-lock.json## Usage
Given that your shared dependency definition looks like e.g.
**.meta**
```js
{
"projects": {
"shared-package": "[email protected]:meta-project/shared-package.git",
"consumer-package": "[email protected]:meta-project/consumer-package.git"
}
}
```**package.json** in e.g. `consumer-package`
```
"dependencies": {
"shared-package": "git+ssh://[email protected]:meta-project/shared-package.git#1.0.0"
}
```You use `meta bump-[yarn|npm]` like this
```
➜ meta git:(master) ./bin/meta bump-[yarn|npm]Usage: meta bump-[yarn|npm] [options] [command]
Commands:
bump-yarn PROJECT_NAME bump given version of specified package in meta and child repositories using yarn
bump-npm PROJECT_NAME bump given version of specified package in meta and child repositories using npm
help [cmd] display help for [cmd]Options:
-h, --help output usage information
```e.g. `meta bump-yarn shared-package`
## Example meta repository
https://github.com/karol-f/meta-repository