Commit 948ac06
committed
Add script to output flag values (#28115)
## Overview
Depends on: #28116
Add `yarn flags` to output at table of all feature flags.
Provides options to output a csv file, diff two or more builds, and
sort.
### Options
<img width="1154" alt="Screenshot 2024-01-26 at 4 06 53 PM"
src="https://github.com/facebook/react/assets/2440089/c3dbd632-adb9-4416-9488-1c603ee4e789">
### `yarn flags --diff next canary`
<img width="637" alt="Screenshot 2024-01-26 at 4 15 03 PM"
src="https://github.com/facebook/react/assets/2440089/1a681ae8-ce33-42d0-9d1f-3f415a8e1c3d">
### `yarn flags --diff canary experimental`
<img width="637" alt="Screenshot 2024-01-26 at 4 14 51 PM"
src="https://github.com/facebook/react/assets/2440089/c66f66cb-3cee-4df6-a1d1-b24600ebd4b3">
### `yarn flags` (all flags)
<img width="1054" alt="Screenshot 2024-01-26 at 4 16 30 PM"
src="https://github.com/facebook/react/assets/2440089/4ce99c7c-825e-4bca-9b83-ca5d6e2bc1a9">
DiffTrain build for commit 45582c6.1 parent fb59833 commit 948ac06
7 files changed
Lines changed: 9 additions & 9 deletions
File tree
- compiled-rn/facebook-fbsource/xplat/js
- RKJSModules/vendor
- react-test-renderer/cjs
- react/cjs
- react-native-github/Libraries/Renderer
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25623 | 25623 | | |
25624 | 25624 | | |
25625 | 25625 | | |
25626 | | - | |
| 25626 | + | |
25627 | 25627 | | |
25628 | 25628 | | |
25629 | 25629 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9149 | 9149 | | |
9150 | 9150 | | |
9151 | 9151 | | |
9152 | | - | |
| 9152 | + | |
9153 | 9153 | | |
9154 | 9154 | | |
9155 | 9155 | | |
| |||
9180 | 9180 | | |
9181 | 9181 | | |
9182 | 9182 | | |
9183 | | - | |
| 9183 | + | |
9184 | 9184 | | |
9185 | 9185 | | |
9186 | 9186 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9577 | 9577 | | |
9578 | 9578 | | |
9579 | 9579 | | |
9580 | | - | |
| 9580 | + | |
9581 | 9581 | | |
9582 | 9582 | | |
9583 | 9583 | | |
| |||
9608 | 9608 | | |
9609 | 9609 | | |
9610 | 9610 | | |
9611 | | - | |
| 9611 | + | |
9612 | 9612 | | |
9613 | 9613 | | |
9614 | 9614 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
548 | | - | |
| 548 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
541 | 541 | | |
542 | 542 | | |
543 | 543 | | |
544 | | - | |
| 544 | + | |
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments