mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Scaffold workspaces
 This is an attempt to scaffold yarn workspaces into our repo with as minimal as possible changes to our current setup and directory structure. Essentially this PR moves current `src` into `packages/babel-plugin-react-forget` as a first step to keep everything working. Later on when we're ready we can split out a `react-compiler` package that is decoupled from Babel, but it's too early for that now
This commit is contained in:
Vendored
+5
-7
@@ -17,15 +17,13 @@ jobs:
|
||||
cache-dependency-path: forget/yarn.lock
|
||||
- run: yarn install --immutable --immutable-cache
|
||||
working-directory: forget
|
||||
- run: yarn prettier:ci
|
||||
- run: yarn workspace babel-plugin-react-forget run prettier:ci
|
||||
working-directory: forget
|
||||
- run: yarn build
|
||||
- run: yarn workspace babel-plugin-react-forget run build
|
||||
working-directory: forget
|
||||
- run: yarn lint
|
||||
- run: yarn workspace babel-plugin-react-forget run lint
|
||||
working-directory: forget
|
||||
- run: yarn test
|
||||
- run: yarn workspace babel-plugin-react-forget run test
|
||||
working-directory: forget
|
||||
- run: yarn install --immutable --immutable-cache
|
||||
working-directory: forget/packages/snap
|
||||
- run: yarn snap:build && yarn snap
|
||||
- run: yarn workspace babel-plugin-react-forget run snap:build && yarn workspace babel-plugin-react-forget run snap
|
||||
working-directory: forget
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ jobs:
|
||||
cache-dependency-path: forget/yarn.lock
|
||||
- run: yarn install --immutable --immutable-cache
|
||||
working-directory: forget
|
||||
- run: yarn build
|
||||
- run: yarn workspace babel-plugin-react-forget run build
|
||||
working-directory: forget
|
||||
- id: test262
|
||||
name: Run test262
|
||||
|
||||
Reference in New Issue
Block a user