Alex Nordlund

Results 385 comments of Alex Nordlund

Do the tasks that use packages provided by `npm install` have a dependency on `npmInstall`? I can only reproduce this with tasks that don't have the dependency and I can't...

Long story short, those tasks don't cache very well, however, if you can get a local mirror of node and npm you should be able to get the same experience...

This really depends on the linked Gradle issue, which sounds like it should be easy to do with Java 9+. The best way to get this fixed would be to...

I might be wrong here, but I was under the impression that it applied to all operating systems. At least I've seen similar issues on macOS and Linux

`nodeSetup` and `npmSetup` is going to be interesting to cache as they both access the same directories and create symbolic links (which are going to be replaced with the file...

I'm having some difficulties modeling this in a way that both `install` and `ci` work :-/ So next major is going to drop support for `npm` versions older than npm...

@remmeier if the compiled web app is already available then both `npmInstall` (which can be configured to use `npm ci`) and your build task would be skipped as your build...

> the one things really good at yarn is that `yarn install` is super fast if all is up-to-date (around a second). I don't think realistically it can ever beat...

Just a reminder that this should be fixed in Gradle itself

Your own ad-hoc `YarnTasks` can absolutely be cached, where I work all our `npm run dist` takes nearly a minute each (and we got 4 in one project) They cache...