@absolutejs/absolute 0.20.0-beta.36 → 0.20.0-beta.38

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.
@@ -0,0 +1,3 @@
1
+ export declare const absoluteServerEntryCopyOwnerPid: (name: string) => number | null;
2
+ export declare const isProcessAlive: (pid: number) => boolean;
3
+ export declare const isStaleAbsoluteServerEntryCopy: (name: string, currentPid?: number, ownerIsAlive?: (pid: number) => boolean) => boolean;
@@ -0,0 +1,55 @@
1
+ import type { NormalizedAbsoluteMobileConfig } from './config';
2
+ export type MobileBundleInspection = {
3
+ appBuild?: string;
4
+ auth?: boolean;
5
+ capabilities?: string[];
6
+ entryResolved?: boolean;
7
+ frameworks?: string[];
8
+ issue?: string;
9
+ manifest: string;
10
+ pageCount?: number;
11
+ routeCount?: number;
12
+ runtime?: string;
13
+ status: 'invalid' | 'missing' | 'valid';
14
+ sync?: boolean;
15
+ };
16
+ export declare const inspectAbsoluteMobileBundle: (config: NormalizedAbsoluteMobileConfig, projectRoot: string) => Promise<{
17
+ manifest: string;
18
+ status: "missing";
19
+ appBuild?: undefined;
20
+ auth?: undefined;
21
+ capabilities?: undefined;
22
+ entryResolved?: undefined;
23
+ frameworks?: undefined;
24
+ pageCount?: undefined;
25
+ routeCount?: undefined;
26
+ runtime?: undefined;
27
+ sync?: undefined;
28
+ issue?: undefined;
29
+ } | {
30
+ appBuild: string;
31
+ auth: boolean;
32
+ capabilities: string[];
33
+ entryResolved: true;
34
+ frameworks: string[];
35
+ manifest: string;
36
+ pageCount: number;
37
+ routeCount: number;
38
+ runtime: string;
39
+ status: "valid";
40
+ sync: boolean;
41
+ issue?: undefined;
42
+ } | {
43
+ issue: string;
44
+ manifest: string;
45
+ status: "invalid";
46
+ appBuild?: undefined;
47
+ auth?: undefined;
48
+ capabilities?: undefined;
49
+ entryResolved?: undefined;
50
+ frameworks?: undefined;
51
+ pageCount?: undefined;
52
+ routeCount?: undefined;
53
+ runtime?: undefined;
54
+ sync?: undefined;
55
+ }>;
@@ -0,0 +1,110 @@
1
+ import type { NormalizedAbsoluteMobileConfig } from './config';
2
+ import { inspectAbsoluteMobileRelease } from './releaseDoctor';
3
+ export declare const ABSOLUTE_MOBILE_INSPECTION_FORMAT: 1;
4
+ type MobilePackageInspection = {
5
+ declared: string;
6
+ installed?: string;
7
+ name: string;
8
+ };
9
+ type MobileBundleInspection = {
10
+ appBuild?: string;
11
+ auth?: boolean;
12
+ capabilities?: string[];
13
+ entryResolved?: boolean;
14
+ frameworks?: string[];
15
+ issue?: string;
16
+ manifest: string;
17
+ pageCount?: number;
18
+ routeCount?: number;
19
+ runtime?: string;
20
+ status: 'invalid' | 'missing' | 'valid';
21
+ sync?: boolean;
22
+ };
23
+ export type AbsoluteMobileProjectInspection = {
24
+ bundle: MobileBundleInspection;
25
+ capabilities: {
26
+ current: string[];
27
+ embeddedMatchesCurrent?: boolean;
28
+ issue?: string;
29
+ plugins: string[];
30
+ };
31
+ config: {
32
+ appId: string;
33
+ appName: string;
34
+ bundleDirectory: string;
35
+ deepLinkHosts: string[];
36
+ deepLinkScheme?: string;
37
+ engine: 'capacitor';
38
+ entry: string;
39
+ iosVersion?: string;
40
+ nativeProjectDirectory: string;
41
+ platforms: string[];
42
+ productionOrigin: string;
43
+ };
44
+ format: typeof ABSOLUTE_MOBILE_INSPECTION_FORMAT;
45
+ nativeProjects: Array<{
46
+ initialized: boolean;
47
+ path: string;
48
+ platform: string;
49
+ }>;
50
+ packages: MobilePackageInspection[];
51
+ release: {
52
+ checks: Array<{
53
+ id: string;
54
+ status: 'fail' | 'pass' | 'warn';
55
+ }>;
56
+ ready: boolean;
57
+ };
58
+ runtime: {
59
+ absolutejs: string;
60
+ };
61
+ };
62
+ export type InspectAbsoluteMobileProjectOptions = {
63
+ absolutejsVersion?: string;
64
+ inspectRelease?: typeof inspectAbsoluteMobileRelease;
65
+ };
66
+ export declare const inspectAbsoluteMobileProject: (config: NormalizedAbsoluteMobileConfig, projectRoot: string, options?: InspectAbsoluteMobileProjectOptions) => Promise<{
67
+ bundle: MobileBundleInspection;
68
+ capabilities: {
69
+ plugins: string[];
70
+ issue?: string | undefined;
71
+ embeddedMatchesCurrent?: boolean | undefined;
72
+ current: string[];
73
+ };
74
+ config: {
75
+ appId: string;
76
+ appName: string;
77
+ bundleDirectory: string;
78
+ deepLinkHosts: string[];
79
+ deepLinkScheme: string | undefined;
80
+ engine: "capacitor";
81
+ entry: string;
82
+ iosVersion: string | undefined;
83
+ nativeProjectDirectory: string;
84
+ platforms: import("..").MobilePlatform[];
85
+ productionOrigin: string;
86
+ };
87
+ format: 1;
88
+ nativeProjects: {
89
+ initialized: boolean;
90
+ path: string;
91
+ platform: import("..").MobilePlatform;
92
+ }[];
93
+ packages: {
94
+ name: string;
95
+ installed?: string | undefined;
96
+ declared: string;
97
+ }[];
98
+ release: {
99
+ checks: {
100
+ id: string;
101
+ status: "pass" | "warn" | "fail";
102
+ }[];
103
+ ready: boolean;
104
+ };
105
+ runtime: {
106
+ absolutejs: string;
107
+ };
108
+ }>;
109
+ export declare const renderAbsoluteMobileProjectInspection: (report: AbsoluteMobileProjectInspection) => string;
110
+ export {};
@@ -4,10 +4,32 @@ export type AbsoluteMobileReleaseCheck = {
4
4
  id: string;
5
5
  path?: string;
6
6
  remediation?: string;
7
- status: 'fail' | 'pass';
7
+ status: 'fail' | 'pass' | 'warn';
8
8
  };
9
9
  export type AbsoluteMobileReleaseDoctorResult = {
10
10
  checks: AbsoluteMobileReleaseCheck[];
11
11
  ready: boolean;
12
12
  };
13
+ export declare const ABSOLUTE_MOBILE_COMPLIANCE_REPORT_FORMAT: 1;
14
+ export type AbsoluteMobileComplianceReport = {
15
+ app: {
16
+ appId: string;
17
+ engine: 'capacitor';
18
+ platforms: string[];
19
+ productionOrigin: string;
20
+ };
21
+ checks: Array<{
22
+ id: string;
23
+ status: AbsoluteMobileReleaseCheck['status'];
24
+ }>;
25
+ format: typeof ABSOLUTE_MOBILE_COMPLIANCE_REPORT_FORMAT;
26
+ manualReview: string[];
27
+ ready: boolean;
28
+ summary: {
29
+ failed: number;
30
+ passed: number;
31
+ warnings: number;
32
+ };
33
+ };
34
+ export declare const createAbsoluteMobileComplianceReport: (config: NormalizedAbsoluteMobileConfig, result: AbsoluteMobileReleaseDoctorResult) => AbsoluteMobileComplianceReport;
13
35
  export declare const inspectAbsoluteMobileRelease: (config: NormalizedAbsoluteMobileConfig, projectRoot: string) => Promise<AbsoluteMobileReleaseDoctorResult>;
package/package.json CHANGED
@@ -506,7 +506,7 @@
506
506
  ]
507
507
  }
508
508
  },
509
- "version": "0.20.0-beta.36",
509
+ "version": "0.20.0-beta.38",
510
510
  "workspaces": [
511
511
  "tests/fixtures/*",
512
512
  "tests/fixtures/_packages/*"