Replies: 1 comment
-
Any update on this? Can this be done:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Programmatic CLI API
I want to do:
Currently
pnpm/package.json
has:What is this needed for? It doesn't match with
"main": "bin/pnpm.cjs",
.Should also migrate it to ESM.
Programmatic lower-level API
I'd also like to be able to have a lower-level api so I don't have to parse cli flags, but can call methods.
E.g. I'd like to be able to do:
This would be a lot cleaner.
Plugin architecture
Might also be interesting to look at how webpack's plugin system
tapable
works. It provides a ton of flexibility for hooking into the package manager. Although I do find it a bit complex at times and lacking documentation.Beta Was this translation helpful? Give feedback.
All reactions