Skip to content

Commit

Permalink
Update package.json to node v18
Browse files Browse the repository at this point in the history
Includes updating engines, bumping incompatible packages, adding .nvmrc file and bumping version in ci workflow
  • Loading branch information
Max Bladen-Clark committed Jul 13, 2023
1 parent 14f7899 commit 5b64db7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install nodejs
uses: actions/setup-node@v1
with:
node-version: "16.x"
node-version: "18.x"

- name: Install node dependencies
run: npm ci
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18.16.1
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"repository": "github:defra/flood-app",
"engines": {
"node": ">=16"
"node": ">=18"
},
"browserslist": [
"IE 11"
Expand Down Expand Up @@ -41,7 +41,7 @@
"@hapi/hoek": "^9.2.1",
"@hapi/inert": "^6.0.4",
"@hapi/joi": "^17.1.1",
"@hapi/lab": "^24.4.0",
"@hapi/lab": "^25.1.3",
"@hapi/vision": "^6.1.0",
"@hapi/wreck": "^17.1.0",
"@hapi/yar": "^10.1.1",
Expand All @@ -55,7 +55,7 @@
"d3": "^7.2.0",
"datatables.net-buttons": "^2.1.1",
"datatables.net-buttons-dt": "^2.1.1",
"datatables.net-dt": "^1.11.3",
"datatables.net-dt": "1.12.1",
"elm-pep": "^1.0.6",
"geojson": "0.5.0",
"govuk-frontend": "^3.14.0",
Expand Down

0 comments on commit 5b64db7

Please sign in to comment.