yarnhook icon indicating copy to clipboard operation
yarnhook copied to clipboard

Run `yarn install`, `npm install` or `pnpm install` on git hooks automatically

Results 15 yarnhook issues
Sort by recently updated
recently updated
newest added

[bun.sh](https://bun.sh) is a new JS tool which also has package management skills, with accompanying `bun.lockb` lockfile. Let's add support for it.

Would it be possible to add the ability to accept additional arguments so I could do something like this: ``` "husky": { "hooks": { "post-checkout": "yarnhook --ignore-optional", "post-merge": "yarnhook --ignore-optional",...

Hi, thanks for the awesome package. We have been using it for a couple of months, but since we migrated to yarn berry, we are having issues since `--frozen-lockfile` flag...

https://github.com/zkochan/packages/tree/master/preferred-pm

The project can have zero dependencies without execa, which has listed their [benefits](https://github.com/sindresorhus/execa#why) but maybe we don't need any of them? Test extensively.

- [x] Add a single smoke test (branch change) - [ ] Integrate testing with GitHub Actions - [ ] Make test run on dev version - [ ] Add...

testing

Some project support loading environment variables from `.env` files to allow permanent variables to be committed and shared among project members. Examples include [`create-react-app`](https://create-react-app.dev/docs/adding-custom-environment-variables#adding-development-environment-variables-in-env) and [Docker Compose](https://docs.docker.com/compose/env-file/). I think it...

It was suggested at #2 and now we have `pnpm` support I'm much more sympathetic to the name. One issue is we already have a neat logo, should we change...

I cloned a project that uses yarnhook, changed a file, and then ran `git checkout` on that file. `yarnhook` got triggered, but it failed with this output: ``` /node_modules/.bin/yarnhook /node_modules/yarnhook/node_modules/execa/index.js:303...

Thanks for the great lib! Currently, doesn't detect changes in nested `package.json` and `yarn.lock`. What do you think about adding support for monorepos?

enhancement
help wanted