Open nvtaveras opened 1 month ago
note that with yarn and pnpm there is not an issue
the package uses pinst to transfer postinstall
into _postinstall
which i guess is supposed to mean this shouldnt happen. but npm seems to not care and still run.
If you do a search for husky in package.json most have it run on prepare
which aligns with how https://www.npmjs.com/package/postinstall says the two commands are to be used
prepare use it to transform devDependencies, while developing or before publishing postinstall use it to deploy dependencies.
can be closed due to https://github.com/mento-protocol/mento-core-ts/pull/14
Reported by aaron from cLabs: