Skip to content

Commit 74e8b76

Browse files
committed
chore: remove unused runtime dependencies
Drops shallowequal and tslib (zero source/build references) and repositions @types/stylis to dev-only since stylis ships its own types. Net 67 fewer transitive packages installed.
1 parent 553cbb4 commit 74e8b76

3 files changed

Lines changed: 10 additions & 22 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'styled-components': patch
3+
---
4+
5+
Smaller install footprint via unused dependency cleanup.

‎packages/styled-components/package.json‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,9 @@
6060
"homepage": "https://styled-components.com",
6161
"dependencies": {
6262
"@emotion/is-prop-valid": "1.4.0",
63-
"@types/stylis": "4.2.7",
6463
"css-to-react-native": "3.2.0",
6564
"csstype": "3.2.3",
66-
"shallowequal": "1.1.0",
67-
"stylis": "4.3.6",
68-
"tslib": "2.8.1"
65+
"stylis": "4.3.6"
6966
},
7067
"peerDependencies": {
7168
"css-to-react-native": ">= 3.2.0",
@@ -108,7 +105,7 @@
108105
"@types/react-dom": "^18",
109106
"@types/react-frame-component": "^4.1.6",
110107
"@types/react-test-renderer": "^18.0.0",
111-
"@types/shallowequal": "^1.1.5",
108+
"@types/stylis": "4.2.7",
112109
"babel-jest": "^30.1.2",
113110
"babel-plugin-add-module-exports": "^1.0.4",
114111
"babel-plugin-styled-components": "^2.1.4",

‎pnpm-lock.yaml‎

Lines changed: 3 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)