-
Notifications
You must be signed in to change notification settings - Fork 152
Open
Description
Hello :)
Lately I am contributing a lot to pnpm which is an alternative package manager for Node with tons of interesting features (and it's also very fast).
One of its peculiarity is the node_modules structure it creates. Unfortunately, pre-commit expects node_modules to be handled by npm, so it calculates the root
variable in install.js
as just __dirname + '/../..'
.
Would it be possible to replace this logic with another one that is compatible with pnpm?
For example: root
might be the first directory up the tree in which there is a package.json
file.
Thanks in advance!
GuillaumeDesforges
Metadata
Metadata
Assignees
Labels
No labels