@apps-in-toss/plugins 0.0.26 → 0.0.28
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 +368 -279
- package/dist/index.d.cts +18 -2
- package/dist/index.d.ts +18 -2
- package/dist/index.js +386 -298
- package/package.json +8 -5
package/dist/index.d.cts
CHANGED
|
@@ -55,6 +55,16 @@ declare function appsInToss(options: AppsInTossPluginOptions): (BedrockPluginCor
|
|
|
55
55
|
|
|
56
56
|
declare function analytics(): BedrockPluginCore;
|
|
57
57
|
|
|
58
|
+
interface AppsInTossBuildMetadata {
|
|
59
|
+
runtimeVersion: string;
|
|
60
|
+
deploymentId: string;
|
|
61
|
+
bundleFiles: string[];
|
|
62
|
+
packageJson: {
|
|
63
|
+
dependencies: Record<string, string>;
|
|
64
|
+
devDependencies: Record<string, string>;
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
58
68
|
type BuildResult = {
|
|
59
69
|
jsFile: string;
|
|
60
70
|
platform: 'ios' | 'android';
|
|
@@ -67,7 +77,8 @@ interface CreateArtifactOptions {
|
|
|
67
77
|
reactNativeVersion: string;
|
|
68
78
|
appJsonPath: string;
|
|
69
79
|
outfile: string;
|
|
70
|
-
deploymentId:
|
|
80
|
+
deploymentId: AppsInTossBuildMetadata['deploymentId'];
|
|
81
|
+
packageJson: AppsInTossBuildMetadata['packageJson'];
|
|
71
82
|
additionalFilesToZip?: {
|
|
72
83
|
path: string;
|
|
73
84
|
name: string;
|
|
@@ -83,4 +94,9 @@ declare function setupRuntimeSetupScript(config: Pick<AppsInTossPluginOptions, '
|
|
|
83
94
|
path: string;
|
|
84
95
|
};
|
|
85
96
|
|
|
86
|
-
|
|
97
|
+
declare function collectDependencyVersions(rootDir: string): Promise<{
|
|
98
|
+
dependencies: Record<string, string>;
|
|
99
|
+
devDependencies: Record<string, string>;
|
|
100
|
+
}>;
|
|
101
|
+
|
|
102
|
+
export { type AppManifest, type AppsInTossPluginOptions, type BridgeTheme, type BuildResult, type CreateArtifactOptions, type Permission, analytics, appsInToss, appsInTossAppJson, appsInTossEsbuildConfig, appsInTossMetroConfig, collectDependencyVersions, createArtifact, setupRuntimeSetupScript, validateAppManifest, validateZip };
|
package/dist/index.d.ts
CHANGED
|
@@ -55,6 +55,16 @@ declare function appsInToss(options: AppsInTossPluginOptions): (BedrockPluginCor
|
|
|
55
55
|
|
|
56
56
|
declare function analytics(): BedrockPluginCore;
|
|
57
57
|
|
|
58
|
+
interface AppsInTossBuildMetadata {
|
|
59
|
+
runtimeVersion: string;
|
|
60
|
+
deploymentId: string;
|
|
61
|
+
bundleFiles: string[];
|
|
62
|
+
packageJson: {
|
|
63
|
+
dependencies: Record<string, string>;
|
|
64
|
+
devDependencies: Record<string, string>;
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
58
68
|
type BuildResult = {
|
|
59
69
|
jsFile: string;
|
|
60
70
|
platform: 'ios' | 'android';
|
|
@@ -67,7 +77,8 @@ interface CreateArtifactOptions {
|
|
|
67
77
|
reactNativeVersion: string;
|
|
68
78
|
appJsonPath: string;
|
|
69
79
|
outfile: string;
|
|
70
|
-
deploymentId:
|
|
80
|
+
deploymentId: AppsInTossBuildMetadata['deploymentId'];
|
|
81
|
+
packageJson: AppsInTossBuildMetadata['packageJson'];
|
|
71
82
|
additionalFilesToZip?: {
|
|
72
83
|
path: string;
|
|
73
84
|
name: string;
|
|
@@ -83,4 +94,9 @@ declare function setupRuntimeSetupScript(config: Pick<AppsInTossPluginOptions, '
|
|
|
83
94
|
path: string;
|
|
84
95
|
};
|
|
85
96
|
|
|
86
|
-
|
|
97
|
+
declare function collectDependencyVersions(rootDir: string): Promise<{
|
|
98
|
+
dependencies: Record<string, string>;
|
|
99
|
+
devDependencies: Record<string, string>;
|
|
100
|
+
}>;
|
|
101
|
+
|
|
102
|
+
export { type AppManifest, type AppsInTossPluginOptions, type BridgeTheme, type BuildResult, type CreateArtifactOptions, type Permission, analytics, appsInToss, appsInTossAppJson, appsInTossEsbuildConfig, appsInTossMetroConfig, collectDependencyVersions, createArtifact, setupRuntimeSetupScript, validateAppManifest, validateZip };
|