Skip to content

Commit

Permalink
chore(deps): upgrade node and allow any version newer than 16.20.0 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gidjin authored Apr 24, 2023
1 parent 4687002 commit 16c0e9c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
node: ['14', '16', '18']
node: ['16', '18']

name: Node ${{ matrix.node }} tests

Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.14.2
18.15.0
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ npm i @trussworks/react-uswds

## Usage

### USWDS

It is strongly suggested applications use the same version of USWDS that was used to build the version of ReactUSWDS they're using. A version mismatch may result in unexpected markup & CSS combinations.

You can import ReactUSWDS components using ES6 syntax:
Expand All @@ -66,6 +68,12 @@ If you aren't already using USWDS as a dependency, you also need to import USWDS

Having issues? See [FAQs](./docs/faqs.md).

### NodeJS

We develop on this library with the version of node defined in `.node-version`. We run the test suite against the major released versions of node that are still in active LTS and not development releases. Specific versions are defined in the workflow: `.github/workflows/build-and-test.yml`. Those are the versions we exxpect to support, if you are using a pre-release or development version of node you may run into unexpected issues.

Having issues? See [FAQs](./docs/faqs.md).

### Pre-Release

See [prelease.md](docs/prerelease.md)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"lib"
],
"engines": {
"node": "14.x - 18.x"
"node": ">= 16.20.0"
},
"scripts": {
"test": "jest",
Expand Down

0 comments on commit 16c0e9c

Please sign in to comment.