Skip to content

Commit eaf6a73

Browse files
committed
Add react and react-dom as optional dependencies required by tailwind-styled-components
1 parent 05ed5f5 commit eaf6a73

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
- Nothing yet!
1111

12+
## [2.0.1] - 2025-10-22
13+
14+
### Fixed
15+
16+
- Add react and react-dom as optional dependencies required by tailwind-styled-components
17+
1218
## [2.0.0] - 2025-10-22
1319

1420
### Feature

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "module",
33
"name": "prettier-plugin-tailwind-styled-components",
4-
"version": "2.0.0",
4+
"version": "2.0.1",
55
"description": "A Prettier plugin for sorting and formatting Tailwind CSS classes when using Tailwind Styled-Components.",
66
"license": "MIT",
77
"main": "dist/index.mjs",
@@ -55,7 +55,9 @@
5555
"prettier-plugin-tailwindcss": "^0.7"
5656
},
5757
"optionalDependencies": {
58-
"tailwind-styled-components": "^2.2.0"
58+
"tailwind-styled-components": "^2.2.0",
59+
"react": "^19.2.0",
60+
"react-dom": "^19.2.0"
5961
},
6062
"engines": {
6163
"node": ">=20.19"

0 commit comments

Comments
 (0)