From 54e062b9896c0c2b8decd4fdc75944803df7d2fe Mon Sep 17 00:00:00 2001 From: saravanakumardb1 Date: Fri, 13 Feb 2026 00:17:04 -0800 Subject: [PATCH] chore: remove unused devDeps found by depcheck - react-auth: removed @testing-library/jest-dom (not imported) - testing: removed @bytelyst/errors, @fastify/cors (not imported) --- packages/react-auth/package.json | 1 - packages/testing/package.json | 2 - pnpm-lock.yaml | 99 -------------------------------- 3 files changed, 102 deletions(-) diff --git a/packages/react-auth/package.json b/packages/react-auth/package.json index d71725f4..257538ea 100644 --- a/packages/react-auth/package.json +++ b/packages/react-auth/package.json @@ -24,7 +24,6 @@ "@bytelyst/api-client": "workspace:*" }, "devDependencies": { - "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.2", "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", diff --git a/packages/testing/package.json b/packages/testing/package.json index 5ab1620e..0f48c92c 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -19,8 +19,6 @@ }, "devDependencies": { "@bytelyst/fastify-core": "workspace:*", - "@bytelyst/errors": "workspace:*", - "@fastify/cors": "^10.0.2", "fastify": "^5.2.1" }, "peerDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 97836139..3416d511 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -124,9 +124,6 @@ importers: specifier: workspace:* version: link:../api-client devDependencies: - '@testing-library/jest-dom': - specifier: ^6.9.1 - version: 6.9.1 '@testing-library/react': specifier: ^16.3.2 version: 16.3.2(@testing-library/dom@10.4.1)(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) @@ -152,15 +149,9 @@ importers: specifier: '>=3.0.0' version: 3.2.4(@types/node@22.19.11)(jsdom@28.0.0)(tsx@4.21.0)(yaml@2.8.2) devDependencies: - '@bytelyst/errors': - specifier: workspace:* - version: link:../errors '@bytelyst/fastify-core': specifier: workspace:* version: link:../fastify-core - '@fastify/cors': - specifier: ^10.0.2 - version: 10.1.0 fastify: specifier: ^5.2.1 version: 5.7.4 @@ -395,12 +386,6 @@ packages: integrity: sha512-ZnR3GSaH+/vJ0YlHau21FjfLYjMpYVIzTD8M8vIEQvIGxeOXyXdzCI140rrCY862p/C/BbzWsjc1dgnM9mkoTA==, } - '@adobe/css-tools@4.4.4': - resolution: - { - integrity: sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==, - } - '@ampproject/remapping@2.3.0': resolution: { @@ -1331,13 +1316,6 @@ packages: } engines: { node: '>=18' } - '@testing-library/jest-dom@6.9.1': - resolution: - { - integrity: sha512-zIcONa+hVtVSSep9UT3jZ5rizo2BsxgyDYU7WFD5eICBE7no3881HGeb/QkGfsJs6JTkY1aQhT7rIPC7e+0nnA==, - } - engines: { node: '>=14', npm: '>=6', yarn: '>=1' } - '@testing-library/react@16.3.2': resolution: { @@ -1682,13 +1660,6 @@ packages: integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==, } - aria-query@5.3.2: - resolution: - { - integrity: sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==, - } - engines: { node: '>= 0.4' } - assertion-error@2.0.1: resolution: { @@ -1888,12 +1859,6 @@ packages: } engines: { node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0 } - css.escape@1.5.1: - resolution: - { - integrity: sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==, - } - cssstyle@5.3.7: resolution: { @@ -1958,12 +1923,6 @@ packages: integrity: sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==, } - dom-accessibility-api@0.6.3: - resolution: - { - integrity: sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==, - } - dunder-proto@1.0.1: resolution: { @@ -2462,13 +2421,6 @@ packages: } engines: { node: '>=0.8.19' } - indent-string@4.0.0: - resolution: - { - integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==, - } - engines: { node: '>=8' } - ipaddr.js@2.3.0: resolution: { @@ -2797,13 +2749,6 @@ packages: } engines: { node: '>=18' } - min-indent@1.0.1: - resolution: - { - integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==, - } - engines: { node: '>=4' } - minimatch@3.1.2: resolution: { @@ -3127,13 +3072,6 @@ packages: } engines: { node: '>= 12.13.0' } - redent@3.0.0: - resolution: - { - integrity: sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==, - } - engines: { node: '>=8' } - require-from-string@2.0.2: resolution: { @@ -3392,13 +3330,6 @@ packages: } engines: { node: '>=12' } - strip-indent@3.0.0: - resolution: - { - integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==, - } - engines: { node: '>=8' } - strip-json-comments@3.1.1: resolution: { @@ -3793,8 +3724,6 @@ packages: snapshots: '@acemir/cssom@0.9.31': {} - '@adobe/css-tools@4.4.4': {} - '@ampproject/remapping@2.3.0': dependencies: '@jridgewell/gen-mapping': 0.3.13 @@ -4338,15 +4267,6 @@ snapshots: picocolors: 1.1.1 pretty-format: 27.5.1 - '@testing-library/jest-dom@6.9.1': - dependencies: - '@adobe/css-tools': 4.4.4 - aria-query: 5.3.2 - css.escape: 1.5.1 - dom-accessibility-api: 0.6.3 - picocolors: 1.1.1 - redent: 3.0.0 - '@testing-library/react@16.3.2(@testing-library/dom@10.4.1)(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)': dependencies: '@babel/runtime': 7.28.6 @@ -4598,8 +4518,6 @@ snapshots: dependencies: dequal: 2.0.3 - aria-query@5.3.2: {} - assertion-error@2.0.1: {} ast-v8-to-istanbul@0.3.11: @@ -4705,8 +4623,6 @@ snapshots: mdn-data: 2.12.2 source-map-js: 1.2.1 - css.escape@1.5.1: {} - cssstyle@5.3.7: dependencies: '@asamuzakjp/css-color': 4.1.2 @@ -4737,8 +4653,6 @@ snapshots: dom-accessibility-api@0.5.16: {} - dom-accessibility-api@0.6.3: {} - dunder-proto@1.0.1: dependencies: call-bind-apply-helpers: 1.0.2 @@ -5073,8 +4987,6 @@ snapshots: imurmurhash@0.1.4: {} - indent-string@4.0.0: {} - ipaddr.js@2.3.0: {} is-extglob@2.1.1: {} @@ -5276,8 +5188,6 @@ snapshots: mimic-function@5.0.1: {} - min-indent@1.0.1: {} - minimatch@3.1.2: dependencies: brace-expansion: 1.1.12 @@ -5433,11 +5343,6 @@ snapshots: real-require@0.2.0: {} - redent@3.0.0: - dependencies: - indent-string: 4.0.0 - strip-indent: 3.0.0 - require-from-string@2.0.2: {} resolve-from@4.0.0: {} @@ -5596,10 +5501,6 @@ snapshots: strip-final-newline@3.0.0: {} - strip-indent@3.0.0: - dependencies: - min-indent: 1.0.1 - strip-json-comments@3.1.1: {} strip-literal@3.1.0: