From 6c1cc760943f8307debc6e068ea4b61e3caec57f Mon Sep 17 00:00:00 2001 From: Pablo Nevares Date: Wed, 4 Dec 2019 16:19:50 -0700 Subject: [PATCH] chore: remove placeholder security script from each plugin (#77) * chore: remove placeholder security script from each plugin * chore: changes in typescript package after linting * chore: remove security script from lint and ci:lint scripts --- packages/alias/package.json | 3 +-- packages/auto-install/package.json | 3 +-- packages/beep/package.json | 3 +-- packages/buble/package.json | 3 +-- packages/dsv/package.json | 3 +-- packages/html/package.json | 3 +-- packages/image/package.json | 3 +-- packages/inject/package.json | 3 +-- packages/json/package.json | 3 +-- packages/legacy/package.json | 3 +-- packages/node-resolve/package.json | 3 +-- packages/pluginutils/package.json | 3 +-- packages/replace/package.json | 3 +-- packages/run/package.json | 3 +-- packages/strip/package.json | 3 +-- packages/typescript/package.json | 3 +-- packages/url/package.json | 3 +-- packages/virtual/package.json | 3 +-- packages/wasm/package.json | 3 +-- packages/yaml/package.json | 3 +-- 20 files changed, 20 insertions(+), 40 deletions(-) diff --git a/packages/alias/package.json b/packages/alias/package.json index 4d1a3ad33..0eece15cf 100755 --- a/packages/alias/package.json +++ b/packages/alias/package.json @@ -14,7 +14,7 @@ "scripts": { "build": "rollup -c", "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov", - "ci:lint": "pnpm run build && pnpm run lint && pnpm run security", + "ci:lint": "pnpm run build && pnpm run lint", "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", "ci:test": "pnpm run test -- --verbose", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", @@ -25,7 +25,6 @@ "prepare": "pnpm run build", "prepublishOnly": "pnpm run lint && pnpm run test", "pretest": "pnpm run build", - "security": "echo 'pnpm needs `npm audit` support'", "test": "ava" }, "files": [ diff --git a/packages/auto-install/package.json b/packages/auto-install/package.json index d958d562c..fcb4cecef 100755 --- a/packages/auto-install/package.json +++ b/packages/auto-install/package.json @@ -13,14 +13,13 @@ "main": "lib/index.js", "scripts": { "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov", - "ci:lint": "pnpm run lint && pnpm run security", + "ci:lint": "pnpm run lint", "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", "ci:test": "pnpm run test -- --verbose", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", "lint:docs": "prettier --single-quote --write README.md", "lint:js": "eslint --fix --cache lib test", "lint:package": "prettier --write package.json --plugin=prettier-plugin-package", - "security": "echo 'pnpm needs `npm audit` support'", "test": "ava" }, "files": [ diff --git a/packages/beep/package.json b/packages/beep/package.json index e16067e84..92eddcde6 100644 --- a/packages/beep/package.json +++ b/packages/beep/package.json @@ -16,14 +16,13 @@ }, "scripts": { "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov", - "ci:lint": "pnpm run lint && pnpm run security", + "ci:lint": "pnpm run lint", "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", "ci:test": "ava --verbose", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", "lint:docs": "prettier --single-quote --write README.md", "lint:js": "eslint --fix --cache lib test", "lint:package": "prettier --write package.json --plugin=prettier-plugin-package", - "security": "echo 'pnpm needs `npm audit` support'", "test": "ava" }, "files": [ diff --git a/packages/buble/package.json b/packages/buble/package.json index 79b42d3f1..eeb54ba77 100644 --- a/packages/buble/package.json +++ b/packages/buble/package.json @@ -14,7 +14,7 @@ "scripts": { "build": "rollup -c", "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov", - "ci:lint": "pnpm run build && pnpm run lint && pnpm run security", + "ci:lint": "pnpm run build && pnpm run lint", "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", "ci:test": "pnpm run test -- --verbose && pnpm run test:ts", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", @@ -25,7 +25,6 @@ "prepare": "pnpm run build", "prepublishOnly": "pnpm run lint && pnpm run test && pnpm run test:ts", "pretest": "pnpm run build", - "security": "echo 'pnpm needs `npm audit` support'", "test": "ava", "test:ts": "tsc index.d.ts test/types.ts --noEmit" }, diff --git a/packages/dsv/package.json b/packages/dsv/package.json index cc8469cdb..bd1d08d92 100755 --- a/packages/dsv/package.json +++ b/packages/dsv/package.json @@ -14,7 +14,7 @@ "scripts": { "build": "rollup -c", "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov", - "ci:lint": "pnpm run build && pnpm run lint && pnpm run security", + "ci:lint": "pnpm run build && pnpm run lint", "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", "ci:test": "pnpm run test -- --verbose", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", @@ -25,7 +25,6 @@ "prepare": "pnpm run build", "prepublishOnly": "pnpm run lint", "pretest": "pnpm run build", - "security": "echo 'pnpm needs `npm audit` support'", "test": "ava" }, "files": [ diff --git a/packages/html/package.json b/packages/html/package.json index bab44539f..f236ecd9b 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -16,7 +16,7 @@ }, "scripts": { "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov", - "ci:lint": "pnpm run lint && pnpm run security", + "ci:lint": "pnpm run lint", "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", "ci:test": "pnpm run test -- --verbose", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", @@ -24,7 +24,6 @@ "lint:js": "eslint --fix --cache lib test", "lint:package": "prettier --write package.json --plugin=prettier-plugin-package", "prepublishOnly": "pnpm run lint", - "security": "echo 'pnpm needs `npm audit` support'", "test": "ava" }, "files": [ diff --git a/packages/image/package.json b/packages/image/package.json index 62f2f1ff6..d3ede2eb6 100755 --- a/packages/image/package.json +++ b/packages/image/package.json @@ -17,7 +17,7 @@ "scripts": { "build": "rollup -c", "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov", - "ci:lint": "pnpm run build && pnpm run lint && pnpm run security", + "ci:lint": "pnpm run build && pnpm run lint", "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", "ci:test": "pnpm run test -- --verbose", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", @@ -28,7 +28,6 @@ "prepare": "pnpm run build", "prepublishOnly": "pnpm run lint", "pretest": "pnpm run build", - "security": "echo 'pnpm needs `npm audit` support'", "test": "ava" }, "files": [ diff --git a/packages/inject/package.json b/packages/inject/package.json index 14c8b6107..2c4b31929 100644 --- a/packages/inject/package.json +++ b/packages/inject/package.json @@ -14,7 +14,7 @@ "scripts": { "build": "rollup -c", "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov", - "ci:lint": "pnpm run build && pnpm run lint && pnpm run security", + "ci:lint": "pnpm run build && pnpm run lint", "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", "ci:test": "pnpm run test -- --verbose && pnpm run test:ts", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", @@ -25,7 +25,6 @@ "prepare": "pnpm run build", "prepublishOnly": "pnpm run lint && pnpm run test", "pretest": "pnpm run build", - "security": "echo 'pnpm needs `npm audit` support'", "test": "ava", "test:ts": "tsc index.d.ts test/types.ts --noEmit" }, diff --git a/packages/json/package.json b/packages/json/package.json index 31a260a97..62090aa64 100755 --- a/packages/json/package.json +++ b/packages/json/package.json @@ -11,7 +11,7 @@ "scripts": { "build": "rollup -c", "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov", - "ci:lint": "pnpm run build && pnpm run lint && pnpm run security", + "ci:lint": "pnpm run build && pnpm run lint", "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", "ci:test": "pnpm run test -- --verbose && pnpm run test:ts", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", @@ -22,7 +22,6 @@ "prepare": "pnpm run build", "prepublishOnly": "pnpm run lint && pnpm run test", "pretest": "pnpm run build", - "security": "echo 'pnpm needs `npm audit` support'", "test": "ava", "test:ts": "tsc index.d.ts test/types.ts --noEmit" }, diff --git a/packages/legacy/package.json b/packages/legacy/package.json index f8e70b250..896e0104e 100644 --- a/packages/legacy/package.json +++ b/packages/legacy/package.json @@ -14,7 +14,7 @@ "scripts": { "build": "rollup -c", "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov", - "ci:lint": "pnpm run build && pnpm run lint && pnpm run security", + "ci:lint": "pnpm run build && pnpm run lint", "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", "ci:test": "pnpm run test -- --verbose", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", @@ -25,7 +25,6 @@ "prepare": "pnpm run build", "prepublishOnly": "pnpm run lint", "pretest": "pnpm run build", - "security": "echo 'pnpm needs `npm audit` support'", "test": "ava" }, "files": [ diff --git a/packages/node-resolve/package.json b/packages/node-resolve/package.json index 35eb0aeac..35aea7df4 100755 --- a/packages/node-resolve/package.json +++ b/packages/node-resolve/package.json @@ -17,7 +17,7 @@ "scripts": { "build": "rollup -c", "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov", - "ci:lint": "pnpm run build && pnpm run lint && pnpm run security", + "ci:lint": "pnpm run build && pnpm run lint", "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", "ci:test": "pnpm run test -- --verbose && pnpm run test:ts", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", @@ -28,7 +28,6 @@ "prepare": "pnpm run build", "prepublishOnly": "pnpm run lint && pnpm run test && pnpm run test:ts", "pretest": "pnpm run build", - "security": "echo 'pnpm needs `npm audit` support'", "test": "ava", "test:ts": "tsc types/index.d.ts test/types.ts --noEmit" }, diff --git a/packages/pluginutils/package.json b/packages/pluginutils/package.json index 5a95be1a3..0b7511269 100644 --- a/packages/pluginutils/package.json +++ b/packages/pluginutils/package.json @@ -19,7 +19,7 @@ "scripts": { "build": "rollup -c", "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov", - "ci:lint": "pnpm run build && pnpm run lint && pnpm run security", + "ci:lint": "pnpm run build && pnpm run lint", "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", "ci:test": "pnpm run test -- --verbose", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", @@ -30,7 +30,6 @@ "prepare": "pnpm run build", "prepublishOnly": "pnpm run lint && pnpm run build", "pretest": "pnpm run build -- --sourcemap", - "security": "echo 'pnpm needs `npm audit` support'", "test": "ava test/*.ts" }, "files": [ diff --git a/packages/replace/package.json b/packages/replace/package.json index a38360723..496da3dc1 100644 --- a/packages/replace/package.json +++ b/packages/replace/package.json @@ -14,7 +14,7 @@ "scripts": { "build": "rollup -c", "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov", - "ci:lint": "pnpm run build && pnpm run lint && pnpm run security", + "ci:lint": "pnpm run build && pnpm run lint", "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", "ci:test": "pnpm run test -- --verbose && pnpm run test:ts", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", @@ -25,7 +25,6 @@ "prepare": "pnpm run build", "prepublishOnly": "pnpm run lint && pnpm run test", "pretest": "pnpm run build", - "security": "echo 'pnpm needs `npm audit` support'", "test": "ava", "test:ts": "tsc index.d.ts test/types.ts --noEmit" }, diff --git a/packages/run/package.json b/packages/run/package.json index e1392ccb6..3929a3cf3 100644 --- a/packages/run/package.json +++ b/packages/run/package.json @@ -13,7 +13,7 @@ "main": "lib/index.js", "scripts": { "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov", - "ci:lint": "pnpm run lint && pnpm run security", + "ci:lint": "pnpm run lint", "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", "ci:test": "pnpm run test -- --verbose", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", @@ -21,7 +21,6 @@ "lint:js": "eslint --fix --cache lib test", "lint:package": "prettier --write package.json --plugin=prettier-plugin-package", "prepublishOnly": "pnpm run lint && pnpm run test", - "security": "echo 'pnpm needs `npm audit` support'", "test": "ava" }, "files": [ diff --git a/packages/strip/package.json b/packages/strip/package.json index 952d0e4e3..5123522f7 100644 --- a/packages/strip/package.json +++ b/packages/strip/package.json @@ -14,7 +14,7 @@ "scripts": { "build": "rollup -c", "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov", - "ci:lint": "pnpm run lint && pnpm run security", + "ci:lint": "pnpm run lint", "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", "ci:test": "pnpm run test -- --verbose", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", @@ -22,7 +22,6 @@ "lint:js": "eslint --fix --cache src test/test.js", "lint:package": "prettier --write package.json --plugin=prettier-plugin-package", "pretest": "pnpm run build", - "security": "echo 'pnpm needs `npm audit` support'", "test": "ava" }, "files": [ diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 1be581bdc..7a2febfad 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -17,7 +17,7 @@ "scripts": { "build": "rollup -c", "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov", - "ci:lint": "pnpm run build && pnpm run lint && pnpm run security", + "ci:lint": "pnpm run build && pnpm run lint", "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", "ci:test": "pnpm run test -- --verbose", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", @@ -28,7 +28,6 @@ "prepare": "pnpm run build", "prepublishOnly": "pnpm run lint", "pretest": "pnpm run build", - "security": "echo 'pnpm needs `npm audit` support'", "test": "ava" }, "files": [ diff --git a/packages/url/package.json b/packages/url/package.json index 99919f0c9..a5c3100f3 100644 --- a/packages/url/package.json +++ b/packages/url/package.json @@ -17,7 +17,7 @@ "scripts": { "build": "rollup -c", "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov", - "ci:lint": "pnpm run build && pnpm run lint && pnpm run security", + "ci:lint": "pnpm run build && pnpm run lint", "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", "ci:test": "pnpm run test -- --verbose", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", @@ -28,7 +28,6 @@ "prepare": "pnpm run build", "prepublishOnly": "pnpm run lint", "pretest": "pnpm run build", - "security": "echo 'pnpm needs `npm audit` support'", "test": "ava" }, "files": [ diff --git a/packages/virtual/package.json b/packages/virtual/package.json index 0ae365979..76104e3c1 100755 --- a/packages/virtual/package.json +++ b/packages/virtual/package.json @@ -14,7 +14,7 @@ "scripts": { "build": "rollup -c", "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov", - "ci:lint": "pnpm run build && pnpm run lint && pnpm run security", + "ci:lint": "pnpm run build && pnpm run lint", "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", "ci:test": "pnpm run test -- --verbose", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", @@ -25,7 +25,6 @@ "prepare": "pnpm run build", "prepublishOnly": "pnpm run lint", "pretest": "pnpm run build", - "security": "echo 'pnpm needs `npm audit` support'", "test": "ava" }, "files": [ diff --git a/packages/wasm/package.json b/packages/wasm/package.json index 0986e45d6..1fdd6b907 100644 --- a/packages/wasm/package.json +++ b/packages/wasm/package.json @@ -14,7 +14,7 @@ "scripts": { "build": "rollup -c", "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov", - "ci:lint": "pnpm run build && pnpm run lint && pnpm run security", + "ci:lint": "pnpm run build && pnpm run lint", "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", "ci:test": "pnpm run test -- --verbose", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", @@ -25,7 +25,6 @@ "prepare": "pnpm run build", "prepublishOnly": "pnpm run lint", "pretest": "pnpm run build", - "security": "echo 'pnpm needs `npm audit` support'", "test": "ava" }, "files": [ diff --git a/packages/yaml/package.json b/packages/yaml/package.json index 80fe28d92..aac5f92f9 100755 --- a/packages/yaml/package.json +++ b/packages/yaml/package.json @@ -14,7 +14,7 @@ "scripts": { "build": "rollup -c", "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov", - "ci:lint": "pnpm run build && pnpm run lint && pnpm run security", + "ci:lint": "pnpm run build && pnpm run lint", "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", "ci:test": "pnpm run test -- --verbose", "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package", @@ -25,7 +25,6 @@ "prepare": "pnpm run build", "prepublishOnly": "pnpm run lint", "pretest": "pnpm run build", - "security": "echo 'pnpm needs `npm audit` support'", "test": "ava" }, "files": [