@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
package/dist/cmd/build-meta.d.ts
CHANGED
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
import { Command } from '
|
|
2
|
-
export
|
|
3
|
-
static description: string;
|
|
4
|
-
static flags: {
|
|
5
|
-
modulePath: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
6
|
-
destination: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
7
|
-
};
|
|
8
|
-
run(): Promise<void>;
|
|
9
|
-
}
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
export declare function buildMetaCommand(): Command;
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import { Command } from '
|
|
2
|
-
export
|
|
3
|
-
static description: string;
|
|
4
|
-
static flags: {
|
|
5
|
-
modulePath: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
6
|
-
sourceBundle: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
7
|
-
destination: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
8
|
-
};
|
|
9
|
-
run(): Promise<void>;
|
|
10
|
-
}
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
export declare function buildModelCommand(): Command;
|
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
import { Command } from '
|
|
2
|
-
export
|
|
3
|
-
static description: string;
|
|
4
|
-
static flags: {
|
|
5
|
-
registry: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
6
|
-
json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
7
|
-
};
|
|
8
|
-
run(): Promise<void>;
|
|
9
|
-
}
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
export declare function listOverviewSnapshotsCommand(): Command;
|
|
@@ -1,13 +1,2 @@
|
|
|
1
|
-
import { Command } from '
|
|
2
|
-
export
|
|
3
|
-
static description: string;
|
|
4
|
-
static flags: {
|
|
5
|
-
modulePath: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
6
|
-
channel: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
7
|
-
"version-override": import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
8
|
-
registry: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
9
|
-
refresh: import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
10
|
-
unmark: import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
11
|
-
};
|
|
12
|
-
run(): Promise<void>;
|
|
13
|
-
}
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
export declare function markStableCommand(): Command;
|
package/dist/cmd/pack.d.ts
CHANGED
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
import { Command } from '
|
|
2
|
-
export
|
|
3
|
-
static description: string;
|
|
4
|
-
static flags: {
|
|
5
|
-
modulePath: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
6
|
-
destinationPath: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
7
|
-
};
|
|
8
|
-
run(): Promise<void>;
|
|
9
|
-
}
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
export declare function packCommand(): Command;
|
package/dist/cmd/publish.d.ts
CHANGED
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
import { Command } from '
|
|
2
|
-
export
|
|
3
|
-
static description: string;
|
|
4
|
-
static flags: {
|
|
5
|
-
registry: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
6
|
-
manifest: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
7
|
-
"version-override": import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
8
|
-
refresh: import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
9
|
-
unstable: import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
10
|
-
};
|
|
11
|
-
run(): Promise<void>;
|
|
12
|
-
}
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
export declare function publishCommand(): Command;
|
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
import { Command } from '
|
|
2
|
-
export
|
|
3
|
-
static description: string;
|
|
4
|
-
static flags: {
|
|
5
|
-
registry: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
6
|
-
mode: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
7
|
-
};
|
|
8
|
-
run(): Promise<void>;
|
|
9
|
-
}
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
export declare function refreshRegistryCommand(): Command;
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import { Command } from '
|
|
2
|
-
export
|
|
3
|
-
static description: string;
|
|
4
|
-
static flags: {
|
|
5
|
-
registry: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
6
|
-
snapshot: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
7
|
-
"skip-confirmation": import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
8
|
-
};
|
|
9
|
-
run(): Promise<void>;
|
|
10
|
-
}
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
export declare function restoreOverviewFromSnapshotCommand(): Command;
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import { Command } from '
|
|
2
|
-
export
|
|
3
|
-
static description: string;
|
|
4
|
-
static examples: string[];
|
|
5
|
-
static strict: boolean;
|
|
6
|
-
static flags: {
|
|
7
|
-
"sdk-internal": import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
8
|
-
};
|
|
9
|
-
run(): Promise<void>;
|
|
10
|
-
}
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
export declare function structureCheckCommand(packageRoot: string): Command;
|
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
import { Command } from '
|
|
2
|
-
export
|
|
3
|
-
static description: string;
|
|
4
|
-
static examples: string[];
|
|
5
|
-
static args: {
|
|
6
|
-
path: import('@oclif/core/interfaces').Arg<string | undefined, Record<string, unknown>>;
|
|
7
|
-
};
|
|
8
|
-
static flags: {
|
|
9
|
-
"npm-org": import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
10
|
-
"org-scope": import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
11
|
-
"short-name": import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
12
|
-
"with-software": import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
13
|
-
"no-software": import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
14
|
-
platform: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
15
|
-
"non-interactive": import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
16
|
-
};
|
|
17
|
-
run(): Promise<void>;
|
|
18
|
-
}
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
export declare function structureInitCommand(packageRoot: string): Command;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { Command } from '
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
import { MiLogger } from '@milaboratories/ts-helpers';
|
|
3
|
+
export declare function runRefresh(opts: {
|
|
4
|
+
paths: string[];
|
|
5
|
+
isSdkInternal: boolean;
|
|
6
|
+
updateDepsOnly: boolean;
|
|
7
|
+
templatesRoot: string;
|
|
8
|
+
logger: MiLogger;
|
|
9
|
+
}): Promise<void>;
|
|
10
|
+
export declare function structureRefreshCommand(packageRoot: string): Command;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command } from '
|
|
1
|
+
import { Command } from 'commander';
|
|
2
2
|
/**
|
|
3
3
|
* Deprecated. Phase-2 forwarding alias (spec.md § "Coexistence And
|
|
4
4
|
* Retirement"): delegates to `structure refresh --update-deps-only`,
|
|
@@ -6,8 +6,4 @@ import { Command } from '@oclif/core';
|
|
|
6
6
|
* semantics. Prints a deprecation warning; will be removed once the
|
|
7
7
|
* structurer path has been live without surprises.
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
10
|
-
static description: string;
|
|
11
|
-
static examples: string[];
|
|
12
|
-
run(): Promise<void>;
|
|
13
|
-
}
|
|
9
|
+
export declare function updateDepsCommand(packageRoot: string): Command;
|
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
import { Command } from '
|
|
2
|
-
export
|
|
3
|
-
static description: string;
|
|
4
|
-
static flags: {
|
|
5
|
-
registry: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
6
|
-
organization: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
7
|
-
package: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
8
|
-
version: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
9
|
-
meta: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
10
|
-
file: import('@oclif/core/interfaces').OptionFlag<import('../registry_v1/flags').TargetFile[], import('@oclif/core/interfaces').CustomOptions>;
|
|
11
|
-
refresh: import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
12
|
-
};
|
|
13
|
-
run(): Promise<void>;
|
|
14
|
-
}
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
export declare function uploadPackageV1Command(): Command;
|