gradle-node-plugin

Gradle plugin for integrating NodeJS in your build.

APACHE-2.0 License

Stars
605
Committers
55

Bot releases are visible (Hide)

gradle-node-plugin - 2.2.0 - Task improvements

Published by bsautel almost 5 years ago

  • Improve the inputs declarations of tasks:
    • NodeTask's script now has relative path sensitivity (issue #41)
    • No longer consider the working dir as an input for all tasks (issue #40)
    • Explicitly exclude the execOverrides option of tasks from the inputs (issue #40)
    • Add the ability to remove some files of the node_modules directory from the NpmInstallTask and YarnInstallTask outputs from the task output ; this is necessary when some tasks change some files of the node_modules directory ; the NpmInstallTask and YarnInstallTask are never up-to-date in this case (issue #38)
  • Deprecate the usage of NodeTask with a script which is a directory ; Node.js supports that and looks for an index.js file in the directory but this is not compliant with a correct input/output declaration (issue #41)
  • No longer use Project.afterEvaluate as a first step to support lazy tasks configuration (issue #39)
  • Gradle 6 compatibility (all integration tests run also on Gradle 6.0-rc-1)
  • Improve the integration tests coverage
gradle-node-plugin - 2.1.1 - Fix an issue regarding too sensitive up-to-date detection

Published by bsautel about 5 years ago

  • Fix an issue in NodeTask, NpmTask, NpxTask and YarnTask that caused the up-to-date checking to be too much sensitive regarding the environment: any change of an environment variable caused the task to be considered as out-of-date
  • Improve the inputs declarations of the YarnTask
gradle-node-plugin - 2.1.0 - NpxTask, better ARM support, improved up-to-date, and more

Published by deepy about 5 years ago

  • Adds NpxTask for making use of https://www.npmjs.com/package/npx PR #32
  • Improved up-to-date checks PR #32
  • Support ARM even if the JDK reports aarch64 #33
  • Setting distBaseUrl to null disables repository adding PR #25