website: update dependencies (#20387)

* Update nvmrc to use v18, next to v14 and npm to v9.6.7

* Update husky pre-commit hook to v9; updated Husky to v9; updated node version in website readme

* Updated @hashicorp/platform-cli
This commit is contained in:
Heat Hamilton 2024-01-29 17:50:06 -05:00 committed by GitHub
parent 7c6a3c83f2
commit 9f90060b0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 277 additions and 398 deletions

View File

@ -0,0 +1 @@
next-hashicorp precommit

View File

@ -1 +1 @@
v14
v18

View File

@ -62,7 +62,7 @@ The docker image is pre-built with all the website dependencies installed, which
### With Node
If your local development environment has a supported version (v10.0.0+) of [node installed](https://nodejs.org/en/) you can run:
If your local development environment has a supported version (v18.17.0+) of [node installed](https://nodejs.org/en/) you can run:
- `npm install`
- `npm start`

File diff suppressed because it is too large Load Diff

View File

@ -4,22 +4,18 @@
"version": "0.0.1",
"author": "HashiCorp",
"devDependencies": {
"@hashicorp/platform-cli": "^2.6.0",
"@hashicorp/platform-content-conformance": "^0.0.10",
"dart-linkcheck": "2.0.15",
"husky": "4.3.8",
"@hashicorp/platform-cli": "^2.7.3",
"@hashicorp/platform-content-conformance": "^0.0.12",
"dart-linkcheck": "^2.0.15",
"husky": "^9.0.6",
"next": "^12.3.1",
"prettier": "2.2.1"
},
"husky": {
"hooks": {
"pre-commit": "next-hashicorp precommit"
}
"prettier": "^3.2.4"
},
"main": "index.js",
"scripts": {
"build": "./scripts/website-build.sh",
"format": "next-hashicorp format",
"prepare": "husky",
"generate:component": "next-hashicorp generate component",
"generate:readme": "next-hashicorp markdown-blocks README.md",
"lint": "next-hashicorp lint",
@ -28,6 +24,6 @@
"content-check": "hc-content --config base-docs"
},
"engines": {
"npm": ">=7.0.0"
"npm": ">=9.6.7"
}
}