mirror of https://github.com/status-im/consul.git
website: fix husky command (#20405)
Update husky pre-commit to work in website, a sub-directory of the directory containing the .git dir
This commit is contained in:
parent
d0243b618d
commit
18a6804824
|
@ -1 +1,3 @@
|
||||||
next-hashicorp precommit
|
cd website
|
||||||
|
|
||||||
|
npx next-hashicorp precommit
|
|
@ -11,7 +11,7 @@
|
||||||
"@hashicorp/platform-cli": "^2.7.3",
|
"@hashicorp/platform-cli": "^2.7.3",
|
||||||
"@hashicorp/platform-content-conformance": "^0.0.12",
|
"@hashicorp/platform-content-conformance": "^0.0.12",
|
||||||
"dart-linkcheck": "^2.0.15",
|
"dart-linkcheck": "^2.0.15",
|
||||||
"husky": "^9.0.6",
|
"husky": "^9.0.7",
|
||||||
"next": "^12.3.1",
|
"next": "^12.3.1",
|
||||||
"prettier": "^3.2.4"
|
"prettier": "^3.2.4"
|
||||||
},
|
},
|
||||||
|
@ -6140,9 +6140,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/husky": {
|
"node_modules/husky": {
|
||||||
"version": "9.0.6",
|
"version": "9.0.7",
|
||||||
"resolved": "https://registry.npmjs.org/husky/-/husky-9.0.6.tgz",
|
"resolved": "https://registry.npmjs.org/husky/-/husky-9.0.7.tgz",
|
||||||
"integrity": "sha512-EEuw/rfTiMjOfuL7pGO/i9otg1u36TXxqjIA6D9qxVjd/UXoDOsLor/BSFf5hTK50shwzCU3aVVwdXDp/lp7RA==",
|
"integrity": "sha512-vWdusw+y12DUEeoZqW1kplOFqk3tedGV8qlga8/SF6a3lOiWLqGZZQvfWvY0fQYdfiRi/u1DFNpudTSV9l1aCg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"husky": "bin.js"
|
"husky": "bin.js"
|
||||||
|
@ -19272,9 +19272,9 @@
|
||||||
"peer": true
|
"peer": true
|
||||||
},
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
"version": "9.0.6",
|
"version": "9.0.7",
|
||||||
"resolved": "https://registry.npmjs.org/husky/-/husky-9.0.6.tgz",
|
"resolved": "https://registry.npmjs.org/husky/-/husky-9.0.7.tgz",
|
||||||
"integrity": "sha512-EEuw/rfTiMjOfuL7pGO/i9otg1u36TXxqjIA6D9qxVjd/UXoDOsLor/BSFf5hTK50shwzCU3aVVwdXDp/lp7RA==",
|
"integrity": "sha512-vWdusw+y12DUEeoZqW1kplOFqk3tedGV8qlga8/SF6a3lOiWLqGZZQvfWvY0fQYdfiRi/u1DFNpudTSV9l1aCg==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"iconv-lite": {
|
"iconv-lite": {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"@hashicorp/platform-cli": "^2.7.3",
|
"@hashicorp/platform-cli": "^2.7.3",
|
||||||
"@hashicorp/platform-content-conformance": "^0.0.12",
|
"@hashicorp/platform-content-conformance": "^0.0.12",
|
||||||
"dart-linkcheck": "^2.0.15",
|
"dart-linkcheck": "^2.0.15",
|
||||||
"husky": "^9.0.6",
|
"husky": "^9.0.7",
|
||||||
"next": "^12.3.1",
|
"next": "^12.3.1",
|
||||||
"prettier": "^3.2.4"
|
"prettier": "^3.2.4"
|
||||||
},
|
},
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "./scripts/website-build.sh",
|
"build": "./scripts/website-build.sh",
|
||||||
"format": "next-hashicorp format",
|
"format": "next-hashicorp format",
|
||||||
"prepare": "husky",
|
"prepare": "cd .. && husky website/.husky",
|
||||||
"generate:component": "next-hashicorp generate component",
|
"generate:component": "next-hashicorp generate component",
|
||||||
"generate:readme": "next-hashicorp markdown-blocks README.md",
|
"generate:readme": "next-hashicorp markdown-blocks README.md",
|
||||||
"lint": "next-hashicorp lint",
|
"lint": "next-hashicorp lint",
|
||||||
|
|
Loading…
Reference in New Issue