Skip to content

Commit 8c57382

Browse files
authored
Merge pull request #2217 from reduxjs/feature/react-19-devdep-cleanup
Clean up devdeps
2 parents 1a81c41 + d23509b commit 8c57382

File tree

4 files changed

+25
-1753
lines changed

4 files changed

+25
-1753
lines changed

package.json

-11
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,6 @@
6868
"use-sync-external-store": "^1.4.0"
6969
},
7070
"devDependencies": {
71-
"@babel/cli": "^7.24.7",
72-
"@babel/core": "^7.24.7",
73-
"@babel/plugin-proposal-decorators": "^7.24.7",
74-
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
75-
"@babel/plugin-transform-flow-strip-types": "^7.24.7",
76-
"@babel/plugin-transform-react-display-name": "^7.24.7",
77-
"@babel/plugin-transform-react-jsx": "^7.24.7",
78-
"@babel/plugin-transform-runtime": "^7.24.7",
79-
"@babel/preset-env": "^7.24.7",
80-
"@babel/preset-typescript": "^7.24.7",
8171
"@microsoft/api-extractor": "^7.47.0",
8272
"@reduxjs/toolkit": "^2.2.5",
8373
"@testing-library/dom": "^10.4.0",
@@ -87,7 +77,6 @@
8777
"@types/prop-types": "^15.7.12",
8878
"@types/react": "^19.0.1",
8979
"@types/react-dom": "^19.0.1",
90-
"babel-eslint": "^10.1.0",
9180
"codecov": "^3.8.3",
9281
"cross-env": "^7.0.3",
9382
"eslint": "^8.57.0",

src/utils/react-is.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { ElementType, MemoExoticComponent, ReactElement } from 'react'
2-
import * as React from 'react'
2+
import { React } from './react'
33

44
// Directly ported from:
55
// https://unpkg.com/browse/[email protected]/cjs/react-is.production.js

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
"checkJs": true,
99
"rootDir": "."
1010
},
11-
"include": ["."]
11+
"include": ["."],
12+
"exclude": ["dist*", "examples", "website"]
1213
}

0 commit comments

Comments
 (0)