Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)