@absolutejs/absolute 0.20.0-beta.130 → 0.20.0-beta.131
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 +21 -0
- package/changelog.json +41 -0
- package/dist/angular/browser.js +406 -396
- package/dist/angular/browser.js.map +4 -4
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -3
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -4
- package/dist/angular/index.js +560 -701
- package/dist/angular/index.js.map +5 -5
- package/dist/angular/server.js +197 -338
- package/dist/angular/server.js.map +5 -5
- package/dist/build/buildWorker.js +27 -35
- package/dist/build.js +3833 -5876
- package/dist/build.js.map +4 -4
- package/dist/cli/{add-9sa7e3vd.js → add-hvqeg5sz.js} +23 -25
- package/dist/cli/{analyze-c1sep5y9.js → analyze-c2x2aym5.js} +6 -7
- package/dist/cli/androidEmulatorController-j73a1br6.js +22 -0
- package/dist/cli/{androidNativeWatcher-dnp95nk2.js → androidNativeWatcher-ctbnsr1v.js} +11 -14
- package/dist/cli/{api-2hd8cahp.js → api-rk13rfd9.js} +11 -13
- package/dist/cli/{build-857rc1ds.js → build-20y4b6rj.js} +8 -9
- package/dist/cli/{buildDepVendor-8akhr8n8.js → buildDepVendor-axqvbbm6.js} +5 -170
- package/dist/cli/{compile-9by2vxy5.js → compile-qygwqezx.js} +43 -48
- package/dist/cli/config/client.js +8 -8
- package/dist/cli/config/server.js +5615 -5595
- package/dist/cli/config-3te1fbry.js +7 -0
- package/dist/cli/{db-8wweexdp.js → db-p8pc325y.js} +5 -13
- package/dist/cli/{dev-qg7fr16s.js → dev-6f0gry3y.js} +75 -77
- package/dist/cli/{devCert-avr89zf3.js → devCert-n33ep8pg.js} +0 -3
- package/dist/cli/{doctor-mbh9bk05.js → doctor-8rm8p4dm.js} +13 -14
- package/dist/cli/emulatorDoctor-cwa70kgt.js +17 -0
- package/dist/cli/emulatorInstaller-dx3fmm2m.js +14 -0
- package/dist/cli/env-2107nff1.js +11 -0
- package/dist/cli/eslint-zz0t0kfp.js +17 -0
- package/dist/cli/eslintChunked-wg10jj9m.js +12 -0
- package/dist/cli/expoDevController-s70fj7vf.js +16 -0
- package/dist/cli/{expoNativeWatcher-rmc95bak.js → expoNativeWatcher-aakp7xvj.js} +1 -5
- package/dist/cli/expoProject-zy02tbfg.js +10 -0
- package/dist/cli/{generate-069p0dk3.js → generate-nz4w03yz.js} +19 -21
- package/dist/cli/{heapDiff-87v24x7p.js → heapDiff-2etr2r26.js} +5 -6
- package/dist/cli/{htmx-5wh1jh75.js → htmx-0xcaqrny.js} +12 -14
- package/dist/cli/{index-sjvydg2r.js → index-1ff9q1vx.js} +7 -7
- package/dist/cli/{index-rqbk0b30.js → index-1qewxkgy.js} +26 -26
- package/dist/cli/{index-prwyfnn3.js → index-1x1vah31.js} +2 -2
- package/dist/cli/{index-ddakkws4.js → index-31j3beht.js} +13 -13
- package/dist/cli/{index-j2nw3edf.js → index-3gtnqd57.js} +5 -5
- package/dist/cli/{index-54q7pxcx.js → index-434b7j4a.js} +2 -32
- package/dist/cli/{index-w5vswatm.js → index-43a1vvb7.js} +6 -10
- package/dist/cli/{index-nxcwg9ma.js → index-5sjk7daj.js} +31 -31
- package/dist/cli/{index-6j1xaheg.js → index-73sk1ney.js} +5 -5
- package/dist/cli/{index-3x5wpx5d.js → index-8kdmmgvc.js} +2 -2
- package/dist/cli/{index-1ys3dnrs.js → index-8w2wazrk.js} +34 -34
- package/dist/cli/{index-wtfnv3n2.js → index-92hmw204.js} +3 -3
- package/dist/cli/{index-vdbn8brx.js → index-9ehbfmeq.js} +38 -41
- package/dist/cli/{index-mywsk201.js → index-fde3c297.js} +1 -1
- package/dist/cli/{index-255xs63d.js → index-j57pgg5m.js} +10 -10
- package/dist/cli/{index-5cgsrv62.js → index-jcjwsdqt.js} +13 -182
- package/dist/cli/{index-00wfffav.js → index-k4t9k1xk.js} +5 -5
- package/dist/cli/{index-yxgaf8j0.js → index-m1vntzf1.js} +7 -5
- package/dist/cli/{index-9r7n9dqp.js → index-ma1dw7x2.js} +1 -1
- package/dist/cli/index-pch0v1z6.js +60 -0
- package/dist/cli/{index-8nym68py.js → index-ppxed116.js} +1 -1
- package/dist/cli/{index-9kwmb3c0.js → index-qyxd5n9a.js} +3 -3
- package/dist/cli/{index-tn4crd40.js → index-r62705dc.js} +12 -12
- package/dist/cli/{index-wctgx65x.js → index-r6k4xmdb.js} +21 -21
- package/dist/cli/{index-hty8111z.js → index-r915cvqp.js} +17 -17
- package/dist/cli/{index-exdd5k1g.js → index-rrxeqrbn.js} +2 -2
- package/dist/cli/{index-keg69zm1.js → index-snbzdwb9.js} +5 -5
- package/dist/cli/{index-v26ze17p.js → index-thqwfzy8.js} +3 -3
- package/dist/cli/{index-0hr7c4qe.js → index-vdnmqkt8.js} +14 -18
- package/dist/cli/{index-vkkqe08e.js → index-vj2v38sq.js} +29 -29
- package/dist/cli/{index-erngp7a9.js → index-wy0yh4jj.js} +16 -16
- package/dist/cli/{index-1cypb2zn.js → index-xcr3r6a1.js} +8 -8
- package/dist/cli/index.js +44 -48
- package/dist/cli/{info-d74dr585.js → info-kx5510rq.js} +7 -7
- package/dist/cli/{inspect-23chj4nc.js → inspect-5dj06x0m.js} +18 -20
- package/dist/cli/{iosNativeWatcher-kggp7j9a.js → iosNativeWatcher-zx49pzej.js} +12 -16
- package/dist/cli/iosSimulatorController-haa1cc3p.js +23 -0
- package/dist/cli/{islands-wpqgmwh0.js → islands-z4adh55n.js} +8 -9
- package/dist/cli/{lintProof-wx3b6dzy.js → lintProof-qcwdvzcz.js} +12 -17
- package/dist/cli/{logs-bx2n5ey6.js → logs-3p2vrq5h.js} +8 -10
- package/dist/cli/{ls-kvmcmd2j.js → ls-nkspq73y.js} +13 -14
- package/dist/cli/{mem-apbk7bx4.js → mem-h3f497cr.js} +10 -14
- package/dist/cli/{migrate-p4rp5r6b.js → migrate-52bqqp08.js} +7 -8
- package/dist/cli/{mobile-43q3zmjf.js → mobile-w295dx0t.js} +572 -575
- package/dist/cli/nativeAuth-ysv0x5dy.js +27 -0
- package/dist/cli/patchedBun-m7vj5sks.js +9 -0
- package/dist/cli/prerender-mfnwsvyt.js +7 -0
- package/dist/cli/{prettier-vtk5yaw4.js → prettier-c1624g36.js} +2 -6
- package/dist/cli/{ps-8y28kzmb.js → ps-0jedm91n.js} +12 -16
- package/dist/cli/{psTui-8e96mwgz.js → psTui-tpr5nbmc.js} +28 -30
- package/dist/cli/remoteMacProtocol-v3ax0y0f.js +41 -0
- package/dist/cli/{remove-3fd1z2hx.js → remove-z0brj5nd.js} +16 -18
- package/dist/cli/{rewriteImports-d1gmaa68.js → rewriteImports-k6rjjmg1.js} +2 -100
- package/dist/cli/{routes-0xpanj8z.js → routes-ey0sw1eq.js} +7 -9
- package/dist/cli/start-36w63t6h.js +20 -0
- package/dist/cli/telemetry-3wnc06wa.js +9 -0
- package/dist/cli/{tunnelRelay-5at2v8w6.js → tunnelRelay-19ay0fxn.js} +3 -4
- package/dist/cli/{typecheck-yj9s13eb.js → typecheck-nmf6e7k7.js} +147 -149
- package/dist/cli/{workspace-m56sgfkc.js → workspace-yetzedke.js} +32 -36
- package/dist/client/chunks/{index-dk743xs6.js → index-8m2qq61n.js} +12 -8
- package/dist/client/chunks/{index-dk743xs6.js.map → index-8m2qq61n.js.map} +4 -3
- package/dist/client/chunks/{index-m35nbkdp.js → islands-rc28k5sx.js} +104 -42
- package/dist/client/chunks/islands-rc28k5sx.js.map +15 -0
- package/dist/client/chunks/{react-yq4ss9y4.js → react-dcvkaba2.js} +5 -7
- package/dist/client/chunks/{react-yq4ss9y4.js.map → react-dcvkaba2.js.map} +2 -2
- package/dist/client/chunks/{svelte-s0c964kb.js → svelte-4yfa5bxa.js} +2 -4
- package/dist/client/chunks/{svelte-s0c964kb.js.map → svelte-4yfa5bxa.js.map} +2 -2
- package/dist/client/chunks/{vue-rdskrnyg.js → vue-a84fzp3v.js} +2 -4
- package/dist/client/chunks/{vue-rdskrnyg.js.map → vue-a84fzp3v.js.map} +2 -2
- package/dist/client/index.js +42 -15
- package/dist/client/index.js.map +2 -2
- package/dist/client/prefetch.js +1 -3
- package/dist/client/prefetch.js.map +2 -2
- package/dist/core/streamingSlotRegistrar.js +1 -64
- package/dist/core/streamingSlotRegistrar.js.map +2 -2
- package/dist/core/streamingSlotRegistry.js +1 -64
- package/dist/core/streamingSlotRegistry.js.map +2 -2
- package/dist/dev/serverBootstrap.js +1802 -2018
- package/dist/index.js +5247 -8794
- package/dist/index.js.map +9 -20
- package/dist/islands/browser.js +13 -3
- package/dist/islands/browser.js.map +2 -2
- package/dist/islands/index.js +26 -142
- package/dist/islands/index.js.map +2 -2
- package/dist/mobile/browser.js +13 -3
- package/dist/mobile/browser.js.map +2 -2
- package/dist/mobile/index.js +1067 -2182
- package/dist/mobile/index.js.map +2 -2
- package/dist/mobile/remoteMacAgentEntry.js +156 -156
- package/dist/mobile/shellAuth.js +0 -16
- package/dist/mobile/shellBootstrap.js +734 -724
- package/dist/mobile/shellExpoAuth.js +4 -18
- package/dist/mobile/shellExpoDevices.js +0 -16
- package/dist/mobile/shellExpoSync.js +0 -16
- package/dist/mobile/shellSync.js +3 -19
- package/dist/mobile/shellUpdate.js +5 -21
- package/dist/mobile/uiPrimitives.js +0 -16
- package/dist/react/browser.js +15 -5
- package/dist/react/browser.js.map +2 -2
- package/dist/react/components/index.js +68 -58
- package/dist/react/components/index.js.map +4 -4
- package/dist/react/hooks/index.js +1 -63
- package/dist/react/hooks/index.js.map +2 -2
- package/dist/react/index.js +56 -195
- package/dist/react/index.js.map +5 -5
- package/dist/react/jsxDevRuntimeCompat.js +1 -64
- package/dist/react/jsxDevRuntimeCompat.js.map +2 -2
- package/dist/react/jsxRuntimeCompat.js +1 -64
- package/dist/react/jsxRuntimeCompat.js.map +2 -2
- package/dist/react/router/browser.js +1 -64
- package/dist/react/router/browser.js.map +2 -2
- package/dist/react/router/index.js +1 -64
- package/dist/react/router/index.js.map +2 -2
- package/dist/react/server.js +38 -51
- package/dist/react/server.js.map +5 -5
- package/dist/src/cli/config/server.d.ts +7 -129
- package/dist/src/cli/patchedBun.d.ts +14 -14
- package/dist/src/core/prepare.d.ts +149 -1805
- package/dist/src/core/requestContext.d.ts +1 -1
- package/dist/src/dev/requestInspector.d.ts +1 -1
- package/dist/src/mobile/associationFiles.d.ts +2 -2
- package/dist/src/mobile/compatibilityDispatcher.d.ts +1 -1
- package/dist/src/mobile/mobilePreview.d.ts +8 -130
- package/dist/src/mobile/updateServer.d.ts +2 -2
- package/dist/src/plugins/devtoolsJson.d.ts +2 -2
- package/dist/src/plugins/hmr.d.ts +2 -2
- package/dist/src/plugins/imageOptimizer.d.ts +2 -151
- package/dist/src/plugins/telemetryPlugin.d.ts +1 -19
- package/dist/svelte/browser.js +13 -3
- package/dist/svelte/browser.js.map +2 -2
- package/dist/svelte/index.js +66 -210
- package/dist/svelte/index.js.map +5 -5
- package/dist/svelte/server.js +51 -99
- package/dist/svelte/server.js.map +5 -5
- package/dist/types/globals.d.ts +0 -6
- package/dist/vue/browser.js +13 -3
- package/dist/vue/browser.js.map +2 -2
- package/dist/vue/components/Image.js +13 -3
- package/dist/vue/components/Image.js.map +2 -2
- package/dist/vue/components/index.js +62 -50
- package/dist/vue/components/index.js.map +4 -4
- package/dist/vue/index.js +1115 -1258
- package/dist/vue/index.js.map +10 -10
- package/dist/vue/server.js +42 -59
- package/dist/vue/server.js.map +5 -5
- package/package.json +9 -9
- package/dist/cli/androidEmulatorController-sj141e1c.js +0 -30
- package/dist/cli/config-rjeexvza.js +0 -8
- package/dist/cli/emulatorDoctor-gzarrsex.js +0 -18
- package/dist/cli/emulatorInstaller-pjw4ex6q.js +0 -15
- package/dist/cli/env-4f6f6z69.js +0 -14
- package/dist/cli/eslint-qfkxe89p.js +0 -20
- package/dist/cli/eslintChunked-7ef700pn.js +0 -21
- package/dist/cli/expoDevController-weywa74d.js +0 -26
- package/dist/cli/expoProject-w2pzjwnx.js +0 -11
- package/dist/cli/index-1rabqyq0.js +0 -7
- package/dist/cli/index-ar4gz15x.js +0 -60
- package/dist/cli/iosSimulatorController-xcxxfkzx.js +0 -34
- package/dist/cli/nativeAuth-zx4tsb1f.js +0 -38
- package/dist/cli/patchedBun-zjtrn2s4.js +0 -38
- package/dist/cli/prerender-yex2zwj3.js +0 -18
- package/dist/cli/remoteMacProtocol-r38jhg44.js +0 -69
- package/dist/cli/start-gzhrkhxe.js +0 -23
- package/dist/cli/telemetry-94rka1w2.js +0 -14
- package/dist/client/chunks/angularPatch-arh4sr68.js +0 -157
- package/dist/client/chunks/angularPatch-arh4sr68.js.map +0 -10
- package/dist/client/chunks/index-jrcwp722.js +0 -12
- package/dist/client/chunks/index-jrcwp722.js.map +0 -10
- package/dist/client/chunks/index-m35nbkdp.js.map +0 -12
- package/dist/client/chunks/index-qxjc7kc5.js +0 -12
- package/dist/client/chunks/index-qxjc7kc5.js.map +0 -9
- package/dist/client/chunks/islands-50dg63j9.js +0 -284
- package/dist/client/chunks/islands-50dg63j9.js.map +0 -14
- /package/dist/cli/{index-me8nczrw.js → index-039rh39e.js} +0 -0
- /package/dist/cli/{index-bw4ktfnz.js → index-1y5mmnwg.js} +0 -0
- /package/dist/cli/{index-5xfxd7xa.js → index-3wm8p7rg.js} +0 -0
- /package/dist/cli/{index-4rme31py.js → index-420h9hq7.js} +0 -0
- /package/dist/cli/{index-4rhxthsy.js → index-65kqn88a.js} +0 -0
- /package/dist/cli/{index-r8x3839e.js → index-71gchbzt.js} +0 -0
- /package/dist/cli/{index-s2tazax7.js → index-92g14j47.js} +0 -0
- /package/dist/cli/{index-j66p8hn5.js → index-bwsa6ax4.js} +0 -0
- /package/dist/cli/{index-bzs19w3r.js → index-e6ysp900.js} +0 -0
- /package/dist/cli/{index-06cmrcdq.js → index-h7qhz02e.js} +0 -0
- /package/dist/cli/{index-6h54jqdq.js → index-hg54jyts.js} +0 -0
- /package/dist/cli/{index-czwrxgdj.js → index-hxqprc80.js} +0 -0
- /package/dist/cli/{index-zh6hhrwy.js → index-jjfbjv1z.js} +0 -0
- /package/dist/cli/{index-fc9vxw56.js → index-prs14ys9.js} +0 -0
- /package/dist/cli/{index-v1k46q3x.js → index-tx0kx9zx.js} +0 -0
- /package/dist/cli/{index-fhaf3tdk.js → index-x8x0f3ha.js} +0 -0
- /package/dist/cli/{index-18q9qc7f.js → index-ypcqx24p.js} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./index-
|
|
3
|
+
requireAbsoluteIosReleaseMetadata,
|
|
4
|
+
installAbsoluteIosRelease
|
|
5
|
+
} from "./index-thqwfzy8.js";
|
|
6
6
|
import {
|
|
7
7
|
unrefTimer
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-1y5mmnwg.js";
|
|
9
9
|
|
|
10
10
|
// src/mobile/remoteMacProtocol.ts
|
|
11
11
|
import { createHash, randomUUID } from "crypto";
|
|
@@ -135,7 +135,7 @@ var requireRemoteSuccess = (result, label) => {
|
|
|
135
135
|
throw new Error(`${label} failed: ${(result.stderr || result.stdout).trim() || `status ${result.exitCode}`}`);
|
|
136
136
|
return result.stdout.trim();
|
|
137
137
|
};
|
|
138
|
-
var
|
|
138
|
+
var captureAbsoluteRemoteMacCommand2 = async (profile, command, transport) => {
|
|
139
139
|
if (command.length === 0)
|
|
140
140
|
throw new TypeError("A Remote Mac command cannot be empty.");
|
|
141
141
|
if (command.some((argument) => /[\r\n\0]/u.test(argument)))
|
|
@@ -147,7 +147,7 @@ var captureAbsoluteRemoteMacCommand = async (profile, command, transport) => {
|
|
|
147
147
|
shellQuote(command.map((argument) => shellQuote(argument)).join(" "))
|
|
148
148
|
]);
|
|
149
149
|
};
|
|
150
|
-
var
|
|
150
|
+
var getAbsoluteRemoteMacProfile2 = async (name, profilePath) => {
|
|
151
151
|
const store = await loadStore(profilePath);
|
|
152
152
|
const selected = name ?? process.env.ABSOLUTE_IOS_REMOTE ?? store.defaultProfile;
|
|
153
153
|
if (!selected)
|
|
@@ -157,7 +157,7 @@ var getAbsoluteRemoteMacProfile = async (name, profilePath) => {
|
|
|
157
157
|
throw new Error(`Remote Mac profile ${JSON.stringify(selected)} was not found.`);
|
|
158
158
|
return profile;
|
|
159
159
|
};
|
|
160
|
-
var
|
|
160
|
+
var inspectAbsoluteRemoteMac2 = async (destination, options = {}) => {
|
|
161
161
|
const profile = {
|
|
162
162
|
destination: validateAbsoluteSshDestination(destination),
|
|
163
163
|
port: validatePort(options.port)
|
|
@@ -180,7 +180,7 @@ var inspectAbsoluteRemoteMac = async (destination, options = {}) => {
|
|
|
180
180
|
throw new Error("The remote Mac must have full Xcode installed and selected.");
|
|
181
181
|
return { bunPath, home, os: operatingSystem, xcodeVersion };
|
|
182
182
|
};
|
|
183
|
-
var
|
|
183
|
+
var inspectAbsoluteRemoteMacLanHost2 = async (profile, transport) => {
|
|
184
184
|
const capture = transport?.capture ?? defaultTransport.capture;
|
|
185
185
|
const script = `default_interface="$(/sbin/route -n get default 2>/dev/null | /usr/bin/awk '/interface:/{print $2; exit}')"; for interface in "$default_interface" en0 en1; do [ -n "$interface" ] || continue; address="$(/usr/sbin/ipconfig getifaddr "$interface" 2>/dev/null || true)"; if [ -n "$address" ]; then printf '%s\\n' "$address"; exit 0; fi; done; exit 1`;
|
|
186
186
|
const result = await capture([
|
|
@@ -193,18 +193,18 @@ var inspectAbsoluteRemoteMacLanHost = async (profile, transport) => {
|
|
|
193
193
|
throw new Error("The Remote Mac did not report a device-reachable LAN address.");
|
|
194
194
|
return host;
|
|
195
195
|
};
|
|
196
|
-
var
|
|
196
|
+
var listAbsoluteRemoteMacProfiles2 = async (profilePath) => {
|
|
197
197
|
const store = await loadStore(profilePath);
|
|
198
198
|
return {
|
|
199
199
|
defaultProfile: store.defaultProfile,
|
|
200
200
|
profiles: Object.values(store.profiles).sort((left, right) => left.name.localeCompare(right.name))
|
|
201
201
|
};
|
|
202
202
|
};
|
|
203
|
-
var
|
|
203
|
+
var pairAbsoluteRemoteMac2 = async (options) => {
|
|
204
204
|
const name = validateAbsoluteRemoteMacProfileName(options.name);
|
|
205
205
|
const destination = validateAbsoluteSshDestination(options.destination);
|
|
206
206
|
const port = validatePort(options.port);
|
|
207
|
-
const inspection = await
|
|
207
|
+
const inspection = await inspectAbsoluteRemoteMac2(destination, {
|
|
208
208
|
acceptNew: true,
|
|
209
209
|
port,
|
|
210
210
|
transport: options.transport
|
|
@@ -227,7 +227,7 @@ var pairAbsoluteRemoteMac = async (options) => {
|
|
|
227
227
|
await saveStore(store, options.profilePath);
|
|
228
228
|
return profile;
|
|
229
229
|
};
|
|
230
|
-
var
|
|
230
|
+
var removeAbsoluteRemoteMacProfile2 = async (name, profilePath) => {
|
|
231
231
|
const normalized = validateAbsoluteRemoteMacProfileName(name);
|
|
232
232
|
const store = await loadStore(profilePath);
|
|
233
233
|
if (!store.profiles[normalized])
|
|
@@ -241,12 +241,12 @@ var removeAbsoluteRemoteMacProfile = async (name, profilePath) => {
|
|
|
241
241
|
return true;
|
|
242
242
|
};
|
|
243
243
|
var projectIdentity = (projectRoot, appId) => createHash("sha256").update(`${resolvePath(projectRoot)}\x00${appId}`).digest("hex").slice(0, 20);
|
|
244
|
-
var
|
|
244
|
+
var createAbsoluteRemoteExpoIosDevProject2 = (config, projectRoot, profile) => {
|
|
245
245
|
if (config.engine !== "expo")
|
|
246
246
|
throw new TypeError("Remote Expo execution requires mobile.engine: expo.");
|
|
247
|
-
return
|
|
247
|
+
return createAbsoluteRemoteIosDevProject2(config, projectRoot, profile);
|
|
248
248
|
};
|
|
249
|
-
var
|
|
249
|
+
var createAbsoluteRemoteIosDevProject2 = (config, projectRoot, profile) => ({
|
|
250
250
|
cap: join(resolvePath(projectRoot), "node_modules", ".bin", "cap"),
|
|
251
251
|
config,
|
|
252
252
|
nativeDirectory: join(config.nativeProjectDirectory, "ios"),
|
|
@@ -314,7 +314,7 @@ var acquireAbsoluteRemoteMacReleaseLease = async (project, options = {}) => {
|
|
|
314
314
|
release: () => runOwned(`rm -rf ${shellQuote(path)}`)
|
|
315
315
|
};
|
|
316
316
|
};
|
|
317
|
-
var
|
|
317
|
+
var cleanAbsoluteRemoteMacWorkspace2 = async (profile, transport) => {
|
|
318
318
|
const root = profile.workspaceRoot;
|
|
319
319
|
const projects = posix.join(root, "projects");
|
|
320
320
|
const script = [
|
|
@@ -337,7 +337,7 @@ var cleanAbsoluteRemoteMacWorkspace = async (profile, transport) => {
|
|
|
337
337
|
throw new TypeError("Remote Mac returned an invalid cleanup result.");
|
|
338
338
|
return { profile: profile.name, removed, workspaceRoot: root };
|
|
339
339
|
};
|
|
340
|
-
var
|
|
340
|
+
var inspectAbsoluteRemoteMacWorkspace2 = async (profile, transport) => {
|
|
341
341
|
const root = profile.workspaceRoot;
|
|
342
342
|
const script = [
|
|
343
343
|
"set -eu",
|
|
@@ -735,7 +735,7 @@ var consumeLines = async (stream, onLine) => {
|
|
|
735
735
|
reader.releaseLock();
|
|
736
736
|
}
|
|
737
737
|
};
|
|
738
|
-
var
|
|
738
|
+
var buildAbsoluteRemoteIosRelease2 = async (options) => {
|
|
739
739
|
const startedAt = performance.now();
|
|
740
740
|
options.signal?.throwIfAborted();
|
|
741
741
|
const operation = new AbortController;
|
|
@@ -924,7 +924,7 @@ var requireRemoteIosReleaseAcceptance = (value, release, distribution) => {
|
|
|
924
924
|
throw new TypeError("Remote Mac iOS release evidence does not match the immutable release or requested lane.");
|
|
925
925
|
return value;
|
|
926
926
|
};
|
|
927
|
-
var
|
|
927
|
+
var runAbsoluteRemoteIosReleaseAcceptance2 = async (options) => {
|
|
928
928
|
options.signal?.throwIfAborted();
|
|
929
929
|
if (options.distribution !== "simulator-release" && !options.deviceIdentifier)
|
|
930
930
|
throw new TypeError("Remote physical iOS release acceptance requires a device identifier.");
|
|
@@ -1081,7 +1081,7 @@ var runAbsoluteRemoteIosReleaseAcceptance = async (options) => {
|
|
|
1081
1081
|
}
|
|
1082
1082
|
}
|
|
1083
1083
|
};
|
|
1084
|
-
var
|
|
1084
|
+
var startAbsoluteRemoteExpoIosDevSession2 = async (options) => {
|
|
1085
1085
|
let session = await startAbsoluteRemoteDevSession({
|
|
1086
1086
|
certificateAuthorityPath: options.certificateAuthorityPath,
|
|
1087
1087
|
deviceIdentifier: options.deviceIdentifier,
|
|
@@ -1111,7 +1111,7 @@ var startAbsoluteRemoteExpoIosDevSession = async (options) => {
|
|
|
1111
1111
|
};
|
|
1112
1112
|
return expoSession;
|
|
1113
1113
|
};
|
|
1114
|
-
var
|
|
1114
|
+
var startAbsoluteRemoteIosDevSession2 = (options) => startAbsoluteRemoteDevSession(options);
|
|
1115
1115
|
var startAbsoluteRemoteDevSession = async (options) => {
|
|
1116
1116
|
const startedAt = performance.now();
|
|
1117
1117
|
const transport = options.transport ?? defaultTransport;
|
|
@@ -1227,14 +1227,14 @@ var startAbsoluteRemoteDevSession = async (options) => {
|
|
|
1227
1227
|
rejectReady(fatal);
|
|
1228
1228
|
}
|
|
1229
1229
|
if (event.type === "response") {
|
|
1230
|
-
const
|
|
1231
|
-
if (!
|
|
1230
|
+
const request = pending.get(event.id);
|
|
1231
|
+
if (!request)
|
|
1232
1232
|
return;
|
|
1233
1233
|
pending.delete(event.id);
|
|
1234
1234
|
if (event.ok)
|
|
1235
|
-
|
|
1235
|
+
request.resolve(event.result);
|
|
1236
1236
|
else
|
|
1237
|
-
|
|
1237
|
+
request.reject(new Error(event.error ?? "Remote command failed."));
|
|
1238
1238
|
}
|
|
1239
1239
|
};
|
|
1240
1240
|
const stdoutDone = consumeLines(process2.stdout, (line) => {
|
|
@@ -1376,4 +1376,4 @@ var startAbsoluteRemoteDevSession = async (options) => {
|
|
|
1376
1376
|
return makeSession();
|
|
1377
1377
|
};
|
|
1378
1378
|
|
|
1379
|
-
export {
|
|
1379
|
+
export { captureAbsoluteRemoteMacCommand2, getAbsoluteRemoteMacProfile2, inspectAbsoluteRemoteMac2, inspectAbsoluteRemoteMacLanHost2, listAbsoluteRemoteMacProfiles2, pairAbsoluteRemoteMac2, removeAbsoluteRemoteMacProfile2, createAbsoluteRemoteExpoIosDevProject2, createAbsoluteRemoteIosDevProject2, cleanAbsoluteRemoteMacWorkspace2, inspectAbsoluteRemoteMacWorkspace2, buildAbsoluteRemoteIosRelease2, runAbsoluteRemoteIosReleaseAcceptance2, startAbsoluteRemoteExpoIosDevSession2, startAbsoluteRemoteIosDevSession2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
MILLISECONDS_IN_A_MINUTE,
|
|
4
3
|
MILLISECONDS_IN_A_SECOND,
|
|
4
|
+
MILLISECONDS_IN_A_MINUTE,
|
|
5
5
|
TIME_PRECISION
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-hxqprc80.js";
|
|
7
7
|
|
|
8
8
|
// src/utils/getDurationString.ts
|
|
9
9
|
var getDurationString = (duration) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
findRoutingFile,
|
|
4
|
-
wireRoute
|
|
5
|
-
} from "./index-j2nw3edf.js";
|
|
6
2
|
import {
|
|
7
3
|
frameworks,
|
|
8
4
|
sharedDirFor,
|
|
9
5
|
toModuleSpecifier
|
|
10
|
-
} from "./index-
|
|
6
|
+
} from "./index-snbzdwb9.js";
|
|
7
|
+
import {
|
|
8
|
+
findRoutingFile,
|
|
9
|
+
wireRoute
|
|
10
|
+
} from "./index-3gtnqd57.js";
|
|
11
11
|
|
|
12
12
|
// src/cli/generate/naming.ts
|
|
13
13
|
var tokenize = (raw) => raw.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g, "$1 $2").split(/[^a-zA-Z0-9]+/).filter((token) => token.length > 0).map((token) => token.toLowerCase());
|
|
@@ -83,12 +83,12 @@ var fileForKey = (stylesDir, assetKey) => {
|
|
|
83
83
|
var planCss = (routingText, stylesDir, pascal, kebab) => {
|
|
84
84
|
const sharedKey = detectSharedKey(routingText);
|
|
85
85
|
if (sharedKey) {
|
|
86
|
-
const
|
|
86
|
+
const cssFileAbs = fileForKey(stylesDir, sharedKey);
|
|
87
87
|
return {
|
|
88
88
|
assetKey: sharedKey,
|
|
89
89
|
contents: DEFAULT_CSS,
|
|
90
|
-
create: !existsSync(
|
|
91
|
-
cssFileAbs
|
|
90
|
+
create: !existsSync(cssFileAbs),
|
|
91
|
+
cssFileAbs,
|
|
92
92
|
shared: true
|
|
93
93
|
};
|
|
94
94
|
}
|
|
@@ -167,12 +167,12 @@ var indentOf = (text, position) => {
|
|
|
167
167
|
var insertElement = (text, array, sourceFile, entry) => {
|
|
168
168
|
const { elements } = array;
|
|
169
169
|
if (elements.length === 0) {
|
|
170
|
-
const
|
|
171
|
-
const
|
|
172
|
-
const
|
|
173
|
-
${
|
|
170
|
+
const insertAt = array.getStart(sourceFile) + 1;
|
|
171
|
+
const indent = `${indentOf(text, array.getStart(sourceFile))} `;
|
|
172
|
+
const insertion = `
|
|
173
|
+
${indent}${entry}
|
|
174
174
|
${indentOf(text, array.getStart(sourceFile))}`;
|
|
175
|
-
return text.slice(0,
|
|
175
|
+
return text.slice(0, insertAt) + insertion + text.slice(insertAt);
|
|
176
176
|
}
|
|
177
177
|
const last = elements[elements.length - 1];
|
|
178
178
|
if (!last)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
toModuleSpecifier
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-snbzdwb9.js";
|
|
5
5
|
|
|
6
6
|
// src/cli/generate/routeWiring.ts
|
|
7
7
|
import ts from "typescript";
|
|
@@ -68,8 +68,8 @@ var findRouteInsertion = (text, top) => {
|
|
|
68
68
|
const calls = collectCalls(top);
|
|
69
69
|
const boundary = calls.find(isBoundary);
|
|
70
70
|
if (boundary) {
|
|
71
|
-
const
|
|
72
|
-
return { offset
|
|
71
|
+
const offset = receiverEnd(boundary);
|
|
72
|
+
return { offset, separator: separatorBefore(text, offset) };
|
|
73
73
|
}
|
|
74
74
|
const last = calls[calls.length - 1];
|
|
75
75
|
const offset = last ? last.getEnd() : top.getEnd();
|
|
@@ -119,8 +119,8 @@ var mergeNamedEdit = (decl, sourceFile, missing) => {
|
|
|
119
119
|
const { elements } = bindings;
|
|
120
120
|
const additions = missing.join(", ");
|
|
121
121
|
if (elements.length === 0) {
|
|
122
|
-
const
|
|
123
|
-
return { end:
|
|
122
|
+
const insertAt = bindings.getStart(sourceFile) + 1;
|
|
123
|
+
return { end: insertAt, start: insertAt, text: additions };
|
|
124
124
|
}
|
|
125
125
|
const last = elements[elements.length - 1];
|
|
126
126
|
if (!last)
|
|
@@ -6,21 +6,11 @@ var SERVER_OUTPUT_LIMIT = 4000;
|
|
|
6
6
|
var STARTUP_POLL_INTERVAL_MS = 100;
|
|
7
7
|
var DEFAULT_STARTUP_TIMEOUT_MS = 30000;
|
|
8
8
|
var DEFAULT_FETCH_TIMEOUT_MS = 1e4;
|
|
9
|
-
var PRERENDER_BYPASS_HEADER = "X-Absolute-Prerender-Bypass";
|
|
10
9
|
var routeToFilename = (route) => route === "/" ? "index.html" : `${route.slice(1).replace(/\//g, "-")}.html`;
|
|
11
10
|
var writeTimestamp = async (htmlPath) => {
|
|
12
11
|
const metaPath = htmlPath.replace(/\.html$/, ".meta");
|
|
13
12
|
await Bun.write(metaPath, String(Date.now()));
|
|
14
13
|
};
|
|
15
|
-
var readTimestamp = (htmlPath) => {
|
|
16
|
-
const metaPath = htmlPath.replace(/\.html$/, ".meta");
|
|
17
|
-
try {
|
|
18
|
-
const content = readFileSync(metaPath, "utf-8");
|
|
19
|
-
return Number(content) || 0;
|
|
20
|
-
} catch {
|
|
21
|
-
return 0;
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
14
|
var extractLinks = (html, visited) => {
|
|
25
15
|
const links = [];
|
|
26
16
|
const linkRegex = /href=["'](\/[^"']*?)["']/g;
|
|
@@ -70,26 +60,6 @@ var crawlRoutes = async (baseUrl) => {
|
|
|
70
60
|
await crawlNextRoute();
|
|
71
61
|
return routes;
|
|
72
62
|
};
|
|
73
|
-
var rerenderRoute = async (route, port, prerenderDir) => {
|
|
74
|
-
try {
|
|
75
|
-
const res = await fetchWithTimeout(`http://localhost:${port}${route}`, {
|
|
76
|
-
headers: { [PRERENDER_BYPASS_HEADER]: "1" },
|
|
77
|
-
redirect: "manual"
|
|
78
|
-
});
|
|
79
|
-
if (!res.ok)
|
|
80
|
-
return false;
|
|
81
|
-
const html = await res.text();
|
|
82
|
-
if (!isCompleteHtml(html))
|
|
83
|
-
return false;
|
|
84
|
-
const fileName = routeToFilename(route);
|
|
85
|
-
const filePath = join(prerenderDir, fileName);
|
|
86
|
-
await Bun.write(filePath, html);
|
|
87
|
-
await writeTimestamp(filePath);
|
|
88
|
-
return true;
|
|
89
|
-
} catch {
|
|
90
|
-
return false;
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
63
|
var prerenderRoute = async (baseUrl, route, prerenderDir, result, log) => {
|
|
94
64
|
const res = await fetchWithTimeout(`${baseUrl}${route}`, {
|
|
95
65
|
redirect: "manual"
|
|
@@ -208,7 +178,7 @@ Server output:
|
|
|
208
178
|
${serverOutput}` : "Server failed to start for pre-rendering";
|
|
209
179
|
return new Error(message);
|
|
210
180
|
};
|
|
211
|
-
var
|
|
181
|
+
var prerenderWithServer2 = async (serverBundlePath, port, outDir, staticConfig, env, log) => {
|
|
212
182
|
const serverOutput = [];
|
|
213
183
|
const serverProcess = Bun.spawn(["bun", "run", serverBundlePath], {
|
|
214
184
|
cwd: process.cwd(),
|
|
@@ -240,4 +210,4 @@ var prerenderWithServer = async (serverBundlePath, port, outDir, staticConfig, e
|
|
|
240
210
|
return result;
|
|
241
211
|
};
|
|
242
212
|
|
|
243
|
-
export {
|
|
213
|
+
export { prerenderWithServer2 };
|
|
@@ -5,7 +5,7 @@ import { homedir } from "os";
|
|
|
5
5
|
import { join } from "path";
|
|
6
6
|
var configDir = join(homedir(), ".absolutejs");
|
|
7
7
|
var configPath = join(configDir, "telemetry.json");
|
|
8
|
-
var
|
|
8
|
+
var getTelemetryConfig2 = () => {
|
|
9
9
|
try {
|
|
10
10
|
if (!existsSync(configPath))
|
|
11
11
|
return null;
|
|
@@ -16,17 +16,13 @@ var getTelemetryConfig = () => {
|
|
|
16
16
|
return null;
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
|
-
var isTelemetryEnabled = () => {
|
|
20
|
-
const config = getTelemetryConfig();
|
|
21
|
-
return config?.enabled === true;
|
|
22
|
-
};
|
|
23
19
|
var saveTelemetryConfig = (config) => {
|
|
24
20
|
mkdirSync(configDir, { recursive: true });
|
|
25
21
|
writeFileSync(configPath, `${JSON.stringify(config, null, "\t")}
|
|
26
22
|
`);
|
|
27
23
|
};
|
|
28
24
|
var enable = () => {
|
|
29
|
-
const existing =
|
|
25
|
+
const existing = getTelemetryConfig2();
|
|
30
26
|
const config = {
|
|
31
27
|
anonymousId: existing?.anonymousId ?? crypto.randomUUID(),
|
|
32
28
|
createdAt: existing?.createdAt ?? new Date().toISOString(),
|
|
@@ -37,14 +33,14 @@ var enable = () => {
|
|
|
37
33
|
console.log(`Anonymous ID: ${config.anonymousId}`);
|
|
38
34
|
};
|
|
39
35
|
var disable = () => {
|
|
40
|
-
const existing =
|
|
36
|
+
const existing = getTelemetryConfig2();
|
|
41
37
|
if (existing) {
|
|
42
38
|
saveTelemetryConfig({ ...existing, enabled: false });
|
|
43
39
|
}
|
|
44
40
|
console.log("Telemetry disabled.");
|
|
45
41
|
};
|
|
46
42
|
var status = () => {
|
|
47
|
-
const config =
|
|
43
|
+
const config = getTelemetryConfig2();
|
|
48
44
|
if (!config || !config.enabled) {
|
|
49
45
|
console.log("Telemetry is disabled.");
|
|
50
46
|
} else {
|
|
@@ -52,7 +48,7 @@ var status = () => {
|
|
|
52
48
|
console.log(`Anonymous ID: ${config.anonymousId}`);
|
|
53
49
|
}
|
|
54
50
|
};
|
|
55
|
-
var
|
|
51
|
+
var telemetry2 = (args) => {
|
|
56
52
|
const [subcommand] = args;
|
|
57
53
|
if (subcommand === "enable") {
|
|
58
54
|
enable();
|
|
@@ -81,4 +77,4 @@ var telemetry = (args) => {
|
|
|
81
77
|
process.exit(1);
|
|
82
78
|
};
|
|
83
79
|
|
|
84
|
-
export {
|
|
80
|
+
export { getTelemetryConfig2, telemetry2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./index-
|
|
3
|
+
ABSOLUTE_EXPO_AUTH_CORE_VERSION2,
|
|
4
|
+
ABSOLUTE_EXPO_AUTH_PACKAGE2,
|
|
5
|
+
ABSOLUTE_EXPO_AUTH_VERSION2,
|
|
6
|
+
ABSOLUTE_EXPO_SYNC_CORE_VERSION2,
|
|
7
|
+
ABSOLUTE_EXPO_SYNC_PACKAGE2,
|
|
8
|
+
ABSOLUTE_EXPO_SYNC_VERSION2,
|
|
9
|
+
projectUsesAbsoluteSync2,
|
|
10
|
+
resolveAbsoluteMobileAuthManifest2
|
|
11
|
+
} from "./index-pch0v1z6.js";
|
|
12
12
|
|
|
13
13
|
// src/mobile/expoProject.ts
|
|
14
14
|
import {
|
|
@@ -973,8 +973,8 @@ var createAbsoluteMobileUpdateRuntimeDescriptor = (options) => ({
|
|
|
973
973
|
});
|
|
974
974
|
var fingerprintAbsoluteMobileUpdateRuntime = (descriptor) => createHash("sha256").update(canonicalizeAbsoluteMobileUpdate(descriptor)).digest("hex");
|
|
975
975
|
var resolveAbsoluteMobileUpdateRuntime = (config, projectRoot) => {
|
|
976
|
-
const auth =
|
|
977
|
-
const sync = auth !== undefined &&
|
|
976
|
+
const auth = resolveAbsoluteMobileAuthManifest2(projectRoot, config);
|
|
977
|
+
const sync = auth !== undefined && projectUsesAbsoluteSync2(projectRoot);
|
|
978
978
|
const syncSchema = sync ? discoverAbsoluteSyncSchema(projectRoot) : undefined;
|
|
979
979
|
const deviceCapabilities = resolveAbsoluteDeviceCapabilityPlan(projectRoot, config.engine);
|
|
980
980
|
const descriptor = createAbsoluteMobileUpdateRuntimeDescriptor({
|
|
@@ -2560,12 +2560,12 @@ var expoPackage = (auth, branding, sync, devices, updates) => ({
|
|
|
2560
2560
|
"@absolutejs/devices": ABSOLUTE_DEVICES_VERSION,
|
|
2561
2561
|
"@absolutejs/devices-expo": ABSOLUTE_EXPO_DEVICES_VERSION,
|
|
2562
2562
|
...auth ? {
|
|
2563
|
-
"@absolutejs/auth":
|
|
2564
|
-
[
|
|
2563
|
+
"@absolutejs/auth": ABSOLUTE_EXPO_AUTH_CORE_VERSION2,
|
|
2564
|
+
[ABSOLUTE_EXPO_AUTH_PACKAGE2]: ABSOLUTE_EXPO_AUTH_VERSION2
|
|
2565
2565
|
} : {},
|
|
2566
2566
|
...sync ? {
|
|
2567
|
-
"@absolutejs/sync":
|
|
2568
|
-
[
|
|
2567
|
+
"@absolutejs/sync": ABSOLUTE_EXPO_SYNC_CORE_VERSION2,
|
|
2568
|
+
[ABSOLUTE_EXPO_SYNC_PACKAGE2]: ABSOLUTE_EXPO_SYNC_VERSION2
|
|
2569
2569
|
} : {},
|
|
2570
2570
|
expo: "~57.0.9",
|
|
2571
2571
|
"expo-asset": "~57.0.15",
|
|
@@ -2639,24 +2639,24 @@ var expoAppConfig = (config, auth, sync, devices, runtimeFingerprint) => {
|
|
|
2639
2639
|
const devicePlugins = [
|
|
2640
2640
|
...new Set(devices.capabilities.flatMap((name) => devices.providers[name]?.plugins ?? []))
|
|
2641
2641
|
];
|
|
2642
|
-
const configuredPlugins = devicePlugins.map((
|
|
2643
|
-
if (
|
|
2642
|
+
const configuredPlugins = devicePlugins.map((plugin) => {
|
|
2643
|
+
if (plugin === "expo-image-picker")
|
|
2644
2644
|
return [
|
|
2645
|
-
|
|
2645
|
+
plugin,
|
|
2646
2646
|
{
|
|
2647
2647
|
cameraPermission: descriptions.NSCameraUsageDescription,
|
|
2648
2648
|
microphonePermission: false,
|
|
2649
2649
|
photosPermission: descriptions.NSPhotoLibraryUsageDescription
|
|
2650
2650
|
}
|
|
2651
2651
|
];
|
|
2652
|
-
if (
|
|
2652
|
+
if (plugin === "expo-location")
|
|
2653
2653
|
return [
|
|
2654
|
-
|
|
2654
|
+
plugin,
|
|
2655
2655
|
{
|
|
2656
2656
|
locationWhenInUsePermission: descriptions.NSLocationWhenInUseUsageDescription
|
|
2657
2657
|
}
|
|
2658
2658
|
];
|
|
2659
|
-
return
|
|
2659
|
+
return plugin;
|
|
2660
2660
|
});
|
|
2661
2661
|
return {
|
|
2662
2662
|
expo: {
|
|
@@ -2669,11 +2669,11 @@ var expoAppConfig = (config, auth, sync, devices, runtimeFingerprint) => {
|
|
|
2669
2669
|
"android.permission.WRITE_EXTERNAL_STORAGE"
|
|
2670
2670
|
]
|
|
2671
2671
|
} : {},
|
|
2672
|
-
intentFilters: config.deepLinkHosts.map((
|
|
2672
|
+
intentFilters: config.deepLinkHosts.map((host) => ({
|
|
2673
2673
|
action: "VIEW",
|
|
2674
2674
|
autoVerify: true,
|
|
2675
2675
|
category: ["BROWSABLE", "DEFAULT"],
|
|
2676
|
-
data: [{ host
|
|
2676
|
+
data: [{ host, pathPrefix: "/", scheme: "https" }]
|
|
2677
2677
|
})),
|
|
2678
2678
|
package: config.appId,
|
|
2679
2679
|
permissions: requirements.androidPermissions
|
|
@@ -2681,7 +2681,7 @@ var expoAppConfig = (config, auth, sync, devices, runtimeFingerprint) => {
|
|
|
2681
2681
|
experiments: { tsconfigPaths: false, typedRoutes: true },
|
|
2682
2682
|
ios: {
|
|
2683
2683
|
...branding?.ios ?? {},
|
|
2684
|
-
associatedDomains: config.deepLinkHosts.map((
|
|
2684
|
+
associatedDomains: config.deepLinkHosts.map((host) => `applinks:${host}`),
|
|
2685
2685
|
bundleIdentifier: config.appId,
|
|
2686
2686
|
infoPlist: descriptions,
|
|
2687
2687
|
...requirements.iosPrivacyAccessedApis.length > 0 ? {
|
|
@@ -3897,8 +3897,8 @@ const styles = StyleSheet.create({
|
|
|
3897
3897
|
error: { color: '#b91c1c', fontSize: 16, textAlign: 'center' }
|
|
3898
3898
|
});
|
|
3899
3899
|
`;
|
|
3900
|
-
var nativeWrapperSource = (wrapper, module,
|
|
3901
|
-
import { createAbsoluteNativeRoute, createAbsoluteNativeRouteErrorBoundary } from ${JSON.stringify(portableRelative2(dirname4(wrapper),
|
|
3900
|
+
var nativeWrapperSource = (wrapper, module, runtime, route) => `${EXPO_GENERATED_HEADER}import ApplicationNativeRoute from ${JSON.stringify(portableRelative2(dirname4(wrapper), module).replace(/\.(?:[cm]?[jt]sx?)$/u, ""))};
|
|
3901
|
+
import { createAbsoluteNativeRoute, createAbsoluteNativeRouteErrorBoundary } from ${JSON.stringify(portableRelative2(dirname4(wrapper), runtime).replace(/\.(?:[cm]?[jt]sx?)$/u, ""))};
|
|
3902
3902
|
|
|
3903
3903
|
export const ErrorBoundary = createAbsoluteNativeRouteErrorBoundary(${JSON.stringify(route)});
|
|
3904
3904
|
export default createAbsoluteNativeRoute(ApplicationNativeRoute, ${JSON.stringify(route)});
|
|
@@ -3995,14 +3995,14 @@ export const materializeAbsoluteWebBundle = async () => {
|
|
|
3995
3995
|
};
|
|
3996
3996
|
export const ABSOLUTE_MOBILE_MANIFEST: AbsoluteMobileManifest | undefined = undefined;
|
|
3997
3997
|
`;
|
|
3998
|
-
var
|
|
3998
|
+
var writeAbsoluteExpoProject2 = async (config, options) => {
|
|
3999
3999
|
if (config.engine !== "expo")
|
|
4000
4000
|
throw new TypeError("Expo project generation requires mobile.engine: expo.");
|
|
4001
4001
|
const projectRoot = resolve5(options.projectRoot);
|
|
4002
4002
|
const project = config.nativeProjectDirectory;
|
|
4003
|
-
const auth =
|
|
4003
|
+
const auth = resolveAbsoluteMobileAuthManifest2(projectRoot, config);
|
|
4004
4004
|
const devices = resolveAbsoluteDeviceCapabilityPlan(projectRoot, "expo");
|
|
4005
|
-
const syncEnabled = Boolean(auth &&
|
|
4005
|
+
const syncEnabled = Boolean(auth && projectUsesAbsoluteSync2(projectRoot));
|
|
4006
4006
|
const syncSchema = syncEnabled ? { components: discoverAbsoluteSyncSchema(projectRoot).components } : undefined;
|
|
4007
4007
|
const runtimeFingerprint = resolveAbsoluteMobileUpdateRuntime(config, projectRoot).fingerprint;
|
|
4008
4008
|
const routeModules = Object.entries(config.expoNativeRoutes);
|
|
@@ -4235,7 +4235,7 @@ export const materializeAbsoluteWebBundle = async () => {
|
|
|
4235
4235
|
catch { throw new Error('assets-finalize-failed'); }
|
|
4236
4236
|
};
|
|
4237
4237
|
`;
|
|
4238
|
-
var
|
|
4238
|
+
var syncAbsoluteExpoWebAssets2 = async (config) => {
|
|
4239
4239
|
if (config.engine !== "expo")
|
|
4240
4240
|
throw new TypeError("Expo asset sync requires mobile.engine: expo.");
|
|
4241
4241
|
const marker = join8(config.nativeProjectDirectory, EXPO_PROJECT_MARKER);
|
|
@@ -4289,4 +4289,4 @@ var syncAbsoluteExpoWebAssets = async (config) => {
|
|
|
4289
4289
|
return { appBuild, assets: assets.length, bundleId, path: destination };
|
|
4290
4290
|
};
|
|
4291
4291
|
|
|
4292
|
-
export { ABSOLUTE_NATIVE_EXACT_PACKAGES, CAPACITOR_PACKAGE_SPECS, CAPACITOR_SYNC_PACKAGE_SPECS, assertNativePackageVersions, packageNameFromSpec, packagesNeedingExactInstall, discoverAbsoluteSyncSchema, absoluteDeviceNativeRequirements, assertAbsoluteDeviceCapabilityPackages, resolveAbsoluteDeviceCapabilityPlan, ABSOLUTE_MOBILE_UPDATE_FORMAT, absoluteMobileUpdateSigningPayload, canonicalizeAbsoluteMobileUpdate, parseAbsoluteMobileUpdateManifest, unsignedAbsoluteMobileUpdate, resolveAbsoluteMobileUpdateRuntime, ABSOLUTE_CAPACITOR_ASSETS_SPEC, generateAbsoluteCapacitorBranding, inspectAbsoluteMobileBranding, renderAbsoluteMobileBrandingPreview,
|
|
4292
|
+
export { ABSOLUTE_NATIVE_EXACT_PACKAGES, CAPACITOR_PACKAGE_SPECS, CAPACITOR_SYNC_PACKAGE_SPECS, assertNativePackageVersions, packageNameFromSpec, packagesNeedingExactInstall, discoverAbsoluteSyncSchema, absoluteDeviceNativeRequirements, assertAbsoluteDeviceCapabilityPackages, resolveAbsoluteDeviceCapabilityPlan, ABSOLUTE_MOBILE_UPDATE_FORMAT, absoluteMobileUpdateSigningPayload, canonicalizeAbsoluteMobileUpdate, parseAbsoluteMobileUpdateManifest, unsignedAbsoluteMobileUpdate, resolveAbsoluteMobileUpdateRuntime, ABSOLUTE_CAPACITOR_ASSETS_SPEC, generateAbsoluteCapacitorBranding, inspectAbsoluteMobileBranding, renderAbsoluteMobileBrandingPreview, writeAbsoluteExpoProject2, syncAbsoluteExpoWebAssets2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
scanListeners
|
|
4
|
-
} from "./index-fhaf3tdk.js";
|
|
5
2
|
import {
|
|
6
3
|
listLiveInstances
|
|
7
|
-
} from "./index-
|
|
4
|
+
} from "./index-71gchbzt.js";
|
|
8
5
|
import {
|
|
9
6
|
BYTES_PER_KILOBYTE,
|
|
10
7
|
INSTANCE_PROBE_TIMEOUT_MS
|
|
11
|
-
} from "./index-
|
|
8
|
+
} from "./index-hxqprc80.js";
|
|
9
|
+
import {
|
|
10
|
+
scanListeners
|
|
11
|
+
} from "./index-x8x0f3ha.js";
|
|
12
12
|
|
|
13
13
|
// src/cli/discoverInstances.ts
|
|
14
14
|
var MS_PER_SECOND = 1000;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
findConfigObject
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-snbzdwb9.js";
|
|
5
5
|
import {
|
|
6
6
|
isRecord
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-tx0kx9zx.js";
|
|
8
8
|
|
|
9
9
|
// src/cli/config/absolute/editAbsoluteConfig.ts
|
|
10
10
|
import ts from "typescript";
|