From 1ae550256e0473f26e198e6e4bfd8957304a974d Mon Sep 17 00:00:00 2001 From: tiziodcaio Date: Tue, 10 Sep 2024 23:24:54 +0200 Subject: [PATCH] Codesandbox fix --- .codesandbox/ci.json | 7 +++++-- package.json | 1 - 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.codesandbox/ci.json b/.codesandbox/ci.json index 07da02e298e64..cf1d3bda59e31 100644 --- a/.codesandbox/ci.json +++ b/.codesandbox/ci.json @@ -1,6 +1,9 @@ { - "packages": ["packages/react", "packages/react-dom", "packages/scheduler"], - "installCommand": "install-berry", + "packages": [ + "packages/react", + "packages/react-dom", + "packages/scheduler" + ], "buildCommand": "download-build-in-codesandbox-ci", "node": "18", "publishDirectory": { diff --git a/package.json b/package.json index 1bdfa26b18719..dcd0110bc05f4 100644 --- a/package.json +++ b/package.json @@ -134,7 +134,6 @@ "publish-prereleases": "echo 'This command has been deprecated. Please refer to https://github.com/facebook/react/tree/main/scripts/release#trigger-an-automated-prerelease'", "download-build": "node ./scripts/release/download-experimental-build.js", "download-build-for-head": "node ./scripts/release/download-experimental-build.js --commit=$(git rev-parse HEAD)", - "install-berry": "yarn set version berry && yarn && cd scripts/release && yarn", "download-build-in-codesandbox-ci": "yarn build --type=node react/index react-dom/index react-dom/client react-dom/src/server react-dom/test-utils scheduler/index react/jsx-runtime react/jsx-dev-runtime", "check-release-dependencies": "node ./scripts/release/check-release-dependencies", "generate-inline-fizz-runtime": "node ./scripts/rollup/generate-inline-fizz-runtime.js",