gradle-node-plugin
gradle-node-plugin copied to clipboard
Gradle plugin for integrating NodeJS in your build. :rocket:
`NpmTask`'s workingDir property is currently a RegularFileProperty but it probably should be a DirectoryProperty similar to how `NodeTask`'s workingDir property is. I can implement this, if you wish, but I...
I'm looking for a way to do something like this. Does anyone know how I could set the token? I do not want to set it via project's `.npmrc`. Thank...
Currently npmInstall and npmSetup tasks are not cacheable by gradle build cache, thus when running CI pipelines on different machines those tasks needs to fully run every time which consumes...
Allow `npmInstall` to be cached (helps with #81) - test for NPM install caching, - add tests for `npmInstall` task caching - add test fixture project for `npmInstall` caching For...
Simplist example, no no docs no examples just guess just FAQ ··· task buildWebapp(type: NpmTask) { dependsOn pnpmInstall npmCommand = ['run', 'build'] } ··· Gradle is dieing
# Core issue ``` private fun computeProductBinDir(productDirProvider: Provider, platform: Property) = if (platform.get().isWindows()) productDirProvider else productDirProvider.map { it.dir("bin") } ``` This isn't true. On Windows, `corepack` also installs `yarn.cmd` (along...
I want to use gradle-node-plugin to install node on alpine linux. Using this advice https://github.com/node-gradle/gradle-node-plugin/issues/51#issuecomment-623097695 combined with this https://github.com/node-gradle/gradle-node-plugin/blob/main/docs/faq.md#is-this-plugin-compatible-with-centralized-repositories-declaration I managed to get a working configuration that downloads the correct...
When building modules using gradle-node-plugin I do get: Could not find org.nodejs:node:12.18.4. Searched in the following locations: - https://jcenter.bintray.com/org/nodejs/node/12.18.4/node-12.18.4.pom - https://repo.maven.apache.org/maven2/org/nodejs/node/12.18.4/node-12.18.4.pom - https://nodejs.org/dist/v12.18.4/node-v12.18.4-darwin-arm64.tar.gz Enviroment: - gradle version 6.8.1 - gradle-node-plugin...
Hello, Is it possible to use yarn 2 with the plugin? In normal yarn 2 setup you have to enable yarn 2 via: `yarn set version berry` Is there a...