@apps-in-toss/plugins 0.0.25 → 0.0.27
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 +26244 -26158
- package/dist/index.d.cts +19 -3
- package/dist/index.d.ts +19 -3
- package/dist/index.js +26263 -26178
- package/package.json +10 -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';
|
|
@@ -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
|
@@ -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';
|
|
@@ -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 };
|