[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DevTools] Rename react-dom/testing to react-dom/unstable_testing in yarn build-for-devtools #24364

Merged
merged 1 commit into from
Apr 13, 2022

Conversation

lunaruan
Copy link
Contributor
@lunaruan lunaruan commented Apr 13, 2022

The shell package wasn't compiling because yarn build-for-devtools was incorrect. The react-dom/test package was renamed to react-dom/unstable_testing. This PR fixes this in the package.json.

Note: Adding packages to the yarn build-for-devtools command isn't great in the long run. Eventually we should make devtools have its own build script.

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Apr 13, 2022
@sizebot
Copy link
sizebot commented Apr 13, 2022

Comparing: f7cf077...4f4db3f

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.min.js = 131.42 kB 131.42 kB = 42.04 kB 42.04 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 136.69 kB 136.69 kB = 43.62 kB 43.62 kB
facebook-www/ReactDOM-prod.classic.js = 435.10 kB 435.10 kB = 79.92 kB 79.92 kB
facebook-www/ReactDOM-prod.modern.js = 420.10 kB 420.10 kB = 77.56 kB 77.56 kB
facebook-www/ReactDOMForked-prod.classic.js = 435.10 kB 435.10 kB = 79.92 kB 79.92 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 4f4db3f

@lunaruan
Copy link
Contributor Author
lunaruan commented Apr 13, 2022

@bvaughn Has the react-devtools-shell package always needed react-dom/unstable_testing?

@lunaruan
Copy link
Contributor Author

Ah I see. It's cause react-dom/test was renamed to react-dom/unstable_test

@lunaruan lunaruan force-pushed the devtools_package_json branch from db804f8 to 86402dd Compare April 13, 2022 17:42
@lunaruan lunaruan force-pushed the devtools_package_json branch from 86402dd to 4f4db3f Compare April 13, 2022 17:43
@lunaruan lunaruan changed the title [DevTools] Add react-dom/unstable_testing to yarn build-for-devtools [DevTools] Rename react-dom/testing to react-dom/unstable_testing in yarn build-for-devtools Apr 13, 2022
@lunaruan lunaruan merged commit ddb1ab1 into facebook:main Apr 13, 2022
rickhanlonii pushed a commit that referenced this pull request Apr 14, 2022
…for-devtools (#24364)

The shell package wasn't compiling because yarn build-for-devtools was incorrect. The react-dom/test package was renamed to react-dom/unstable_testing. This PR fixes this in the package.json.

Note: Adding packages to the yarn build-for-devtools command isn't great in the long run. Eventually we should make devtools have its own build script.
zhengjitf pushed a commit to zhengjitf/react that referenced this pull request Apr 15, 2022
…for-devtools (facebook#24364)

The shell package wasn't compiling because yarn build-for-devtools was incorrect. The react-dom/test package was renamed to react-dom/unstable_testing. This PR fixes this in the package.json.

Note: Adding packages to the yarn build-for-devtools command isn't great in the long run. Eventually we should make devtools have its own build script.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants