Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kellyselden/tag-packages
Tag (or branch) monorepo packages for prerelease consumption
https://github.com/kellyselden/tag-packages
Last synced: 16 days ago
JSON representation
Tag (or branch) monorepo packages for prerelease consumption
- Host: GitHub
- URL: https://github.com/kellyselden/tag-packages
- Owner: kellyselden
- License: mit
- Created: 2019-08-15T11:35:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-12T11:29:45.000Z (about 5 years ago)
- Last Synced: 2025-01-02T05:44:02.476Z (24 days ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tag-packages
Tag (or branch) monorepo packages for prerelease consumption
This is similar to https://github.com/ramasilveyra/gitpkg, but takes two different approaches.
1. Runs against all your monorepo packages at once.
1. Does not version the tags (or branches), which means they continually get rewritten.## Usage
Assuming a monorepo with the packages "foo" and "bar", running
```
# in your monorepo root
npx tag-packages
```would give you the tags "foo" and "bar".
## Options
```
# specify the packages dir
npx tag-packages libs
``````
# use branches instead of tags
REF_TYPE=branch npx tag-packages
``````
# cleanup
REMOVE_ONLY=true npx tag-packages
```