mirror of https://github.com/status-im/consul.git
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:
parent
7c6a3c83f2
commit
9f90060b0f
|
@ -0,0 +1 @@
|
|||
next-hashicorp precommit
|
|
@ -1 +1 @@
|
|||
v14
|
||||
v18
|
|
@ -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
|
@ -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…
Reference in New Issue