diff --git a/.gitignore b/.gitignore index 255bac5731..c13ba4b55e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ packages/*/node_modules/ packages/*/lib/ packages/*/__tests__/_temp/ .DS_Store +packages/*/audit.json diff --git a/packages/artifact/package.json b/packages/artifact/package.json index 0c7baf925b..42891a153a 100644 --- a/packages/artifact/package.json +++ b/packages/artifact/package.json @@ -29,7 +29,7 @@ "directory": "packages/artifact" }, "scripts": { - "audit-moderate": "npm install && npm audit --audit-level=moderate", + "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", "test": "echo \"Error: run tests from root\" && exit 1", "tsc": "tsc" }, diff --git a/packages/cache/package.json b/packages/cache/package.json index 4768d8e9bb..435e4f390f 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -29,7 +29,7 @@ "directory": "packages/cache" }, "scripts": { - "audit-moderate": "npm install && npm audit --audit-level=moderate", + "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", "test": "echo \"Error: run tests from root\" && exit 1", "tsc": "tsc" }, diff --git a/packages/core/package.json b/packages/core/package.json index 79e6df0bb5..05f03cb9ab 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -28,7 +28,7 @@ "directory": "packages/core" }, "scripts": { - "audit-moderate": "npm install && npm audit --audit-level=moderate", + "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", "test": "echo \"Error: run tests from root\" && exit 1", "tsc": "tsc" }, diff --git a/packages/exec/package.json b/packages/exec/package.json index a16c14c361..fde021d3df 100644 --- a/packages/exec/package.json +++ b/packages/exec/package.json @@ -28,7 +28,7 @@ "directory": "packages/exec" }, "scripts": { - "audit-moderate": "npm install && npm audit --audit-level=moderate", + "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", "test": "echo \"Error: run tests from root\" && exit 1", "tsc": "tsc" }, diff --git a/packages/github/package.json b/packages/github/package.json index 60283670de..3d93545b1b 100644 --- a/packages/github/package.json +++ b/packages/github/package.json @@ -27,7 +27,7 @@ "directory": "packages/github" }, "scripts": { - "audit-moderate": "npm install && npm audit --audit-level=moderate", + "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", "test": "jest", "build": "tsc", "format": "prettier --write **/*.ts", diff --git a/packages/glob/package.json b/packages/glob/package.json index 58eff04db7..e75dae1c9a 100644 --- a/packages/glob/package.json +++ b/packages/glob/package.json @@ -29,7 +29,7 @@ "directory": "packages/glob" }, "scripts": { - "audit-moderate": "npm install && npm audit --audit-level=moderate", + "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", "test": "echo \"Error: run tests from root\" && exit 1", "tsc": "tsc" }, diff --git a/packages/io/package.json b/packages/io/package.json index 0fd128ef5e..9d4213e184 100644 --- a/packages/io/package.json +++ b/packages/io/package.json @@ -27,7 +27,7 @@ "directory": "packages/io" }, "scripts": { - "audit-moderate": "npm install && npm audit --audit-level=moderate", + "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", "test": "echo \"Error: run tests from root\" && exit 1", "tsc": "tsc" }, diff --git a/packages/tool-cache/package.json b/packages/tool-cache/package.json index 536a8e92de..c16195ba1c 100644 --- a/packages/tool-cache/package.json +++ b/packages/tool-cache/package.json @@ -28,7 +28,7 @@ "directory": "packages/tool-cache" }, "scripts": { - "audit-moderate": "npm install && npm audit --audit-level=moderate", + "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", "test": "echo \"Error: run tests from root\" && exit 1", "tsc": "tsc" },