Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 4046ef7

Browse files
renovate[bot]renovate-botKonradSzwarc
authored
chore(deps): update all dependencies (#372)
* chore(deps): update all dependencies * Fix tests typings * Fix axios typings Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: KonradSzwarc <konrad.szwarc.dev@gmail.com>
1 parent 4e9c1b3 commit 4046ef7

File tree

12 files changed

+2996
-2087
lines changed

12 files changed

+2996
-2087
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3'
22

33
services:
44
database:
5-
image: 'postgres:13'
5+
image: 'postgres:14'
66
restart: 'always'
77
ports:
88
- '5432:5432'

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,38 +31,38 @@
3131
},
3232
"devDependencies": {
3333
"@coderscamp/eslint-plugin": "0.0.1",
34-
"@types/jest": "27.0.1",
34+
"@types/jest": "27.0.2",
3535
"@types/shelljs": "0.8.9",
36-
"@typescript-eslint/eslint-plugin": "4.31.1",
37-
"@typescript-eslint/parser": "4.31.1",
38-
"concurrently": "6.2.1",
36+
"@typescript-eslint/eslint-plugin": "5.1.0",
37+
"@typescript-eslint/parser": "5.1.0",
38+
"concurrently": "6.3.0",
3939
"cross-env": "7.0.3",
4040
"del": "6.0.0",
41-
"eslint": "7.32.0",
41+
"eslint": "8.1.0",
4242
"eslint-config-airbnb": "18.2.1",
43-
"eslint-config-airbnb-typescript": "14.0.0",
43+
"eslint-config-airbnb-typescript": "14.0.1",
4444
"eslint-config-prettier": "8.3.0",
4545
"eslint-config-react": "1.1.7",
4646
"eslint-import-resolver-typescript": "2.5.0",
47-
"eslint-plugin-import": "2.24.2",
48-
"eslint-plugin-jest": "24.4.2",
47+
"eslint-plugin-import": "2.25.2",
48+
"eslint-plugin-jest": "25.2.2",
4949
"eslint-plugin-jest-dom": "3.9.2",
5050
"eslint-plugin-jest-formatting": "3.0.0",
5151
"eslint-plugin-jsx-a11y": "6.4.1",
5252
"eslint-plugin-prettier": "4.0.0",
53-
"eslint-plugin-react": "7.25.2",
53+
"eslint-plugin-react": "7.26.1",
5454
"eslint-plugin-react-hooks": "4.2.0",
5555
"eslint-plugin-simple-import-sort": "7.0.0",
56-
"eslint-plugin-testing-library": "4.12.2",
57-
"jest": "27.2.0",
56+
"eslint-plugin-testing-library": "4.12.4",
57+
"jest": "27.3.1",
5858
"jest-transform-stub": "2.0.0",
5959
"prettier": "2.4.1",
6060
"rimraf": "3.0.2",
6161
"serve": "12.0.1",
6262
"shelljs": "0.8.4",
63-
"ts-jest": "27.0.5",
64-
"ts-node": "10.2.1",
65-
"typescript": "4.4.3"
63+
"ts-jest": "27.0.7",
64+
"ts-node": "10.4.0",
65+
"typescript": "4.4.4"
6666
},
6767
"packageManager": "yarn@3.0.2"
6868
}

packages/api/package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@
2020
},
2121
"dependencies": {
2222
"@coderscamp/shared": "0.0.1",
23-
"@nestjs/common": "8.0.6",
24-
"@nestjs/core": "8.0.6",
23+
"@nestjs/common": "8.1.1",
24+
"@nestjs/core": "8.1.1",
2525
"@nestjs/cqrs": "8.0.0",
2626
"@nestjs/event-emitter": "1.0.0",
2727
"@nestjs/jwt": "8.0.0",
2828
"@nestjs/passport": "8.0.1",
29-
"@nestjs/platform-express": "8.0.6",
29+
"@nestjs/platform-express": "8.1.1",
3030
"@nestjs/serve-static": "2.2.2",
31-
"@nestjs/swagger": "5.0.9",
32-
"@prisma/client": "3.0.2",
31+
"@nestjs/swagger": "5.1.4",
32+
"@prisma/client": "3.3.0",
3333
"app-root-path": "3.0.0",
3434
"class-transformer": "0.4.0",
3535
"class-validator": "0.13.1",
@@ -39,41 +39,41 @@
3939
"express": "4.17.1",
4040
"leaked-handles": "5.2.0",
4141
"lodash": "4.17.21",
42-
"nodemailer": "6.6.3",
43-
"passport": "0.4.1",
42+
"nodemailer": "6.7.0",
43+
"passport": "0.5.0",
4444
"passport-github2": "0.1.12",
4545
"passport-jwt": "4.0.0",
4646
"passport-local": "1.0.0",
47-
"puppeteer": "10.2.0",
47+
"puppeteer": "10.4.0",
4848
"reflect-metadata": "0.1.13",
49-
"rxjs": "7.3.0",
49+
"rxjs": "7.4.0",
5050
"swagger-ui-express": "4.1.6",
5151
"ts-retry-promise": "0.6.0",
52-
"type-fest": "2.3.3",
52+
"type-fest": "2.5.1",
5353
"uuid": "8.3.2",
5454
"yamljs": "0.3.0"
5555
},
5656
"devDependencies": {
57-
"@nestjs/cli": "8.1.1",
58-
"@nestjs/schematics": "8.0.3",
59-
"@nestjs/testing": "8.0.6",
57+
"@nestjs/cli": "8.1.4",
58+
"@nestjs/schematics": "8.0.4",
59+
"@nestjs/testing": "8.1.1",
6060
"@types/app-root-path": "1.2.4",
6161
"@types/cookie-parser": "1.4.2",
6262
"@types/dotenv": "8.2.0",
6363
"@types/express": "4.17.13",
64-
"@types/node": "16.9.2",
64+
"@types/node": "16.11.4",
6565
"@types/passport-github2": "1.2.5",
6666
"@types/passport-jwt": "3.0.6",
6767
"@types/passport-local": "1.0.34",
6868
"@types/supertest": "2.0.11",
6969
"@types/uuid": "8.3.1",
7070
"@types/yamljs": "0.2.31",
71-
"jest-openapi": "0.14.0",
72-
"node-mocks-http": "1.10.1",
73-
"prisma": "3.0.2",
71+
"jest-openapi": "0.14.1",
72+
"node-mocks-http": "1.11.0",
73+
"prisma": "3.3.0",
7474
"supertest": "6.1.6",
75-
"ts-loader": "9.2.5",
76-
"ts-node": "10.2.1",
75+
"ts-loader": "9.2.6",
76+
"ts-node": "10.4.0",
7777
"tsconfig-paths": "3.11.0",
7878
"wait-for-expect": "3.0.2"
7979
}

packages/cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
"invoke": "rimraf dist && tsc && node dist/cli/src/index.js"
77
},
88
"dependencies": {
9-
"@supabase/supabase-js": "1.24.0",
9+
"@supabase/supabase-js": "1.25.0",
1010
"class-transformer": "0.4.0",
1111
"class-validator": "0.13.1",
12-
"commander": "8.2.0",
12+
"commander": "8.3.0",
1313
"csv-parse": "4.16.3",
1414
"dotenv": "10.0.0",
1515
"generate-password": "1.6.1",

packages/docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"write-heading-ids": "docusaurus write-heading-ids"
1111
},
1212
"dependencies": {
13-
"@docusaurus/core": "2.0.0-beta.6",
14-
"@docusaurus/preset-classic": "2.0.0-beta.6",
13+
"@docusaurus/core": "2.0.0-beta.8",
14+
"@docusaurus/preset-classic": "2.0.0-beta.8",
1515
"@mdx-js/react": "1.6.22",
1616
"@svgr/webpack": "5.5.0",
1717
"clsx": "1.1.1",

packages/panel/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,30 @@
1414
"dependencies": {
1515
"@coderscamp/shared": "0.0.1",
1616
"@coderscamp/ui": "0.0.1",
17-
"@hookform/resolvers": "2.8.0",
18-
"@reduxjs/toolkit": "1.6.1",
17+
"@hookform/resolvers": "2.8.2",
18+
"@reduxjs/toolkit": "1.6.2",
1919
"@toast-ui/react-calendar": "1.0.5",
20-
"axios": "0.21.4",
20+
"axios": "0.23.0",
2121
"class-transformer": "0.4.0",
2222
"class-validator": "0.13.1",
2323
"dotenv": "10.0.0",
2424
"react": "17.0.2",
2525
"react-dom": "17.0.2",
26-
"react-hook-form": "7.15.3",
26+
"react-hook-form": "7.17.5",
2727
"react-redux": "7.2.5",
2828
"react-router-dom": "5.3.0",
2929
"react-use": "17.3.1",
3030
"redux-saga": "1.1.3",
3131
"reflect-metadata": "0.1.13",
32-
"tui-calendar": "1.14.1"
32+
"tui-calendar": "1.15.0"
3333
},
3434
"devDependencies": {
35-
"@types/react": "17.0.21",
36-
"@types/react-dom": "17.0.9",
37-
"@types/react-router-dom": "5.1.9",
35+
"@types/react": "17.0.31",
36+
"@types/react-dom": "17.0.10",
37+
"@types/react-router-dom": "5.3.1",
3838
"@vitejs/plugin-react-refresh": "1.3.6",
3939
"msw": "0.35.0",
40-
"vite": "2.5.8",
41-
"vite-tsconfig-paths": "3.3.14"
40+
"vite": "2.6.10",
41+
"vite-tsconfig-paths": "3.3.17"
4242
}
4343
}

packages/panel/src/services/api/httpClient.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
import type { SerializedError } from '@reduxjs/toolkit';
2-
import axios from 'axios';
2+
import axios, { AxiosError } from 'axios';
33

44
export const httpClient = axios.create({
55
baseURL: '/api',
66
withCredentials: true,
77
});
88

9+
const isAxiosError = (value: unknown): value is AxiosError<{ message: string }, unknown> => axios.isAxiosError(value);
10+
911
httpClient.interceptors.response.use(
1012
(response) => response,
1113
(error) => {
12-
if (axios.isAxiosError(error)) {
14+
if (isAxiosError(error)) {
1315
const serializedError: SerializedError = {
1416
name: error.response?.statusText,
1517
code: String(error.response?.status),

packages/ui/package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,30 @@
1717
"react": "17.0.2"
1818
},
1919
"dependencies": {
20-
"@chakra-ui/react": "1.6.7",
21-
"@chakra-ui/theme-tools": "1.2.0",
22-
"@emotion/react": "11.4.1",
20+
"@chakra-ui/react": "1.6.10",
21+
"@chakra-ui/theme-tools": "1.2.2",
22+
"@emotion/react": "11.5.0",
2323
"@emotion/styled": "11.3.0",
24-
"@types/react-router-dom": "5.1.9",
24+
"@types/react-router-dom": "5.3.1",
2525
"@types/storybook-react-router": "1.0.1",
2626
"framer-motion": "4.1.17",
2727
"react-router-dom": "5.3.0"
2828
},
2929
"devDependencies": {
30-
"@chakra-ui/cli": "1.5.0",
31-
"@storybook/addon-actions": "6.3.8",
32-
"@storybook/addon-docs": "6.3.8",
33-
"@storybook/addon-essentials": "6.3.8",
34-
"@storybook/addon-links": "6.3.8",
35-
"@storybook/react": "6.3.8",
30+
"@chakra-ui/cli": "1.5.3",
31+
"@storybook/addon-actions": "6.3.12",
32+
"@storybook/addon-docs": "6.3.12",
33+
"@storybook/addon-essentials": "6.3.12",
34+
"@storybook/addon-links": "6.3.12",
35+
"@storybook/react": "6.3.12",
3636
"@svgr/cli": "5.5.0",
37-
"@testing-library/dom": "8.5.0",
37+
"@testing-library/dom": "8.10.1",
3838
"@testing-library/jest-dom": "5.14.1",
39-
"@testing-library/react": "12.1.0",
39+
"@testing-library/react": "12.1.2",
4040
"@testing-library/react-hooks": "7.0.2",
41-
"@testing-library/user-event": "13.2.1",
42-
"@types/react": "17.0.21",
43-
"@types/react-dom": "17.0.9",
41+
"@testing-library/user-event": "13.5.0",
42+
"@types/react": "17.0.31",
43+
"@types/react-dom": "17.0.10",
4444
"react": "17.0.2",
4545
"storybook-react-router": "1.0.8"
4646
}

packages/ui/src/components/Sidebar/Sidebar.test.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ import { Sidebar } from './Sidebar';
66

77
describe('Sidebar', () => {
88
it('renders correctly', () => {
9-
render(<Sidebar data-testid="sidebar" width="256px" />, { wrapper: MemoryRouter });
9+
render(<Sidebar data-testid="sidebar" width="256px" />, {
10+
wrapper: ({ children }) => <MemoryRouter>{children}</MemoryRouter>,
11+
});
1012

1113
const getSidebar = screen.getByTestId('sidebar');
1214

packages/ui/src/components/SidebarItem/SidebarItem.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe('SidebarItem', () => {
1111
<SidebarItem path="/" icon={<OutlinedDashboardIcon />} iconSelected={<SolidDashboardIcon />} count={2021}>
1212
Dashboard
1313
</SidebarItem>,
14-
{ wrapper: MemoryRouter },
14+
{ wrapper: ({ children }) => <MemoryRouter>{children}</MemoryRouter> },
1515
);
1616

1717
const sidebarItem = screen.getByRole('group');
@@ -28,7 +28,7 @@ describe('SidebarItem', () => {
2828
<SidebarItem path="/" disabled>
2929
Dashboard
3030
</SidebarItem>,
31-
{ wrapper: MemoryRouter },
31+
{ wrapper: ({ children }) => <MemoryRouter>{children}</MemoryRouter> },
3232
);
3333

3434
const sidebarItem = screen.getByRole(/group/i);

0 commit comments

Comments
 (0)