Skip to content

Commit

Permalink
feat: require node 16 and higher (#1136)
Browse files Browse the repository at this point in the history
* feat: require node 16 and higher

* chore: use node "16" in codesandbox builds

* deps: bump @mswjs/interceptors to 0.14.0
  • Loading branch information
kettanaito committed Mar 6, 2022
1 parent cfc2bec commit 6f4895e
Show file tree
Hide file tree
Showing 7 changed files with 152 additions and 157 deletions.
2 changes: 1 addition & 1 deletion .codesandbox/ci.json
@@ -1,4 +1,4 @@
{
"node": "12",
"node": "16",
"sandboxes": ["msw-react-xx1c8"]
}
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16.14.0

- name: Install dependencies
uses: bahmutov/npm-install@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16.14.0

- name: Install dependencies
uses: bahmutov/npm-install@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoke.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16.14.0

- name: Install dependencies
uses: bahmutov/npm-install@v1
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
@@ -1 +1 @@
v12.22.0
v16.14.0
5 changes: 4 additions & 1 deletion package.json
Expand Up @@ -8,6 +8,9 @@
"bin": {
"msw": "cli/index.js"
},
"engines": {
"node": ">=16.x"
},
"scripts": {
"start": "cross-env NODE_ENV=development rollup -c rollup.config.ts -w",
"clean": "rimraf lib {native,node}/lib",
Expand Down Expand Up @@ -65,7 +68,7 @@
"sideEffects": false,
"dependencies": {
"@mswjs/cookies": "^0.1.7",
"@mswjs/interceptors": "^0.13.5",
"@mswjs/interceptors": "^0.14.0",
"@open-draft/until": "^1.0.3",
"@types/cookie": "^0.4.1",
"@types/js-levenshtein": "^1.1.1",
Expand Down
294 changes: 143 additions & 151 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 6f4895e

Please sign in to comment.