expo-modules-autolinking 3.0.2 → 3.0.3
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 +4 -0
- package/android/expo-gradle-plugin/expo-autolinking-plugin/src/main/kotlin/expo/modules/plugin/GeneratePackagesListTask.kt +1 -1
- package/android/expo-gradle-plugin/expo-autolinking-plugin-shared/src/main/kotlin/expo/modules/plugin/AutolinkigCommandBuilder.kt +1 -1
- package/android/expo-gradle-plugin/expo-autolinking-settings-plugin/src/main/kotlin/expo/modules/plugin/ExpoAutolinkingSettingsExtension.kt +1 -1
- package/android/expo-gradle-plugin/expo-autolinking-settings-plugin/src/main/kotlin/expo/modules/plugin/SettingsManager.kt +1 -1
- package/android/expo-gradle-plugin/expo-autolinking-settings-plugin/src/test/kotlin/expo/modules/plugin/ExpoAutolinkingSettingsPluginTest.kt +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -42,7 +42,7 @@ abstract class GeneratePackagesListTask : Exec() {
|
|
|
42
42
|
override fun exec() {
|
|
43
43
|
val autolinkingOptions = AutolinkingOptions.fromJson(options.get())
|
|
44
44
|
commandLine(
|
|
45
|
-
|
|
45
|
+
AutolinkingCommandBuilder()
|
|
46
46
|
.command("generate-package-list")
|
|
47
47
|
.option("namespace", namespace.get())
|
|
48
48
|
.option("target", outputFile.get().asFile.absolutePath)
|
|
@@ -14,7 +14,7 @@ open class ExpoAutolinkingSettingsExtension(
|
|
|
14
14
|
/**
|
|
15
15
|
* Command that should be provided to `react-native` to resolve the configuration.
|
|
16
16
|
*/
|
|
17
|
-
val rnConfigCommand =
|
|
17
|
+
val rnConfigCommand = AutolinkingCommandBuilder()
|
|
18
18
|
.command("react-native-config")
|
|
19
19
|
.useJson()
|
|
20
20
|
.build()
|
|
@@ -50,7 +50,7 @@ class SettingsManager(
|
|
|
50
50
|
* Resolved configuration from `expo-modules-autolinking`.
|
|
51
51
|
*/
|
|
52
52
|
private val config by lazy {
|
|
53
|
-
val command =
|
|
53
|
+
val command = AutolinkingCommandBuilder()
|
|
54
54
|
.command("resolve")
|
|
55
55
|
.useJson()
|
|
56
56
|
.useAutolinkingOptions(autolinkingOptions)
|
|
@@ -42,7 +42,7 @@ class ExpoAutolinkingSettingsPluginTest {
|
|
|
42
42
|
val configFromPlugin = ExpoAutolinkingConfig.decodeFromString(configStringFromPlugin!!)
|
|
43
43
|
|
|
44
44
|
val configStringFromAutolinking = testProjectDir.root.runCommand(
|
|
45
|
-
*
|
|
45
|
+
*AutolinkingCommandBuilder()
|
|
46
46
|
.command("resolve")
|
|
47
47
|
.useJson()
|
|
48
48
|
.build()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-modules-autolinking",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "Scripts that autolink Expo modules.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"license": "MIT",
|
|
35
35
|
"homepage": "https://github.com/expo/expo/tree/main/packages/expo-modules-autolinking#readme",
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"expo-module-scripts": "~5.0.
|
|
37
|
+
"expo-module-scripts": "~5.0.3",
|
|
38
38
|
"memfs": "^3.2.0",
|
|
39
39
|
"minimatch": "^9.0.0"
|
|
40
40
|
},
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"require-from-string": "^2.0.2",
|
|
48
48
|
"resolve-from": "^5.0.0"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "f2270a4447fa0939e0d6f95c92bf5238e7162a73"
|
|
51
51
|
}
|