dillon1000/react

Commit

Exclude react-dom/unstable_testing entry point from stable releases (#23258)

* Use consistent naming for unstable_testing entry point

* Exclude the testing build from non-experimental builds except at FB

* FB builds shouldn't contribute to whether we include the npm files

* Exclude exports fields if we delete the files entry

* Move test to no longer be internal so we can test against the build

* Update the bundle artifact names since they've now changed

* Gate import since it doesn't exist
Browse files
Changed paths11 files
First-parent comparison
M packages/react-dom/npm/unstable_testing.js ModifiedR packages/react-dom/src/__tests__/ReactDOMTestSelectors-test.internal.js →packages/react-dom/src/__tests__/ReactDOMTestSelectors-test.js RenamedR packages/react-dom/testing.classic.fb.js →packages/react-dom/unstable_testing.classic.fb.js RenamedR packages/react-dom/testing.experimental.js →packages/react-dom/unstable_testing.experimental.js RenamedR packages/react-dom/testing.js →packages/react-dom/unstable_testing.js RenamedR packages/react-dom/testing.modern.fb.js →packages/react-dom/unstable_testing.modern.fb.js RenamedR packages/react-dom/testing.stable.js →packages/react-dom/unstable_testing.stable.js RenamedM scripts/rollup/bundles.js ModifiedM scripts/rollup/forks.js ModifiedM scripts/rollup/packaging.js ModifiedM scripts/shared/inlinedHostConfigs.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…