expo-modules-autolinking 56.0.0 → 56.0.1
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 +10 -0
- package/LICENSE +21 -0
- package/package.json +13 -14
- package/scripts/generateKSPLookup.js +0 -0
- package/scripts/ios/precompiled_modules.rb +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,16 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 56.0.1 — 2026-05-06
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- [iOS] Avoid logging the precompiled modules React Native fallback as a CocoaPods warning. ([#45431](https://github.com/expo/expo/pull/45431) by [@chrfalch](https://github.com/chrfalch))
|
|
18
|
+
|
|
19
|
+
### 💡 Others
|
|
20
|
+
|
|
21
|
+
- [iOS] Reduce prominence of expected source-build fallback logs for missing external precompiled XCFrameworks. ([#45435](https://github.com/expo/expo/pull/45435) by [@chrfalch](https://github.com/chrfalch))
|
|
22
|
+
|
|
13
23
|
## 56.0.0 — 2026-05-05
|
|
14
24
|
|
|
15
25
|
### 🎉 New features
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2015-present 650 Industries, Inc. (aka Expo)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-modules-autolinking",
|
|
3
|
-
"version": "56.0.
|
|
3
|
+
"version": "56.0.1",
|
|
4
4
|
"description": "Scripts that autolink Expo modules.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -19,14 +19,6 @@
|
|
|
19
19
|
"./*": "./*.js",
|
|
20
20
|
"./*.js": "./*.js"
|
|
21
21
|
},
|
|
22
|
-
"scripts": {
|
|
23
|
-
"build": "expo-module build",
|
|
24
|
-
"clean": "expo-module clean",
|
|
25
|
-
"lint": "expo-module lint",
|
|
26
|
-
"test": "expo-module test",
|
|
27
|
-
"prepublishOnly": "expo-module prepublishOnly",
|
|
28
|
-
"expo-module": "expo-module"
|
|
29
|
-
},
|
|
30
22
|
"bin": {
|
|
31
23
|
"expo-modules-autolinking": "bin/expo-modules-autolinking.js"
|
|
32
24
|
},
|
|
@@ -48,14 +40,21 @@
|
|
|
48
40
|
"license": "MIT",
|
|
49
41
|
"homepage": "https://github.com/expo/expo/tree/main/packages/expo-modules-autolinking#readme",
|
|
50
42
|
"devDependencies": {
|
|
51
|
-
"
|
|
52
|
-
"
|
|
43
|
+
"memfs": "^3.2.0",
|
|
44
|
+
"expo-module-scripts": "56.0.1"
|
|
53
45
|
},
|
|
54
46
|
"dependencies": {
|
|
55
|
-
"@expo/require-utils": "56.0.0",
|
|
47
|
+
"@expo/require-utils": "^56.0.0",
|
|
56
48
|
"@expo/spawn-async": "^1.7.2",
|
|
57
49
|
"chalk": "^4.1.0",
|
|
58
50
|
"commander": "^7.2.0"
|
|
59
51
|
},
|
|
60
|
-
"gitHead": "
|
|
61
|
-
|
|
52
|
+
"gitHead": "71ec800b2fa6133d22d69b70945132e22f1b7ae8",
|
|
53
|
+
"scripts": {
|
|
54
|
+
"build": "expo-module build",
|
|
55
|
+
"clean": "expo-module clean",
|
|
56
|
+
"lint": "expo-module lint",
|
|
57
|
+
"test": "expo-module test",
|
|
58
|
+
"expo-module": "expo-module"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
File without changes
|
|
@@ -101,14 +101,14 @@ module Expo
|
|
|
101
101
|
# Precompiled module xcframeworks are linked against the prebuilt
|
|
102
102
|
# React.xcframework, so they also require RCT_USE_PREBUILT_RNCORE=1. If
|
|
103
103
|
# the user opted in to precompiled modules but React Native is still set
|
|
104
|
-
# to build from source, fall back to source-built modules and
|
|
104
|
+
# to build from source, fall back to source-built modules and print once.
|
|
105
105
|
def enabled?
|
|
106
106
|
return false unless ENV[ENV_VAR] == '1'
|
|
107
107
|
return true if prebuilt_react_active?
|
|
108
108
|
|
|
109
109
|
unless @warned_no_prebuilt_react
|
|
110
110
|
@warned_no_prebuilt_react = true
|
|
111
|
-
Pod::UI.
|
|
111
|
+
Pod::UI.puts "[Expo] EXPO_USE_PRECOMPILED_MODULES=1 was set, but React Native is configured to build from source (RCT_USE_PREBUILT_RNCORE is not 1). Precompiled Expo modules require the prebuilt React.xcframework, so every Expo module will be built from source for this install. To use precompiled modules, ensure `ios.buildReactNativeFromSource` is not `true` in the `expo-build-properties` plugin (the default uses the prebuilt framework), or export RCT_USE_PREBUILT_RNCORE=1 before running `pod install`.".yellow
|
|
112
112
|
end
|
|
113
113
|
false
|
|
114
114
|
end
|
|
@@ -1665,7 +1665,8 @@ module Expo
|
|
|
1665
1665
|
unless has_prebuilt_xcframework?(pod_name)
|
|
1666
1666
|
product_name = info[:product_name] || pod_name
|
|
1667
1667
|
expected = File.join(info[:build_output_dir], build_flavor, 'xcframeworks', "#{product_name}.tar.gz")
|
|
1668
|
-
Pod::UI.
|
|
1668
|
+
Pod::UI.puts "#{'[Expo-precompiled] '.blue}#{"#{pod_name}: prebuilt xcframework unavailable; building from source".yellow}"
|
|
1669
|
+
Pod::UI.puts "#{'[Expo-precompiled] '.blue}#{gray(" Expected tarball: #{expected}")}"
|
|
1669
1670
|
next
|
|
1670
1671
|
end
|
|
1671
1672
|
|