https://github.com/cabify/package-build-javascript
Package build configuration based on Rollup to compile JS packages [managed by soy-programador]
https://github.com/cabify/package-build-javascript
Last synced: about 2 months ago
JSON representation
Package build configuration based on Rollup to compile JS packages [managed by soy-programador]
- Host: GitHub
- URL: https://github.com/cabify/package-build-javascript
- Owner: cabify
- License: apache-2.0
- Created: 2021-10-27T14:47:58.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2026-02-11T14:35:10.000Z (5 months ago)
- Last Synced: 2026-02-11T22:36:53.542Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.21 MB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
## @cabify/package-build
[](#contributors-)
Package build configuration based on Rollup to compile JS packages.
### Usage
Install this package as a dev dependency in your package, then create scripts in your `package.json` invoking it like this:
```
"dist": "package-build",
"dist:watch": "package-build -w",
```
NOTICE: this package doesn't clean your build directories in each run, so you'd probably want to append something like `rimraf` to your dependencies.
#### Parameters
- `-w` to watch the files.
- `-p` to define a different `tsconfig.ts` file. p.eg: `package-build -p tsconfig.build.json`.
### Publish a new version
- Update [CHANGELOG](./CHANGELOG.md) with new features, breaking changes, etc
- Check you're in `main` branch and everything is up-to-date.
- Run `yarn publish:` or `yarn publish:canary` for canary versions.
- Run `git push && git push --tags`
- Check all test actions triggered after previous push are ✔️.
- Go to [create a new release](https://github.com/cabify/package-build-javascript/releases/new), select previously pushed tag and write a Title.
- Check the action for publish the npm has finished with success.
- [Check on npm package webpage](https://www.npmjs.com/package/@cabify/package-build), the version has been published successfully under `latest` tag.
## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

Alejandro
💻

Alejandro Gallardo Escobar
💻

Alejandro León
💻

Alex Temina
💻

Arian Zargaran
💻

Crismmgg
💻

Francisco Sánchez
💻

Javier López
💻

Valentin Berlin
💻
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!