@platforma-sdk/block-tools 2.11.1 → 2.11.3
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/bin/run.js +9 -5
- package/dist/cli.d.ts +3 -0
- package/dist/cli.js +12 -12
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +740 -930
- package/dist/cli.mjs.map +1 -1
- package/dist/cmd/build-meta.d.ts +2 -9
- package/dist/cmd/build-model.d.ts +2 -10
- package/dist/cmd/list-overview-snapshots.d.ts +2 -9
- package/dist/cmd/mark-stable.d.ts +2 -13
- package/dist/cmd/pack.d.ts +2 -9
- package/dist/cmd/publish.d.ts +2 -12
- package/dist/cmd/refresh-registry.d.ts +2 -9
- package/dist/cmd/restore-overview-from-snapshot.d.ts +2 -10
- package/dist/cmd/structure/check.d.ts +2 -10
- package/dist/cmd/structure/init.d.ts +2 -18
- package/dist/cmd/structure/refresh.d.ts +10 -11
- package/dist/cmd/update-deps.d.ts +2 -6
- package/dist/cmd/upload-package-v1.d.ts +2 -14
- package/dist/config-DpfTzcgG.mjs.map +1 -1
- package/dist/config-xxVy3IQR.js.map +1 -1
- package/dist/registry_v1/config_schema.d.ts +7 -7
- package/dist/registry_v1/flags.d.ts +2 -4
- package/dist/structure/cli/run-structure.d.ts +1 -1
- package/dist/v2/registry/schema_public.d.ts +3600 -3600
- package/package.json +7 -22
- package/src/cli.test.ts +56 -0
- package/src/cli.ts +50 -0
- package/src/cmd/build-meta.ts +11 -22
- package/src/cmd/build-model.ts +16 -33
- package/src/cmd/list-overview-snapshots.ts +24 -28
- package/src/cmd/mark-stable.ts +35 -55
- package/src/cmd/pack.ts +11 -22
- package/src/cmd/publish.ts +35 -49
- package/src/cmd/refresh-registry.ts +22 -26
- package/src/cmd/restore-overview-from-snapshot.ts +24 -34
- package/src/cmd/structure/check.ts +19 -28
- package/src/cmd/structure/init.ts +40 -47
- package/src/cmd/structure/refresh.ts +45 -36
- package/src/cmd/update-deps.ts +22 -12
- package/src/cmd/upload-package-v1.ts +42 -60
- package/src/registry_v1/flags.ts +7 -7
- package/src/structure/cli/run-structure.ts +2 -2
- package/src/v2/model/content_conversion.ts +0 -1
- package/bin/dev.cmd +0 -3
- package/bin/dev.js +0 -6
- package/dist/cmd/index.d.ts +0 -28
- package/src/cmd/index.ts +0 -31
|
@@ -29,8 +29,8 @@ export declare const PlRegCommonConfigData: z.ZodObject<{
|
|
|
29
29
|
registries: Record<string, string>;
|
|
30
30
|
registry?: string | undefined;
|
|
31
31
|
}, {
|
|
32
|
-
registry?: string | undefined;
|
|
33
32
|
registries?: Record<string, string> | undefined;
|
|
33
|
+
registry?: string | undefined;
|
|
34
34
|
}>;
|
|
35
35
|
export type PlRegCommonConfigData = z.infer<typeof PlRegCommonConfigData>;
|
|
36
36
|
export declare const PlRegFullPackageConfigData: z.ZodObject<{
|
|
@@ -38,9 +38,9 @@ export declare const PlRegFullPackageConfigData: z.ZodObject<{
|
|
|
38
38
|
meta: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
39
39
|
files: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
40
40
|
version: z.ZodString;
|
|
41
|
-
registry: z.ZodString;
|
|
42
41
|
package: z.ZodString;
|
|
43
42
|
registries: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
43
|
+
registry: z.ZodString;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
45
|
organization: string;
|
|
46
46
|
meta: {} & {
|
|
@@ -48,17 +48,17 @@ export declare const PlRegFullPackageConfigData: z.ZodObject<{
|
|
|
48
48
|
};
|
|
49
49
|
files: Record<string, string>;
|
|
50
50
|
version: string;
|
|
51
|
-
registry: string;
|
|
52
51
|
package: string;
|
|
53
52
|
registries: Record<string, string>;
|
|
53
|
+
registry: string;
|
|
54
54
|
}, {
|
|
55
55
|
organization: string;
|
|
56
56
|
meta: {} & {
|
|
57
57
|
[k: string]: unknown;
|
|
58
58
|
};
|
|
59
59
|
version: string;
|
|
60
|
-
registry: string;
|
|
61
60
|
package: string;
|
|
61
|
+
registry: string;
|
|
62
62
|
files?: Record<string, string> | undefined;
|
|
63
63
|
registries?: Record<string, string> | undefined;
|
|
64
64
|
}>;
|
|
@@ -68,25 +68,25 @@ export declare const PlRegPackageConfigDataShard: z.ZodObject<{
|
|
|
68
68
|
meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
69
69
|
files: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
70
70
|
version: z.ZodOptional<z.ZodString>;
|
|
71
|
-
registry: z.ZodOptional<z.ZodString>;
|
|
72
71
|
package: z.ZodOptional<z.ZodString>;
|
|
73
72
|
registries: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
73
|
+
registry: z.ZodOptional<z.ZodString>;
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
75
|
files: Record<string, string>;
|
|
76
76
|
registries: Record<string, string>;
|
|
77
77
|
organization?: string | undefined;
|
|
78
78
|
meta?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
79
79
|
version?: string | undefined;
|
|
80
|
-
registry?: string | undefined;
|
|
81
80
|
package?: string | undefined;
|
|
81
|
+
registry?: string | undefined;
|
|
82
82
|
}, {
|
|
83
83
|
organization?: string | undefined;
|
|
84
84
|
meta?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
85
85
|
files?: Record<string, string> | undefined;
|
|
86
86
|
version?: string | undefined;
|
|
87
|
-
registry?: string | undefined;
|
|
88
87
|
package?: string | undefined;
|
|
89
88
|
registries?: Record<string, string> | undefined;
|
|
89
|
+
registry?: string | undefined;
|
|
90
90
|
}>;
|
|
91
91
|
export type PlRegPackageConfigDataShard = z.infer<typeof PlRegPackageConfigDataShard>;
|
|
92
92
|
export declare const PlPackageJsonConfigFile = "pl.package.json";
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
+
import { Option } from 'commander';
|
|
1
2
|
export interface TargetFile {
|
|
2
3
|
src: string;
|
|
3
4
|
destName: string;
|
|
4
5
|
}
|
|
5
|
-
export declare
|
|
6
|
-
multiple: false;
|
|
7
|
-
requiredOrDefaulted: false;
|
|
8
|
-
}>;
|
|
6
|
+
export declare function targetFileOption(flags: string, summary: string): Option;
|
|
@@ -6,7 +6,7 @@ export type RunStructureInput = {
|
|
|
6
6
|
isSdkInternal: boolean;
|
|
7
7
|
updateDepsOnly: boolean;
|
|
8
8
|
mode: StructureMode;
|
|
9
|
-
/** `<block-tools>/src/structure/templates
|
|
9
|
+
/** `<block-tools>/src/structure/templates`. */
|
|
10
10
|
templatesRoot: string;
|
|
11
11
|
log: (msg: string) => void;
|
|
12
12
|
};
|