@absolutejs/absolute 0.20.0-beta.150 → 0.20.0-beta.151
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 +7 -0
- package/changelog.json +14 -0
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +17 -15
- package/dist/build.js.map +3 -3
- package/dist/cli/{compile-351tb63a.js → compile-0e7bd2db.js} +1 -1
- package/dist/cli/{dev-b9d4vnk0.js → dev-ngcawkgx.js} +3 -3
- package/dist/cli/{index-8s6w45zc.js → index-50n5vfd1.js} +1 -1
- package/dist/cli/{index-b1vyj26r.js → index-ahbjh1eg.js} +4 -5
- package/dist/cli/{index-ezz88cdw.js → index-f6mqr467.js} +23 -48
- package/dist/cli/{index-cvkfb73g.js → index-gjkd58v4.js} +37 -11
- package/dist/cli/{index-7whcck3r.js → index-gy58r3jj.js} +1 -1
- package/dist/cli/index.js +5 -5
- package/dist/cli/{iosNativeWatcher-7n2a7nh5.js → iosNativeWatcher-4zqje67k.js} +2 -2
- package/dist/cli/{iosSimulatorController-6qfhmbq0.js → iosSimulatorController-zmhzfdqx.js} +2 -2
- package/dist/cli/{mobile-dvahvjeh.js → mobile-8r10trsk.js} +10 -11
- package/dist/cli/{remoteMacProtocol-2vffjhdd.js → remoteMacProtocol-xk8jppkj.js} +2 -2
- package/dist/cli/{start-09prwq60.js → start-d1200qc3.js} +2 -2
- package/dist/index.js +17 -15
- package/dist/index.js.map +3 -3
- package/dist/mobile/index.js +66 -67
- package/dist/mobile/index.js.map +10 -10
- package/dist/mobile/remoteMacAgentEntry.js +212 -212
- package/dist/src/mobile/iosRelease.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1343,9 +1343,9 @@ var loadAbsoluteMobileDevModules = async () => {
|
|
|
1343
1343
|
import("./emulatorDoctor-1m4rr9y3.js"),
|
|
1344
1344
|
import("./emulatorInstaller-70v711bj.js"),
|
|
1345
1345
|
import("./androidNativeWatcher-wz7vhnkr.js"),
|
|
1346
|
-
import("./iosSimulatorController-
|
|
1347
|
-
import("./remoteMacProtocol-
|
|
1348
|
-
import("./iosNativeWatcher-
|
|
1346
|
+
import("./iosSimulatorController-zmhzfdqx.js"),
|
|
1347
|
+
import("./remoteMacProtocol-xk8jppkj.js"),
|
|
1348
|
+
import("./iosNativeWatcher-4zqje67k.js"),
|
|
1349
1349
|
import("./expoNativeWatcher-aakp7xvj.js")
|
|
1350
1350
|
]);
|
|
1351
1351
|
return {
|
|
@@ -4,8 +4,9 @@ import {
|
|
|
4
4
|
inspectAbsoluteMobileToolchain2
|
|
5
5
|
} from "./index-52a2csjm.js";
|
|
6
6
|
import {
|
|
7
|
+
resolveAbsoluteIosXcodeTarget,
|
|
7
8
|
fingerprintAbsoluteIosNativeProject
|
|
8
|
-
} from "./index-
|
|
9
|
+
} from "./index-gjkd58v4.js";
|
|
9
10
|
import {
|
|
10
11
|
normalizeAbsoluteIosDeviceHost,
|
|
11
12
|
normalizeAbsoluteIosDeviceIdentifier,
|
|
@@ -522,8 +523,7 @@ var buildIosDebugApp = async (project, udid, fingerprint, run, signal) => {
|
|
|
522
523
|
await mkdir(derivedDataPath, { recursive: true });
|
|
523
524
|
await requireSuccess([
|
|
524
525
|
project.xcodebuild,
|
|
525
|
-
|
|
526
|
-
join(project.nativeDirectory, "App", "App.xcworkspace"),
|
|
526
|
+
...await resolveAbsoluteIosXcodeTarget(project.nativeDirectory),
|
|
527
527
|
"-scheme",
|
|
528
528
|
"App",
|
|
529
529
|
"-configuration",
|
|
@@ -544,8 +544,7 @@ var buildPhysicalIosDebugApp = async (project, identifier, run, signal) => {
|
|
|
544
544
|
await mkdir(derivedDataPath, { recursive: true });
|
|
545
545
|
await requireSuccess([
|
|
546
546
|
project.xcodebuild,
|
|
547
|
-
|
|
548
|
-
join(project.nativeDirectory, "App", "App.xcworkspace"),
|
|
547
|
+
...await resolveAbsoluteIosXcodeTarget(project.nativeDirectory),
|
|
549
548
|
"-scheme",
|
|
550
549
|
"App",
|
|
551
550
|
"-configuration",
|
|
@@ -796,8 +796,9 @@ var buildAbsoluteMobileCompatibilityRelease = async (options) => {
|
|
|
796
796
|
if (priorAppIds.size > 1 || priorAppIds.size === 1 && !priorAppIds.has(options.appId)) {
|
|
797
797
|
throw new TypeError("Previous mobile compatibility artifacts belong to another app.");
|
|
798
798
|
}
|
|
799
|
+
const newestGeneration = Math.max(0, ...(options.previousArtifacts ?? []).map((artifact) => artifact.generation));
|
|
799
800
|
const unchanged = options.previousArtifacts?.find((artifact) => artifact.appBuild === appBuild && artifact.runtime === options.runtime);
|
|
800
|
-
const generation = unchanged
|
|
801
|
+
const generation = unchanged && unchanged.generation === newestGeneration ? unchanged.generation : newestGeneration + 1;
|
|
801
802
|
const artifact = createAbsoluteMobileCompatibilityArtifact({
|
|
802
803
|
appBuild,
|
|
803
804
|
appId: options.appId,
|
|
@@ -944,54 +945,23 @@ var CAPACITOR_CLIENT_FRAMEWORKS = new Set([
|
|
|
944
945
|
]);
|
|
945
946
|
var CLIENT_ASSET_DIRECTORIES = ["assets", "html", "htmx", "indexes"];
|
|
946
947
|
var errorHasCode = (error, code) => typeof error === "object" && error !== null && Reflect.get(error, "code") === code;
|
|
947
|
-
var
|
|
948
|
-
const candidate = ["js", "ts"].
|
|
948
|
+
var resolveShellModule = (name, missingMessage) => {
|
|
949
|
+
const candidate = ["js", "ts"].flatMap((extension) => [
|
|
950
|
+
join2(import.meta.dir, `${name}.${extension}`),
|
|
951
|
+
join2(import.meta.dir, "..", "mobile", `${name}.${extension}`)
|
|
952
|
+
]).find(existsSync);
|
|
949
953
|
if (candidate)
|
|
950
954
|
return candidate;
|
|
951
|
-
throw new TypeError(
|
|
952
|
-
};
|
|
953
|
-
var
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
var
|
|
960
|
-
|
|
961
|
-
if (candidate)
|
|
962
|
-
return candidate;
|
|
963
|
-
throw new TypeError("AbsoluteJS Expo auth bridge module is missing.");
|
|
964
|
-
};
|
|
965
|
-
var shellSyncModule = () => {
|
|
966
|
-
const candidate = ["js", "ts"].map((extension) => join2(import.meta.dir, `shellSync.${extension}`)).find(existsSync);
|
|
967
|
-
if (candidate)
|
|
968
|
-
return candidate;
|
|
969
|
-
throw new TypeError("AbsoluteJS mobile Sync shell module is missing.");
|
|
970
|
-
};
|
|
971
|
-
var shellExpoSyncModule = () => {
|
|
972
|
-
const candidate = ["js", "ts"].map((extension) => join2(import.meta.dir, `shellExpoSync.${extension}`)).find(existsSync);
|
|
973
|
-
if (candidate)
|
|
974
|
-
return candidate;
|
|
975
|
-
throw new TypeError("AbsoluteJS Expo Sync bridge module is missing.");
|
|
976
|
-
};
|
|
977
|
-
var shellPushModule = () => {
|
|
978
|
-
const candidate = ["js", "ts"].map((extension) => join2(import.meta.dir, `shellPush.${extension}`)).find(existsSync);
|
|
979
|
-
if (candidate)
|
|
980
|
-
return candidate;
|
|
981
|
-
throw new TypeError("AbsoluteJS mobile push shell module is missing.");
|
|
982
|
-
};
|
|
983
|
-
var shellExpoDevicesModule = () => {
|
|
984
|
-
const candidate = ["js", "ts"].map((extension) => join2(import.meta.dir, `shellExpoDevices.${extension}`)).find(existsSync);
|
|
985
|
-
if (candidate)
|
|
986
|
-
return candidate;
|
|
987
|
-
throw new TypeError("AbsoluteJS Expo device bridge module is missing.");
|
|
988
|
-
};
|
|
989
|
-
var shellUpdateModule = () => {
|
|
990
|
-
const candidate = ["js", "ts"].map((extension) => join2(import.meta.dir, `shellUpdate.${extension}`)).find(existsSync);
|
|
991
|
-
if (candidate)
|
|
992
|
-
return candidate;
|
|
993
|
-
throw new TypeError("AbsoluteJS mobile update shell module is missing.");
|
|
994
|
-
};
|
|
955
|
+
throw new TypeError(missingMessage);
|
|
956
|
+
};
|
|
957
|
+
var shellBootstrapModule = () => resolveShellModule("shellBootstrap", "AbsoluteJS mobile shell bootstrap module is missing.");
|
|
958
|
+
var shellAuthModule = () => resolveShellModule("shellAuth", "AbsoluteJS mobile auth shell module is missing.");
|
|
959
|
+
var shellExpoAuthModule = () => resolveShellModule("shellExpoAuth", "AbsoluteJS Expo auth bridge module is missing.");
|
|
960
|
+
var shellSyncModule = () => resolveShellModule("shellSync", "AbsoluteJS mobile Sync shell module is missing.");
|
|
961
|
+
var shellExpoSyncModule = () => resolveShellModule("shellExpoSync", "AbsoluteJS Expo Sync bridge module is missing.");
|
|
962
|
+
var shellPushModule = () => resolveShellModule("shellPush", "AbsoluteJS mobile push shell module is missing.");
|
|
963
|
+
var shellExpoDevicesModule = () => resolveShellModule("shellExpoDevices", "AbsoluteJS Expo device bridge module is missing.");
|
|
964
|
+
var shellUpdateModule = () => resolveShellModule("shellUpdate", "AbsoluteJS mobile update shell module is missing.");
|
|
995
965
|
var shellReleaseReadinessModule = () => {
|
|
996
966
|
const candidate = ["js", "ts"].map((extension) => join2(import.meta.dir, `shellReleaseReadiness.${extension}`)).find(existsSync);
|
|
997
967
|
if (candidate)
|
|
@@ -1561,7 +1531,12 @@ var finalizeAbsoluteMobileCompatibilityBuild = async (options) => {
|
|
|
1561
1531
|
const candidates = compatibilityStore ? await carryForwardAbsoluteMobileCompatibilityReleases({
|
|
1562
1532
|
current,
|
|
1563
1533
|
store: compatibilityStore
|
|
1564
|
-
}) : [
|
|
1534
|
+
}) : [
|
|
1535
|
+
...new Map([...previous, current].map((release) => [
|
|
1536
|
+
release.artifact.appBuild,
|
|
1537
|
+
release
|
|
1538
|
+
])).values()
|
|
1539
|
+
];
|
|
1565
1540
|
const releasesById = new Map(candidates.map((release) => [release.artifact.releaseId, release]));
|
|
1566
1541
|
const retained = retainAbsoluteMobileCompatibilityArtifacts([...releasesById.values()].map(({ artifact }) => artifact));
|
|
1567
1542
|
await materializeAbsoluteMobileCompatibilityBundle({
|
|
@@ -68,6 +68,15 @@ var pathExists = async (path) => {
|
|
|
68
68
|
return false;
|
|
69
69
|
}
|
|
70
70
|
};
|
|
71
|
+
var resolveAbsoluteIosXcodeTarget = async (nativeDirectory) => {
|
|
72
|
+
const workspacePath = join(nativeDirectory, "App", "App.xcworkspace");
|
|
73
|
+
if (await pathExists(workspacePath))
|
|
74
|
+
return ["-workspace", workspacePath];
|
|
75
|
+
const projectPath = join(nativeDirectory, "App", "App.xcodeproj");
|
|
76
|
+
if (await pathExists(projectPath))
|
|
77
|
+
return ["-project", projectPath];
|
|
78
|
+
throw new TypeError(`Neither App.xcworkspace nor App.xcodeproj exists under ${join(nativeDirectory, "App")}. Generate the native project with "absolute mobile sync ios".`);
|
|
79
|
+
};
|
|
71
80
|
var defaultRun = async (command, options = {}) => {
|
|
72
81
|
const process = Bun.spawn(command, {
|
|
73
82
|
cwd: options.cwd,
|
|
@@ -104,7 +113,9 @@ var ignoredFingerprintDirectories = new Set([
|
|
|
104
113
|
"Pods",
|
|
105
114
|
"DerivedData",
|
|
106
115
|
"build",
|
|
107
|
-
"xcuserdata"
|
|
116
|
+
"xcuserdata",
|
|
117
|
+
".swiftpm",
|
|
118
|
+
"swiftpm"
|
|
108
119
|
]);
|
|
109
120
|
var fingerprintFiles = async (root, current = root, options = {}) => {
|
|
110
121
|
const entries = await readdir(current, { withFileTypes: true });
|
|
@@ -199,13 +210,27 @@ var resolveAbsoluteIosXcodeProject = async (nativeDirectory, options = {}) => {
|
|
|
199
210
|
const workspaces = requestedWorkspace ? [requestedWorkspace] : await findAllByExtension(nativeDirectory, ".xcworkspace", {
|
|
200
211
|
excludedDirectories: new Set(["Pods", "DerivedData", "build"])
|
|
201
212
|
});
|
|
202
|
-
if (workspaces.length
|
|
203
|
-
throw new TypeError(
|
|
213
|
+
if (workspaces.length > 1)
|
|
214
|
+
throw new TypeError(`iOS release found multiple Xcode workspaces: ${workspaces.map((path) => relative(nativeDirectory, path)).join(", ")}. Pass an explicit workspacePath.`);
|
|
204
215
|
const [workspacePath] = workspaces;
|
|
205
|
-
|
|
206
|
-
|
|
216
|
+
let target;
|
|
217
|
+
if (workspacePath && await pathExists(workspacePath)) {
|
|
218
|
+
target = ["-workspace", workspacePath];
|
|
219
|
+
} else if (requestedWorkspace) {
|
|
220
|
+
throw new TypeError("iOS release could not find the requested Xcode workspace.");
|
|
221
|
+
} else {
|
|
222
|
+
const projects = await findAllByExtension(nativeDirectory, ".xcodeproj", {
|
|
223
|
+
excludedDirectories: new Set(["Pods", "DerivedData", "build"])
|
|
224
|
+
});
|
|
225
|
+
if (projects.length > 1)
|
|
226
|
+
throw new TypeError(`iOS release found multiple Xcode projects: ${projects.map((path) => relative(nativeDirectory, path)).join(", ")}.`);
|
|
227
|
+
const [projectPath] = projects;
|
|
228
|
+
if (!projectPath || !await pathExists(projectPath))
|
|
229
|
+
throw new TypeError("iOS release could not find an Xcode workspace or project.");
|
|
230
|
+
target = ["-project", projectPath];
|
|
231
|
+
}
|
|
207
232
|
if (options.scheme)
|
|
208
|
-
return { scheme: options.scheme,
|
|
233
|
+
return { scheme: options.scheme, target };
|
|
209
234
|
const schemeFiles = await findAllByExtension(nativeDirectory, ".xcscheme", {
|
|
210
235
|
excludedDirectories: new Set(["Pods", "DerivedData", "build"])
|
|
211
236
|
});
|
|
@@ -214,7 +239,7 @@ var resolveAbsoluteIosXcodeProject = async (nativeDirectory, options = {}) => {
|
|
|
214
239
|
];
|
|
215
240
|
if (schemes.length !== 1 || !schemes[0])
|
|
216
241
|
throw new TypeError(schemes.length > 1 ? `iOS release found multiple shared Xcode schemes: ${schemes.join(", ")}. Pass an explicit scheme.` : "iOS release could not find a shared Xcode scheme.");
|
|
217
|
-
return { scheme: schemes[0],
|
|
242
|
+
return { scheme: schemes[0], target };
|
|
218
243
|
};
|
|
219
244
|
var exportOptions = (method) => `<?xml version="1.0" encoding="UTF-8"?>
|
|
220
245
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
@@ -388,8 +413,7 @@ var buildAbsoluteIosRelease = async (options) => {
|
|
|
388
413
|
];
|
|
389
414
|
const archiveExit = await run([
|
|
390
415
|
"xcodebuild",
|
|
391
|
-
|
|
392
|
-
xcode.workspacePath,
|
|
416
|
+
...xcode.target,
|
|
393
417
|
"-scheme",
|
|
394
418
|
xcode.scheme,
|
|
395
419
|
"-configuration",
|
|
@@ -398,6 +422,7 @@ var buildAbsoluteIosRelease = async (options) => {
|
|
|
398
422
|
"generic/platform=iOS",
|
|
399
423
|
"-archivePath",
|
|
400
424
|
archivePath,
|
|
425
|
+
"-allowProvisioningUpdates",
|
|
401
426
|
...versionArguments,
|
|
402
427
|
"archive"
|
|
403
428
|
], { cwd: nativeDirectory, env: options.env });
|
|
@@ -422,7 +447,8 @@ var buildAbsoluteIosRelease = async (options) => {
|
|
|
422
447
|
"-exportPath",
|
|
423
448
|
exportPath,
|
|
424
449
|
"-exportOptionsPlist",
|
|
425
|
-
exportPlist
|
|
450
|
+
exportPlist,
|
|
451
|
+
"-allowProvisioningUpdates"
|
|
426
452
|
], { cwd: nativeDirectory, env: options.env });
|
|
427
453
|
if (exportExit !== 0)
|
|
428
454
|
throw new TypeError("Xcode failed to export the App Store IPA.");
|
|
@@ -487,4 +513,4 @@ var installAbsoluteIosRelease = async (options) => {
|
|
|
487
513
|
return installRelease(options.artifactPath, releaseMetadata, safeOutputDirectory(options.projectRoot, options.outputDirectory), options.registeredArtifactPath);
|
|
488
514
|
};
|
|
489
515
|
|
|
490
|
-
export { fingerprintAbsoluteIosNativeProject, resolveAbsoluteIosXcodeProject, requireAbsoluteIosReleaseMetadata, buildAbsoluteIosRelease, installAbsoluteIosRelease };
|
|
516
|
+
export { resolveAbsoluteIosXcodeTarget, fingerprintAbsoluteIosNativeProject, resolveAbsoluteIosXcodeProject, requireAbsoluteIosReleaseMetadata, buildAbsoluteIosRelease, installAbsoluteIosRelease };
|
package/dist/cli/index.js
CHANGED
|
@@ -54,7 +54,7 @@ if (command === "dev") {
|
|
|
54
54
|
}
|
|
55
55
|
const positionalArgs = stripNamedArgs("--config", "--android-device", "--ios-device").filter((arg) => arg !== "--no-mobile" && arg !== "--eager");
|
|
56
56
|
const serverEntry = positionalArgs[0] ?? DEFAULT_SERVER_ENTRY;
|
|
57
|
-
const { dev } = await import("./dev-
|
|
57
|
+
const { dev } = await import("./dev-ngcawkgx.js");
|
|
58
58
|
await dev(serverEntry, configPath, {
|
|
59
59
|
androidDevice,
|
|
60
60
|
eager: args.includes("--eager"),
|
|
@@ -70,7 +70,7 @@ if (command === "dev") {
|
|
|
70
70
|
const configPath = parseNamedArg("--config");
|
|
71
71
|
const positionalArgs = stripNamedArgs("--outdir", "--config").filter((arg) => arg !== "--prebuilt");
|
|
72
72
|
const serverEntry = positionalArgs[0] ?? DEFAULT_SERVER_ENTRY;
|
|
73
|
-
const { start } = await import("./start-
|
|
73
|
+
const { start } = await import("./start-d1200qc3.js");
|
|
74
74
|
await start(serverEntry, outdir, configPath, {
|
|
75
75
|
prebuilt: args.includes("--prebuilt")
|
|
76
76
|
});
|
|
@@ -80,7 +80,7 @@ if (command === "dev") {
|
|
|
80
80
|
const configPath = parseNamedArg("--config");
|
|
81
81
|
const positionalArgs = stripNamedArgs("--outdir", "--config");
|
|
82
82
|
const serverEntry = positionalArgs[0] ?? DEFAULT_SERVER_ENTRY;
|
|
83
|
-
const { start } = await import("./start-
|
|
83
|
+
const { start } = await import("./start-d1200qc3.js");
|
|
84
84
|
await start(serverEntry, outdir, configPath, { prepareOnly: true });
|
|
85
85
|
} else if (command === "build") {
|
|
86
86
|
sendTelemetryEvent("cli:command", { command });
|
|
@@ -205,13 +205,13 @@ if (command === "dev") {
|
|
|
205
205
|
const configPath = parseNamedArg("--config");
|
|
206
206
|
const positionalArgs = stripNamedArgs("--outdir", "--outfile", "--config");
|
|
207
207
|
const serverEntry = positionalArgs[0] ?? DEFAULT_SERVER_ENTRY;
|
|
208
|
-
const { compile } = await import("./compile-
|
|
208
|
+
const { compile } = await import("./compile-0e7bd2db.js");
|
|
209
209
|
await compile(serverEntry, outdir, outfile, configPath);
|
|
210
210
|
} else if (command === "mobile") {
|
|
211
211
|
sendTelemetryEvent("cli:command", {
|
|
212
212
|
command: `mobile:${workspaceCommand ?? "unknown"}`
|
|
213
213
|
});
|
|
214
|
-
const { runMobile } = await import("./mobile-
|
|
214
|
+
const { runMobile } = await import("./mobile-8r10trsk.js");
|
|
215
215
|
try {
|
|
216
216
|
await runMobile(args);
|
|
217
217
|
} catch (error) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import"./index-fgz435qn.js";
|
|
3
3
|
import"./index-52a2csjm.js";
|
|
4
|
-
import"./index-
|
|
4
|
+
import"./index-gjkd58v4.js";
|
|
5
5
|
import {
|
|
6
6
|
fingerprintAbsoluteIosDevProject2
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-ahbjh1eg.js";
|
|
8
8
|
import"./index-v4cg4dvm.js";
|
|
9
9
|
import"./index-74m7kh8c.js";
|
|
10
10
|
import"./index-kye08pjx.js";
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
fingerprintAbsoluteIosDevProject2,
|
|
7
7
|
prepareAbsoluteIosDevProject2,
|
|
8
8
|
startAbsoluteIosDevSession2
|
|
9
|
-
} from "./index-
|
|
10
|
-
import"./index-
|
|
9
|
+
} from "./index-ahbjh1eg.js";
|
|
10
|
+
import"./index-gjkd58v4.js";
|
|
11
11
|
import"./index-52a2csjm.js";
|
|
12
12
|
import"./index-v4cg4dvm.js";
|
|
13
13
|
import"./index-74m7kh8c.js";
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
resolveAbsoluteMobileRoute,
|
|
62
62
|
ABSOLUTE_MOBILE_PAGE_PROTOCOL_VERSION,
|
|
63
63
|
ABSOLUTE_MOBILE_CLIENT_MANIFEST_FORMAT
|
|
64
|
-
} from "./index-
|
|
64
|
+
} from "./index-f6mqr467.js";
|
|
65
65
|
import {
|
|
66
66
|
buildAbsoluteExpoAndroidWslBundle2
|
|
67
67
|
} from "./index-px7fqsfk.js";
|
|
@@ -69,16 +69,16 @@ import {
|
|
|
69
69
|
resolveAbsoluteIosXcodeProject,
|
|
70
70
|
requireAbsoluteIosReleaseMetadata,
|
|
71
71
|
buildAbsoluteIosRelease
|
|
72
|
-
} from "./index-
|
|
72
|
+
} from "./index-gjkd58v4.js";
|
|
73
73
|
import {
|
|
74
74
|
ABSOLUTE_IOS_SIMULATOR_NAME2,
|
|
75
75
|
parseIosSimulators2,
|
|
76
76
|
repairAbsoluteIosDevSession2
|
|
77
|
-
} from "./index-
|
|
77
|
+
} from "./index-ahbjh1eg.js";
|
|
78
78
|
import"./index-e6ysp900.js";
|
|
79
79
|
import {
|
|
80
80
|
start2
|
|
81
|
-
} from "./index-
|
|
81
|
+
} from "./index-50n5vfd1.js";
|
|
82
82
|
import {
|
|
83
83
|
captureAbsoluteRemoteMacCommand2,
|
|
84
84
|
getAbsoluteRemoteMacProfile2,
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
inspectAbsoluteRemoteMacWorkspace2,
|
|
92
92
|
buildAbsoluteRemoteIosRelease2,
|
|
93
93
|
runAbsoluteRemoteIosReleaseAcceptance2
|
|
94
|
-
} from "./index-
|
|
94
|
+
} from "./index-gy58r3jj.js";
|
|
95
95
|
import {
|
|
96
96
|
installPackages
|
|
97
97
|
} from "./index-jjfbjv1z.js";
|
|
@@ -238,7 +238,7 @@ ${domains}
|
|
|
238
238
|
`;
|
|
239
239
|
};
|
|
240
240
|
var configureIosEntitlements = async (config) => {
|
|
241
|
-
const path = join(config.nativeProjectDirectory, "ios/App/AbsoluteJS.entitlements");
|
|
241
|
+
const path = join(config.nativeProjectDirectory, "ios/App/App/AbsoluteJS.entitlements");
|
|
242
242
|
let current = "";
|
|
243
243
|
try {
|
|
244
244
|
current = await readFile(path, "utf8");
|
|
@@ -532,7 +532,7 @@ ${content}
|
|
|
532
532
|
return infoChanged || privacyChanged || projectChanged || pushChanged;
|
|
533
533
|
};
|
|
534
534
|
var configureIosPushNotifications = async (config, enabled) => {
|
|
535
|
-
const entitlementsPath = join2(config.nativeProjectDirectory, "ios/App/AbsoluteJS.entitlements");
|
|
535
|
+
const entitlementsPath = join2(config.nativeProjectDirectory, "ios/App/App/AbsoluteJS.entitlements");
|
|
536
536
|
const entitlements = await optionalSource(entitlementsPath);
|
|
537
537
|
if (entitlements === null && !enabled)
|
|
538
538
|
return false;
|
|
@@ -3550,7 +3550,7 @@ var iosNativeSecurityCheck = async (iosRoot) => {
|
|
|
3550
3550
|
};
|
|
3551
3551
|
var iosDeepLinkProjectionCheck = async (config, iosRoot) => {
|
|
3552
3552
|
const infoPath = join8(iosRoot, "App/App/Info.plist");
|
|
3553
|
-
const entitlementsPath = join8(iosRoot, "App/AbsoluteJS.entitlements");
|
|
3553
|
+
const entitlementsPath = join8(iosRoot, "App/App/AbsoluteJS.entitlements");
|
|
3554
3554
|
const projectPath = join8(iosRoot, "App/App.xcodeproj/project.pbxproj");
|
|
3555
3555
|
try {
|
|
3556
3556
|
const [info, entitlements, project] = await Promise.all([
|
|
@@ -3670,7 +3670,7 @@ var iosCapabilityProjectionCheck = async (config, requirements) => {
|
|
|
3670
3670
|
return fail("mobile.device-capabilities", "iOS privacy manifest or target membership does not match detected native capabilities.", privacyPath, "Run `absolute mobile sync ios` to regenerate and target PrivacyInfo.xcprivacy.");
|
|
3671
3671
|
}
|
|
3672
3672
|
if (requirements.iosPushNotifications) {
|
|
3673
|
-
const entitlementsPath = join8(config.nativeProjectDirectory, "ios/App/AbsoluteJS.entitlements");
|
|
3673
|
+
const entitlementsPath = join8(config.nativeProjectDirectory, "ios/App/App/AbsoluteJS.entitlements");
|
|
3674
3674
|
const delegatePath = join8(appRoot, "AppDelegate.swift");
|
|
3675
3675
|
const [entitlements, delegate] = await Promise.all([
|
|
3676
3676
|
readFile9(entitlementsPath, "utf8").catch(() => ""),
|
|
@@ -4773,8 +4773,7 @@ var runAbsoluteIosSimulatorReleaseAcceptance = async (options) => {
|
|
|
4773
4773
|
await mkdir9(options.artifactDirectory, { recursive: true });
|
|
4774
4774
|
await requireSuccess2(run, [
|
|
4775
4775
|
xcodebuild,
|
|
4776
|
-
|
|
4777
|
-
xcode.workspacePath,
|
|
4776
|
+
...xcode.target,
|
|
4778
4777
|
"-scheme",
|
|
4779
4778
|
xcode.scheme,
|
|
4780
4779
|
"-configuration",
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
runAbsoluteRemoteIosReleaseAcceptance2,
|
|
16
16
|
startAbsoluteRemoteExpoIosDevSession2,
|
|
17
17
|
startAbsoluteRemoteIosDevSession2
|
|
18
|
-
} from "./index-
|
|
19
|
-
import"./index-
|
|
18
|
+
} from "./index-gy58r3jj.js";
|
|
19
|
+
import"./index-gjkd58v4.js";
|
|
20
20
|
import"./index-52a2csjm.js";
|
|
21
21
|
import"./index-v4cg4dvm.js";
|
|
22
22
|
import"./index-74m7kh8c.js";
|
package/dist/index.js
CHANGED
|
@@ -13740,20 +13740,22 @@ var indexContentCache, resolveDevClientDir = () => {
|
|
|
13740
13740
|
`}
|
|
13741
13741
|
`,
|
|
13742
13742
|
`function logHydrationError(error, componentName) {`,
|
|
13743
|
-
|
|
13744
|
-
|
|
13745
|
-
|
|
13746
|
-
|
|
13747
|
-
|
|
13748
|
-
|
|
13749
|
-
|
|
13750
|
-
|
|
13751
|
-
|
|
13752
|
-
|
|
13753
|
-
|
|
13754
|
-
|
|
13755
|
-
|
|
13756
|
-
|
|
13743
|
+
...isDev ? [
|
|
13744
|
+
` if (!isDev) return;`,
|
|
13745
|
+
` if (window.__HMR_WS__ && window.__HMR_WS__.readyState === WebSocket.OPEN) {`,
|
|
13746
|
+
` try {`,
|
|
13747
|
+
` window.__HMR_WS__.send(JSON.stringify({`,
|
|
13748
|
+
` type: 'hydration-error',`,
|
|
13749
|
+
` data: {`,
|
|
13750
|
+
` componentName: '${componentName}',`,
|
|
13751
|
+
` componentPath: componentPath,`,
|
|
13752
|
+
` error: error instanceof Error ? error.message : String(error),`,
|
|
13753
|
+
` timestamp: Date.now()`,
|
|
13754
|
+
` }`,
|
|
13755
|
+
` }));`,
|
|
13756
|
+
` } catch (err) {}`,
|
|
13757
|
+
` }`
|
|
13758
|
+
] : [],
|
|
13757
13759
|
`}
|
|
13758
13760
|
`,
|
|
13759
13761
|
`// Track if we've already switched to client-only mode`,
|
|
@@ -44090,5 +44092,5 @@ export {
|
|
|
44090
44092
|
wrapPageHandlerWithStreamingSlots
|
|
44091
44093
|
};
|
|
44092
44094
|
|
|
44093
|
-
//# debugId=
|
|
44095
|
+
//# debugId=1B81D7E186BD673B64756E2164756E21
|
|
44094
44096
|
//# sourceMappingURL=index.js.map
|