@absolutejs/absolute 0.20.0-beta.138 → 0.20.0-beta.139
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 +8 -2
- package/dist/build.js.map +3 -3
- package/dist/cli/{compile-3hrjsbjq.js → compile-grhs9tj4.js} +2 -2
- package/dist/cli/{dev-5akk4tw6.js → dev-4ps2yg1z.js} +2 -2
- package/dist/cli/{expoProject-4x9q22xw.js → expoProject-kabqa80q.js} +1 -1
- package/dist/cli/{index-s9374tcg.js → index-fezxjrgd.js} +1 -1
- package/dist/cli/{index-xv9msedx.js → index-h078vn9f.js} +1 -1
- package/dist/cli/{index-g407dg4f.js → index-nrtt3x67.js} +18 -2
- package/dist/cli/index-pb1dcdw6.js +4 -0
- package/dist/cli/index.js +6 -6
- package/dist/cli/{info-1hfrhf86.js → info-9ffx5h3h.js} +1 -1
- package/dist/cli/{mobile-rb3zcs4f.js → mobile-p657bkqa.js} +73 -16710
- package/dist/cli/{start-7q57gc22.js → start-3m7bd02e.js} +3 -3
- package/dist/index.js +8 -2
- package/dist/index.js.map +3 -3
- package/dist/mobile/index.js +190 -16830
- package/dist/mobile/index.js.map +6 -50
- package/dist/mobile/remoteMacAgentEntry.js +142 -142
- package/dist/src/mobile/nativePackages.d.ts +3 -0
- package/package.json +11 -3
- package/dist/cli/index-fde3c297.js +0 -37
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
createElysiaOpenApiTypeboxPlugin,
|
|
14
14
|
createOptionalPeerPlugin,
|
|
15
15
|
resolveServerBundleExternals
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-fezxjrgd.js";
|
|
17
17
|
import {
|
|
18
18
|
normalizeAbsoluteMobileConfig2
|
|
19
19
|
} from "./index-t7yf3vxs.js";
|
|
20
|
-
import"./index-
|
|
20
|
+
import"./index-nrtt3x67.js";
|
|
21
21
|
import {
|
|
22
22
|
ABSOLUTE_NATIVE_AUTH_CLIENTS_ENV2,
|
|
23
23
|
installAbsoluteMobileAuthEnvironment2
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
} from "./index-hg54jyts.js";
|
|
40
40
|
import {
|
|
41
41
|
__require
|
|
42
|
-
} from "./index-
|
|
42
|
+
} from "./index-pb1dcdw6.js";
|
|
43
43
|
import {
|
|
44
44
|
scanListeners
|
|
45
45
|
} from "./index-x8x0f3ha.js";
|
|
@@ -1314,7 +1314,7 @@ var loadAbsoluteMobileDevModules = async () => {
|
|
|
1314
1314
|
expoNativeWatcher
|
|
1315
1315
|
] = await Promise.all([
|
|
1316
1316
|
import("./config-hy5dkexz.js"),
|
|
1317
|
-
import("./expoProject-
|
|
1317
|
+
import("./expoProject-kabqa80q.js"),
|
|
1318
1318
|
import("./expoDevController-hen9sra5.js"),
|
|
1319
1319
|
import("./nativeAuth-ysv0x5dy.js"),
|
|
1320
1320
|
import("./androidEmulatorController-3zn6a4j3.js"),
|
|
@@ -52,6 +52,15 @@ var CAPACITOR_SYNC_PACKAGE_SPECS = [
|
|
|
52
52
|
`@absolutejs/sync-capacitor@${ABSOLUTE_CAPACITOR_SYNC_VERSION}`,
|
|
53
53
|
"@capacitor-community/sqlite@8.1.1"
|
|
54
54
|
];
|
|
55
|
+
var EXPO_APP_EXACT_PACKAGES = new Set([
|
|
56
|
+
"@absolutejs/devices",
|
|
57
|
+
"@absolutejs/devices-expo"
|
|
58
|
+
]);
|
|
59
|
+
var EXPO_APP_PACKAGE_SPECS = [
|
|
60
|
+
`@absolutejs/devices@${ABSOLUTE_DEVICES_VERSION}`,
|
|
61
|
+
`@absolutejs/devices-expo@${ABSOLUTE_EXPO_DEVICES_VERSION}`
|
|
62
|
+
];
|
|
63
|
+
var EXPO_CODE_SIGNING_PACKAGE_SPEC = "@expo/code-signing-certificates@0.0.6";
|
|
55
64
|
var resolvedPackageVersion = async (projectRoot, name) => {
|
|
56
65
|
const directory = resolve(projectRoot);
|
|
57
66
|
let source;
|
|
@@ -705,13 +714,20 @@ var absoluteDeviceNativeRequirements = (plan) => {
|
|
|
705
714
|
].sort()
|
|
706
715
|
};
|
|
707
716
|
};
|
|
717
|
+
var resolveAdapterManifest = (adapter, provider) => {
|
|
718
|
+
try {
|
|
719
|
+
return fileURLToPath(import.meta.resolve(`${adapter}/package.json`));
|
|
720
|
+
} catch {
|
|
721
|
+
throw new TypeError(`${adapter} is not installed. Run \`absolute mobile init\` to install the ${provider === "expo" ? "Expo" : "Capacitor"} device adapters.`);
|
|
722
|
+
}
|
|
723
|
+
};
|
|
708
724
|
var loadAbsoluteDeviceCapabilityProviders = (projectRoot, provider = "capacitor") => {
|
|
709
725
|
const adapter = ADAPTERS[provider];
|
|
710
726
|
let path = join3(resolve3(projectRoot), "node_modules", adapter, "package.json");
|
|
711
727
|
try {
|
|
712
728
|
readFileSync2(path, "utf8");
|
|
713
729
|
} catch {
|
|
714
|
-
path =
|
|
730
|
+
path = resolveAdapterManifest(adapter, provider);
|
|
715
731
|
}
|
|
716
732
|
const manifest = readJson(path);
|
|
717
733
|
const { absolutejs } = manifest;
|
|
@@ -4289,4 +4305,4 @@ var syncAbsoluteExpoWebAssets2 = async (config) => {
|
|
|
4289
4305
|
return { appBuild, assets: assets.length, bundleId, path: destination };
|
|
4290
4306
|
};
|
|
4291
4307
|
|
|
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 };
|
|
4308
|
+
export { ABSOLUTE_NATIVE_EXACT_PACKAGES, CAPACITOR_PACKAGE_SPECS, CAPACITOR_SYNC_PACKAGE_SPECS, EXPO_APP_EXACT_PACKAGES, EXPO_APP_PACKAGE_SPECS, EXPO_CODE_SIGNING_PACKAGE_SPEC, 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 };
|
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-4ps2yg1z.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-3m7bd02e.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-3m7bd02e.js");
|
|
84
84
|
await start(serverEntry, outdir, configPath, { prepareOnly: true });
|
|
85
85
|
} else if (command === "build") {
|
|
86
86
|
sendTelemetryEvent("cli:command", { command });
|
|
@@ -188,7 +188,7 @@ if (command === "dev") {
|
|
|
188
188
|
await runIslands(args);
|
|
189
189
|
} else if (command === "info") {
|
|
190
190
|
sendTelemetryEvent("cli:command", { command });
|
|
191
|
-
const { info } = await import("./info-
|
|
191
|
+
const { info } = await import("./info-9ffx5h3h.js");
|
|
192
192
|
info();
|
|
193
193
|
} else if (command === "telemetry") {
|
|
194
194
|
sendTelemetryEvent("cli:command", { command });
|
|
@@ -201,13 +201,13 @@ if (command === "dev") {
|
|
|
201
201
|
const configPath = parseNamedArg("--config");
|
|
202
202
|
const positionalArgs = stripNamedArgs("--outdir", "--outfile", "--config");
|
|
203
203
|
const serverEntry = positionalArgs[0] ?? DEFAULT_SERVER_ENTRY;
|
|
204
|
-
const { compile } = await import("./compile-
|
|
204
|
+
const { compile } = await import("./compile-grhs9tj4.js");
|
|
205
205
|
await compile(serverEntry, outdir, outfile, configPath);
|
|
206
206
|
} else if (command === "mobile") {
|
|
207
207
|
sendTelemetryEvent("cli:command", {
|
|
208
208
|
command: `mobile:${workspaceCommand ?? "unknown"}`
|
|
209
209
|
});
|
|
210
|
-
const { runMobile } = await import("./mobile-
|
|
210
|
+
const { runMobile } = await import("./mobile-p657bkqa.js");
|
|
211
211
|
try {
|
|
212
212
|
await runMobile(args);
|
|
213
213
|
} catch (error) {
|