Update dependencies to match Next v14 in Dev Portal; updated husky workflow to v9; updated nvmrc to v18

This commit is contained in:
Heat Hamilton
2024-01-30 11:45:45 -05:00
parent e059adef98
commit 0b29a7d727
4 changed files with 480 additions and 455 deletions

View File

@@ -0,0 +1,3 @@
cd website
npx next-hashicorp precommit

View File

@@ -1 +1 @@
v16 v18

File diff suppressed because it is too large Load Diff

View File

@@ -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"
} }
} }