-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
Allow removing/configuring the inputs
of pnpmInstall
tasks
#287
Comments
Absolutely agree, in hindsight we never should have had Good news though, there exists right now a property There's also this logic that's currently only implemented for gradle-node-plugin/src/main/kotlin/com/github/gradle/node/NodeExtension.kt Lines 112 to 125 in 1ea8bf8
With all the power of hindsight and user feedback, I believe that is the best possible solution for the general case |
Why does a breaking change bother you? Just release a new major version and call it a day. 😄 That's what major versions are for. Software has to move forward. So I could use this |
Yup, you can also use As for the change, that's already happening, in likely the next major I'll flip the switch and make it the default |
pnpm
is pretty fast. Runningpnpm install
generally takes a second or two when all is up-to-date even when there are many things inpackage.json
.On the other hand, Gradle's caches of the
pnpmInstall
task can take quite a while to compute if the task needs rerunning. I would like to remove that and set these tasks to always execute - i.e. depend onpnpm
itself to be clever and not do anything rather than Gradle (which walks the wholenode_modules
to check for changes).I definitely think this will improve the performance of my build. What do you think?
The text was updated successfully, but these errors were encountered: