@absolutejs/absolute 0.20.0-beta.34 → 0.20.0-beta.35
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/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/angular/index.js +17 -9
- package/dist/angular/index.js.map +3 -3
- package/dist/angular/server.js +17 -9
- package/dist/angular/server.js.map +3 -3
- package/dist/build.js +30 -10
- package/dist/build.js.map +6 -6
- package/dist/cli/index.js +281 -14
- package/dist/index.js +33 -10
- package/dist/index.js.map +8 -8
- package/dist/mobile/index.js +55 -1
- package/dist/mobile/index.js.map +6 -5
- package/dist/src/cli/instanceStatus.d.ts +1 -0
- package/dist/src/core/prepare.d.ts +12 -0
- package/dist/src/dev/clientManager.d.ts +1 -0
- package/dist/src/mobile/index.d.ts +1 -0
- package/dist/src/mobile/iosDeviceAcceptance.d.ts +32 -0
- package/dist/src/mobile/iosTestReport.d.ts +2 -1
- package/dist/src/mobile/nativeTestReport.d.ts +6 -0
- package/dist/src/mobile/remoteMacProtocol.d.ts +7 -0
- package/dist/src/plugins/hmr.d.ts +3 -0
- package/dist/types/cli.d.ts +1 -0
- package/package.json +1 -1
|
@@ -153,8 +153,11 @@ export declare const prepare: (configOrPath?: string) => Promise<{
|
|
|
153
153
|
entryWatcherReady: boolean;
|
|
154
154
|
isRebuilding: boolean;
|
|
155
155
|
manifestKeys: string[];
|
|
156
|
+
pendingBundleRebuilds: ("svelte" | "vue" | "angular")[];
|
|
157
|
+
pendingFileChanges: number;
|
|
156
158
|
rebuildCount: number;
|
|
157
159
|
rebuildQueue: string[];
|
|
160
|
+
rebuildScheduled: boolean;
|
|
158
161
|
timestamp: number;
|
|
159
162
|
};
|
|
160
163
|
};
|
|
@@ -301,8 +304,11 @@ export declare const prepare: (configOrPath?: string) => Promise<{
|
|
|
301
304
|
entryWatcherReady: boolean;
|
|
302
305
|
isRebuilding: boolean;
|
|
303
306
|
manifestKeys: string[];
|
|
307
|
+
pendingBundleRebuilds: ("svelte" | "vue" | "angular")[];
|
|
308
|
+
pendingFileChanges: number;
|
|
304
309
|
rebuildCount: number;
|
|
305
310
|
rebuildQueue: string[];
|
|
311
|
+
rebuildScheduled: boolean;
|
|
306
312
|
timestamp: number;
|
|
307
313
|
};
|
|
308
314
|
};
|
|
@@ -466,8 +472,11 @@ export declare const prepare: (configOrPath?: string) => Promise<{
|
|
|
466
472
|
entryWatcherReady: boolean;
|
|
467
473
|
isRebuilding: boolean;
|
|
468
474
|
manifestKeys: string[];
|
|
475
|
+
pendingBundleRebuilds: ("svelte" | "vue" | "angular")[];
|
|
476
|
+
pendingFileChanges: number;
|
|
469
477
|
rebuildCount: number;
|
|
470
478
|
rebuildQueue: string[];
|
|
479
|
+
rebuildScheduled: boolean;
|
|
471
480
|
timestamp: number;
|
|
472
481
|
};
|
|
473
482
|
};
|
|
@@ -641,8 +650,11 @@ export declare const prepare: (configOrPath?: string) => Promise<{
|
|
|
641
650
|
entryWatcherReady: boolean;
|
|
642
651
|
isRebuilding: boolean;
|
|
643
652
|
manifestKeys: string[];
|
|
653
|
+
pendingBundleRebuilds: ("svelte" | "vue" | "angular")[];
|
|
654
|
+
pendingFileChanges: number;
|
|
644
655
|
rebuildCount: number;
|
|
645
656
|
rebuildQueue: string[];
|
|
657
|
+
rebuildScheduled: boolean;
|
|
646
658
|
timestamp: number;
|
|
647
659
|
};
|
|
648
660
|
};
|
|
@@ -17,6 +17,7 @@ export type HMRState = {
|
|
|
17
17
|
isRebuilding: boolean;
|
|
18
18
|
rebuildQueue: Set<string>;
|
|
19
19
|
rebuildTimeout: NodeJS.Timeout | null;
|
|
20
|
+
pendingBundleRebuilds: Set<'angular' | 'svelte' | 'vue'>;
|
|
20
21
|
fileChangeQueue: Map<string, string[]>;
|
|
21
22
|
debounceTimeout: NodeJS.Timeout | null;
|
|
22
23
|
fileHashes: Map<string, number>;
|
|
@@ -7,6 +7,7 @@ export * from './iosSimulatorController';
|
|
|
7
7
|
export * from './iosPhysicalDeviceTransport';
|
|
8
8
|
export * from './iosNativeWatcher';
|
|
9
9
|
export * from './remoteMacProtocol';
|
|
10
|
+
export * from './iosDeviceAcceptance';
|
|
10
11
|
export * from './associationFiles';
|
|
11
12
|
export * from './buildMetadata';
|
|
12
13
|
export * from './buildPipeline';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export type AbsoluteIosDeviceAcceptanceResult = {
|
|
2
|
+
hmrConnected: true;
|
|
3
|
+
installed: true;
|
|
4
|
+
relaunchMs: number;
|
|
5
|
+
};
|
|
6
|
+
type CommandResult = {
|
|
7
|
+
exitCode: number;
|
|
8
|
+
stderr: string;
|
|
9
|
+
stdout: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const absoluteIosDeviceAcceptanceCommands: (options: {
|
|
12
|
+
appId: string;
|
|
13
|
+
device: string;
|
|
14
|
+
xcrun?: string;
|
|
15
|
+
}) => {
|
|
16
|
+
apps: string[];
|
|
17
|
+
details: string[];
|
|
18
|
+
launch: string[];
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Validate and relaunch a physical iOS app without retaining device inventory,
|
|
22
|
+
* signing output, or console output in the acceptance result.
|
|
23
|
+
*/
|
|
24
|
+
export declare const testAbsoluteIosPhysicalDevice: (options: {
|
|
25
|
+
appId: string;
|
|
26
|
+
capture: (command: string[]) => Promise<CommandResult>;
|
|
27
|
+
device: string;
|
|
28
|
+
now?: () => number;
|
|
29
|
+
waitForHmr: () => Promise<void>;
|
|
30
|
+
xcrun?: string;
|
|
31
|
+
}) => Promise<AbsoluteIosDeviceAcceptanceResult>;
|
|
32
|
+
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type AbsoluteNativeAutomatedRun, type AbsoluteNativeTestReport } from './nativeTestReport';
|
|
2
2
|
export type AbsoluteIosAutomatedResult = Omit<AbsoluteNativeAutomatedRun, 'platform' | 'targetId' | 'targetKind'> & {
|
|
3
|
-
|
|
3
|
+
targetId: string;
|
|
4
|
+
targetKind: 'device' | 'simulator';
|
|
4
5
|
};
|
|
5
6
|
export type AbsoluteIosPartnerReport = AbsoluteNativeTestReport;
|
|
6
7
|
type CreateAbsoluteIosPartnerReportOptions = {
|
|
@@ -33,6 +33,11 @@ export type AbsoluteNativeSyncMigrationResult = {
|
|
|
33
33
|
};
|
|
34
34
|
export type AbsoluteNativeAutomatedRun = {
|
|
35
35
|
appId: string;
|
|
36
|
+
deviceAcceptance?: {
|
|
37
|
+
https: boolean;
|
|
38
|
+
relaunchMs: number;
|
|
39
|
+
remote: boolean;
|
|
40
|
+
};
|
|
36
41
|
durationMs: number;
|
|
37
42
|
error?: string;
|
|
38
43
|
hmr?: AbsoluteNativeHmrResult;
|
|
@@ -69,6 +74,7 @@ type CreateAbsoluteNativeTestReportOptions = {
|
|
|
69
74
|
automatedChecks?: AbsoluteNativeReportCheck[];
|
|
70
75
|
generatedAt?: string;
|
|
71
76
|
manualChecks: readonly AbsoluteNativeManualCheckDefinition[];
|
|
77
|
+
manualCheckResults?: Record<string, AbsoluteNativeReportCheck>;
|
|
72
78
|
metadata: AbsoluteNativeTestReport['metadata'];
|
|
73
79
|
run: AbsoluteNativeAutomatedRun;
|
|
74
80
|
};
|
|
@@ -72,6 +72,13 @@ export declare const validateAbsoluteSshDestination: (destination: string) => st
|
|
|
72
72
|
export declare const absoluteRemoteMacSshBase: (profile: Pick<AbsoluteRemoteMacProfile, "destination" | "port">, options?: {
|
|
73
73
|
acceptNew?: boolean;
|
|
74
74
|
}) => string[];
|
|
75
|
+
/** Run a non-interactive command on an already paired Mac.
|
|
76
|
+
*
|
|
77
|
+
* Arguments are quoted independently before crossing SSH. This is intended for
|
|
78
|
+
* small, read-only inspections and lifecycle commands that do not need the
|
|
79
|
+
* long-running remote development agent.
|
|
80
|
+
*/
|
|
81
|
+
export declare const captureAbsoluteRemoteMacCommand: (profile: AbsoluteRemoteMacProfile, command: string[], transport?: Pick<AbsoluteRemoteMacTransport, "capture">) => Promise<AbsoluteRemoteMacCommandResult>;
|
|
75
82
|
export declare const getAbsoluteRemoteMacProfile: (name?: string, profilePath?: string) => Promise<AbsoluteRemoteMacProfile | undefined>;
|
|
76
83
|
export declare const inspectAbsoluteRemoteMac: (destination: string, options?: {
|
|
77
84
|
acceptNew?: boolean;
|
|
@@ -86,7 +86,10 @@ export declare const hmr: (hmrState: HMRState, manifest: Record<string, string>,
|
|
|
86
86
|
entryWatcherReady: boolean;
|
|
87
87
|
isRebuilding: boolean;
|
|
88
88
|
manifestKeys: string[];
|
|
89
|
+
pendingBundleRebuilds: ("svelte" | "vue" | "angular")[];
|
|
90
|
+
pendingFileChanges: number;
|
|
89
91
|
rebuildCount: number;
|
|
90
92
|
rebuildQueue: string[];
|
|
93
|
+
rebuildScheduled: boolean;
|
|
91
94
|
timestamp: number;
|
|
92
95
|
}>;
|
package/dist/types/cli.d.ts
CHANGED