mirror of
https://github.com/react/react-native.git
synced 2026-09-28 05:13:06 +08:00
Summary: Pull Request resolved: https://github.com/react/react-native/pull/57286 We currently have a mix of quote styles in `.yml` files (AI summary below). This applies prettier and reformats everything to single quotes to align with defaults. Also fixes a couple of cases of over-indentation. ``` Single-quotes only (0 double-quoted scalars): analyze-pr.yml — 12 single, 0 double api-changes.yml — 3 single, 0 double check-for-reproducer.yml — 4 single, 0 double retry-workflow.yml — 1 single, 0 double Single-quote predominant > double: autorebase.yml 2 vs 1 create-draft-release.yml 8 vs 2 generate-changelog.yml 3 vs 2 on-issue-labeled.yml 7 vs 2 prebuild-ios-core.yml 59 vs 17 prebuild-ios-dependencies.yml 39 vs 1 stale-bot.yml 18 vs 15 test-all.yml 70 vs 27 Double-quote predominant > single: bump-podfile-lock.yml 1 vs 10 create-release.yml 3 vs 12 e2e-android-rntester.yml 2 vs 6 e2e-android-templateapp.yml 6 vs 13 e2e-ios-rntester.yml 2 vs 7 e2e-ios-templateapp.yml 2 vs 18 fantom-tests.yml 2 vs 7 monitor-new-issues.yml 3 vs 12 publish-npm.yml 42 vs 50 validate-cxx-api-snapshots.yml 2 vs 23 validate-dotslash-artifacts.yml 2 vs 5 Tie / 1-1: cache-reaper.yml 1 vs 1 close-pr.yml 1 vs 1 needs-attention.yml 2 vs 2 All files contain single quotes somewhere, but only those 4 are single-quote-exclusive. Most CI-heavy workflows — bump, create-release, e2e-, fantom, monitor, publish-npm, validate- — lean double-quoted, while the pr/issue automation, prebuild ios, test-all, and stale-bot lean single-quoted. ``` Changelog: [Internal] ___ Differential Revision: D109151683 fbshipit-source-id: 24391e906c0dd92fe402224089dce8bb2068b4d9
121 lines
2.9 KiB
YAML
121 lines
2.9 KiB
YAML
exclude_patterns:
|
|
- '*/ReactCommon/react/nativemodule/fantomtestspecificmethods/*'
|
|
- '*/ReactCommon/react/nativemodule/featureflags/*'
|
|
- '*/ReactCommon/react/featureflags/*'
|
|
- '*/test_utils/*'
|
|
- '*/test/*'
|
|
- '*/test_helper/*'
|
|
- '*/stubs/*'
|
|
- '*/metainternal/*'
|
|
|
|
exclude_symbols:
|
|
- 'Fantom'
|
|
- 'NativeReactNativeFeatureFlags'
|
|
- '(?i)experimental'
|
|
- 'unstable_'
|
|
- 'UnstableLegacy'
|
|
- 'packAnimatedProps'
|
|
- 'DO_NOT_USE'
|
|
- '_DEPRECATED|DEPRECATED_'
|
|
- 'internal_'
|
|
|
|
platforms:
|
|
ReactCommon:
|
|
codegen:
|
|
inputs:
|
|
- packages/react-native/ReactCommon
|
|
exclude_patterns:
|
|
- '*/jni/*'
|
|
- '*/platform/cxx/*' # Should this be included in ReactCommon?
|
|
- '*/platform/windows/*'
|
|
- '*/platform/macos/*'
|
|
- '*/platform/ios/*'
|
|
- '*/platform/android/*'
|
|
input_filter: false
|
|
definitions:
|
|
variants:
|
|
debug:
|
|
definitions:
|
|
DEBUG: 1
|
|
REACT_NATIVE_DEBUG: 1
|
|
release:
|
|
definitions:
|
|
NDEBUG: 1
|
|
REACT_NATIVE_PRODUCTION: 1
|
|
newarch:
|
|
definitions:
|
|
RCT_REMOVE_LEGACY_ARCH: 1
|
|
ReactAndroid:
|
|
codegen:
|
|
platform: android
|
|
inputs:
|
|
- packages/react-native/ReactCommon
|
|
- packages/react-native/ReactAndroid
|
|
exclude_patterns:
|
|
- '*/ReactAndroid/src/main/jni/react/featureflags/*'
|
|
- '*/components/switch/iosswitch/*'
|
|
- '*/components/inputaccessory/*'
|
|
- '*/platform/cxx/*'
|
|
- '*/platform/windows/*'
|
|
- '*/platform/macos/*'
|
|
- '*/platform/ios/*'
|
|
exclude_symbols:
|
|
- 'InputAccessory'
|
|
- 'IOS'
|
|
input_filter: false
|
|
definitions:
|
|
RN_SERIALIZABLE_STATE: 1
|
|
ANDROID: 1
|
|
variants:
|
|
debug:
|
|
definitions:
|
|
DEBUG: 1
|
|
REACT_NATIVE_DEBUG: 1
|
|
release:
|
|
definitions:
|
|
NDEBUG: 1
|
|
REACT_NATIVE_PRODUCTION: 1
|
|
newarch:
|
|
definitions:
|
|
RCT_REMOVE_LEGACY_ARCH: 1
|
|
# ReactIOS?
|
|
ReactApple:
|
|
codegen:
|
|
platform: ios
|
|
inputs:
|
|
- packages/react-native/ReactCommon
|
|
- packages/react-native/React
|
|
- packages/react-native/ReactApple
|
|
- packages/react-native/Libraries
|
|
exclude_patterns:
|
|
- '*/jni/*'
|
|
- '*/platform/cxx/*'
|
|
- '*/platform/windows/*'
|
|
- '*/platform/macos/*'
|
|
- '*/platform/android/*'
|
|
- '*+Private.h'
|
|
- '*+Internal.h'
|
|
- '*/scripts/*'
|
|
- '*/templates/*'
|
|
- '*/components/progressbar/android/*'
|
|
- '*/components/switch/androidswitch/*'
|
|
exclude_symbols:
|
|
- 'Android'
|
|
- "\\(Deprecated\\)"
|
|
- "\\(Internal\\)"
|
|
input_filter: true
|
|
definitions:
|
|
__cplusplus: 1
|
|
variants:
|
|
debug:
|
|
definitions:
|
|
DEBUG: 1
|
|
REACT_NATIVE_DEBUG: 1
|
|
release:
|
|
definitions:
|
|
NDEBUG: 1
|
|
REACT_NATIVE_PRODUCTION: 1
|
|
newarch:
|
|
definitions:
|
|
RCT_REMOVE_LEGACY_ARCH: 1
|