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
|
### 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 install`
|
||||||
- `npm start`
|
- `npm start`
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -4,22 +4,18 @@
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"author": "HashiCorp",
|
"author": "HashiCorp",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@hashicorp/platform-cli": "^2.6.0",
|
"@hashicorp/platform-cli": "^2.7.3",
|
||||||
"@hashicorp/platform-content-conformance": "^0.0.10",
|
"@hashicorp/platform-content-conformance": "^0.0.12",
|
||||||
"dart-linkcheck": "2.0.15",
|
"dart-linkcheck": "^2.0.15",
|
||||||
"husky": "4.3.8",
|
"husky": "^9.0.6",
|
||||||
"next": "^12.3.1",
|
"next": "^12.3.1",
|
||||||
"prettier": "2.2.1"
|
"prettier": "^3.2.4"
|
||||||
},
|
|
||||||
"husky": {
|
|
||||||
"hooks": {
|
|
||||||
"pre-commit": "next-hashicorp precommit"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "./scripts/website-build.sh",
|
"build": "./scripts/website-build.sh",
|
||||||
"format": "next-hashicorp format",
|
"format": "next-hashicorp format",
|
||||||
|
"prepare": "husky",
|
||||||
"generate:component": "next-hashicorp generate component",
|
"generate:component": "next-hashicorp generate component",
|
||||||
"generate:readme": "next-hashicorp markdown-blocks README.md",
|
"generate:readme": "next-hashicorp markdown-blocks README.md",
|
||||||
"lint": "next-hashicorp lint",
|
"lint": "next-hashicorp lint",
|
||||||
|
@ -28,6 +24,6 @@
|
||||||
"content-check": "hc-content --config base-docs"
|
"content-check": "hc-content --config base-docs"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"npm": ">=7.0.0"
|
"npm": ">=9.6.7"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue