mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
Currently the playground is setup as a linked workspace for the
compiler which complicates our yarn workspace setup and means that snap
can sometimes pull in a different version of react than was otherwise
specified.
There's no real reason to have these workspaces combined so let's split
them up.
ghstack-source-id: 56ab064b2f
Pull Request resolved: https://github.com/facebook/react/pull/31081
16 lines
476 B
Bash
Executable File
16 lines
476 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
set -eo pipefail
|
|
|
|
HERE=$(pwd)
|
|
|
|
cd ../../packages/react-compiler-runtime && yarn --silent link && cd $HERE
|
|
cd ../../packages/babel-plugin-react-compiler && yarn --silent link && cd $HERE
|
|
|
|
yarn --silent link babel-plugin-react-compiler
|
|
yarn --silent link react-compiler-runtime
|