expo-widgets 58.0.6 → 58.0.7

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
+ ## 58.0.7 — 2026-09-25
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - [iOS] Fix `with-node.sh` ignoring the app's `NODE_BINARY` and `.xcode.env` when building without CocoaPods. ([#50084](https://github.com/expo/expo/pull/50084) by [@chrfalch](https://github.com/chrfalch))
18
+
13
19
  ## 58.0.6 — 2026-09-23
14
20
 
15
21
  _This version does not introduce any user-facing changes._
@@ -6,7 +6,7 @@ plugins {
6
6
  }
7
7
 
8
8
  group = 'expo.modules.widgets'
9
- version = '58.0.6'
9
+ version = '58.0.7'
10
10
 
11
11
  def expoWidgetsPackageDirFile = project.projectDir.parentFile
12
12
  def expoWidgetsPackageDir = expoWidgetsPackageDirFile.absolutePath
@@ -39,7 +39,7 @@ android {
39
39
  namespace "expo.modules.widgets"
40
40
  defaultConfig {
41
41
  versionCode 1
42
- versionName '58.0.6'
42
+ versionName '58.0.7'
43
43
 
44
44
  externalNativeBuild {
45
45
  cmake {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-widgets",
3
- "version": "58.0.6",
3
+ "version": "58.0.7",
4
4
  "description": "Widgets.",
5
5
  "keywords": [
6
6
  "expo",
@@ -28,14 +28,14 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@expo/plist": "^0.10.0",
31
- "@expo/ui": "~58.0.6"
31
+ "@expo/ui": "~58.0.7"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@expo/spawn-async": "^1.8.0",
35
35
  "@types/jest": "^29.2.1",
36
36
  "@types/node": "^22.14.0",
37
37
  "@types/react": "~19.3.0",
38
- "expo": "58.0.0-preview.6",
38
+ "expo": "58.0.0-preview.7",
39
39
  "expo-module-scripts": "56.0.3",
40
40
  "react-native": "0.88.0-rc.1",
41
41
  "resolve-workspace-root": "^2.0.0"
@@ -45,7 +45,7 @@
45
45
  "react": "*",
46
46
  "react-native": "*"
47
47
  },
48
- "gitHead": "8aeb4368d396d2d71a2fc8c652c4d1d4d53ed858",
48
+ "gitHead": "ad41d067bd3df6dd12f1788acc6b54a68e7a650d",
49
49
  "scripts": {
50
50
  "build": "pnpm run build:lib && pnpm run build:plugin",
51
51
  "build:lib": "expo-build src",
@@ -9,20 +9,38 @@
9
9
 
10
10
  CURR_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)"
11
11
 
12
- # Start with a default
13
- NODE_BINARY=$(command -v node)
12
+ # CocoaPods sets PODS_ROOT, and its env files override any inherited NODE_BINARY.
13
+ # Without CocoaPods (SwiftPM) the calling build phase may already have resolved
14
+ # NODE_BINARY, so keep it and read the app's env files from SRCROOT only if unset.
15
+ # The mode is fixed here because the env files may change PODS_ROOT.
16
+ if [[ -n "$PODS_ROOT" ]]; then
17
+ USES_COCOAPODS=1
18
+ # Start with a default
19
+ NODE_BINARY=$(command -v node)
20
+ ENV_PATH="$PODS_ROOT/../.xcode.env"
21
+ else
22
+ USES_COCOAPODS=
23
+ ENV_PATH="$SRCROOT/.xcode.env"
24
+ fi
14
25
  export NODE_BINARY
15
26
 
16
- # Override the default with the global environment
17
- ENV_PATH="$PODS_ROOT/../.xcode.env"
18
- if [[ -f "$ENV_PATH" ]]; then
19
- source "$ENV_PATH"
27
+ if [[ -n "$USES_COCOAPODS" || -z "$NODE_BINARY" ]]; then
28
+ # Override the default with the global environment
29
+ if [[ -f "$ENV_PATH" ]]; then
30
+ source "$ENV_PATH"
31
+ fi
32
+
33
+ # Override the global with the local environment
34
+ LOCAL_ENV_PATH="${ENV_PATH}.local"
35
+ if [[ -f "$LOCAL_ENV_PATH" ]]; then
36
+ source "$LOCAL_ENV_PATH"
37
+ fi
20
38
  fi
21
39
 
22
- # Override the global with the local environment
23
- LOCAL_ENV_PATH="${ENV_PATH}.local"
24
- if [[ -f "$LOCAL_ENV_PATH" ]]; then
25
- source "$LOCAL_ENV_PATH"
40
+ if [[ -z "$USES_COCOAPODS" ]]; then
41
+ NODE_BINARY="${NODE_BINARY:-$(command -v node)}"
42
+ # An env file that unsets NODE_BINARY also drops its export.
43
+ export NODE_BINARY
26
44
  fi
27
45
 
28
46
  if [[ -n "$NODE_BINARY" && -x "$NODE_BINARY" ]]; then