eas-cli 27.2.0 → 27.4.0

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.
@@ -8,7 +8,7 @@ const createGraphqlClient_1 = require("../commandUtils/context/contextUtils/crea
8
8
  const UserPreferenceMutation_1 = require("../graphql/mutations/UserPreferenceMutation");
9
9
  const UserPreferenceQuery_1 = require("../graphql/queries/UserPreferenceQuery");
10
10
  const log_1 = tslib_1.__importStar(require("../log"));
11
- const SIMULATORS_LAUNCH_AT = new Date('2026-11-05T18:00:00Z');
11
+ const SIMULATORS_LAUNCH_AT = new Date('2026-11-10T18:00:00Z');
12
12
  const SIMULATORS_LAUNCH_HINT_PREFERENCE_KEY = 'simulators-launch-cli-hint-seen';
13
13
  const REQUEST_TIMEOUT_MS = 3000;
14
14
  const SIMULATORS_QUICKSTART_URL = 'https://docs.expo.dev/preview/simulators/get-started/?utm_source=eas-cli&utm_medium=cli&utm_campaign=simulators-launch';
@@ -74,7 +74,8 @@ async function syncCapabilityIdentifiersForEntitlementsAsync(bundleId, entitleme
74
74
  const remoteLinkedIds = linkedBundleCapabilities.find(c => c.isType(classifier.capability))
75
75
  ?.attributes;
76
76
  const alreadyLinkedOpaqueIds = new Set((remoteLinkedIds?.[CapabilityModel.type] ?? []).map(model => model.id));
77
- // A list of server IDs for linking.
77
+ // A list of server IDs for linking. The update replaces the linked identifiers,
78
+ // so this includes the ones that are already linked.
78
79
  const capabilityIdOpaqueIds = [];
79
80
  // Iterate through all the local IDs and see if they exist on the server.
80
81
  for (const localId of capabilityIds) {
@@ -84,8 +85,8 @@ async function syncCapabilityIdentifiersForEntitlementsAsync(bundleId, entitleme
84
85
  if (!alreadyLinkedOpaqueIds.has(remoteIdModel.id)) {
85
86
  // Link the existing identifier to this bundle.
86
87
  linkedIds.push(remoteIdModel.attributes.identifier);
87
- capabilityIdOpaqueIds.push(remoteIdModel.id);
88
88
  }
89
+ capabilityIdOpaqueIds.push(remoteIdModel.id);
89
90
  continue;
90
91
  }
91
92
  if (log_1.default.isDebug) {
@@ -110,7 +111,9 @@ async function syncCapabilityIdentifiersForEntitlementsAsync(bundleId, entitleme
110
111
  linkedIds.push(remoteIdModel.attributes.identifier);
111
112
  capabilityIdOpaqueIds.push(remoteIdModel.id);
112
113
  }
113
- if (capabilityIdOpaqueIds.length) {
114
+ // The update replaces the linked identifiers, so it is sent only when one of them is not
115
+ // linked yet. An identifier removed from the entitlements therefore stays linked.
116
+ if (capabilityIdOpaqueIds.some(id => !alreadyLinkedOpaqueIds.has(id))) {
114
117
  updateRequest.push({
115
118
  capabilityType: classifier.capability,
116
119
  option: apple_utils_1.CapabilityTypeOption.ON,
@@ -18100,5 +18100,5 @@
18100
18100
  ]
18101
18101
  }
18102
18102
  },
18103
- "version": "27.2.0"
18103
+ "version": "27.4.0"
18104
18104
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eas-cli",
3
- "version": "27.2.0",
3
+ "version": "27.4.0",
4
4
  "description": "EAS command line tool",
5
5
  "keywords": [
6
6
  "cli",
@@ -44,16 +44,16 @@
44
44
  "copy-new-templates": "rimraf build/commandUtils/new/templates && mkdir -p build/commandUtils/new && cp -r src/commandUtils/new/templates build/commandUtils/new"
45
45
  },
46
46
  "dependencies": {
47
- "@expo/apple-utils": "2.2.1",
47
+ "@expo/apple-utils": "2.3.0",
48
48
  "@expo/code-signing-certificates": "0.0.5",
49
49
  "@expo/config": "55.0.10",
50
50
  "@expo/config-plugins": "55.0.7",
51
- "@expo/eas-build-job": "27.2.0",
52
- "@expo/eas-json": "27.2.0",
51
+ "@expo/eas-build-job": "27.4.0",
52
+ "@expo/eas-json": "27.4.0",
53
53
  "@expo/env": "^1.0.0",
54
54
  "@expo/experimentation": "0.0.5",
55
55
  "@expo/json-file": "8.3.3",
56
- "@expo/logger": "27.2.0",
56
+ "@expo/logger": "27.4.0",
57
57
  "@expo/multipart-body-parser": "2.0.0",
58
58
  "@expo/osascript": "2.1.4",
59
59
  "@expo/package-manager": "1.9.10",
@@ -65,7 +65,7 @@
65
65
  "@expo/results": "1.0.0",
66
66
  "@expo/rudder-sdk-node": "1.1.1",
67
67
  "@expo/spawn-async": "1.7.2",
68
- "@expo/steps": "27.2.0",
68
+ "@expo/steps": "27.4.0",
69
69
  "@expo/timeago.js": "1.0.0",
70
70
  "@oclif/core": "^4.8.3",
71
71
  "@oclif/plugin-autocomplete": "^3.2.40",
@@ -271,5 +271,5 @@
271
271
  "engines": {
272
272
  "node": "^20.18.3 || >=22.0.0"
273
273
  },
274
- "gitHead": "92e1b01bd703c124ceda5e4ebfb149257d19f6e3"
274
+ "gitHead": "5cca4faff591290c73a953287be9e4cd84112a69"
275
275
  }