peachsim 0.1.759 → 0.1.761

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.
Files changed (78) hide show
  1. package/dist-lib/agent-daemon-client.cjs +1 -1
  2. package/dist-lib/agent-events.cjs +1 -1
  3. package/dist-lib/agent-identity.cjs +1 -1
  4. package/dist-lib/agent-sessions.cjs +1 -1
  5. package/dist-lib/attached-projects.cjs +1 -1
  6. package/dist-lib/auth/shared-session.cjs +1 -1
  7. package/dist-lib/backend-origin.cjs +1 -1
  8. package/dist-lib/beta.cjs +1 -1
  9. package/dist-lib/beta.mjs +1 -1
  10. package/dist-lib/bridge-constants.cjs +1 -1
  11. package/dist-lib/bridge-contract-input.cjs +1 -1
  12. package/dist-lib/bridge-contract-input.mjs +1 -1
  13. package/dist-lib/bridge-contract.cjs +1 -1
  14. package/dist-lib/bridge-contract.mjs +1 -1
  15. package/dist-lib/capture-contract.cjs +1 -1
  16. package/dist-lib/capture-contract.mjs +1 -1
  17. package/dist-lib/cli-constants.cjs +1 -1
  18. package/dist-lib/cloud-contract.cjs +1 -1
  19. package/dist-lib/cloud-contract.mjs +1 -1
  20. package/dist-lib/cloud-test-args.cjs +1 -1
  21. package/dist-lib/cloud-test-args.mjs +1 -1
  22. package/dist-lib/cloud.cjs +1 -1
  23. package/dist-lib/cloud.mjs +1 -1
  24. package/dist-lib/config.cjs +1 -1
  25. package/dist-lib/detox/index.cjs +1 -1
  26. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  27. package/dist-lib/home-paths.cjs +1 -1
  28. package/dist-lib/host/bridge-host.cjs +888 -735
  29. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  30. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  31. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  32. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  33. package/dist-lib/host/websocket-proxy.cjs +1 -1
  34. package/dist-lib/index.cjs +37 -220
  35. package/dist-lib/jump-to-source-babel.cjs +1 -1
  36. package/dist-lib/jump-to-source-native.cjs +1 -1
  37. package/dist-lib/kotlin-host.cjs +1 -1
  38. package/dist-lib/menu.cjs +1 -1
  39. package/dist-lib/menu.mjs +1 -1
  40. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  41. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  42. package/dist-lib/metro-production-bundle.cjs +1 -1
  43. package/dist-lib/metro-production-bundle.mjs +1 -1
  44. package/dist-lib/metro.cjs +37 -220
  45. package/dist-lib/native-app-identity.cjs +1 -1
  46. package/dist-lib/native-app-identity.mjs +1 -1
  47. package/dist-lib/native-firebase-metadata.cjs +1 -1
  48. package/dist-lib/native-firebase-metadata.mjs +1 -1
  49. package/dist-lib/plist.cjs +1 -1
  50. package/dist-lib/plist.mjs +1 -1
  51. package/dist-lib/profiles.cjs +1 -1
  52. package/dist-lib/public-brand.cjs +1 -1
  53. package/dist-lib/react-native-host-modules.cjs +1 -1
  54. package/dist-lib/react-native-host-modules.mjs +1 -1
  55. package/dist-lib/render-mode.cjs +1 -1
  56. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  57. package/dist-lib/sdk.cjs +1 -1
  58. package/dist-lib/sdk.mjs +1 -1
  59. package/dist-lib/skills.cjs +1185 -1026
  60. package/dist-lib/swift-compile.cjs +66 -8
  61. package/dist-lib/swift-compile.mjs +66 -8
  62. package/dist-lib/swift-package.cjs +1 -110
  63. package/dist-lib/swift-package.mjs +1 -109
  64. package/dist-lib/swift-submit.cjs +1 -1
  65. package/dist-lib/swift-submit.mjs +1 -1
  66. package/dist-lib/swift-toolchain.cjs +1 -1
  67. package/dist-lib/swift.cjs +1 -1
  68. package/dist-lib/vite-swift.cjs +672 -519
  69. package/dist-lib/vite.cjs +1 -1
  70. package/package.json +1 -1
  71. package/src/native-seam-manifest.ts +8 -0
  72. package/src/swift-compile.ts +102 -12
  73. package/src/swift-host.ts +64 -64
  74. package/src/swift-package-manifest.ts +307 -0
  75. package/src/swift-package.ts +2 -135
  76. package/src/swift-packages.ts +341 -0
  77. package/src/xcode-project.ts +57 -70
  78. package/src/swift-remote-packages.ts +0 -255
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.759 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.761 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -447,14 +447,72 @@ var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
447
447
  };
448
448
  var OPTIONAL_FRAMEWORKS = new Set(Object.keys(OPTIONAL_FRAMEWORK_DEPENDENCIES));
449
449
  var SWIFT_IMPORT = /^\s*(?:@\w+(?:\([^)]*\))?\s+)*import\s+(?:(?:typealias|struct|class|enum|protocol|let|var|func)\s+)?([A-Za-z_][A-Za-z0-9_]*)/;
450
- function swiftImportNames(contents, unconditional = false) {
450
+ function swiftCondition(text, available) {
451
+ const tokens = text.match(/\w+\s*\([^()]*\)|&&|\|\||!|\(|\)|\w+/g) ?? [];
452
+ let index = 0;
453
+ const atom = () => {
454
+ const token = tokens[index++];
455
+ if (token === "!") {
456
+ const value = atom();
457
+ return value === void 0 ? void 0 : !value;
458
+ }
459
+ if (token === "(") {
460
+ const value = either();
461
+ index++;
462
+ return value;
463
+ }
464
+ if (token === "true") return true;
465
+ if (token === "false") return false;
466
+ const call = /^(\w+)\s*\(\s*([^,()]*?)\s*(?:,[^()]*)?\)$/.exec(token ?? "");
467
+ if (!call) return void 0;
468
+ const [, name, argument] = call;
469
+ if (name === "os") return argument === "iOS" || argument === "WASI";
470
+ if (name === "canImport") return available.has(argument);
471
+ if (name === "targetEnvironment") return false;
472
+ if (name === "arch") return argument === "wasm32";
473
+ return void 0;
474
+ };
475
+ const both = () => {
476
+ let value = atom();
477
+ while (tokens[index] === "&&") {
478
+ index++;
479
+ const next = atom();
480
+ value = value === false || next === false ? false : value && next ? true : void 0;
481
+ }
482
+ return value;
483
+ };
484
+ const either = () => {
485
+ let value = both();
486
+ while (tokens[index] === "||") {
487
+ index++;
488
+ const next = both();
489
+ value = value === true || next === true ? true : value === false && next === false ? false : void 0;
490
+ }
491
+ return value;
492
+ };
493
+ return either();
494
+ }
495
+ function swiftImportNames(contents, available) {
451
496
  const names = [];
452
- let depth = 0;
497
+ const frames = [];
453
498
  for (const line of contents.split("\n")) {
454
- const directive = /^\s*#(if|endif)\b/.exec(line)?.[1];
455
- if (directive === "if") depth++;
456
- else if (directive === "endif") depth = Math.max(0, depth - 1);
457
- if (unconditional && depth > 0) continue;
499
+ const directive = /^\s*#(if|elseif|else|endif)\b(.*)$/.exec(line);
500
+ if (directive && available) {
501
+ const [, kind, rest] = directive;
502
+ const condition = (rest ?? "").replace(/\/\/.*$/, "").trim();
503
+ if (kind === "if") {
504
+ const active = swiftCondition(condition, available);
505
+ frames.push({ active, taken: active });
506
+ } else if (kind === "endif") frames.pop();
507
+ else if (frames.length > 0) {
508
+ const frame = frames[frames.length - 1];
509
+ const holds = kind === "else" ? true : swiftCondition(condition, available);
510
+ frame.active = frame.taken === true ? false : frame.taken === false ? holds : holds && void 0;
511
+ frame.taken = frame.taken === true || holds === true ? true : frame.taken === false ? holds : void 0;
512
+ }
513
+ continue;
514
+ }
515
+ if (available && frames.some((frame) => frame.active !== true)) continue;
458
516
  const name = SWIFT_IMPORT.exec(line)?.[1];
459
517
  if (name) names.push(name);
460
518
  }
@@ -499,7 +557,7 @@ function missingSwiftModules(files, available) {
499
557
  const missing = /* @__PURE__ */ new Map();
500
558
  for (const [file, contents] of Object.entries(files)) {
501
559
  if (!file.endsWith(".swift") || file === "Package.swift") continue;
502
- for (const name of new Set(swiftImportNames(contents, true))) {
560
+ for (const name of new Set(swiftImportNames(contents, available))) {
503
561
  if (available.has(name)) continue;
504
562
  missing.set(name, [...missing.get(name) ?? [], file]);
505
563
  }
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.759 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.761 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-compile.ts
4
4
  import { execFile as execFile2, execFileSync } from "node:child_process";
@@ -399,14 +399,72 @@ var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
399
399
  };
400
400
  var OPTIONAL_FRAMEWORKS = new Set(Object.keys(OPTIONAL_FRAMEWORK_DEPENDENCIES));
401
401
  var SWIFT_IMPORT = /^\s*(?:@\w+(?:\([^)]*\))?\s+)*import\s+(?:(?:typealias|struct|class|enum|protocol|let|var|func)\s+)?([A-Za-z_][A-Za-z0-9_]*)/;
402
- function swiftImportNames(contents, unconditional = false) {
402
+ function swiftCondition(text, available) {
403
+ const tokens = text.match(/\w+\s*\([^()]*\)|&&|\|\||!|\(|\)|\w+/g) ?? [];
404
+ let index = 0;
405
+ const atom = () => {
406
+ const token = tokens[index++];
407
+ if (token === "!") {
408
+ const value = atom();
409
+ return value === void 0 ? void 0 : !value;
410
+ }
411
+ if (token === "(") {
412
+ const value = either();
413
+ index++;
414
+ return value;
415
+ }
416
+ if (token === "true") return true;
417
+ if (token === "false") return false;
418
+ const call = /^(\w+)\s*\(\s*([^,()]*?)\s*(?:,[^()]*)?\)$/.exec(token ?? "");
419
+ if (!call) return void 0;
420
+ const [, name, argument] = call;
421
+ if (name === "os") return argument === "iOS" || argument === "WASI";
422
+ if (name === "canImport") return available.has(argument);
423
+ if (name === "targetEnvironment") return false;
424
+ if (name === "arch") return argument === "wasm32";
425
+ return void 0;
426
+ };
427
+ const both = () => {
428
+ let value = atom();
429
+ while (tokens[index] === "&&") {
430
+ index++;
431
+ const next = atom();
432
+ value = value === false || next === false ? false : value && next ? true : void 0;
433
+ }
434
+ return value;
435
+ };
436
+ const either = () => {
437
+ let value = both();
438
+ while (tokens[index] === "||") {
439
+ index++;
440
+ const next = both();
441
+ value = value === true || next === true ? true : value === false && next === false ? false : void 0;
442
+ }
443
+ return value;
444
+ };
445
+ return either();
446
+ }
447
+ function swiftImportNames(contents, available) {
403
448
  const names = [];
404
- let depth = 0;
449
+ const frames = [];
405
450
  for (const line of contents.split("\n")) {
406
- const directive = /^\s*#(if|endif)\b/.exec(line)?.[1];
407
- if (directive === "if") depth++;
408
- else if (directive === "endif") depth = Math.max(0, depth - 1);
409
- if (unconditional && depth > 0) continue;
451
+ const directive = /^\s*#(if|elseif|else|endif)\b(.*)$/.exec(line);
452
+ if (directive && available) {
453
+ const [, kind, rest] = directive;
454
+ const condition = (rest ?? "").replace(/\/\/.*$/, "").trim();
455
+ if (kind === "if") {
456
+ const active = swiftCondition(condition, available);
457
+ frames.push({ active, taken: active });
458
+ } else if (kind === "endif") frames.pop();
459
+ else if (frames.length > 0) {
460
+ const frame = frames[frames.length - 1];
461
+ const holds = kind === "else" ? true : swiftCondition(condition, available);
462
+ frame.active = frame.taken === true ? false : frame.taken === false ? holds : holds && void 0;
463
+ frame.taken = frame.taken === true || holds === true ? true : frame.taken === false ? holds : void 0;
464
+ }
465
+ continue;
466
+ }
467
+ if (available && frames.some((frame) => frame.active !== true)) continue;
410
468
  const name = SWIFT_IMPORT.exec(line)?.[1];
411
469
  if (name) names.push(name);
412
470
  }
@@ -451,7 +509,7 @@ function missingSwiftModules(files, available) {
451
509
  const missing = /* @__PURE__ */ new Map();
452
510
  for (const [file, contents] of Object.entries(files)) {
453
511
  if (!file.endsWith(".swift") || file === "Package.swift") continue;
454
- for (const name of new Set(swiftImportNames(contents, true))) {
512
+ for (const name of new Set(swiftImportNames(contents, available))) {
455
513
  if (available.has(name)) continue;
456
514
  missing.set(name, [...missing.get(name) ?? [], file]);
457
515
  }
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.759 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.761 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -24,7 +24,6 @@ var swift_package_exports = {};
24
24
  __export(swift_package_exports, {
25
25
  isSwiftManifestFile: () => isSwiftManifestFile,
26
26
  swiftImplicitResourcePaths: () => swiftImplicitResourcePaths,
27
- swiftManifestGraph: () => swiftManifestGraph,
28
27
  swiftManifestTargets: () => swiftManifestTargets,
29
28
  swiftPackageIdentity: () => swiftPackageIdentity,
30
29
  swiftPackagePartition: () => swiftPackagePartition
@@ -92,116 +91,9 @@ function manifestCalls(manifest, kinds) {
92
91
  }
93
92
  return calls;
94
93
  }
95
- var NAME = /\bname\s*:\s*"([^"]+)"/;
96
- function listArgument(call, label) {
97
- const start = new RegExp(`\\b${label}\\s*:\\s*\\[`).exec(call);
98
- if (!start) return [];
99
- const items = [];
100
- let depth = 0;
101
- let inString = false;
102
- let item = "";
103
- for (let i = start.index + start[0].length; i < call.length; i++) {
104
- const ch = call[i];
105
- if (inString) {
106
- item += ch;
107
- if (ch === '"' && call[i - 1] !== "\\") inString = false;
108
- continue;
109
- }
110
- if (ch === '"') inString = true;
111
- else if (ch === "(" || ch === "[") depth++;
112
- else if (ch === ")" || ch === "]") {
113
- if (depth === 0) break;
114
- depth--;
115
- } else if (ch === "," && depth === 0) {
116
- items.push(item.trim());
117
- item = "";
118
- continue;
119
- }
120
- item += ch;
121
- }
122
- if (item.trim()) items.push(item.trim());
123
- return items;
124
- }
125
94
  function swiftPackageIdentity(url) {
126
95
  return (url.split("/").pop() ?? url).replace(/\.git$/, "").toLowerCase();
127
96
  }
128
- function swiftManifestGraph(manifest) {
129
- const graph = {
130
- products: /* @__PURE__ */ new Map(),
131
- dependencies: /* @__PURE__ */ new Map(),
132
- binaryTargets: /* @__PURE__ */ new Set(),
133
- systemLibraries: /* @__PURE__ */ new Set(),
134
- packageURLs: /* @__PURE__ */ new Map(),
135
- packagePaths: []
136
- };
137
- for (const { kind, flat, call } of manifestCalls(manifest, [
138
- "library",
139
- "executableTarget",
140
- "target",
141
- "binaryTarget",
142
- "systemLibrary",
143
- "package"
144
- ])) {
145
- if (kind === "package") {
146
- const local = /\bpath\s*:\s*"([^"]+)"/.exec(flat)?.[1];
147
- if (local) graph.packagePaths.push(local);
148
- const url = /\burl\s*:\s*"([^"]+)"/.exec(flat)?.[1];
149
- if (!url) continue;
150
- graph.packageURLs.set(swiftPackageIdentity(url), url);
151
- const name2 = NAME.exec(flat)?.[1];
152
- if (name2) graph.packageURLs.set(name2.toLowerCase(), url);
153
- continue;
154
- }
155
- const name = NAME.exec(flat)?.[1];
156
- if (!name) continue;
157
- if (kind === "library") {
158
- graph.products.set(
159
- name,
160
- listArgument(call, "targets").flatMap(
161
- (item) => /^"([^"]+)"$/.exec(item)?.[1] ?? []
162
- )
163
- );
164
- continue;
165
- }
166
- if (kind === "binaryTarget") graph.binaryTargets.add(name);
167
- if (kind === "systemLibrary") graph.systemLibraries.add(name);
168
- const dependencies = [];
169
- for (const item of listArgument(call, "dependencies")) {
170
- const platforms = /condition\s*:\s*\.when\(\s*platforms\s*:\s*\[([^\]]*)\]/.exec(
171
- item
172
- )?.[1];
173
- if (platforms !== void 0 && !/\.iOS\b/.test(platforms)) continue;
174
- if (/condition\s*:\s*\.when\([^)]*\btraits\s*:/.test(item)) continue;
175
- const plain = /^"([^"]+)"$/.exec(item)?.[1];
176
- const product = /^\.product(?:Item)?\(\s*name\s*:\s*"([^"]+)"\s*,\s*package\s*:\s*"([^"]+)"/.exec(
177
- item
178
- );
179
- const target = /^\.(?:target|byName)(?:Item)?\(\s*name\s*:\s*"([^"]+)"/.exec(
180
- item
181
- )?.[1];
182
- if (plain) dependencies.push({ kind: "target", name: plain });
183
- else if (product)
184
- dependencies.push({
185
- kind: "product",
186
- name: product[1],
187
- package: product[2].toLowerCase()
188
- });
189
- else if (target) dependencies.push({ kind: "target", name: target });
190
- }
191
- graph.dependencies.set(name, dependencies);
192
- }
193
- for (const dependencies of graph.dependencies.values()) {
194
- for (const [index, dependency] of dependencies.entries()) {
195
- if (dependency.kind === "target" && !graph.dependencies.has(dependency.name))
196
- dependencies[index] = {
197
- kind: "product",
198
- name: dependency.name,
199
- package: dependency.name.toLowerCase()
200
- };
201
- }
202
- }
203
- return graph;
204
- }
205
97
  function swiftManifestTargets(manifest, resourcePaths = []) {
206
98
  const implicitResources = swiftImplicitResourcePaths(resourcePaths);
207
99
  const targets = [];
@@ -250,7 +142,6 @@ function swiftPackagePartition(manifest, resourcePaths = []) {
250
142
  0 && (module.exports = {
251
143
  isSwiftManifestFile,
252
144
  swiftImplicitResourcePaths,
253
- swiftManifestGraph,
254
145
  swiftManifestTargets,
255
146
  swiftPackageIdentity,
256
147
  swiftPackagePartition
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.759 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.761 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function isSwiftManifestFile(file) {
@@ -63,116 +63,9 @@ function manifestCalls(manifest, kinds) {
63
63
  }
64
64
  return calls;
65
65
  }
66
- var NAME = /\bname\s*:\s*"([^"]+)"/;
67
- function listArgument(call, label) {
68
- const start = new RegExp(`\\b${label}\\s*:\\s*\\[`).exec(call);
69
- if (!start) return [];
70
- const items = [];
71
- let depth = 0;
72
- let inString = false;
73
- let item = "";
74
- for (let i = start.index + start[0].length; i < call.length; i++) {
75
- const ch = call[i];
76
- if (inString) {
77
- item += ch;
78
- if (ch === '"' && call[i - 1] !== "\\") inString = false;
79
- continue;
80
- }
81
- if (ch === '"') inString = true;
82
- else if (ch === "(" || ch === "[") depth++;
83
- else if (ch === ")" || ch === "]") {
84
- if (depth === 0) break;
85
- depth--;
86
- } else if (ch === "," && depth === 0) {
87
- items.push(item.trim());
88
- item = "";
89
- continue;
90
- }
91
- item += ch;
92
- }
93
- if (item.trim()) items.push(item.trim());
94
- return items;
95
- }
96
66
  function swiftPackageIdentity(url) {
97
67
  return (url.split("/").pop() ?? url).replace(/\.git$/, "").toLowerCase();
98
68
  }
99
- function swiftManifestGraph(manifest) {
100
- const graph = {
101
- products: /* @__PURE__ */ new Map(),
102
- dependencies: /* @__PURE__ */ new Map(),
103
- binaryTargets: /* @__PURE__ */ new Set(),
104
- systemLibraries: /* @__PURE__ */ new Set(),
105
- packageURLs: /* @__PURE__ */ new Map(),
106
- packagePaths: []
107
- };
108
- for (const { kind, flat, call } of manifestCalls(manifest, [
109
- "library",
110
- "executableTarget",
111
- "target",
112
- "binaryTarget",
113
- "systemLibrary",
114
- "package"
115
- ])) {
116
- if (kind === "package") {
117
- const local = /\bpath\s*:\s*"([^"]+)"/.exec(flat)?.[1];
118
- if (local) graph.packagePaths.push(local);
119
- const url = /\burl\s*:\s*"([^"]+)"/.exec(flat)?.[1];
120
- if (!url) continue;
121
- graph.packageURLs.set(swiftPackageIdentity(url), url);
122
- const name2 = NAME.exec(flat)?.[1];
123
- if (name2) graph.packageURLs.set(name2.toLowerCase(), url);
124
- continue;
125
- }
126
- const name = NAME.exec(flat)?.[1];
127
- if (!name) continue;
128
- if (kind === "library") {
129
- graph.products.set(
130
- name,
131
- listArgument(call, "targets").flatMap(
132
- (item) => /^"([^"]+)"$/.exec(item)?.[1] ?? []
133
- )
134
- );
135
- continue;
136
- }
137
- if (kind === "binaryTarget") graph.binaryTargets.add(name);
138
- if (kind === "systemLibrary") graph.systemLibraries.add(name);
139
- const dependencies = [];
140
- for (const item of listArgument(call, "dependencies")) {
141
- const platforms = /condition\s*:\s*\.when\(\s*platforms\s*:\s*\[([^\]]*)\]/.exec(
142
- item
143
- )?.[1];
144
- if (platforms !== void 0 && !/\.iOS\b/.test(platforms)) continue;
145
- if (/condition\s*:\s*\.when\([^)]*\btraits\s*:/.test(item)) continue;
146
- const plain = /^"([^"]+)"$/.exec(item)?.[1];
147
- const product = /^\.product(?:Item)?\(\s*name\s*:\s*"([^"]+)"\s*,\s*package\s*:\s*"([^"]+)"/.exec(
148
- item
149
- );
150
- const target = /^\.(?:target|byName)(?:Item)?\(\s*name\s*:\s*"([^"]+)"/.exec(
151
- item
152
- )?.[1];
153
- if (plain) dependencies.push({ kind: "target", name: plain });
154
- else if (product)
155
- dependencies.push({
156
- kind: "product",
157
- name: product[1],
158
- package: product[2].toLowerCase()
159
- });
160
- else if (target) dependencies.push({ kind: "target", name: target });
161
- }
162
- graph.dependencies.set(name, dependencies);
163
- }
164
- for (const dependencies of graph.dependencies.values()) {
165
- for (const [index, dependency] of dependencies.entries()) {
166
- if (dependency.kind === "target" && !graph.dependencies.has(dependency.name))
167
- dependencies[index] = {
168
- kind: "product",
169
- name: dependency.name,
170
- package: dependency.name.toLowerCase()
171
- };
172
- }
173
- }
174
- return graph;
175
- }
176
69
  function swiftManifestTargets(manifest, resourcePaths = []) {
177
70
  const implicitResources = swiftImplicitResourcePaths(resourcePaths);
178
71
  const targets = [];
@@ -220,7 +113,6 @@ function swiftPackagePartition(manifest, resourcePaths = []) {
220
113
  export {
221
114
  isSwiftManifestFile,
222
115
  swiftImplicitResourcePaths,
223
- swiftManifestGraph,
224
116
  swiftManifestTargets,
225
117
  swiftPackageIdentity,
226
118
  swiftPackagePartition
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.759 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.761 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.759 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.761 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-submit.ts
4
4
  var SWIFT_COMPILE_PATH = "/api/swift-compile";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.759 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.761 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.759 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.761 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;