You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hooks in .pnpmfiles haven been becoming more powerful lately, but there's still not a way to write them with full typesafety. I was working on typing it myself, but realized a lot of what I want is already in pnpm.
Would it be possible to
expose a Pnpmfile type that module.exports can use, i.e.:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hooks in
.pnpmfile
s haven been becoming more powerful lately, but there's still not a way to write them with full typesafety.I was working on typing it myself, but realized a lot of what I want is already in pnpm.
Would it be possible to
expose a
Pnpmfile
type thatmodule.exports
can use, i.e.:Document that there can be list of hooks
(ideally) support ESM
.pnpmfile
sBeta Was this translation helpful? Give feedback.
All reactions