react-native-macos 0.76.11 → 0.76.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Libraries/Blob/RCTBlobManager.h +0 -0
- package/Libraries/Blob/RCTBlobManager.mm +0 -0
- package/Libraries/Components/Touchable/TouchableWithoutFeedback.js +0 -0
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/StyleSheet/normalizeColor.js +0 -0
- package/React/Base/RCTJavaScriptLoader.h +0 -0
- package/React/Base/RCTJavaScriptLoader.mm +0 -0
- package/React/Base/RCTVersion.m +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/local-cli/cli.js +0 -0
- package/package.json +3 -3
- package/scripts/cocoapods/autolinking.rb +206 -0
- package/scripts/cocoapods/autolinking_utils.rb +25 -0
- package/scripts/cocoapods/codegen.rb +59 -0
- package/scripts/cocoapods/codegen_script_phase_extractor.rb +13 -0
- package/scripts/cocoapods/codegen_utils.rb +363 -0
- package/scripts/cocoapods/fabric.rb +18 -0
- package/scripts/cocoapods/helpers.rb +148 -0
- package/scripts/cocoapods/jsengine.rb +33 -0
- package/scripts/cocoapods/local_podspec_patch.rb +51 -0
- package/scripts/cocoapods/new_architecture.rb +193 -0
- package/scripts/cocoapods/privacy_manifest_utils.rb +194 -0
- package/scripts/cocoapods/runtime.rb +18 -0
- package/scripts/cocoapods/spm.rb +94 -0
- package/scripts/cocoapods/utils.rb +729 -0
- package/scripts/codegen/codegen-utils.js +51 -0
- package/scripts/codegen/generate-artifacts-executor.js +815 -0
- package/scripts/codegen/generate-specs-cli-executor.js +128 -0
- package/scripts/codegen/templates/RCTModulesConformingToProtocolsProviderH.template +18 -0
- package/scripts/codegen/templates/RCTModulesConformingToProtocolsProviderMM.template +33 -0
- package/scripts/compose-source-maps.js +0 -0
- package/scripts/ios-configure-glog.sh +0 -0
- package/scripts/node-binary.sh +0 -0
- package/scripts/packager.sh +0 -0
- package/scripts/react-native-xcode.sh +0 -0
- package/scripts/react_native_pods_utils/script_phases.sh +0 -0
- package/scripts/xcode/ccache-clang++.sh +0 -0
- package/scripts/xcode/ccache-clang.sh +0 -0
- package/scripts/xcode/with-environment.sh +0 -0
- package/sdks/hermes-engine/hermes-engine.podspec +160 -0
- package/sdks/hermes-engine/hermes-utils.rb +337 -0
- package/sdks/hermes-engine/utils/build-apple-framework.sh +225 -0
- package/sdks/hermes-engine/utils/build-hermes-xcode.sh +100 -0
- package/sdks/hermes-engine/utils/build-hermesc-xcode.sh +18 -0
- package/sdks/hermes-engine/utils/build-ios-framework.sh +85 -0
- package/sdks/hermes-engine/utils/build-mac-framework.sh +22 -0
- package/sdks/hermes-engine/utils/copy-hermes-xcode.sh +7 -0
- package/sdks/hermes-engine/utils/create-dummy-hermes-xcframework.sh +32 -0
- package/sdks/hermes-engine/utils/replace_hermes_version.js +106 -0
- package/scripts/featureflags/README.md +0 -156
- package/scripts/featureflags/index.js +0 -14
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @format
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
'use strict';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Wrapper required to abstract away from the actual codegen.
|
|
14
|
+
* This is needed because, when running tests in Sandcastle, not everything is setup as usually.
|
|
15
|
+
* For example, the `@react-native/codegen` lib is not present.
|
|
16
|
+
*
|
|
17
|
+
* Thanks to this wrapper, we are able to mock the getter for the codegen in a way that allow us to return
|
|
18
|
+
* a custom object which mimics the Codegen interface.
|
|
19
|
+
*
|
|
20
|
+
* @return an object that can generate the code for the New Architecture.
|
|
21
|
+
*/
|
|
22
|
+
function getCodegen() {
|
|
23
|
+
let RNCodegen;
|
|
24
|
+
try {
|
|
25
|
+
RNCodegen = require('../../packages/react-native-codegen/lib/generators/RNCodegen.js');
|
|
26
|
+
} catch (e) {
|
|
27
|
+
RNCodegen = require('@react-native/codegen/lib/generators/RNCodegen.js');
|
|
28
|
+
}
|
|
29
|
+
if (!RNCodegen) {
|
|
30
|
+
throw 'RNCodegen not found.';
|
|
31
|
+
}
|
|
32
|
+
return RNCodegen;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function getCombineJSToSchema() {
|
|
36
|
+
let combineJSToSchema;
|
|
37
|
+
try {
|
|
38
|
+
combineJSToSchema = require('../../packages/react-native-codegen/lib/cli/combine/combine-js-to-schema.js');
|
|
39
|
+
} catch (e) {
|
|
40
|
+
combineJSToSchema = require('@react-native/codegen/lib/cli/combine/combine-js-to-schema.js');
|
|
41
|
+
}
|
|
42
|
+
if (!combineJSToSchema) {
|
|
43
|
+
throw 'combine-js-to-schema not found.';
|
|
44
|
+
}
|
|
45
|
+
return combineJSToSchema;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
module.exports = {
|
|
49
|
+
getCodegen: getCodegen,
|
|
50
|
+
getCombineJSToSchema: getCombineJSToSchema,
|
|
51
|
+
};
|