@apps-in-toss/plugins 0.0.0-dev.1743135526084 → 0.0.0-dev.1747216176095
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/index.cjs +26194 -33670
- package/dist/index.d.cts +6 -16
- package/dist/index.d.ts +6 -16
- package/dist/index.js +26187 -33669
- package/package.json +7 -7
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BedrockPluginCore } from 'react-native-bedrock/
|
|
1
|
+
import { BedrockPluginCore } from '@react-native-bedrock/plugin-core';
|
|
2
2
|
import typia, { tags } from 'typia';
|
|
3
3
|
|
|
4
4
|
type PermissionReadWrite = 'read' | 'write';
|
|
@@ -53,28 +53,18 @@ declare function appsInTossMetroConfig(envScriptPath: string): BedrockPluginCore
|
|
|
53
53
|
declare function appsInTossAppJson(options: Pick<AppsInTossPluginOptions, 'permissions'>): Promise<BedrockPluginCore>;
|
|
54
54
|
declare function appsInToss(options: AppsInTossPluginOptions): (BedrockPluginCore | Promise<BedrockPluginCore>)[];
|
|
55
55
|
|
|
56
|
-
|
|
57
|
-
outdir: string;
|
|
58
|
-
filePath: string;
|
|
59
|
-
}
|
|
60
|
-
type CompileHbcFunc = (options: CompileHbcOptions) => Promise<{
|
|
61
|
-
outfile: string;
|
|
62
|
-
}>;
|
|
63
|
-
|
|
64
|
-
interface CreateCompressedBytecodeDependencies {
|
|
65
|
-
compileHbcFn: CompileHbcFunc;
|
|
66
|
-
}
|
|
56
|
+
declare function analytics(): BedrockPluginCore;
|
|
67
57
|
|
|
68
58
|
type BuildResult = {
|
|
69
59
|
jsFile: string;
|
|
70
60
|
platform: 'ios' | 'android';
|
|
71
61
|
};
|
|
72
62
|
interface CreateArtifactOptions {
|
|
73
|
-
|
|
63
|
+
bundleFiles: {
|
|
74
64
|
path: string;
|
|
75
65
|
platform: 'ios' | 'android';
|
|
76
66
|
}[];
|
|
77
|
-
reactNativeVersion:
|
|
67
|
+
reactNativeVersion: string;
|
|
78
68
|
appJsonPath: string;
|
|
79
69
|
outfile: string;
|
|
80
70
|
deploymentId: string;
|
|
@@ -84,7 +74,7 @@ interface CreateArtifactOptions {
|
|
|
84
74
|
}[];
|
|
85
75
|
}
|
|
86
76
|
declare function validateZip(zipPath: string): Promise<void>;
|
|
87
|
-
declare function createArtifact(options: CreateArtifactOptions
|
|
77
|
+
declare function createArtifact(options: CreateArtifactOptions): Promise<string>;
|
|
88
78
|
|
|
89
79
|
declare function setupRuntimeSetupScript(config: Pick<AppsInTossPluginOptions, 'brand'> & {
|
|
90
80
|
deploymentId: string;
|
|
@@ -93,4 +83,4 @@ declare function setupRuntimeSetupScript(config: Pick<AppsInTossPluginOptions, '
|
|
|
93
83
|
path: string;
|
|
94
84
|
};
|
|
95
85
|
|
|
96
|
-
export { type AppManifest, type AppsInTossPluginOptions, type BridgeTheme, type BuildResult, type CreateArtifactOptions, type Permission, appsInToss, appsInTossAppJson, appsInTossEsbuildConfig, appsInTossMetroConfig, createArtifact, setupRuntimeSetupScript, validateAppManifest, validateZip };
|
|
86
|
+
export { type AppManifest, type AppsInTossPluginOptions, type BridgeTheme, type BuildResult, type CreateArtifactOptions, type Permission, analytics, appsInToss, appsInTossAppJson, appsInTossEsbuildConfig, appsInTossMetroConfig, createArtifact, setupRuntimeSetupScript, validateAppManifest, validateZip };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BedrockPluginCore } from 'react-native-bedrock/
|
|
1
|
+
import { BedrockPluginCore } from '@react-native-bedrock/plugin-core';
|
|
2
2
|
import typia, { tags } from 'typia';
|
|
3
3
|
|
|
4
4
|
type PermissionReadWrite = 'read' | 'write';
|
|
@@ -53,28 +53,18 @@ declare function appsInTossMetroConfig(envScriptPath: string): BedrockPluginCore
|
|
|
53
53
|
declare function appsInTossAppJson(options: Pick<AppsInTossPluginOptions, 'permissions'>): Promise<BedrockPluginCore>;
|
|
54
54
|
declare function appsInToss(options: AppsInTossPluginOptions): (BedrockPluginCore | Promise<BedrockPluginCore>)[];
|
|
55
55
|
|
|
56
|
-
|
|
57
|
-
outdir: string;
|
|
58
|
-
filePath: string;
|
|
59
|
-
}
|
|
60
|
-
type CompileHbcFunc = (options: CompileHbcOptions) => Promise<{
|
|
61
|
-
outfile: string;
|
|
62
|
-
}>;
|
|
63
|
-
|
|
64
|
-
interface CreateCompressedBytecodeDependencies {
|
|
65
|
-
compileHbcFn: CompileHbcFunc;
|
|
66
|
-
}
|
|
56
|
+
declare function analytics(): BedrockPluginCore;
|
|
67
57
|
|
|
68
58
|
type BuildResult = {
|
|
69
59
|
jsFile: string;
|
|
70
60
|
platform: 'ios' | 'android';
|
|
71
61
|
};
|
|
72
62
|
interface CreateArtifactOptions {
|
|
73
|
-
|
|
63
|
+
bundleFiles: {
|
|
74
64
|
path: string;
|
|
75
65
|
platform: 'ios' | 'android';
|
|
76
66
|
}[];
|
|
77
|
-
reactNativeVersion:
|
|
67
|
+
reactNativeVersion: string;
|
|
78
68
|
appJsonPath: string;
|
|
79
69
|
outfile: string;
|
|
80
70
|
deploymentId: string;
|
|
@@ -84,7 +74,7 @@ interface CreateArtifactOptions {
|
|
|
84
74
|
}[];
|
|
85
75
|
}
|
|
86
76
|
declare function validateZip(zipPath: string): Promise<void>;
|
|
87
|
-
declare function createArtifact(options: CreateArtifactOptions
|
|
77
|
+
declare function createArtifact(options: CreateArtifactOptions): Promise<string>;
|
|
88
78
|
|
|
89
79
|
declare function setupRuntimeSetupScript(config: Pick<AppsInTossPluginOptions, 'brand'> & {
|
|
90
80
|
deploymentId: string;
|
|
@@ -93,4 +83,4 @@ declare function setupRuntimeSetupScript(config: Pick<AppsInTossPluginOptions, '
|
|
|
93
83
|
path: string;
|
|
94
84
|
};
|
|
95
85
|
|
|
96
|
-
export { type AppManifest, type AppsInTossPluginOptions, type BridgeTheme, type BuildResult, type CreateArtifactOptions, type Permission, appsInToss, appsInTossAppJson, appsInTossEsbuildConfig, appsInTossMetroConfig, createArtifact, setupRuntimeSetupScript, validateAppManifest, validateZip };
|
|
86
|
+
export { type AppManifest, type AppsInTossPluginOptions, type BridgeTheme, type BuildResult, type CreateArtifactOptions, type Permission, analytics, appsInToss, appsInTossAppJson, appsInTossEsbuildConfig, appsInTossMetroConfig, createArtifact, setupRuntimeSetupScript, validateAppManifest, validateZip };
|