Skip to content

Commit 73394f8

Browse files
authored
ref: add transitive dependencies we are already importing (#92288)
This PR adds dependencies to `package.json` that we are already importing from in the code-base. It’s a pre-requisite to enable the lint rule [import/no-extraneous-dependencies](https://github.com/import-js/eslint-plugin-import/blob/da5f6ec13160cb288338db0c2a00c34b2d932f0d/docs/rules/no-extraneous-dependencies.md). The reason this works at runtime right now is because we get these dependencies _transitively_ - by other things we already depend on. I used the exact same versions we already have in `node_modules`, which is why there is no change to the `yarn.lock` file. Here’s a list of all the dependencies added and where they originally came from: ``` @react-stately/list @react-aria/selection @react-stately/selection @react-aria/live-announcer @react-stately/overlays - brought in via other @react-aria dependencies @emotion/is-prop-valid @emotion/cache - brought in via @emotion/styled zrender - brought in via echarts @dnd-kit/utilities - brought in via @dnd-kit/core @sentry-internal/rrweb-types - brought in via @sentry-internal/rrweb-packer @remix-run/router - brought in via react-router-dom ```
1 parent f53ed87 commit 73394f8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@
1717
"@babel/runtime": "~7.26.10",
1818
"@dnd-kit/core": "^6.1.0",
1919
"@dnd-kit/sortable": "^8.0.0",
20+
"@dnd-kit/utilities": "^3.2.2",
2021
"@emotion/babel-plugin": "^11.13.5",
2122
"@emotion/css": "^11.13.5",
23+
"@emotion/cache": "^11.14.0",
24+
"@emotion/is-prop-valid": "^1.3.0",
2225
"@emotion/react": "^11.14.0",
2326
"@emotion/styled": "^11.14.0",
2427
"@popperjs/core": "^2.11.5",
@@ -30,10 +33,12 @@
3033
"@react-aria/i18n": "^3.12.2",
3134
"@react-aria/interactions": "^3.22.2",
3235
"@react-aria/listbox": "^3.13.3",
36+
"@react-aria/live-announcer": "^3.3.4",
3337
"@react-aria/menu": "^3.15.3",
3438
"@react-aria/numberfield": "^3.11.6",
3539
"@react-aria/overlays": "^3.23.2",
3640
"@react-aria/radio": "^3.10.7",
41+
"@react-aria/selection": "^3.19.3",
3742
"@react-aria/separator": "^3.4.2",
3843
"@react-aria/slider": "^3.7.11",
3944
"@react-aria/tabs": "^3.9.5",
@@ -43,13 +48,16 @@
4348
"@react-stately/collections": "^3.10.9",
4449
"@react-stately/combobox": "^3.9.2",
4550
"@react-stately/dnd": "^3.4.2",
51+
"@react-stately/list": "^3.10.8",
4652
"@react-stately/menu": "^3.8.2",
4753
"@react-stately/numberfield": "^3.9.6",
54+
"@react-stately/overlays": "^3.6.10",
4855
"@react-stately/radio": "^3.10.7",
4956
"@react-stately/slider": "^3.5.7",
5057
"@react-stately/tabs": "^3.6.9",
5158
"@react-stately/tree": "^3.8.4",
5259
"@react-types/shared": "^3.24.1",
60+
"@remix-run/router": "1.23.0",
5361
"@rsdoctor/webpack-plugin": "1.1.2",
5462
"@rspack/cli": "1.3.10",
5563
"@rspack/core": "1.3.10",
@@ -96,6 +104,7 @@
96104
"@types/webpack-env": "1.18.8",
97105
"ansi-to-react": "^6.1.6",
98106
"babel-loader": "^10.0.0",
107+
"base64-arraybuffer": "^1.0.1",
99108
"browserslist": "^4.22.2",
100109
"buffer": "^6.0.3",
101110
"cbor2": "^1.12.0",
@@ -173,6 +182,7 @@
173182
"webpack": "5.99.6",
174183
"webpack-cli": "6.0.1",
175184
"webpack-remove-empty-scripts": "^1.0.4",
185+
"zrender": "5.4.0",
176186
"zxcvbn": "^4.4.2"
177187
},
178188
"devDependencies": {
@@ -186,6 +196,7 @@
186196
"@pmmmwh/react-refresh-webpack-plugin": "0.5.16",
187197
"@sentry/jest-environment": "6.0.0",
188198
"@sentry/profiling-node": "9.16.1",
199+
"@sentry-internal/rrweb-types": "2.34.0",
189200
"@styled/typescript-styled-plugin": "^1.0.1",
190201
"@swc/plugin-emotion": "9.0.4",
191202
"@tanstack/eslint-plugin-query": "^5.66.1",

0 commit comments

Comments
 (0)