diff --git a/.gitignore b/.gitignore index 255bac57..c13ba4b5 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 0c7baf92..42891a15 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 4768d8e9..435e4f39 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 79e6df0b..05f03cb9 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 a16c14c3..fde021d3 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 60283670..3d93545b 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 58eff04d..e75dae1c 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 0fd128ef..9d4213e1 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 536a8e92..c16195ba 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" },