mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
Update dependencies to match Next v14 in Dev Portal; updated husky workflow to v9; updated nvmrc to v18
This commit is contained in:
3
website/.husky/pre-commit
Normal file
3
website/.husky/pre-commit
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
cd website
|
||||||
|
|
||||||
|
npx next-hashicorp precommit
|
||||||
@@ -1 +1 @@
|
|||||||
v16
|
v18
|
||||||
|
|||||||
910
website/package-lock.json
generated
910
website/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -4,21 +4,16 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"author": "HashiCorp",
|
"author": "HashiCorp",
|
||||||
"engines": {
|
"engines": {
|
||||||
"npm": ">=7.0.0",
|
"npm": ">=9.6.7",
|
||||||
"node": ">=16.x <=18.x"
|
"node": ">=18.x <=20.x"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@hashicorp/platform-cli": "^2.6.0",
|
"@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": "4.3.8",
|
"husky": "^9.0.7",
|
||||||
"next": "^14.0.1",
|
"next": "14.0.4",
|
||||||
"prettier": "2.8.8"
|
"prettier": "^3.2.4"
|
||||||
},
|
|
||||||
"husky": {
|
|
||||||
"hooks": {
|
|
||||||
"pre-commit": "next-hashicorp precommit"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "./scripts/website-build.sh",
|
"build": "./scripts/website-build.sh",
|
||||||
@@ -28,6 +23,7 @@
|
|||||||
"lint": "next-hashicorp lint",
|
"lint": "next-hashicorp lint",
|
||||||
"start": "./scripts/website-start.sh",
|
"start": "./scripts/website-start.sh",
|
||||||
"linkcheck": "linkcheck https://developer.hashicorp.com/nomad",
|
"linkcheck": "linkcheck https://developer.hashicorp.com/nomad",
|
||||||
"content-check": "hc-content --config base-docs"
|
"content-check": "hc-content --config base-docs",
|
||||||
|
"prepare": "cd .. && husky website/.husky"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user