Browse Source

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
pull/20392/head^2
Heat Hamilton 10 months ago committed by GitHub
parent
commit
9f90060b0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      website/.husky/pre-commit
  2. 2
      website/.nvmrc
  3. 2
      website/README.md
  4. 652
      website/package-lock.json
  5. 18
      website/package.json

1
website/.husky/pre-commit

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

2
website/.nvmrc

@ -1 +1 @@
v14
v18

2
website/README.md

@ -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`

652
website/package-lock.json generated

File diff suppressed because it is too large Load Diff

18
website/package.json

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

Loading…
Cancel
Save