mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +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:
1 parent
3744930728
commit
40d1459115
1193 files changed
+4117
-314
No files matched your search
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