Skip to content

Commit

Permalink
Upgrade node version
Browse files Browse the repository at this point in the history
Previously, the Node version specified in package.json was too low for the lockfileVersion. This caused problems like the styles not rendering in development.

This commit specifies a higher version of Node, as well as a higher version of NPM, to ensure lockfile compatibility.
  • Loading branch information
beechnut committed May 21, 2024
1 parent 56e2843 commit abb0c3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"test": "tests"
},
"engines": {
"node": ">=10.14"
"node": ">=18.7",
"npm": ">=7.24"
},
"scripts": {
"federalist": "npm run uswds-build && mkdir ./.bundle && echo '---\nBUNDLE_GEMFILE: \"GemfileFederalist\"' > ./.bundle/config",
Expand Down

0 comments on commit abb0c3e

Please sign in to comment.