bleam 0.0.6 → 0.0.7
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/ai.cjs +3984 -25
- package/dist/ai.d.cts +503 -20
- package/dist/ai.d.ts +503 -20
- package/dist/ai.js +3946 -26
- package/dist/animated.cjs +1 -1
- package/dist/animated.js +1 -1
- package/dist/app.cjs +92 -0
- package/dist/app.js +92 -0
- package/dist/cli.cjs +653 -86
- package/dist/cli.d.cts +89 -1
- package/dist/cli.d.ts +89 -1
- package/dist/cli.js +654 -88
- package/dist/{config-ClDGHNb3.d.ts → config-Cms0rvqg.d.ts} +1 -0
- package/dist/{config-D3gPaVMb.d.cts → config-CufOVJV3.d.cts} +1 -0
- package/dist/config.d.cts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/crypto.d.cts +0 -2
- package/dist/crypto.d.ts +1 -1
- package/dist/dev-protocol.d.cts +14 -1
- package/dist/dev-protocol.d.ts +14 -1
- package/dist/files-Bo7h9fik.cjs +468 -0
- package/dist/files-Ds1wT8C2.js +445 -0
- package/dist/files-DwA7pzr3.d.cts +99 -0
- package/dist/files-VrkQlKIT.d.ts +99 -0
- package/dist/files.cjs +7 -0
- package/dist/files.d.cts +2 -0
- package/dist/files.d.ts +2 -0
- package/dist/files.js +4 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/native-sqlite-xcGdamRD.js +64 -0
- package/dist/native-sqlite-yQLD5s9i.cjs +66 -0
- package/dist/platform.cjs +27 -0
- package/dist/platform.d.cts +39 -0
- package/dist/platform.d.ts +39 -0
- package/dist/platform.js +21 -0
- package/dist/runtime.d.cts +1 -6
- package/dist/runtime.d.ts +1 -6
- package/dist/{schema-ipsECAso.d.ts → schema-DOOjfXvs.d.ts} +1 -1
- package/dist/{schema-BOuUHcqo.d.cts → schema-ENSMX_1t.d.cts} +1 -1
- package/dist/schema.cjs +1 -1
- package/dist/schema.d.cts +1 -1
- package/dist/schema.d.ts +1 -1
- package/dist/schema.js +1 -1
- package/dist/state-Bx0VlTlO.cjs +852 -0
- package/dist/state-CAwe-Vw1.js +767 -0
- package/dist/state.cjs +17 -763
- package/dist/state.d.cts +107 -77
- package/dist/state.d.ts +107 -77
- package/dist/state.js +4 -745
- package/dist/ui-1WepaMS4.d.cts +92 -0
- package/dist/ui-234Plg7Z.d.cts +92 -0
- package/dist/ui-BJmXhz9Q.d.ts +92 -0
- package/dist/ui-Dd7SXdbg.d.cts +92 -0
- package/dist/ui-Ds88eETu.d.ts +92 -0
- package/dist/ui-TaqnB5SP.d.ts +92 -0
- package/dist/ui-WQvnXL0W.d.ts +92 -0
- package/dist/ui.cjs +286 -35
- package/dist/ui.d.cts +2 -30
- package/dist/ui.d.ts +2 -30
- package/dist/ui.js +283 -36
- package/dist/window.cjs +596 -0
- package/dist/window.d.cts +63 -0
- package/dist/window.d.ts +63 -0
- package/dist/window.js +589 -0
- package/package.json +16 -14
- package/templates/basic/app/index.tsx +8 -5
- package/templates/foundation-models/app/index.tsx +32 -0
- package/templates/foundation-models/app.config.ts +5 -0
- package/templates/image-generation/app/index.tsx +39 -0
- package/templates/image-generation/app.config.ts +5 -0
- package/templates/state/app/index.tsx +30 -0
- package/templates/state/app.config.ts +5 -0
- package/dist/chrome.cjs +0 -265
- package/dist/chrome.d.cts +0 -19
- package/dist/chrome.d.ts +0 -19
- package/dist/chrome.js +0 -262
- package/dist/fs.cjs +0 -13
- package/dist/fs.d.cts +0 -8
- package/dist/fs.d.ts +0 -8
- package/dist/fs.js +0 -12
- package/dist/native-macos-D6p2SmUj.js +0 -20
- package/dist/native-macos-DLwo_ii9.cjs +0 -31
- package/dist/native-runtime-CbPzrs8j.d.cts +0 -33
- package/dist/native-runtime-DxHSrsTX.d.ts +0 -33
- package/dist/native.cjs +0 -135
- package/dist/native.d.cts +0 -34
- package/dist/native.d.ts +0 -34
- package/dist/native.js +0 -135
- /package/dist/{schema-DVmoD9JL.js → schema-Bo5Jvqus.js} +0 -0
- /package/dist/{schema-bxeeCyLn.cjs → schema-rQ13mrpD.cjs} +0 -0
package/dist/cli.d.cts
CHANGED
|
@@ -1 +1,89 @@
|
|
|
1
|
-
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { t as BleamAppearance } from "./config-CufOVJV3.cjs";
|
|
3
|
+
|
|
4
|
+
//#region src/cli.d.ts
|
|
5
|
+
interface BuildOptions {
|
|
6
|
+
projectRoot: string;
|
|
7
|
+
output: string;
|
|
8
|
+
configuration: string;
|
|
9
|
+
clean: boolean;
|
|
10
|
+
exportOptionsPlist?: string;
|
|
11
|
+
}
|
|
12
|
+
interface PublishOtaOptions {
|
|
13
|
+
projectRoot: string;
|
|
14
|
+
serviceUrl: string;
|
|
15
|
+
}
|
|
16
|
+
interface ProjectConfig {
|
|
17
|
+
name: string;
|
|
18
|
+
version?: string;
|
|
19
|
+
buildNumber: string;
|
|
20
|
+
bundleIdentifier?: string;
|
|
21
|
+
appGroups: string[];
|
|
22
|
+
teamId?: string;
|
|
23
|
+
appearance: BleamAppearance;
|
|
24
|
+
runtimeVersion: string;
|
|
25
|
+
sdkVersion: string;
|
|
26
|
+
}
|
|
27
|
+
declare function parsePublishOtaOptions(argv: string[]): PublishOtaOptions;
|
|
28
|
+
declare function parseNewOptions(argv: string[]): {
|
|
29
|
+
projectRoot: string;
|
|
30
|
+
template: "basic" | "state" | "foundation-models" | "image-generation";
|
|
31
|
+
};
|
|
32
|
+
declare const projectTemplates: readonly ["basic", "state", "foundation-models", "image-generation"];
|
|
33
|
+
type ProjectTemplate = (typeof projectTemplates)[number];
|
|
34
|
+
declare function parseBuildOptions(argv: string[]): BuildOptions;
|
|
35
|
+
declare function createProject(options: {
|
|
36
|
+
projectRoot: string;
|
|
37
|
+
template?: ProjectTemplate;
|
|
38
|
+
}): void;
|
|
39
|
+
declare function replaceOrInsertPlistString(plist: string, key: string, value: string): string;
|
|
40
|
+
declare function createBuildNativeWorkspace(options: BuildOptions, config: ProjectConfig): string;
|
|
41
|
+
declare function podInstallInputStamp(iosRoot: string): string;
|
|
42
|
+
declare function hasCurrentPodInstall(iosRoot: string, expectedStamp: string): boolean;
|
|
43
|
+
declare function nativeArchiveArgs(options: {
|
|
44
|
+
nativeRoot: string;
|
|
45
|
+
archivePath: string;
|
|
46
|
+
configuration: string;
|
|
47
|
+
}): string[];
|
|
48
|
+
declare function installArchivedApp(archivePath: string, applications?: string): string;
|
|
49
|
+
declare function installedAppPath(appName: string): string;
|
|
50
|
+
declare function platformRelease(config: ProjectConfig, releaseId: string, sizeBytes: number, digest: string): {
|
|
51
|
+
schemaVersion: number;
|
|
52
|
+
kind: string;
|
|
53
|
+
bundleIdentifier: string;
|
|
54
|
+
teamIdentifier: string;
|
|
55
|
+
channel: string;
|
|
56
|
+
releaseId: string;
|
|
57
|
+
appVersion: string;
|
|
58
|
+
buildNumber: string;
|
|
59
|
+
bleamPlatformVersion: string;
|
|
60
|
+
target: {
|
|
61
|
+
os: string;
|
|
62
|
+
architecture: string;
|
|
63
|
+
installLocation: string;
|
|
64
|
+
minimumMacOSVersion: string;
|
|
65
|
+
};
|
|
66
|
+
artifact: {
|
|
67
|
+
format: string;
|
|
68
|
+
downloadId: string;
|
|
69
|
+
sizeBytes: number;
|
|
70
|
+
sha256: string;
|
|
71
|
+
};
|
|
72
|
+
publishedAt: string;
|
|
73
|
+
};
|
|
74
|
+
declare const __test: {
|
|
75
|
+
createProject: typeof createProject;
|
|
76
|
+
createBuildNativeWorkspace: typeof createBuildNativeWorkspace;
|
|
77
|
+
hasCurrentPodInstall: typeof hasCurrentPodInstall;
|
|
78
|
+
installedAppPath: typeof installedAppPath;
|
|
79
|
+
installArchivedApp: typeof installArchivedApp;
|
|
80
|
+
nativeArchiveArgs: typeof nativeArchiveArgs;
|
|
81
|
+
parseBuildOptions: typeof parseBuildOptions;
|
|
82
|
+
parseNewOptions: typeof parseNewOptions;
|
|
83
|
+
parsePublishOtaOptions: typeof parsePublishOtaOptions;
|
|
84
|
+
platformRelease: typeof platformRelease;
|
|
85
|
+
podInstallInputStamp: typeof podInstallInputStamp;
|
|
86
|
+
replaceOrInsertPlistString: typeof replaceOrInsertPlistString;
|
|
87
|
+
};
|
|
88
|
+
//#endregion
|
|
89
|
+
export { __test };
|
package/dist/cli.d.ts
CHANGED
|
@@ -1 +1,89 @@
|
|
|
1
|
-
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { t as BleamAppearance } from "./config-Cms0rvqg.js";
|
|
3
|
+
|
|
4
|
+
//#region src/cli.d.ts
|
|
5
|
+
interface BuildOptions {
|
|
6
|
+
projectRoot: string;
|
|
7
|
+
output: string;
|
|
8
|
+
configuration: string;
|
|
9
|
+
clean: boolean;
|
|
10
|
+
exportOptionsPlist?: string;
|
|
11
|
+
}
|
|
12
|
+
interface PublishOtaOptions {
|
|
13
|
+
projectRoot: string;
|
|
14
|
+
serviceUrl: string;
|
|
15
|
+
}
|
|
16
|
+
interface ProjectConfig {
|
|
17
|
+
name: string;
|
|
18
|
+
version?: string;
|
|
19
|
+
buildNumber: string;
|
|
20
|
+
bundleIdentifier?: string;
|
|
21
|
+
appGroups: string[];
|
|
22
|
+
teamId?: string;
|
|
23
|
+
appearance: BleamAppearance;
|
|
24
|
+
runtimeVersion: string;
|
|
25
|
+
sdkVersion: string;
|
|
26
|
+
}
|
|
27
|
+
declare function parsePublishOtaOptions(argv: string[]): PublishOtaOptions;
|
|
28
|
+
declare function parseNewOptions(argv: string[]): {
|
|
29
|
+
projectRoot: string;
|
|
30
|
+
template: "basic" | "state" | "foundation-models" | "image-generation";
|
|
31
|
+
};
|
|
32
|
+
declare const projectTemplates: readonly ["basic", "state", "foundation-models", "image-generation"];
|
|
33
|
+
type ProjectTemplate = (typeof projectTemplates)[number];
|
|
34
|
+
declare function parseBuildOptions(argv: string[]): BuildOptions;
|
|
35
|
+
declare function createProject(options: {
|
|
36
|
+
projectRoot: string;
|
|
37
|
+
template?: ProjectTemplate;
|
|
38
|
+
}): void;
|
|
39
|
+
declare function replaceOrInsertPlistString(plist: string, key: string, value: string): string;
|
|
40
|
+
declare function createBuildNativeWorkspace(options: BuildOptions, config: ProjectConfig): string;
|
|
41
|
+
declare function podInstallInputStamp(iosRoot: string): string;
|
|
42
|
+
declare function hasCurrentPodInstall(iosRoot: string, expectedStamp: string): boolean;
|
|
43
|
+
declare function nativeArchiveArgs(options: {
|
|
44
|
+
nativeRoot: string;
|
|
45
|
+
archivePath: string;
|
|
46
|
+
configuration: string;
|
|
47
|
+
}): string[];
|
|
48
|
+
declare function installArchivedApp(archivePath: string, applications?: string): string;
|
|
49
|
+
declare function installedAppPath(appName: string): string;
|
|
50
|
+
declare function platformRelease(config: ProjectConfig, releaseId: string, sizeBytes: number, digest: string): {
|
|
51
|
+
schemaVersion: number;
|
|
52
|
+
kind: string;
|
|
53
|
+
bundleIdentifier: string;
|
|
54
|
+
teamIdentifier: string;
|
|
55
|
+
channel: string;
|
|
56
|
+
releaseId: string;
|
|
57
|
+
appVersion: string;
|
|
58
|
+
buildNumber: string;
|
|
59
|
+
bleamPlatformVersion: string;
|
|
60
|
+
target: {
|
|
61
|
+
os: string;
|
|
62
|
+
architecture: string;
|
|
63
|
+
installLocation: string;
|
|
64
|
+
minimumMacOSVersion: string;
|
|
65
|
+
};
|
|
66
|
+
artifact: {
|
|
67
|
+
format: string;
|
|
68
|
+
downloadId: string;
|
|
69
|
+
sizeBytes: number;
|
|
70
|
+
sha256: string;
|
|
71
|
+
};
|
|
72
|
+
publishedAt: string;
|
|
73
|
+
};
|
|
74
|
+
declare const __test: {
|
|
75
|
+
createProject: typeof createProject;
|
|
76
|
+
createBuildNativeWorkspace: typeof createBuildNativeWorkspace;
|
|
77
|
+
hasCurrentPodInstall: typeof hasCurrentPodInstall;
|
|
78
|
+
installedAppPath: typeof installedAppPath;
|
|
79
|
+
installArchivedApp: typeof installArchivedApp;
|
|
80
|
+
nativeArchiveArgs: typeof nativeArchiveArgs;
|
|
81
|
+
parseBuildOptions: typeof parseBuildOptions;
|
|
82
|
+
parseNewOptions: typeof parseNewOptions;
|
|
83
|
+
parsePublishOtaOptions: typeof parsePublishOtaOptions;
|
|
84
|
+
platformRelease: typeof platformRelease;
|
|
85
|
+
podInstallInputStamp: typeof podInstallInputStamp;
|
|
86
|
+
replaceOrInsertPlistString: typeof replaceOrInsertPlistString;
|
|
87
|
+
};
|
|
88
|
+
//#endregion
|
|
89
|
+
export { __test };
|