Skip to content

Commit 89ffc2d

Browse files
Move typedoc and react out of runtime dependencies
typedoc is only used by the docs script, but as a runtime dependency its typescript peer range (capped at 5.8.x for typedoc 0.27) constrains consumers' typescript version: classroom's Renovate typescript 5.9 bump produced a lockfile npm ci rejects. react/react-dom were listed in both dependencies and peerDependencies, forcing react on consumers of the vanilla entry point. They are now devDependencies (for Storybook) alongside the existing peer ranges.
1 parent d94a979 commit 89ffc2d

2 files changed

Lines changed: 39 additions & 16 deletions

File tree

package-lock.json

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

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,7 @@
7272
},
7373
"dependencies": {
7474
"base64-js": "^1.5.1",
75-
"react": ">=18.0.0",
76-
"react-dom": ">=18.0.0",
77-
"tslib": ">=2.0.0",
78-
"typedoc": "^0.27.6"
75+
"tslib": ">=2.0.0"
7976
},
8077
"devDependencies": {
8178
"@chromatic-com/storybook": "^1.2.25",
@@ -94,8 +91,11 @@
9491
"eslint-plugin-react-refresh": "^0.4.6",
9592
"eslint-plugin-storybook": "^0.8.0",
9693
"prettier": "^3.2.5",
94+
"react": "^19.0.0",
95+
"react-dom": "^19.0.0",
9796
"storybook": "^8.0.5",
9897
"tslib": "^2.6.2",
98+
"typedoc": "^0.27.6",
9999
"typescript": "^5.2.2"
100100
}
101101
}

0 commit comments

Comments
 (0)