@absolutejs/absolute 0.20.0-beta.92 → 0.20.0-beta.93
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 +12 -0
- package/changelog.json +28 -0
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build/buildWorker.js +10 -1
- package/dist/build.js +16 -7
- package/dist/build.js.map +9 -8
- package/dist/cli/{compile-vf61bv90.js → compile-wkfd88w7.js} +5 -5
- package/dist/cli/{dev-perzmh2w.js → dev-01zcxngn.js} +83 -11
- package/dist/cli/{expoDevController-tr63cg78.js → expoDevController-k15hftqn.js} +25 -1
- package/dist/cli/expoNativeWatcher-rmc95bak.js +138 -0
- package/dist/cli/{expoProject-djc0vk7g.js → expoProject-mmm3s62b.js} +1 -1
- package/dist/cli/{index-fn44wefq.js → index-3sdvzrv2.js} +37 -28
- package/dist/cli/index-bw4ktfnz.js +11 -0
- package/dist/cli/{index-751czk1b.js → index-kh44yx23.js} +1 -1
- package/dist/cli/{index-gxkmg2ss.js → index-v5knwk7v.js} +1 -1
- package/dist/cli/{index-8zrnvazp.js → index-wqhbxtyp.js} +21 -12
- package/dist/cli/index.js +5 -5
- package/dist/cli/{mobile-yk7qr9qg.js → mobile-pbe1a667.js} +20 -12
- package/dist/cli/{remoteMacProtocol-vw931n0a.js → remoteMacProtocol-kqvkp0qd.js} +2 -1
- package/dist/cli/{start-ef7tgbmf.js → start-dw5crgp7.js} +3 -3
- package/dist/dev/client/handlers/svelte.ts +11 -15
- package/dist/dev/serverBootstrap.js +10 -1
- package/dist/index.js +17 -8
- package/dist/index.js.map +11 -10
- package/dist/mobile/index.js +343 -162
- package/dist/mobile/index.js.map +9 -7
- package/dist/mobile/mobilePreviewClient.ts +1 -1
- package/dist/mobile/remoteMacAgentEntry.js +77 -68
- package/dist/src/dev/clientManager.d.ts +2 -2
- package/dist/src/mobile/androidConformance.d.ts +4 -1
- package/dist/src/mobile/expoDevController.d.ts +2 -6
- package/dist/src/mobile/expoNativeWatcher.d.ts +21 -0
- package/dist/src/mobile/index.d.ts +1 -0
- package/dist/src/mobile/remoteMacProtocol.d.ts +1 -4
- package/dist/src/utils/unrefTimer.d.ts +5 -0
- package/package.json +4 -2
|
@@ -17,10 +17,10 @@ export type HMRState = {
|
|
|
17
17
|
dependencyGraph: DependencyGraph;
|
|
18
18
|
isRebuilding: boolean;
|
|
19
19
|
rebuildQueue: Set<string>;
|
|
20
|
-
rebuildTimeout:
|
|
20
|
+
rebuildTimeout: ReturnType<typeof setTimeout> | null;
|
|
21
21
|
pendingBundleRebuilds: Set<'angular' | 'svelte' | 'vue'>;
|
|
22
22
|
fileChangeQueue: Map<string, string[]>;
|
|
23
|
-
debounceTimeout:
|
|
23
|
+
debounceTimeout: ReturnType<typeof setTimeout> | null;
|
|
24
24
|
fileHashes: Map<string, number>;
|
|
25
25
|
watchers: FSWatcher[];
|
|
26
26
|
moduleVersions: ModuleVersions;
|
|
@@ -19,11 +19,13 @@ export type AbsoluteAndroidRouteCheck = {
|
|
|
19
19
|
title: string;
|
|
20
20
|
url: string;
|
|
21
21
|
};
|
|
22
|
-
export declare const absoluteAndroidDevelopmentUrl: (port: number, route: string, https?: boolean) => string;
|
|
22
|
+
export declare const absoluteAndroidDevelopmentUrl: (port: number, route: string, https?: boolean, target?: Extract<HMRClientTarget, `${string}-android`>) => string;
|
|
23
23
|
export declare const inspectAbsoluteAndroidRoute: (session: AbsoluteAndroidWebViewSession, options: {
|
|
24
24
|
https?: boolean;
|
|
25
|
+
navigation?: "devtools" | "in-page" | "none";
|
|
25
26
|
port: number;
|
|
26
27
|
route: string;
|
|
28
|
+
target?: Extract<HMRClientTarget, `${string}-android`>;
|
|
27
29
|
timeoutMs?: number;
|
|
28
30
|
}) => Promise<{
|
|
29
31
|
route: string;
|
|
@@ -38,5 +40,6 @@ export declare const inspectAbsoluteAndroidRoute: (session: AbsoluteAndroidWebVi
|
|
|
38
40
|
export declare const waitForAbsoluteAndroidHmrApply: (session: AbsoluteAndroidWebViewSession, options: {
|
|
39
41
|
afterUpdateId?: number;
|
|
40
42
|
kind?: HMRApplyKind;
|
|
43
|
+
target?: Extract<HMRClientTarget, `${string}-android`>;
|
|
41
44
|
timeoutMs?: number;
|
|
42
45
|
}) => Promise<AbsoluteAndroidHmrApply>;
|
|
@@ -52,6 +52,7 @@ export type AbsoluteExpoDevSession = {
|
|
|
52
52
|
close: () => Promise<void>;
|
|
53
53
|
metroPort: number;
|
|
54
54
|
platforms: AbsoluteExpoDevPlatform[];
|
|
55
|
+
rebuild: () => Promise<AbsoluteExpoDevSession>;
|
|
55
56
|
timings: Partial<Record<AbsoluteExpoDevState, number>>;
|
|
56
57
|
};
|
|
57
58
|
export type InstallAbsoluteExpoAndroidReleaseOptions = {
|
|
@@ -96,9 +97,4 @@ export declare const planAbsoluteExpoDevSession: (config: NormalizedAbsoluteMobi
|
|
|
96
97
|
export declare const installAbsoluteExpoAndroidRelease: (options: InstallAbsoluteExpoAndroidReleaseOptions) => Promise<AbsoluteExpoAndroidReleaseInstallation>;
|
|
97
98
|
export declare const installAbsoluteExpoIosRelease: (options: InstallAbsoluteExpoIosReleaseOptions) => Promise<AbsoluteExpoIosReleaseInstallation>;
|
|
98
99
|
export declare const parseBootedAbsoluteExpoIosSimulators: (source: string) => string[];
|
|
99
|
-
export declare const startAbsoluteExpoDevSession: (options: StartAbsoluteExpoDevOptions) => Promise<
|
|
100
|
-
metroPort: number;
|
|
101
|
-
platforms: AbsoluteExpoDevPlatform[];
|
|
102
|
-
timings: Partial<Record<AbsoluteExpoDevState, number>>;
|
|
103
|
-
close: () => Promise<void>;
|
|
104
|
-
}>;
|
|
100
|
+
export declare const startAbsoluteExpoDevSession: (options: StartAbsoluteExpoDevOptions) => Promise<AbsoluteExpoDevSession>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type AbsoluteExpoNativeChange = {
|
|
2
|
+
afterFingerprint: string;
|
|
3
|
+
beforeFingerprint: string;
|
|
4
|
+
paths: string[];
|
|
5
|
+
rootInputChanged: boolean;
|
|
6
|
+
};
|
|
7
|
+
export type AbsoluteExpoNativeWatcher = {
|
|
8
|
+
close: () => void;
|
|
9
|
+
};
|
|
10
|
+
export type AbsoluteExpoNativeWatcherOptions = {
|
|
11
|
+
debounceMs?: number;
|
|
12
|
+
expoProjectDirectory: string;
|
|
13
|
+
onChange: (change: AbsoluteExpoNativeChange) => Promise<void>;
|
|
14
|
+
onError?: (error: unknown) => void;
|
|
15
|
+
projectRoot: string;
|
|
16
|
+
signal?: AbortSignal;
|
|
17
|
+
};
|
|
18
|
+
declare const fingerprintAbsoluteExpoNativeInputs: (options: Pick<AbsoluteExpoNativeWatcherOptions, "expoProjectDirectory" | "projectRoot">) => Promise<string>;
|
|
19
|
+
declare const isAbsoluteExpoNativeRootInput: (path: string) => boolean;
|
|
20
|
+
declare const createAbsoluteExpoNativeWatcher: (options: AbsoluteExpoNativeWatcherOptions) => Promise<AbsoluteExpoNativeWatcher>;
|
|
21
|
+
export { createAbsoluteExpoNativeWatcher, fingerprintAbsoluteExpoNativeInputs, isAbsoluteExpoNativeRootInput };
|
|
@@ -21,6 +21,7 @@ export * from './deviceCapabilities';
|
|
|
21
21
|
export * from './expoBridge';
|
|
22
22
|
export * from './expoCodeSigning';
|
|
23
23
|
export * from './expoDevController';
|
|
24
|
+
export * from './expoNativeWatcher';
|
|
24
25
|
export * from './expoProject';
|
|
25
26
|
export * from './expoNativeObservability';
|
|
26
27
|
export * from './expoUpdate';
|
|
@@ -180,15 +180,12 @@ export declare const acquireAbsoluteRemoteMacReleaseLease: (project: AbsoluteRem
|
|
|
180
180
|
staleSeconds?: number;
|
|
181
181
|
transport?: Pick<AbsoluteRemoteMacTransport, "capture">;
|
|
182
182
|
}) => Promise<AbsoluteRemoteMacLease>;
|
|
183
|
-
declare const inspectAbsoluteRemoteMacWorkspace: (profile: AbsoluteRemoteMacProfile, transport?: Pick<AbsoluteRemoteMacTransport, "capture">) => Promise<AbsoluteRemoteMacWorkspaceInspection>;
|
|
184
|
-
/** Remove only abandoned staging directories. Project dependency/native caches,
|
|
185
|
-
* immutable releases, and active leases are deliberately retained.
|
|
186
|
-
*/
|
|
187
183
|
declare const cleanAbsoluteRemoteMacWorkspace: (profile: AbsoluteRemoteMacProfile, transport?: Pick<AbsoluteRemoteMacTransport, "capture">) => Promise<{
|
|
188
184
|
profile: string;
|
|
189
185
|
removed: number;
|
|
190
186
|
workspaceRoot: string;
|
|
191
187
|
}>;
|
|
188
|
+
declare const inspectAbsoluteRemoteMacWorkspace: (profile: AbsoluteRemoteMacProfile, transport?: Pick<AbsoluteRemoteMacTransport, "capture">) => Promise<AbsoluteRemoteMacWorkspaceInspection>;
|
|
192
189
|
export { cleanAbsoluteRemoteMacWorkspace, inspectAbsoluteRemoteMacWorkspace };
|
|
193
190
|
export declare const installAbsoluteRemoteMacAgent: (project: AbsoluteRemoteIosDevProject) => Promise<{
|
|
194
191
|
remotePath: string;
|
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@absolutejs/deploy": "0.25.14",
|
|
13
13
|
"@absolutejs/devices": "0.7.0",
|
|
14
14
|
"@absolutejs/devices-capacitor": "0.8.0",
|
|
15
|
-
"@absolutejs/devices-expo": "0.0.
|
|
15
|
+
"@absolutejs/devices-expo": "0.0.3",
|
|
16
16
|
"@absolutejs/http": "0.0.1",
|
|
17
17
|
"@absolutejs/pwa": "0.14.0",
|
|
18
18
|
"@capacitor/browser": "8.0.4",
|
|
@@ -472,9 +472,11 @@
|
|
|
472
472
|
"test:native:android:observability": "ABSOLUTE_TEST_NATIVE_ANDROID=1 bun test tests/native/android-embedded-bundle-conformance.test.ts -t 'native process crash'",
|
|
473
473
|
"test:native:android:updates": "ABSOLUTE_TEST_NATIVE_ANDROID=1 bun test tests/native/android-embedded-bundle-conformance.test.ts -t 'signed web updates'",
|
|
474
474
|
"test:native:android:upgrade": "ABSOLUTE_TEST_NATIVE_ANDROID=1 bun test tests/native/android-embedded-bundle-conformance.test.ts -t 'installed APK upgrade'",
|
|
475
|
+
"test:native:expo:android:hmr": "ABSOLUTE_TEST_NATIVE_EXPO_HMR_PLATFORM=android bun test tests/native/expo-hmr-conformance.test.ts",
|
|
475
476
|
"test:native:expo:android:observability": "ABSOLUTE_TEST_NATIVE_EXPO_ANDROID=1 bun test tests/native/expo-android-observability-conformance.test.ts",
|
|
476
477
|
"test:native:expo:android:updates": "ABSOLUTE_TEST_NATIVE_EXPO_ANDROID_UPDATES=1 bun test tests/native/expo-android-update-conformance.test.ts",
|
|
477
478
|
"test:native:expo:android:upgrade": "ABSOLUTE_TEST_NATIVE_EXPO_ANDROID_UPGRADE=1 bun test tests/native/expo-android-upgrade-conformance.test.ts",
|
|
479
|
+
"test:native:expo:ios:hmr": "ABSOLUTE_TEST_NATIVE_EXPO_HMR_PLATFORM=ios bun test tests/native/expo-hmr-conformance.test.ts",
|
|
478
480
|
"test:native:expo:ios:observability": "ABSOLUTE_TEST_NATIVE_EXPO_IOS_OBSERVABILITY=1 bun test tests/native/expo-ios-observability-conformance.test.ts",
|
|
479
481
|
"test:native:expo:ios:updates": "ABSOLUTE_TEST_NATIVE_EXPO_IOS_UPDATES=1 bun test tests/native/expo-ios-update-conformance.test.ts",
|
|
480
482
|
"test:native:expo:ios:upgrade": "ABSOLUTE_TEST_NATIVE_EXPO_IOS_UPGRADE=1 bun test tests/native/expo-ios-upgrade-conformance.test.ts",
|
|
@@ -531,7 +533,7 @@
|
|
|
531
533
|
]
|
|
532
534
|
}
|
|
533
535
|
},
|
|
534
|
-
"version": "0.20.0-beta.
|
|
536
|
+
"version": "0.20.0-beta.93",
|
|
535
537
|
"workspaces": [
|
|
536
538
|
"tests/fixtures/*",
|
|
537
539
|
"tests/fixtures/_packages/*"
|