expo-modules-autolinking 0.10.1 → 0.10.2

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
+ ## 0.10.2 — 2022-08-10
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - Fixed node executable resolution errors on iOS when `pod install` is executed from package.json `scripts`. ([#18580](https://github.com/expo/expo/pull/18580) by [@kudo](https://github.com/kudo))
18
+
13
19
  ## 0.10.1 — 2022-07-25
14
20
 
15
21
  ### 🎉 New features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-modules-autolinking",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "Scripts that autolink Expo modules.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -48,5 +48,5 @@
48
48
  "find-up": "^5.0.0",
49
49
  "fs-extra": "^9.1.0"
50
50
  },
51
- "gitHead": "066000e04629874e1c67f2b3b9a38af805d9831c"
51
+ "gitHead": "9628e396726e9085b644a3a6d3fc53e33912a0dc"
52
52
  }
@@ -10,7 +10,7 @@ def maybe_generate_xcode_env_file!()
10
10
  end
11
11
 
12
12
  # Adding the meta character `;` at the end of command for Ruby `Kernel.exec` to execute the command in shell.
13
- stdout, stderr, status = Open3.capture3('command -v node;')
13
+ stdout, stderr, status = Open3.capture3('node --print "process.argv[0]";')
14
14
  node_path = stdout.strip
15
15
  if !stderr.empty? || status.exitstatus != 0 || node_path.empty?
16
16
  Pod::UI.warn "Unable to generate `.xcode.env.local` for Node.js binary path: #{stderr}"