expo-modules-autolinking 3.0.23 → 3.0.24

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 CHANGED
@@ -10,6 +10,12 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 3.0.24 — 2026-01-06
14
+
15
+ ### 💡 Others
16
+
17
+ - [Android] Align `expo-gradle-plugin`'s CLI command to align with iOS invocation of `expo-modules-autolinking` ([#41264](https://github.com/expo/expo/pull/41264) by [@kitten](https://github.com/kitten))
18
+
13
19
  ## 3.0.23 — 2025-12-04
14
20
 
15
21
  ### 💡 Others
@@ -11,8 +11,8 @@ class AutolinkingCommandBuilder {
11
11
  "node",
12
12
  "--no-warnings",
13
13
  "--eval",
14
- "require(require.resolve('expo-modules-autolinking', { paths: [require.resolve('expo/package.json')] }))(process.argv.slice(1))",
15
- "--"
14
+ "require('expo/bin/autolinking')",
15
+ "expo-modules-autolinking"
16
16
  )
17
17
 
18
18
  private val platform = listOf(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-modules-autolinking",
3
- "version": "3.0.23",
3
+ "version": "3.0.24",
4
4
  "description": "Scripts that autolink Expo modules.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -44,5 +44,5 @@
44
44
  "require-from-string": "^2.0.2",
45
45
  "resolve-from": "^5.0.0"
46
46
  },
47
- "gitHead": "e8b838828e5e985379c07294dc932dba66c89562"
47
+ "gitHead": "e615daa250a27c60da3cea1f0572dcde93df5b68"
48
48
  }
@@ -185,9 +185,8 @@ class ExpoAutolinkingManager {
185
185
  'node',
186
186
  '--no-warnings',
187
187
  '--eval',
188
- // Resolve the `expo` > `expo-modules-autolinking` chain from the project root
189
- 'require(require.resolve(\'expo-modules-autolinking\', { paths: [require.resolve(\'expo\')] }))(process.argv.slice(1))',
190
- '--',
188
+ 'require(\'expo/bin/autolinking\')',
189
+ 'expo-modules-autolinking',
191
190
  command,
192
191
  '--platform',
193
192
  'android'
@@ -216,7 +216,8 @@ module Expo
216
216
  'node',
217
217
  '--no-warnings',
218
218
  '--eval',
219
- 'require(require.resolve(\'expo-modules-autolinking\', { paths: [\'' + __dir__ + '\'] }))(process.argv.slice(1))',
219
+ 'require(\'expo/bin/autolinking\')',
220
+ 'expo-modules-autolinking',
220
221
  command_name,
221
222
  '--platform',
222
223
  'apple'
@@ -293,7 +293,8 @@ module Expo
293
293
 
294
294
  with_node \\
295
295
  --no-warnings \\
296
- --eval "require(require.resolve(\'expo-modules-autolinking\', { paths: [require.resolve(\'expo/package.json\')] }))(process.argv.slice(1))" \\
296
+ --eval "require(\'expo/bin/autolinking\')" \\
297
+ expo-modules-autolinking \\
297
298
  generate-modules-provider #{args.join(' ')} \\
298
299
  --target "#{modules_provider_path}" \\
299
300
  #{entitlement_param} \\