Add pnpm-merge-driver
instructions (#4022)
* 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 <nate@astro.build>
This commit is contained in:
parent
4819e7b071
commit
aa062d26be
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue