mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 03:57:51 +02:00
Update NPM plugin and hardcode versions of Node / NPM to use (#971)
* Update NPM plugin and hardcode versions of Node / NPM to use The plugin we were using before was a bit old (last updated in March 2019) and this one is newer, updated, and updates the package-lock file with the new dependency upgrades
This commit is contained in:
parent
ec24d9d029
commit
adb83bea91
4 changed files with 76 additions and 1989 deletions
|
@ -40,7 +40,7 @@ plugins {
|
||||||
id 'com.github.johnrengelman.shadow' version '5.1.0'
|
id 'com.github.johnrengelman.shadow' version '5.1.0'
|
||||||
|
|
||||||
// NodeJs plugin
|
// NodeJs plugin
|
||||||
id "com.moowork.node" version "1.2.0"
|
id "com.github.node-gradle.node" version "3.0.1"
|
||||||
|
|
||||||
id 'idea'
|
id 'idea'
|
||||||
id 'com.diffplug.gradle.spotless' version '3.25.0'
|
id 'com.diffplug.gradle.spotless' version '3.25.0'
|
||||||
|
@ -49,6 +49,12 @@ plugins {
|
||||||
id 'com.dorongold.task-tree' version '1.5'
|
id 'com.dorongold.task-tree' version '1.5'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
node {
|
||||||
|
download = true
|
||||||
|
version = "14.15.5"
|
||||||
|
npmVersion = "6.14.11"
|
||||||
|
}
|
||||||
|
|
||||||
wrapper {
|
wrapper {
|
||||||
distributionType = Wrapper.DistributionType.ALL
|
distributionType = Wrapper.DistributionType.ALL
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ import sys
|
||||||
import re
|
import re
|
||||||
|
|
||||||
# We should never analyze any generated files
|
# We should never analyze any generated files
|
||||||
UNIVERSALLY_SKIPPED_PATTERNS = {"/build/", "cloudbuild-caches", "/out/", ".git/"}
|
UNIVERSALLY_SKIPPED_PATTERNS = {"/build/", "cloudbuild-caches", "/out/", ".git/", ".gradle/"}
|
||||||
# We can't rely on CI to have the Enum package installed so we do this instead.
|
# We can't rely on CI to have the Enum package installed so we do this instead.
|
||||||
FORBIDDEN = 1
|
FORBIDDEN = 1
|
||||||
REQUIRED = 2
|
REQUIRED = 2
|
||||||
|
|
|
@ -11,6 +11,8 @@ com.diffplug.spotless:spotless-plugin-gradle:3.25.0
|
||||||
com.dorongold.task-tree:com.dorongold.task-tree.gradle.plugin:1.5
|
com.dorongold.task-tree:com.dorongold.task-tree.gradle.plugin:1.5
|
||||||
com.github.jengelman.gradle.plugins:shadow:5.1.0
|
com.github.jengelman.gradle.plugins:shadow:5.1.0
|
||||||
com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:5.1.0
|
com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:5.1.0
|
||||||
|
com.github.node-gradle.node:com.github.node-gradle.node.gradle.plugin:3.0.1
|
||||||
|
com.github.node-gradle:gradle-node-plugin:3.0.1
|
||||||
com.google.cloud.tools:appengine-gradle-plugin:2.0.1
|
com.google.cloud.tools:appengine-gradle-plugin:2.0.1
|
||||||
com.google.cloud.tools:appengine-plugins-core:0.7.5
|
com.google.cloud.tools:appengine-plugins-core:0.7.5
|
||||||
com.google.code.findbugs:jsr305:3.0.2
|
com.google.code.findbugs:jsr305:3.0.2
|
||||||
|
@ -24,8 +26,6 @@ com.googlecode.concurrent-trees:concurrent-trees:2.6.1
|
||||||
com.googlecode.javaewah:JavaEWAH:1.1.6
|
com.googlecode.javaewah:JavaEWAH:1.1.6
|
||||||
com.jcraft:jsch:0.1.55
|
com.jcraft:jsch:0.1.55
|
||||||
com.jcraft:jzlib:1.1.1
|
com.jcraft:jzlib:1.1.1
|
||||||
com.moowork.gradle:gradle-node-plugin:1.2.0
|
|
||||||
com.moowork.node:com.moowork.node.gradle.plugin:1.2.0
|
|
||||||
com.netflix.nebula:gradle-lint-plugin:16.0.2
|
com.netflix.nebula:gradle-lint-plugin:16.0.2
|
||||||
com.netflix.nebula:nebula-gradle-interop:1.0.11
|
com.netflix.nebula:nebula-gradle-interop:1.0.11
|
||||||
commons-io:commons-io:2.6
|
commons-io:commons-io:2.6
|
||||||
|
|
2051
package-lock.json
generated
2051
package-lock.json
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue