pmd-bin 1.37.0 → 1.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  ## Installation
8
8
 
9
9
  ```console
10
- npm install pmd-bin
10
+ npm install --global pmd-bin
11
11
  ```
12
12
 
13
13
  ## Usage
package/download-java.js CHANGED
@@ -14,7 +14,11 @@ async function installJava() {
14
14
  }
15
15
 
16
16
  async function main() {
17
- await installJava();
17
+ if (process.env["PMD_BIN_SKIP_JAVA_DOWNLOAD"] === "true") {
18
+ console.log("skipped downloading Java");
19
+ } else {
20
+ await installJava();
21
+ }
18
22
  }
19
23
 
20
24
  main();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmd-bin",
3
- "version": "1.37.0",
3
+ "version": "1.38.0",
4
4
  "description": "Standalone PMD (static code analyzer) with its own JRE",
5
5
  "author": "Matthias Rolke <mr.amtrack@gmail.com>",
6
6
  "bin": {
@@ -10,8 +10,7 @@
10
10
  "node-java-connector": "1.1.1"
11
11
  },
12
12
  "devDependencies": {
13
- "adm-zip": "^0.5.10",
14
- "got": "^11.8.6"
13
+ "adm-zip": "^0.5.10"
15
14
  },
16
15
  "files": [
17
16
  "/dist",