Skip to content

Commit

Permalink
Add pnpm-merge-driver instructions (withastro#4022)
Browse files Browse the repository at this point in the history
* chore: add pnpm-merge-driver

* chore: remove @pnpm/merge-driver

* chore: update contributing with merge-driver instructions

* Delete pnpm-lock.yaml

* chore: reset pnpm-lock.yaml

* chore: reset pnpm-lock.yaml

Co-authored-by: Nate Moore <[email protected]>
  • Loading branch information
natemoo-re and natemoo-re authored Jul 22, 2022
1 parent 4819e7b commit aa062d2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ In [#2254](https://github.com/withastro/astro/pull/2254) a `.git-blame-ignore-re
git config --local blame.ignoreRevsFile .git-blame-ignore-revs
```

To automatically handle merge conflicts in `pnpm-lock.yaml`, you should run the following commands locally.

```shell
pnpm add -g @pnpm/merge-driver
pnpx npm-merge-driver install --driver-name pnpm-merge-driver --driver "pnpm-merge-driver %A %O %B %P" --files pnpm-lock.yaml
```

### Development

```shell
Expand Down

0 comments on commit aa062d2

Please sign in to comment.