Skip to content

Commit 8db6e2e

Browse files
committed
fix bundle sizes
1 parent 5d4a90b commit 8db6e2e

File tree

3 files changed

+78
-37
lines changed

3 files changed

+78
-37
lines changed

package.json

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -27,59 +27,28 @@
2727
"@aws-sdk/client-dynamodb": "^3.624.0",
2828
"@aws-sdk/client-secrets-manager": "^3.624.0",
2929
"@aws-sdk/util-dynamodb": "^3.624.0",
30-
"@azure/msal-browser": "^3.20.0",
3130
"@azure/msal-node": "^2.16.1",
32-
"@azure/msal-react": "^2.0.22",
3331
"@fastify/auth": "^5.0.1",
3432
"@fastify/aws-lambda": "^5.0.0",
3533
"@fastify/caching": "^9.0.1",
3634
"@fastify/cors": "^10.0.1",
37-
"@mantine/core": "^7.15.2",
38-
"@mantine/dates": "^7.15.2",
39-
"@mantine/form": "^7.15.2",
40-
"@mantine/hooks": "^7.15.2",
41-
"@mantine/notifications": "^7.15.2",
42-
"@tabler/icons-react": "^3.12.0",
4335
"@touch4it/ical-timezones": "^1.9.0",
44-
"@ungap/with-resolvers": "^0.1.0",
45-
"axios": "^1.7.3",
46-
"dayjs": "^1.11.12",
4736
"discord.js": "^14.15.3",
4837
"dotenv": "^16.4.5",
4938
"fastify": "^5.1.0",
5039
"fastify-plugin": "^4.5.1",
51-
"html5-qrcode": "^2.3.8",
5240
"ical-generator": "^7.2.0",
5341
"jsonwebtoken": "^9.0.2",
54-
"jsqr": "^1.4.0",
5542
"jwks-rsa": "^3.1.0",
5643
"moment": "^2.30.1",
5744
"moment-timezone": "^0.5.45",
58-
"pdfjs-dist": "^4.8.69",
5945
"pluralize": "^8.0.0",
60-
"react": "^18.3.1",
61-
"react-dom": "^18.3.1",
62-
"react-pdf": "^9.1.0",
63-
"react-pdftotext": "^1.3.0",
64-
"react-qr-reader": "^3.0.0-beta-1",
65-
"react-router-dom": "^6.26.0",
6646
"zod": "^3.23.8",
6747
"zod-to-json-schema": "^3.23.2",
6848
"zod-validation-error": "^3.3.1"
6949
},
7050
"devDependencies": {
7151
"@eslint/compat": "^1.1.1",
72-
"@storybook/addon-essentials": "^8.2.8",
73-
"@storybook/addon-interactions": "^8.2.8",
74-
"@storybook/addon-links": "^8.2.8",
75-
"@storybook/blocks": "^8.2.8",
76-
"@storybook/react": "^8.2.8",
77-
"@storybook/react-vite": "^8.2.8",
78-
"@storybook/testing-library": "^0.2.2",
79-
"@testing-library/dom": "^10.4.0",
80-
"@testing-library/jest-dom": "^6.4.8",
81-
"@testing-library/react": "^16.0.0",
82-
"@testing-library/user-event": "^14.5.2",
8352
"@tsconfig/node20": "^20.1.4",
8453
"@types/node": "^22.1.0",
8554
"@types/pluralize": "^0.0.33",

src/ui/package.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,77 @@
1616
"test": "npm run typecheck && npm run prettier && npm run lint && npm run vitest && npm run build",
1717
"storybook": "storybook dev -p 6006",
1818
"storybook:build": "storybook build"
19+
},
20+
"dependencies": {
21+
"@azure/msal-browser": "^3.20.0",
22+
"@azure/msal-react": "^2.0.22",
23+
"@mantine/core": "^7.12.0",
24+
"@mantine/dates": "^7.12.0",
25+
"@mantine/form": "^7.12.0",
26+
"@mantine/hooks": "^7.12.0",
27+
"@mantine/notifications": "^7.12.0",
28+
"@tabler/icons-react": "^3.12.0",
29+
"@ungap/with-resolvers": "^0.1.0",
30+
"axios": "^1.7.3",
31+
"dayjs": "^1.11.12",
32+
"dotenv": "^16.4.5",
33+
"html5-qrcode": "^2.3.8",
34+
"jsqr": "^1.4.0",
35+
"pdfjs-dist": "^4.5.136",
36+
"pluralize": "^8.0.0",
37+
"react": "^18.3.1",
38+
"react-dom": "^18.3.1",
39+
"react-pdf": "^9.1.0",
40+
"react-pdftotext": "^1.3.0",
41+
"react-qr-reader": "^3.0.0-beta-1",
42+
"react-router-dom": "^6.26.0",
43+
"zod": "^3.23.8"
44+
},
45+
"devDependencies": {
46+
"@eslint/compat": "^1.1.1",
47+
"@storybook/addon-essentials": "^8.2.8",
48+
"@storybook/addon-interactions": "^8.2.8",
49+
"@storybook/addon-links": "^8.2.8",
50+
"@storybook/blocks": "^8.2.8",
51+
"@storybook/react": "^8.2.8",
52+
"@storybook/react-vite": "^8.2.8",
53+
"@storybook/testing-library": "^0.2.2",
54+
"@testing-library/dom": "^10.4.0",
55+
"@testing-library/jest-dom": "^6.4.8",
56+
"@testing-library/react": "^16.0.0",
57+
"@testing-library/user-event": "^14.5.2",
58+
"@types/pluralize": "^0.0.33",
59+
"@types/react": "^18.3.3",
60+
"@types/react-dom": "^18.3.0",
61+
"@typescript-eslint/eslint-plugin": "^8.0.1",
62+
"@typescript-eslint/parser": "^8.0.1",
63+
"@vitejs/plugin-react": "^4.3.1",
64+
"eslint-config-airbnb": "^19.0.4",
65+
"eslint-config-airbnb-typescript": "^18.0.0",
66+
"eslint-config-mantine": "^3.2.0",
67+
"eslint-plugin-import": "^2.29.1",
68+
"eslint-plugin-jsx-a11y": "^6.9.0",
69+
"eslint-plugin-react": "^7.35.0",
70+
"eslint-plugin-react-hooks": "^4.6.2",
71+
"identity-obj-proxy": "^3.0.0",
72+
"jsdom": "^24.1.1",
73+
"postcss": "^8.4.41",
74+
"postcss-preset-mantine": "^1.17.0",
75+
"postcss-simple-vars": "^7.0.1",
76+
"prettier": "^3.3.3",
77+
"prop-types": "^15.8.1",
78+
"storybook": "^8.2.8",
79+
"storybook-dark-mode": "^4.0.2",
80+
"stylelint": "^16.8.1",
81+
"stylelint-config-standard-scss": "^13.1.0",
82+
"typescript": "^5.5.4",
83+
"typescript-eslint": "^8.0.1",
84+
"vite": "^5.4.0",
85+
"vite-tsconfig-paths": "^5.0.1",
86+
"vitest": "^2.0.5",
87+
"yarn-upgrade-all": "^0.7.4"
88+
},
89+
"resolutions": {
90+
"pdfjs-dist": "4.5.136"
1991
}
2092
}

yarn.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,7 +1369,7 @@
13691369
"@jridgewell/resolve-uri" "^3.1.0"
13701370
"@jridgewell/sourcemap-codec" "^1.4.14"
13711371

1372-
"@mantine/core@^7.15.2":
1372+
"@mantine/core@^7.12.0":
13731373
version "7.15.2"
13741374
resolved "https://registry.yarnpkg.com/@mantine/core/-/core-7.15.2.tgz#9c21d5afe5e43fe0a58fb4b1166ded0a67fa1eae"
13751375
integrity sha512-640ns0L/HZAXYjz3+FRffr8UNcH1fU7ENUVxKLzqNA311Dcx0qS3byVKTY/IVJYln6AkjoEfIJMiixT9fCZBiQ==
@@ -1381,27 +1381,27 @@
13811381
react-textarea-autosize "8.5.6"
13821382
type-fest "^4.27.0"
13831383

1384-
"@mantine/dates@^7.15.2":
1384+
"@mantine/dates@^7.12.0":
13851385
version "7.15.2"
13861386
resolved "https://registry.yarnpkg.com/@mantine/dates/-/dates-7.15.2.tgz#2ac38861327a9191f96fb06baaf362bccbcdf365"
13871387
integrity sha512-WeJ+a16bZC+7k9Fr6jiC5NrdZi23Hp28xGBa3kKYk0Nanz/lTgg2DTBgFB537+4MVD1kOmqso+7z1VO9uLeaEw==
13881388
dependencies:
13891389
clsx "^2.1.1"
13901390

1391-
"@mantine/form@^7.15.2":
1391+
"@mantine/form@^7.12.0":
13921392
version "7.15.2"
13931393
resolved "https://registry.yarnpkg.com/@mantine/form/-/form-7.15.2.tgz#0f243ecef13aea6d7a6a5adf9a96280e5bd4644d"
13941394
integrity sha512-ADXLw/e0/ddNIj9EtJb5aes2VEpoR7GIVgKnzFhq8DXMfOZqaMn4rSVY8LmVOAtcMyocPR7hk8uQQ3ihmpzFaw==
13951395
dependencies:
13961396
fast-deep-equal "^3.1.3"
13971397
klona "^2.0.6"
13981398

1399-
"@mantine/hooks@^7.15.2":
1399+
"@mantine/hooks@^7.12.0":
14001400
version "7.15.2"
14011401
resolved "https://registry.yarnpkg.com/@mantine/hooks/-/hooks-7.15.2.tgz#f583ecfb7b92cad17c67f7825f20f23b72e6d7ff"
14021402
integrity sha512-p8dsW0fdJxzYhULbm1noFYRHuBvJHleYviC0BlwbkVySC8AsvFI8AmC3sMssWV3dQ3yQ/SidYo9U+K/czpDpZw==
14031403

1404-
"@mantine/notifications@^7.15.2":
1404+
"@mantine/notifications@^7.12.0":
14051405
version "7.15.2"
14061406
resolved "https://registry.yarnpkg.com/@mantine/notifications/-/notifications-7.15.2.tgz#4e5be05eec507e76c8b11c4d20c92ecc73d6a82b"
14071407
integrity sha512-SZYUJV+BMakyoURj1is5aKXyM6pHpwl3V28FVx7nExyXcHJyzmPmqaSPumo0ZjFo+ysQ8/0P9UnYP0kNRwrjdQ==
@@ -6416,7 +6416,7 @@ pathval@^2.0.0:
64166416
resolved "https://registry.yarnpkg.com/pathval/-/pathval-2.0.0.tgz#7e2550b422601d4f6b8e26f1301bc8f15a741a25"
64176417
integrity sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==
64186418

6419-
[email protected], pdfjs-dist@^4.6.82, pdfjs-dist@^4.8.69:
6419+
[email protected], pdfjs-dist@^4.5.136, pdfjs-dist@^4.6.82, pdfjs-dist@^4.8.69:
64206420
version "4.10.38"
64216421
resolved "https://registry.yarnpkg.com/pdfjs-dist/-/pdfjs-dist-4.10.38.tgz#3ee698003790dc266cc8b55c0e662ccb9ae18f53"
64226422
integrity sha512-/Y3fcFrXEAsMjJXeL9J8+ZG9U01LbuWaYypvDW2ycW1jL269L3js3DVBjDJ0Up9Np1uqDXsDrRihHANhZOlwdQ==

0 commit comments

Comments
 (0)