-
Notifications
You must be signed in to change notification settings - Fork 527
Document missing pnpmfile hooks #586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
@Silic0nS0ldier is attempting to deploy a commit to the pnpm Team on Vercel. A member of the Team first needs to authorize it. |
I am not sure we want people to know about these. All these hooks except |
The use case I have in mind sourcing package data directly from the There are alternatives.
The use case I give likely runs into the same dependency resolution issue as mentioned in (3). The issue is not insurmountable (a great deal of flexibility is afforded across all the hooks) but would need to be carefully thought out. |
@zkochan I noticed pnpm v10.10 allows |
A few other companies are planning to use the hooks. I added short docs about them: 4e852ad also, it is now easier to ship hooks via dependencies, using configDependencies. |
Adds documentation for;
filterLog
fetchers
importPackage
preResolution
Local/global pnpmfiles and how they interact is now also documented. For example
readPackage
is supported by local and global pnpmfiles, and both run with global going first so(global then local)
.