Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryoppippi/bunpare
A simple prepare script for bun.lockb
https://github.com/ryoppippi/bunpare
bun git
Last synced: about 1 month ago
JSON representation
A simple prepare script for bun.lockb
- Host: GitHub
- URL: https://github.com/ryoppippi/bunpare
- Owner: ryoppippi
- License: mit
- Created: 2024-08-05T09:32:20.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-11-04T20:12:18.000Z (about 2 months ago)
- Last Synced: 2024-11-14T15:54:59.993Z (about 1 month ago)
- Topics: bun, git
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/bunpare
- Size: 363 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bunpare
[![npm version](https://img.shields.io/npm/v/bunpare?color=yellow)](https://npmjs.com/package/bunpare)
[![npm downloads](https://img.shields.io/npm/dm/bunpare?color=yellow)](https://npmjs.com/package/bunpare)`bunpare` is a tool to configure git for Bun's lockfile.
## Prerequisites
- [Bun](https://bun.sh/) must be installed and available in your PATH.
- [git](https://git-scm.com/) must be installed and available in your PATH.
- The script must be run inside a Git repository.## CLI
Run the script in your project directory:
```bash
bunx bunpare
```## Configure per project
You can execute the script automatically when you run `bun install` by adding the following to your `package.json`:
```json
{
// ...
"scripts": {
"prepare": "npx bunpare"
}
// ...
}
```## What it does
[Configure for `git diff` Bun's lockfile](https://bun.sh/docs/install/lockfile) automatically
## License
[MIT](./LICENSE)