https://github.com/morlay/bunpublish
https://github.com/morlay/bunpublish
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/morlay/bunpublish
- Owner: morlay
- License: mit
- Created: 2023-10-18T09:30:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-13T03:23:06.000Z (about 2 years ago)
- Last Synced: 2025-04-15T05:35:17.325Z (about 1 year ago)
- Language: TypeScript
- Size: 95.7 KB
- Stars: 9
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bun Publish
Publish packages to npm registry with [Bun](https://bun.sh/)
## Usage
```
bunx @morlay/bunpublish
```
* skip publish package when `private: true`.
* skip publish package when version not changed.
* publish all sub packages when `workspaces` exists.
* only support token
* reuse `install.registry.token` and `install.scopes."*".token`
* publish life cycle scripts:
* `prepublishOnly`
* `prepublish`
* `prepare`
* `prepack`
* `postpack`
* `publish`
* `postpublish`
## CLI Options:
* `--tag` publish with tag, default is `latest`
* `--access` publish with access, default is `public`