@apps-in-toss/plugins 0.0.16 → 0.0.17
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 +2756 -10285
- package/dist/index.d.cts +3 -15
- package/dist/index.d.ts +3 -15
- package/dist/index.js +2757 -10291
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -53,28 +53,16 @@ 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
|
-
interface CompileHbcOptions {
|
|
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
|
-
}
|
|
67
|
-
|
|
68
56
|
type BuildResult = {
|
|
69
57
|
jsFile: string;
|
|
70
58
|
platform: 'ios' | 'android';
|
|
71
59
|
};
|
|
72
60
|
interface CreateArtifactOptions {
|
|
73
|
-
|
|
61
|
+
bundleFiles: {
|
|
74
62
|
path: string;
|
|
75
63
|
platform: 'ios' | 'android';
|
|
76
64
|
}[];
|
|
77
|
-
reactNativeVersion:
|
|
65
|
+
reactNativeVersion: string;
|
|
78
66
|
appJsonPath: string;
|
|
79
67
|
outfile: string;
|
|
80
68
|
deploymentId: string;
|
|
@@ -84,7 +72,7 @@ interface CreateArtifactOptions {
|
|
|
84
72
|
}[];
|
|
85
73
|
}
|
|
86
74
|
declare function validateZip(zipPath: string): Promise<void>;
|
|
87
|
-
declare function createArtifact(options: CreateArtifactOptions
|
|
75
|
+
declare function createArtifact(options: CreateArtifactOptions): Promise<string>;
|
|
88
76
|
|
|
89
77
|
declare function setupRuntimeSetupScript(config: Pick<AppsInTossPluginOptions, 'brand'> & {
|
|
90
78
|
deploymentId: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -53,28 +53,16 @@ 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
|
-
interface CompileHbcOptions {
|
|
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
|
-
}
|
|
67
|
-
|
|
68
56
|
type BuildResult = {
|
|
69
57
|
jsFile: string;
|
|
70
58
|
platform: 'ios' | 'android';
|
|
71
59
|
};
|
|
72
60
|
interface CreateArtifactOptions {
|
|
73
|
-
|
|
61
|
+
bundleFiles: {
|
|
74
62
|
path: string;
|
|
75
63
|
platform: 'ios' | 'android';
|
|
76
64
|
}[];
|
|
77
|
-
reactNativeVersion:
|
|
65
|
+
reactNativeVersion: string;
|
|
78
66
|
appJsonPath: string;
|
|
79
67
|
outfile: string;
|
|
80
68
|
deploymentId: string;
|
|
@@ -84,7 +72,7 @@ interface CreateArtifactOptions {
|
|
|
84
72
|
}[];
|
|
85
73
|
}
|
|
86
74
|
declare function validateZip(zipPath: string): Promise<void>;
|
|
87
|
-
declare function createArtifact(options: CreateArtifactOptions
|
|
75
|
+
declare function createArtifact(options: CreateArtifactOptions): Promise<string>;
|
|
88
76
|
|
|
89
77
|
declare function setupRuntimeSetupScript(config: Pick<AppsInTossPluginOptions, 'brand'> & {
|
|
90
78
|
deploymentId: string;
|