Updated next, node, npm, nvmrc and Docker node versions; added husky pre-commit hook v9

changelog-1.10.1
Heat Hamilton 2 years ago committed by Wilken Rivera
parent da65323918
commit ec403555dc

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

@ -1,4 +1,4 @@
FROM docker.mirror.hashicorp.services/node:14.17.0-alpine
FROM docker.mirror.hashicorp.services/node:18.18.2-alpine
RUN apk add --update --no-cache git make g++ automake autoconf libtool nasm libpng-dev
COPY ./package.json /website/package.json

@ -49,7 +49,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 (v16+) of [node installed](https://nodejs.org/en/) you can run:
If your local development environment has a supported version (v18+) 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,28 +4,23 @@
"version": "1.0.0",
"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",
"next": "^12.3.1",
"prettier": "2.2.1"
},
"husky": {
"hooks": {
"pre-commit": "next-hashicorp precommit"
}
"@hashicorp/platform-cli": "^2.7.3",
"@hashicorp/platform-content-conformance": "^0.0.12",
"husky": "^9.0.6",
"next": "^14.0.4",
"prettier": "^3.2.4"
},
"main": "index.js",
"scripts": {
"build": "./scripts/website-build.sh",
"format": "next-hashicorp format",
"prepare": "husky",
"lint": "next-hashicorp lint",
"start": "./scripts/website-start.sh",
"linkcheck": "linkcheck https://packer.io",
"content-check": "hc-content --config base-docs"
},
"engines": {
"npm": ">=7.0.0"
"npm": ">=9.6.7"
}
}

Loading…
Cancel
Save