Skip to content

Commit dd872dc

Browse files
authored
Merge pull request #304 from sparksuite/upgrade-packages
Upgrade packages
2 parents 88e5734 + 7b0369d commit dd872dc

File tree

11 files changed

+12825
-12446
lines changed

11 files changed

+12825
-12446
lines changed

.github/workflows/main.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
name: Lint code
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v3
2222
- name: Use Node.js
23-
uses: actions/setup-node@v1
23+
uses: actions/setup-node@v3
2424
with:
25-
node-version: 14.x
25+
node-version: lts/*
2626
- name: Get yarn cache directory path
2727
id: yarn-cache-dir-path
2828
run: echo "::set-output name=dir::$(yarn cache dir)"
29-
- uses: actions/cache@v2
29+
- uses: actions/cache@v3
3030
id: yarn-cache
3131
with:
3232
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -40,17 +40,17 @@ jobs:
4040
runs-on: ubuntu-latest
4141
strategy:
4242
matrix:
43-
node-version: [14.x, 15.x]
43+
node-version: [lts/*, current]
4444
steps:
45-
- uses: actions/checkout@v2
45+
- uses: actions/checkout@v3
4646
- name: Use Node.js ${{ matrix.node-version }}
47-
uses: actions/setup-node@v1
47+
uses: actions/setup-node@v3
4848
with:
4949
node-version: ${{ matrix.node-version }}
5050
- name: Get yarn cache directory path
5151
id: yarn-cache-dir-path
5252
run: echo "::set-output name=dir::$(yarn cache dir)"
53-
- uses: actions/cache@v2
53+
- uses: actions/cache@v3
5454
id: yarn-cache
5555
with:
5656
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -60,20 +60,20 @@ jobs:
6060
- run: yarn dev
6161
- run: yarn test
6262
- name: Codecov
63-
uses: codecov/codecov-action@v1
63+
uses: codecov/codecov-action@v3
6464
verify-website:
6565
name: Verify website
6666
runs-on: ubuntu-latest
6767
steps:
68-
- uses: actions/checkout@v2
68+
- uses: actions/checkout@v3
6969
- name: Use Node.js
70-
uses: actions/setup-node@v1
70+
uses: actions/setup-node@v3
7171
with:
72-
node-version: 14.x
72+
node-version: lts/*
7373
- name: Get yarn cache directory path
7474
id: yarn-cache-dir-path
7575
run: echo "::set-output name=dir::$(yarn cache dir)"
76-
- uses: actions/cache@v2
76+
- uses: actions/cache@v3
7777
id: yarn-cache
7878
with:
7979
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -92,16 +92,16 @@ jobs:
9292
- verify-website
9393
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
9494
steps:
95-
- uses: actions/checkout@v2
95+
- uses: actions/checkout@v3
9696
- name: Use Node.js
97-
uses: actions/setup-node@v1
97+
uses: actions/setup-node@v3
9898
with:
99-
node-version: 14.x
99+
node-version: lts/*
100100
registry-url: 'https://registry.npmjs.org'
101101
- name: Get yarn cache directory path
102102
id: yarn-cache-dir-path
103103
run: echo "::set-output name=dir::$(yarn cache dir)"
104-
- uses: actions/cache@v2
104+
- uses: actions/cache@v3
105105
id: yarn-cache
106106
with:
107107
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -121,16 +121,16 @@ jobs:
121121
- verify-website
122122
if: github.ref == 'refs/heads/master'
123123
steps:
124-
- uses: actions/checkout@v2
124+
- uses: actions/checkout@v3
125125
- name: Use Node.js
126-
uses: actions/setup-node@v1
126+
uses: actions/setup-node@v3
127127
with:
128-
node-version: 14.x
128+
node-version: lts/*
129129
registry-url: 'https://registry.npmjs.org'
130130
- name: Get yarn cache directory path
131131
id: yarn-cache-dir-path
132132
run: echo "::set-output name=dir::$(yarn cache dir)"
133-
- uses: actions/cache@v2
133+
- uses: actions/cache@v3
134134
id: yarn-cache
135135
with:
136136
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}

package.json

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -41,27 +41,28 @@
4141
"dependencies": {},
4242
"peerDependencies": {},
4343
"devDependencies": {
44-
"@testing-library/jest-dom": "^5.11.6",
45-
"@testing-library/react": "^11.2.2",
46-
"@testing-library/user-event": "^13.0.7",
47-
"@types/jest": "^26.0.3",
48-
"@types/react": "^17.0.0",
49-
"@types/react-dom": "^17.0.3",
50-
"@typescript-eslint/eslint-plugin": "^4.8.2",
51-
"@typescript-eslint/parser": "^4.8.2",
52-
"eslint": "^7.14.0",
53-
"eslint-config-prettier": "^8.1.0",
54-
"eslint-plugin-react": "^7.17.0",
55-
"eslint-plugin-react-hooks": "^4.0.0",
44+
"@testing-library/jest-dom": "^5.16.5",
45+
"@testing-library/react": "^13.3.0",
46+
"@testing-library/user-event": "^14.4.3",
47+
"@types/jest": "^28.1.6",
48+
"@types/react": "^18.0.17",
49+
"@types/react-dom": "^18.0.6",
50+
"@typescript-eslint/eslint-plugin": "^5.38.0",
51+
"@typescript-eslint/parser": "^5.38.0",
52+
"eslint": "^8.23.1",
53+
"eslint-config-prettier": "^8.5.0",
54+
"eslint-plugin-react": "^7.31.8",
55+
"eslint-plugin-react-hooks": "^4.6.0",
5656
"jest": "link:./test-projects/browser/node_modules/jest",
57+
"jest-environment-jsdom": "^28.1.3",
5758
"jest-ts-webcompat-resolver": "^1.0.0",
58-
"prettier": "^2.0.2",
59-
"react": "^17.0.2",
60-
"react-dom": "^17.0.2",
61-
"react-test-renderer": "^17.0.1",
59+
"prettier": "^2.7.1",
60+
"react": "^18.2.0",
61+
"react-dom": "^18.2.0",
62+
"react-test-renderer": "^18.2.0",
6263
"rugged": "^1.0.0",
63-
"ts-jest": "^26.5.4",
64-
"ts-node": "^9.1.1",
65-
"typescript": "^4.1.2"
64+
"ts-jest": "^29.0.1",
65+
"ts-node": "^10.9.1",
66+
"typescript": "^4.7.4"
6667
}
6768
}

0 commit comments

Comments
 (0)