boltpkg / boltpkg/bolt

Bolt hooks

Open
#285 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.4k
Forks
97
PR merge metrics
No merged PRs in 30d

Description

While using bolt for our monorepo we discovered one problem, which can be just named "bolt hooks".

In short - running `bolt` will lead to
- `bolt` running [yarn install](https://github.com/boltpkg/bolt/blob/master/src/commands/install.js#L57)
- `yarn` running all hooks, like `prepare` or `postinstall`
- `bolt` linking the package
- ... nothing more ...

## Proposal
- [ ] add `bolt:postinstall` hook. It would be enough for the beginning
- [ ] do something with yarn hooks running before bolt. Probably moving `link` to `pre-postinstall` hook or something.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.