WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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
.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
Pnpmfiletype thatmodule.exportscan use, i.e.:Document that there can be list of hooks
(ideally) support ESM
.pnpmfilesBeta Was this translation helpful? Give feedback.
All reactions