@absolutejs/absolute 0.20.0-beta.101 → 0.20.0-beta.103
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 +11 -0
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/cli/{compile-9y36k8z1.js → compile-4xbpm6hf.js} +2 -2
- package/dist/cli/{dev-tn9yfehm.js → dev-m4r4zs2k.js} +2 -2
- package/dist/cli/{expoDevController-mxd3h52y.js → expoDevController-zz516pdd.js} +1 -1
- package/dist/cli/{expoProject-ceey4cfg.js → expoProject-780thyfd.js} +1 -1
- package/dist/cli/{index-kr23b0fp.js → index-28nxv57v.js} +2 -0
- package/dist/cli/{index-0bcf7pdw.js → index-6ff78meg.js} +1 -1
- package/dist/cli/{index-qd6mqgsc.js → index-d5fr1xp3.js} +137 -27
- package/dist/cli/{index-fdycyj4v.js → index-rvpd4w9t.js} +1 -1
- package/dist/cli/index.js +5 -5
- package/dist/cli/{mobile-b1mh7ms3.js → mobile-6xe6zysv.js} +787 -221
- package/dist/cli/{start-10dfrjvd.js → start-nmyy64tr.js} +3 -3
- package/dist/mobile/index.js +1168 -755
- package/dist/mobile/index.js.map +8 -7
- package/dist/mobile/remoteMacAgentEntry.js +262 -157
- package/dist/src/mobile/androidReleaseAcceptance.d.ts +65 -0
- package/dist/src/mobile/androidTestReport.d.ts +1 -0
- package/dist/src/mobile/index.d.ts +1 -0
- package/dist/src/mobile/nativeTestReport.d.ts +15 -2
- package/package.json +1 -1
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { AbsoluteAndroidReleaseMetadata } from './androidRelease';
|
|
2
|
+
import { type AbsoluteMobileHost } from './emulatorDoctor';
|
|
3
|
+
import { type AbsoluteAndroidInstalledApp } from './androidUpgradeConformance';
|
|
4
|
+
export declare const ABSOLUTE_BUNDLETOOL_VERSION = "1.18.3";
|
|
5
|
+
export declare const ABSOLUTE_BUNDLETOOL_SHA256 = "a099cfa1543f55593bc2ed16a70a7c67fe54b1747bb7301f37fdfd6d91028e29";
|
|
6
|
+
export declare const ABSOLUTE_BUNDLETOOL_URL = "https://github.com/google/bundletool/releases/download/1.18.3/bundletool-all-1.18.3.jar";
|
|
7
|
+
type CommandResult = {
|
|
8
|
+
exitCode: number;
|
|
9
|
+
stderr: string;
|
|
10
|
+
stdout: string;
|
|
11
|
+
};
|
|
12
|
+
type RunCommand = (command: string[]) => Promise<CommandResult>;
|
|
13
|
+
type BundletoolInstallOptions = {
|
|
14
|
+
approved: boolean;
|
|
15
|
+
download?: (url: string) => Promise<Uint8Array>;
|
|
16
|
+
root?: string;
|
|
17
|
+
};
|
|
18
|
+
export type AbsoluteAndroidRelease = {
|
|
19
|
+
artifactPath: string;
|
|
20
|
+
metadata: AbsoluteAndroidReleaseMetadata;
|
|
21
|
+
metadataPath: string;
|
|
22
|
+
releaseRoot: string;
|
|
23
|
+
};
|
|
24
|
+
export type AbsoluteAndroidReleaseAcceptanceResult = {
|
|
25
|
+
apksBytes: number;
|
|
26
|
+
artifactBytes: number;
|
|
27
|
+
artifactSha256: string;
|
|
28
|
+
durationMs: number;
|
|
29
|
+
embeddedOffline: true;
|
|
30
|
+
engine: 'capacitor' | 'expo';
|
|
31
|
+
installMs: number;
|
|
32
|
+
installed: Pick<AbsoluteAndroidInstalledApp, 'versionCode' | 'versionName'>;
|
|
33
|
+
launchMs: number;
|
|
34
|
+
releaseId: string;
|
|
35
|
+
relaunchMs: number;
|
|
36
|
+
signed: boolean;
|
|
37
|
+
status: 'pass';
|
|
38
|
+
};
|
|
39
|
+
export type RunAbsoluteAndroidReleaseAcceptanceOptions = {
|
|
40
|
+
adb: string;
|
|
41
|
+
artifactDirectory: string;
|
|
42
|
+
bundletool: string;
|
|
43
|
+
java: string;
|
|
44
|
+
launchUrl?: string;
|
|
45
|
+
release: AbsoluteAndroidRelease;
|
|
46
|
+
run?: RunCommand;
|
|
47
|
+
serial: string;
|
|
48
|
+
stabilityMs?: number;
|
|
49
|
+
host?: AbsoluteMobileHost;
|
|
50
|
+
};
|
|
51
|
+
/** Load and cryptographically revalidate an immutable Android release. */
|
|
52
|
+
export declare const absoluteBundletoolPath: (root?: string) => string;
|
|
53
|
+
export declare const inspectAbsoluteBundletool: (root?: string) => Promise<{
|
|
54
|
+
path: string;
|
|
55
|
+
ready: false;
|
|
56
|
+
} | {
|
|
57
|
+
path: string;
|
|
58
|
+
ready: true;
|
|
59
|
+
}>;
|
|
60
|
+
export declare const readAbsoluteAndroidRelease: (projectRoot: string, requested: string) => Promise<AbsoluteAndroidRelease>;
|
|
61
|
+
/** Install the pinned official Bundletool jar only after explicit approval. */
|
|
62
|
+
export declare const ensureAbsoluteBundletool: (options: BundletoolInstallOptions) => Promise<string>;
|
|
63
|
+
/** Install the APKs generated from one exact AAB and prove embedded offline boot. */
|
|
64
|
+
export declare const runAbsoluteAndroidReleaseAcceptance: (options: RunAbsoluteAndroidReleaseAcceptanceOptions) => Promise<AbsoluteAndroidReleaseAcceptanceResult>;
|
|
65
|
+
export {};
|
|
@@ -8,6 +8,7 @@ type CreateAbsoluteAndroidTestReportOptions = {
|
|
|
8
8
|
bunVersion: string;
|
|
9
9
|
generatedAt?: string;
|
|
10
10
|
host: string;
|
|
11
|
+
provider?: 'capacitor' | 'expo';
|
|
11
12
|
run: AbsoluteAndroidAutomatedResult;
|
|
12
13
|
};
|
|
13
14
|
export declare const createAbsoluteAndroidTestReport: (options: CreateAbsoluteAndroidTestReportOptions) => import("./nativeTestReport").AbsoluteNativeTestReport;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './artifactStore';
|
|
2
2
|
export * from './adaptiveShell';
|
|
3
3
|
export * from './androidRelease';
|
|
4
|
+
export * from './androidReleaseAcceptance';
|
|
4
5
|
export * from './androidUpgradeConformance';
|
|
5
6
|
export * from './iosRelease';
|
|
6
7
|
export * from './iosUpgradeConformance';
|
|
@@ -31,6 +31,18 @@ export type AbsoluteNativeSyncMigrationResult = {
|
|
|
31
31
|
schemaAdvanced: boolean;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
|
+
export type AbsoluteNativeReleaseResult = {
|
|
35
|
+
apksBytes: number;
|
|
36
|
+
artifactBytes: number;
|
|
37
|
+
artifactSha256: string;
|
|
38
|
+
embeddedOffline: boolean;
|
|
39
|
+
engine: 'capacitor' | 'expo';
|
|
40
|
+
installMs: number;
|
|
41
|
+
launchMs: number;
|
|
42
|
+
releaseId: string;
|
|
43
|
+
relaunchMs: number;
|
|
44
|
+
signed: boolean;
|
|
45
|
+
};
|
|
34
46
|
export type AbsoluteNativeAutomatedRun = {
|
|
35
47
|
appId: string;
|
|
36
48
|
deviceAcceptance?: {
|
|
@@ -43,7 +55,8 @@ export type AbsoluteNativeAutomatedRun = {
|
|
|
43
55
|
hmr?: AbsoluteNativeHmrResult;
|
|
44
56
|
hmrConnected: boolean;
|
|
45
57
|
platform: 'android' | 'ios';
|
|
46
|
-
port
|
|
58
|
+
port?: number;
|
|
59
|
+
release?: AbsoluteNativeReleaseResult;
|
|
47
60
|
routes?: string[];
|
|
48
61
|
screenshot?: string;
|
|
49
62
|
status: 'fail' | 'pass';
|
|
@@ -59,7 +72,7 @@ export type AbsoluteNativeTestReport = {
|
|
|
59
72
|
metadata: Record<string, string> & {
|
|
60
73
|
absolutejsVersion: string;
|
|
61
74
|
bunVersion: string;
|
|
62
|
-
provider: 'capacitor';
|
|
75
|
+
provider: 'capacitor' | 'expo';
|
|
63
76
|
};
|
|
64
77
|
overallResult: 'FAIL' | 'INCOMPLETE';
|
|
65
78
|
platform: 'android' | 'ios';
|