Skip to content

Commit 0fda87f

Browse files
authored
Merge pull request #67 from instantcommerce/deps
Deps
2 parents a49d48a + 0eb63d1 commit 0fda87f

File tree

6 files changed

+1639
-2658
lines changed

6 files changed

+1639
-2658
lines changed

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup Node.js
1616
uses: actions/setup-node@v2
1717
with:
18-
node-version: 12
18+
node-version: 16
1919
- name: Install dependencies
2020
run: yarn
2121
- name: Release

.github/workflows/test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Node.js
1919
uses: actions/setup-node@v2
2020
with:
21-
node-version: 12
21+
node-version: 16
2222

2323
- name: Get yarn cache directory path
2424
id: yarn-cache-dir-path

example/yarn.lock

+264-813
Large diffs are not rendered by default.

jest.config.ts

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ import type { Config } from '@jest/types';
22

33
export default {
44
testEnvironment: 'jsdom',
5+
testEnvironmentOptions: {
6+
url: 'https://jestjs.io',
7+
},
58
roots: ['<rootDir>/src'],
69
transform: {
710
'^.+\\.tsx?$': 'babel-jest',

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
},
3131
"peerDependencies": {
3232
"next": ">=10.0.0",
33-
"react": "16.x || 17.x",
34-
"react-dom": "16.x || 17.x"
33+
"react": "16.x || 17.x || 18.x",
34+
"react-dom": "16.x || 17.x || 18.x"
3535
},
3636
"dependencies": {
3737
"cookie": "^0.4.1",
@@ -108,7 +108,7 @@
108108
"rollup-plugin-svg": "^2.0.0",
109109
"rollup-plugin-terser": "7.0.2",
110110
"rollup-plugin-typescript2": "0.29.0",
111-
"semantic-release": "17.3.3",
111+
"semantic-release": "19.0.3",
112112
"ts-jest": "26.4.4",
113113
"ts-loader": "8.0.16",
114114
"ts-node": "^9.1.1",

0 commit comments

Comments
 (0)