Kevin Daudt cb7727606c community/solid-community-server: disable husky
Husky has no business installing hooks into the aports repo, and
honestly, it should never automatically install any githooks without
user consent.
2021-10-22 04:48:42 +00:00

74 lines
2.2 KiB
Diff

diff --git a/package-lock.json b/package-lock.json
index 6554d23..cfb3fd4 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -90,7 +90,6 @@
"eslint-plugin-tsdoc": "^0.2.14",
"eslint-plugin-unused-imports": "^1.1.1",
"fs-extra": "^10.0.0",
- "husky": "^4.3.8",
"jest": "^27.0.6",
"jest-rdf": "^1.6.0",
"manual-git-changelog": "^1.0.1",
@@ -9329,36 +9328,6 @@
"node": ">=10.17.0"
}
},
- "node_modules/husky": {
- "version": "4.3.8",
- "resolved": "https://registry.npmjs.org/husky/-/husky-4.3.8.tgz",
- "integrity": "sha512-LCqqsB0PzJQ/AlCgfrfzRe3e3+NvmefAdKQhRYpxS4u6clblBoDdzzvHi8fmxKRzvMxPY/1WZWzomPZww0Anow==",
- "dev": true,
- "hasInstallScript": true,
- "dependencies": {
- "chalk": "^4.0.0",
- "ci-info": "^2.0.0",
- "compare-versions": "^3.6.0",
- "cosmiconfig": "^7.0.0",
- "find-versions": "^4.0.0",
- "opencollective-postinstall": "^2.0.2",
- "pkg-dir": "^5.0.0",
- "please-upgrade-node": "^3.2.0",
- "slash": "^3.0.0",
- "which-pm-runs": "^1.0.0"
- },
- "bin": {
- "husky-run": "bin/run.js",
- "husky-upgrade": "lib/upgrader/bin.js"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/husky"
- }
- },
"node_modules/husky/node_modules/ci-info": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz",
diff --git a/package.json b/package.json
index 2e04765..991488f 100644
--- a/package.json
+++ b/package.json
@@ -63,11 +63,6 @@
"version": "manual-git-changelog onversion",
"watch": "nodemon --watch \"dist/**/*.js\" --exec npm start"
},
- "husky": {
- "hooks": {
- "pre-commit": "npm run build && npm run lint && npm run test:unit && npm run test:integration"
- }
- },
"files": [
"bin",
"dist",
@@ -153,7 +148,6 @@
"eslint-plugin-tsdoc": "^0.2.14",
"eslint-plugin-unused-imports": "^1.1.1",
"fs-extra": "^10.0.0",
- "husky": "^4.3.8",
"jest": "^27.0.6",
"jest-rdf": "^1.6.0",
"manual-git-changelog": "^1.0.1",