@callstack/react-native-brownfield 3.1.0-rc.2 → 3.3.0
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/CHANGELOG.md +44 -0
- package/ios/ExpoHostRuntime.swift +22 -7
- package/lib/commonjs/expo-config-plugin/android/index.js +1 -1
- package/lib/commonjs/expo-config-plugin/android/utils/constants.js.map +1 -0
- package/lib/commonjs/expo-config-plugin/android/utils/gradleHelpers.js +2 -0
- package/lib/commonjs/expo-config-plugin/android/utils/gradleHelpers.js.map +1 -0
- package/lib/commonjs/expo-config-plugin/android/utils/hermes.js +2 -0
- package/lib/commonjs/expo-config-plugin/android/utils/hermes.js.map +1 -0
- package/lib/commonjs/expo-config-plugin/android/withAndroidModuleFiles.js +1 -1
- package/lib/commonjs/expo-config-plugin/android/withAndroidModuleFiles.js.map +1 -1
- package/lib/commonjs/expo-config-plugin/android/withBrownfieldAndroid.js +1 -1
- package/lib/commonjs/expo-config-plugin/android/withBrownfieldAndroid.js.map +1 -1
- package/lib/commonjs/expo-config-plugin/expoUtils.js +2 -0
- package/lib/commonjs/expo-config-plugin/expoUtils.js.map +1 -0
- package/lib/commonjs/expo-config-plugin/ios/podfileHelpers.js +16 -2
- package/lib/commonjs/expo-config-plugin/ios/podfileHelpers.js.map +1 -1
- package/lib/commonjs/expo-config-plugin/ios/withBrownfieldIos.js +1 -1
- package/lib/commonjs/expo-config-plugin/ios/withBrownfieldIos.js.map +1 -1
- package/lib/commonjs/expo-config-plugin/template/android/ReactNativeHostManager.post55.kt +32 -0
- package/lib/commonjs/expo-config-plugin/template/android/build.gradle.kts +1 -1
- package/lib/module/expo-config-plugin/android/index.js +1 -1
- package/lib/module/expo-config-plugin/android/utils/constants.js.map +1 -0
- package/lib/module/expo-config-plugin/android/utils/gradleHelpers.js +2 -0
- package/lib/module/expo-config-plugin/android/utils/gradleHelpers.js.map +1 -0
- package/lib/module/expo-config-plugin/android/utils/hermes.js +2 -0
- package/lib/module/expo-config-plugin/android/utils/hermes.js.map +1 -0
- package/lib/module/expo-config-plugin/android/withAndroidModuleFiles.js +1 -1
- package/lib/module/expo-config-plugin/android/withAndroidModuleFiles.js.map +1 -1
- package/lib/module/expo-config-plugin/android/withBrownfieldAndroid.js +1 -1
- package/lib/module/expo-config-plugin/android/withBrownfieldAndroid.js.map +1 -1
- package/lib/module/expo-config-plugin/expoUtils.js +2 -0
- package/lib/module/expo-config-plugin/expoUtils.js.map +1 -0
- package/lib/module/expo-config-plugin/ios/podfileHelpers.js +16 -2
- package/lib/module/expo-config-plugin/ios/podfileHelpers.js.map +1 -1
- package/lib/module/expo-config-plugin/ios/withBrownfieldIos.js +1 -1
- package/lib/module/expo-config-plugin/ios/withBrownfieldIos.js.map +1 -1
- package/lib/module/expo-config-plugin/template/android/ReactNativeHostManager.post55.kt +32 -0
- package/lib/module/expo-config-plugin/template/android/build.gradle.kts +1 -1
- package/lib/typescript/commonjs/src/expo-config-plugin/android/index.d.ts +1 -1
- package/lib/typescript/commonjs/src/expo-config-plugin/android/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/expo-config-plugin/android/utils/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/expo-config-plugin/android/utils/gradleHelpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/expo-config-plugin/android/utils/hermes.d.ts +6 -0
- package/lib/typescript/commonjs/src/expo-config-plugin/android/utils/hermes.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/expo-config-plugin/android/withAndroidModuleFiles.d.ts +5 -1
- package/lib/typescript/commonjs/src/expo-config-plugin/android/withAndroidModuleFiles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/expo-config-plugin/android/withBrownfieldAndroid.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/expo-config-plugin/expoUtils.d.ts +6 -0
- package/lib/typescript/commonjs/src/expo-config-plugin/expoUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/expo-config-plugin/ios/podfileHelpers.d.ts +2 -1
- package/lib/typescript/commonjs/src/expo-config-plugin/ios/podfileHelpers.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/expo-config-plugin/ios/withBrownfieldIos.d.ts.map +1 -1
- package/lib/typescript/module/src/expo-config-plugin/android/index.d.ts +1 -1
- package/lib/typescript/module/src/expo-config-plugin/android/index.d.ts.map +1 -1
- package/lib/typescript/module/src/expo-config-plugin/android/utils/constants.d.ts.map +1 -0
- package/lib/typescript/module/src/expo-config-plugin/android/utils/gradleHelpers.d.ts.map +1 -0
- package/lib/typescript/module/src/expo-config-plugin/android/utils/hermes.d.ts +6 -0
- package/lib/typescript/module/src/expo-config-plugin/android/utils/hermes.d.ts.map +1 -0
- package/lib/typescript/module/src/expo-config-plugin/android/withAndroidModuleFiles.d.ts +5 -1
- package/lib/typescript/module/src/expo-config-plugin/android/withAndroidModuleFiles.d.ts.map +1 -1
- package/lib/typescript/module/src/expo-config-plugin/android/withBrownfieldAndroid.d.ts.map +1 -1
- package/lib/typescript/module/src/expo-config-plugin/expoUtils.d.ts +6 -0
- package/lib/typescript/module/src/expo-config-plugin/expoUtils.d.ts.map +1 -0
- package/lib/typescript/module/src/expo-config-plugin/ios/podfileHelpers.d.ts +2 -1
- package/lib/typescript/module/src/expo-config-plugin/ios/podfileHelpers.d.ts.map +1 -1
- package/lib/typescript/module/src/expo-config-plugin/ios/withBrownfieldIos.d.ts.map +1 -1
- package/package.json +7 -4
- package/src/expo-config-plugin/android/index.ts +4 -1
- package/src/expo-config-plugin/android/{gradleHelpers.ts → utils/gradleHelpers.ts} +1 -1
- package/src/expo-config-plugin/android/utils/hermes.ts +83 -0
- package/src/expo-config-plugin/android/withAndroidModuleFiles.ts +26 -3
- package/src/expo-config-plugin/android/withBrownfieldAndroid.ts +4 -1
- package/src/expo-config-plugin/expoUtils.ts +12 -0
- package/src/expo-config-plugin/ios/podfileHelpers.ts +45 -2
- package/src/expo-config-plugin/ios/withBrownfieldIos.ts +4 -5
- package/src/expo-config-plugin/template/android/ReactNativeHostManager.post55.kt +32 -0
- package/src/expo-config-plugin/template/android/build.gradle.kts +1 -1
- package/lib/commonjs/expo-config-plugin/android/constants.js.map +0 -1
- package/lib/commonjs/expo-config-plugin/android/gradleHelpers.js +0 -2
- package/lib/commonjs/expo-config-plugin/android/gradleHelpers.js.map +0 -1
- package/lib/module/expo-config-plugin/android/constants.js.map +0 -1
- package/lib/module/expo-config-plugin/android/gradleHelpers.js +0 -2
- package/lib/module/expo-config-plugin/android/gradleHelpers.js.map +0 -1
- package/lib/typescript/commonjs/src/expo-config-plugin/android/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/expo-config-plugin/android/gradleHelpers.d.ts.map +0 -1
- package/lib/typescript/module/src/expo-config-plugin/android/constants.d.ts.map +0 -1
- package/lib/typescript/module/src/expo-config-plugin/android/gradleHelpers.d.ts.map +0 -1
- /package/lib/commonjs/expo-config-plugin/android/{constants.js → utils/constants.js} +0 -0
- /package/lib/commonjs/expo-config-plugin/template/android/{ReactNativeHostManager.kt → ReactNativeHostManager.pre55.kt} +0 -0
- /package/lib/module/expo-config-plugin/android/{constants.js → utils/constants.js} +0 -0
- /package/lib/module/expo-config-plugin/template/android/{ReactNativeHostManager.kt → ReactNativeHostManager.pre55.kt} +0 -0
- /package/lib/typescript/commonjs/src/expo-config-plugin/android/{constants.d.ts → utils/constants.d.ts} +0 -0
- /package/lib/typescript/commonjs/src/expo-config-plugin/android/{gradleHelpers.d.ts → utils/gradleHelpers.d.ts} +0 -0
- /package/lib/typescript/module/src/expo-config-plugin/android/{constants.d.ts → utils/constants.d.ts} +0 -0
- /package/lib/typescript/module/src/expo-config-plugin/android/{gradleHelpers.d.ts → utils/gradleHelpers.d.ts} +0 -0
- /package/src/expo-config-plugin/android/{constants.ts → utils/constants.ts} +0 -0
- /package/src/expo-config-plugin/template/android/{ReactNativeHostManager.kt → ReactNativeHostManager.pre55.kt} +0 -0
|
@@ -83,7 +83,7 @@ android {
|
|
|
83
83
|
|
|
84
84
|
dependencies {
|
|
85
85
|
api("com.facebook.react:react-android:{{RN_VERSION}}")
|
|
86
|
-
api("
|
|
86
|
+
api("{{HERMES_ARTIFACT}}")
|
|
87
87
|
|
|
88
88
|
api("io.coil-kt.coil3:coil-compose:3.2.0")
|
|
89
89
|
api("io.coil-kt.coil3:coil-network-okhttp:3.2.0")
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["BROWNFIELD_PLUGIN_VERSION","exports","brownfieldGradlePluginDependency"],"sourceRoot":"../../../../src","sources":["expo-config-plugin/android/constants.ts"],"mappings":"2IAAO,GAAM,CAAAA,yBAAyB,CAAAC,OAAA,CAAAD,yBAAA,CAAG,OAAO,CACzC,GAAM,CAAAE,gCAAgC,CAAAD,OAAA,CAAAC,gCAAA,CAAG,2DAA2DF,yBAAyB,IAAI","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:true});exports.modifyRootBuildGradle=modifyRootBuildGradle;exports.modifySettingsGradle=modifySettingsGradle;var _constants=require("./constants");var _logging=require("../logging");function modifyRootBuildGradle(contents){if(contents.includes('brownfield-gradle-plugin')){_logging.Logger.logDebug('Brownfield Gradle plugin already in root build.gradle, skipping');return contents;}_logging.Logger.logDebug(`Modifying root build.gradle to add the Gradle Brownfield plugin`);var buildscriptDepsRegex=/(buildscript\s*\{[\s\S]*?dependencies\s*\{[\s\S]*?)(})/m;var match=contents.match(buildscriptDepsRegex);if(!match){throw new Error('Could not locate buildscript block in root build.gradle');}var insertion=`\t${_constants.brownfieldGradlePluginDependency}\n\t`;var modifiedContents=contents.replace(buildscriptDepsRegex,`$1${insertion}$2`);_logging.Logger.logDebug('Added Brownfield Gradle plugin to root build.gradle');return modifiedContents;}function modifySettingsGradle(contents,moduleName){var includeStatement=`include ':${moduleName}'`;if(contents.includes(includeStatement)){_logging.Logger.logDebug(`Module "${moduleName}" already in settings.gradle, skipping`);return contents;}_logging.Logger.logDebug(`Modifying settings.gradle to include module "${moduleName}"`);var modifiedContents=contents+`\n${includeStatement}\n`;_logging.Logger.logDebug(`Added module "${moduleName}" to settings.gradle`);return modifiedContents;}
|
|
2
|
-
//# sourceMappingURL=gradleHelpers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_constants","require","_logging","modifyRootBuildGradle","contents","includes","Logger","logDebug","buildscriptDepsRegex","match","Error","insertion","brownfieldGradlePluginDependency","modifiedContents","replace","modifySettingsGradle","moduleName","includeStatement"],"sourceRoot":"../../../../src","sources":["expo-config-plugin/android/gradleHelpers.ts"],"mappings":"+JAAA,IAAAA,UAAA,CAAAC,OAAA,gBACA,IAAAC,QAAA,CAAAD,OAAA,eAOO,QAAS,CAAAE,qBAAqBA,CAACC,QAAgB,CAAU,CAE9D,GAAIA,QAAQ,CAACC,QAAQ,CAAC,0BAA0B,CAAC,CAAE,CACjDC,eAAM,CAACC,QAAQ,CACb,iEACF,CAAC,CACD,MAAO,CAAAH,QAAQ,CACjB,CAEAE,eAAM,CAACC,QAAQ,CACb,iEACF,CAAC,CAGD,GAAM,CAAAC,oBAAoB,CACxB,yDAAyD,CAC3D,GAAM,CAAAC,KAAK,CAAGL,QAAQ,CAACK,KAAK,CAACD,oBAAoB,CAAC,CAElD,GAAI,CAACC,KAAK,CAAE,CACV,KAAM,IAAI,CAAAC,KAAK,CAAC,yDAAyD,CAAC,CAC5E,CAGA,GAAM,CAAAC,SAAS,CAAG,KAAKC,2CAAgC,MAAM,CAC7D,GAAM,CAAAC,gBAAgB,CAAGT,QAAQ,CAACU,OAAO,CACvCN,oBAAoB,CACpB,KAAKG,SAAS,IAChB,CAAC,CAEDL,eAAM,CAACC,QAAQ,CAAC,qDAAqD,CAAC,CACtE,MAAO,CAAAM,gBAAgB,CACzB,CAQO,QAAS,CAAAE,oBAAoBA,CAClCX,QAAgB,CAChBY,UAAkB,CACV,CACR,GAAM,CAAAC,gBAAgB,CAAG,aAAaD,UAAU,GAAG,CAGnD,GAAIZ,QAAQ,CAACC,QAAQ,CAACY,gBAAgB,CAAC,CAAE,CACvCX,eAAM,CAACC,QAAQ,CACb,WAAWS,UAAU,wCACvB,CAAC,CACD,MAAO,CAAAZ,QAAQ,CACjB,CAEAE,eAAM,CAACC,QAAQ,CACb,gDAAgDS,UAAU,GAC5D,CAAC,CAGD,GAAM,CAAAH,gBAAgB,CAAGT,QAAQ,CAAG,KAAKa,gBAAgB,IAAI,CAE7DX,eAAM,CAACC,QAAQ,CAAC,iBAAiBS,UAAU,sBAAsB,CAAC,CAElE,MAAO,CAAAH,gBAAgB,CACzB","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["BROWNFIELD_PLUGIN_VERSION","exports","brownfieldGradlePluginDependency"],"sourceRoot":"../../../../src","sources":["expo-config-plugin/android/constants.ts"],"mappings":"2IAAO,GAAM,CAAAA,yBAAyB,CAAAC,OAAA,CAAAD,yBAAA,CAAG,OAAO,CACzC,GAAM,CAAAE,gCAAgC,CAAAD,OAAA,CAAAC,gCAAA,CAAG,2DAA2DF,yBAAyB,IAAI","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:true});exports.modifyRootBuildGradle=modifyRootBuildGradle;exports.modifySettingsGradle=modifySettingsGradle;var _constants=require("./constants");var _logging=require("../logging");function modifyRootBuildGradle(contents){if(contents.includes('brownfield-gradle-plugin')){_logging.Logger.logDebug('Brownfield Gradle plugin already in root build.gradle, skipping');return contents;}_logging.Logger.logDebug(`Modifying root build.gradle to add the Gradle Brownfield plugin`);var buildscriptDepsRegex=/(buildscript\s*\{[\s\S]*?dependencies\s*\{[\s\S]*?)(})/m;var match=contents.match(buildscriptDepsRegex);if(!match){throw new Error('Could not locate buildscript block in root build.gradle');}var insertion=`\t${_constants.brownfieldGradlePluginDependency}\n\t`;var modifiedContents=contents.replace(buildscriptDepsRegex,`$1${insertion}$2`);_logging.Logger.logDebug('Added Brownfield Gradle plugin to root build.gradle');return modifiedContents;}function modifySettingsGradle(contents,moduleName){var includeStatement=`include ':${moduleName}'`;if(contents.includes(includeStatement)){_logging.Logger.logDebug(`Module "${moduleName}" already in settings.gradle, skipping`);return contents;}_logging.Logger.logDebug(`Modifying settings.gradle to include module "${moduleName}"`);var modifiedContents=contents+`\n${includeStatement}\n`;_logging.Logger.logDebug(`Added module "${moduleName}" to settings.gradle`);return modifiedContents;}
|
|
2
|
-
//# sourceMappingURL=gradleHelpers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_constants","require","_logging","modifyRootBuildGradle","contents","includes","Logger","logDebug","buildscriptDepsRegex","match","Error","insertion","brownfieldGradlePluginDependency","modifiedContents","replace","modifySettingsGradle","moduleName","includeStatement"],"sourceRoot":"../../../../src","sources":["expo-config-plugin/android/gradleHelpers.ts"],"mappings":"+JAAA,IAAAA,UAAA,CAAAC,OAAA,gBACA,IAAAC,QAAA,CAAAD,OAAA,eAOO,QAAS,CAAAE,qBAAqBA,CAACC,QAAgB,CAAU,CAE9D,GAAIA,QAAQ,CAACC,QAAQ,CAAC,0BAA0B,CAAC,CAAE,CACjDC,eAAM,CAACC,QAAQ,CACb,iEACF,CAAC,CACD,MAAO,CAAAH,QAAQ,CACjB,CAEAE,eAAM,CAACC,QAAQ,CACb,iEACF,CAAC,CAGD,GAAM,CAAAC,oBAAoB,CACxB,yDAAyD,CAC3D,GAAM,CAAAC,KAAK,CAAGL,QAAQ,CAACK,KAAK,CAACD,oBAAoB,CAAC,CAElD,GAAI,CAACC,KAAK,CAAE,CACV,KAAM,IAAI,CAAAC,KAAK,CAAC,yDAAyD,CAAC,CAC5E,CAGA,GAAM,CAAAC,SAAS,CAAG,KAAKC,2CAAgC,MAAM,CAC7D,GAAM,CAAAC,gBAAgB,CAAGT,QAAQ,CAACU,OAAO,CACvCN,oBAAoB,CACpB,KAAKG,SAAS,IAChB,CAAC,CAEDL,eAAM,CAACC,QAAQ,CAAC,qDAAqD,CAAC,CACtE,MAAO,CAAAM,gBAAgB,CACzB,CAQO,QAAS,CAAAE,oBAAoBA,CAClCX,QAAgB,CAChBY,UAAkB,CACV,CACR,GAAM,CAAAC,gBAAgB,CAAG,aAAaD,UAAU,GAAG,CAGnD,GAAIZ,QAAQ,CAACC,QAAQ,CAACY,gBAAgB,CAAC,CAAE,CACvCX,eAAM,CAACC,QAAQ,CACb,WAAWS,UAAU,wCACvB,CAAC,CACD,MAAO,CAAAZ,QAAQ,CACjB,CAEAE,eAAM,CAACC,QAAQ,CACb,gDAAgDS,UAAU,GAC5D,CAAC,CAGD,GAAM,CAAAH,gBAAgB,CAAGT,QAAQ,CAAG,KAAKa,gBAAgB,IAAI,CAE7DX,eAAM,CAACC,QAAQ,CAAC,iBAAiBS,UAAU,sBAAsB,CAAC,CAElE,MAAO,CAAAH,gBAAgB,CACzB","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/android/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,UAAU,CAAC;AACjD,eAAO,MAAM,gCAAgC,sEAA2F,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gradleHelpers.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/android/gradleHelpers.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CA+B9D;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,GACjB,MAAM,CAqBR"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/android/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,UAAU,CAAC;AACjD,eAAO,MAAM,gCAAgC,sEAA2F,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gradleHelpers.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/android/gradleHelpers.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CA+B9D;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,GACjB,MAAM,CAqBR"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|