https://github.com/ryoppippi/bunpare
A simple prepare script for bun.lockb
https://github.com/ryoppippi/bunpare
bun git
Last synced: about 1 year 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-26T01:12:48.000Z (about 1 year ago)
- Last Synced: 2025-04-03T11:48:40.032Z (about 1 year ago)
- Topics: bun, git
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/bunpare
- Size: 354 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yaml
- License: LICENSE
Awesome Lists containing this project
README
# bunpare
[](https://npmjs.com/package/bunpare)
[](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)