@absolutejs/absolute 0.20.0-beta.108 → 0.20.0-beta.109
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 +6 -0
- package/README.md +5 -1
- package/changelog.json +18 -0
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +52 -2
- package/dist/build.js.map +4 -4
- package/dist/cli/{compile-hsbs1xf6.js → compile-1d5arbqj.js} +2 -2
- package/dist/cli/{config-vy04mqce.js → config-vq2qcc4p.js} +1 -1
- package/dist/cli/{dev-f6b6hkke.js → dev-f0safhsr.js} +1 -1
- package/dist/cli/{index-rd2hbttb.js → index-df2mjbdy.js} +53 -0
- package/dist/cli/{index-hrzd7e5x.js → index-dfqzrznk.js} +1 -1
- package/dist/cli/{index-mazxtfh4.js → index-gps0zk0m.js} +2 -2
- package/dist/cli/index.js +5 -5
- package/dist/cli/{mobile-7v8hfmdq.js → mobile-e4ygngfk.js} +230 -24
- package/dist/cli/{start-5grq7nfr.js → start-8v6g2y31.js} +3 -3
- package/dist/index.js +52 -2
- package/dist/index.js.map +4 -4
- package/dist/mobile/index.js +198 -17
- package/dist/mobile/index.js.map +6 -6
- package/dist/mobile/remoteMacAgentEntry.js +182 -182
- package/dist/src/build/injectVueComposableTracking.d.ts +2 -1
- package/dist/src/mobile/config.d.ts +7 -0
- package/dist/src/mobile/releaseCertification.d.ts +12 -3
- package/dist/src/mobile/releasePublisher.d.ts +13 -0
- package/dist/types/build.d.ts +13 -0
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
start
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-gps0zk0m.js";
|
|
5
|
+
import"./index-dfqzrznk.js";
|
|
6
6
|
import"./index-bzs19w3r.js";
|
|
7
7
|
import"./index-s2tazax7.js";
|
|
8
8
|
import"./index-fc9vxw56.js";
|
|
@@ -10,7 +10,7 @@ import"./index-r8x3839e.js";
|
|
|
10
10
|
import"./index-06cmrcdq.js";
|
|
11
11
|
import"./index-9kwmb3c0.js";
|
|
12
12
|
import"./index-w5vswatm.js";
|
|
13
|
-
import"./index-
|
|
13
|
+
import"./index-df2mjbdy.js";
|
|
14
14
|
import"./index-0zcebhm4.js";
|
|
15
15
|
import"./index-ar4gz15x.js";
|
|
16
16
|
import"./index-t84wxk1p.js";
|
package/dist/index.js
CHANGED
|
@@ -10644,7 +10644,7 @@ __export(exports_config, {
|
|
|
10644
10644
|
import { readFileSync as readFileSync11 } from "fs";
|
|
10645
10645
|
import { resolve as resolve12 } from "path";
|
|
10646
10646
|
import { createHash as createHash4, createPublicKey, X509Certificate } from "crypto";
|
|
10647
|
-
var APP_ID_PATTERN, SCHEME_PATTERN, APPLE_APP_ID_PREFIX_PATTERN, CERTIFICATE_FINGERPRINT_PATTERN, UPDATE_NAME_PATTERN, UPDATE_PUBLIC_KEY_PATTERN, ENVIRONMENT_NAME_PATTERN, DEFAULT_UPDATE_BOOT_TIMEOUT_MS = 20000, DEFAULT_UPDATE_HEALTH_FAILURE_RATE = 0.2, DEFAULT_UPDATE_HEALTH_MINIMUM_REPORTS = 20, DEFAULT_UPDATE_ROLLOUT_FAILURE_RATE = 0.05, DEFAULT_UPDATE_ROLLOUT_OBSERVATION_MINUTES = 60, MINUTE_MS, DEFAULT_UPDATE_ROLLOUT_STAGES, MINIMUM_UPDATE_BOOT_TIMEOUT_MS = 5000, MAXIMUM_UPDATE_BOOT_TIMEOUT_MS = 120000, HOSTNAME_PATTERN, EXPO_RESERVED_ROUTE_PREFIXES, resolveProjectPath = (projectRoot, value, field) => {
|
|
10647
|
+
var APP_ID_PATTERN, SCHEME_PATTERN, APPLE_APP_ID_PREFIX_PATTERN, CERTIFICATE_FINGERPRINT_PATTERN, UPDATE_NAME_PATTERN, RELEASE_TARGET_PATTERN, UPDATE_PUBLIC_KEY_PATTERN, ENVIRONMENT_NAME_PATTERN, DEFAULT_UPDATE_BOOT_TIMEOUT_MS = 20000, DEFAULT_UPDATE_HEALTH_FAILURE_RATE = 0.2, DEFAULT_UPDATE_HEALTH_MINIMUM_REPORTS = 20, DEFAULT_UPDATE_ROLLOUT_FAILURE_RATE = 0.05, DEFAULT_UPDATE_ROLLOUT_OBSERVATION_MINUTES = 60, MINUTE_MS, DEFAULT_UPDATE_ROLLOUT_STAGES, MINIMUM_UPDATE_BOOT_TIMEOUT_MS = 5000, MAXIMUM_UPDATE_BOOT_TIMEOUT_MS = 120000, HOSTNAME_PATTERN, EXPO_RESERVED_ROUTE_PREFIXES, resolveProjectPath = (projectRoot, value, field) => {
|
|
10648
10648
|
const root = resolve12(projectRoot);
|
|
10649
10649
|
const path = resolve12(root, value);
|
|
10650
10650
|
if (path !== root && !path.startsWith(`${root}/`)) {
|
|
@@ -10680,6 +10680,54 @@ var APP_ID_PATTERN, SCHEME_PATTERN, APPLE_APP_ID_PREFIX_PATTERN, CERTIFICATE_FIN
|
|
|
10680
10680
|
throw new TypeError("mobile.platforms must contain at least one platform.");
|
|
10681
10681
|
}
|
|
10682
10682
|
return normalized;
|
|
10683
|
+
}, normalizeAndroidCertificationPolicy = (value) => {
|
|
10684
|
+
if (value === false || value === undefined)
|
|
10685
|
+
return;
|
|
10686
|
+
if (value !== "installed")
|
|
10687
|
+
throw new TypeError("mobile.release.certification channel Android policy must be installed or false.");
|
|
10688
|
+
return value;
|
|
10689
|
+
}, normalizeIosCertificationPolicy = (value) => {
|
|
10690
|
+
if (value === false || value === undefined)
|
|
10691
|
+
return;
|
|
10692
|
+
if (!["simulator", "device", "store"].includes(value))
|
|
10693
|
+
throw new TypeError("mobile.release.certification channel iOS policy must be simulator, device, store, or false.");
|
|
10694
|
+
return value;
|
|
10695
|
+
}, normalizeReleaseCertification = (config) => {
|
|
10696
|
+
const configured = config.release?.certification;
|
|
10697
|
+
if (configured === false)
|
|
10698
|
+
return { channels: {}, googlePlayTracks: {} };
|
|
10699
|
+
const channels = {
|
|
10700
|
+
production: { android: "installed", ios: "store" }
|
|
10701
|
+
};
|
|
10702
|
+
const googlePlayTracks = {
|
|
10703
|
+
production: "installed"
|
|
10704
|
+
};
|
|
10705
|
+
for (const [name, policy] of Object.entries(configured?.channels ?? {})) {
|
|
10706
|
+
if (!RELEASE_TARGET_PATTERN.test(name))
|
|
10707
|
+
throw new TypeError("mobile.release.certification.channels contains an invalid channel.");
|
|
10708
|
+
const normalized = {};
|
|
10709
|
+
const android = normalizeAndroidCertificationPolicy(policy.android);
|
|
10710
|
+
const ios = normalizeIosCertificationPolicy(policy.ios);
|
|
10711
|
+
if (android)
|
|
10712
|
+
normalized.android = android;
|
|
10713
|
+
if (ios)
|
|
10714
|
+
normalized.ios = ios;
|
|
10715
|
+
channels[name] = normalized;
|
|
10716
|
+
}
|
|
10717
|
+
for (const [name, requirement] of Object.entries(configured?.googlePlayTracks ?? {})) {
|
|
10718
|
+
if (!RELEASE_TARGET_PATTERN.test(name))
|
|
10719
|
+
throw new TypeError("mobile.release.certification.googlePlayTracks contains an invalid track.");
|
|
10720
|
+
if (requirement === false)
|
|
10721
|
+
delete googlePlayTracks[name];
|
|
10722
|
+
else if (requirement === "installed")
|
|
10723
|
+
googlePlayTracks[name] = requirement;
|
|
10724
|
+
else
|
|
10725
|
+
throw new TypeError("mobile.release.certification Google Play policy must be installed or false.");
|
|
10726
|
+
}
|
|
10727
|
+
return {
|
|
10728
|
+
channels: Object.fromEntries(Object.entries(channels).sort(([left], [right]) => left.localeCompare(right))),
|
|
10729
|
+
googlePlayTracks: Object.fromEntries(Object.entries(googlePlayTracks).sort(([left], [right]) => left.localeCompare(right)))
|
|
10730
|
+
};
|
|
10683
10731
|
}, normalizeHosts = (hosts, productionOrigin) => {
|
|
10684
10732
|
const normalizeHostname = (host) => {
|
|
10685
10733
|
const value = requireText(host, "mobile.deepLinks.hosts").toLowerCase();
|
|
@@ -11006,6 +11054,7 @@ var APP_ID_PATTERN, SCHEME_PATTERN, APPLE_APP_ID_PREFIX_PATTERN, CERTIFICATE_FIN
|
|
|
11006
11054
|
platforms: normalizePlatforms(config.platforms),
|
|
11007
11055
|
productionOrigin,
|
|
11008
11056
|
pushAndroidGoogleServicesFile: resolveProjectPath(projectRoot, config.pushNotifications?.android?.googleServicesFile ?? "google-services.json", "mobile.pushNotifications.android.googleServicesFile"),
|
|
11057
|
+
releaseCertification: normalizeReleaseCertification(config),
|
|
11009
11058
|
...updates ? { updates } : {},
|
|
11010
11059
|
...updateServer ? { updateServer } : {}
|
|
11011
11060
|
};
|
|
@@ -11016,6 +11065,7 @@ var init_config = __esm(() => {
|
|
|
11016
11065
|
APPLE_APP_ID_PREFIX_PATTERN = /^[A-Z0-9]{10}$/;
|
|
11017
11066
|
CERTIFICATE_FINGERPRINT_PATTERN = /^[0-9A-F]{64}$/;
|
|
11018
11067
|
UPDATE_NAME_PATTERN = /^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$/u;
|
|
11068
|
+
RELEASE_TARGET_PATTERN = /^[a-z0-9][a-z0-9._-]{0,63}$/u;
|
|
11019
11069
|
UPDATE_PUBLIC_KEY_PATTERN = /^[A-Za-z0-9+/]+={0,2}$/u;
|
|
11020
11070
|
ENVIRONMENT_NAME_PATTERN = /^[A-Za-z_][A-Za-z0-9_]*$/u;
|
|
11021
11071
|
MINUTE_MS = 60 * 1000;
|
|
@@ -45599,5 +45649,5 @@ export {
|
|
|
45599
45649
|
wrapPageHandlerWithStreamingSlots
|
|
45600
45650
|
};
|
|
45601
45651
|
|
|
45602
|
-
//# debugId=
|
|
45652
|
+
//# debugId=35BD5CEBA947237E64756E2164756E21
|
|
45603
45653
|
//# sourceMappingURL=index.js.map
|