@platforma-sdk/block-tools 2.6.65 → 2.6.67
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/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +35 -40
- package/dist/cli.mjs.map +1 -1
- package/dist/v2/model/block_components.d.ts +28 -28
- package/dist/v2/model/block_description.d.ts +454 -454
- package/dist/v2/model/block_meta.d.ts +152 -152
- package/package.json +7 -7
- package/src/cmd/update-deps.ts +2 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-sdk/block-tools",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.67",
|
|
4
4
|
"description": "Utility to manipulate Platforma Blocks and Block Registry",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"bin": {
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"yaml": "^2.8.0",
|
|
34
34
|
"zod": "~3.23.8",
|
|
35
35
|
"@milaboratories/pl-http": "1.2.4",
|
|
36
|
+
"@milaboratories/pl-model-middle-layer": "1.12.11",
|
|
36
37
|
"@milaboratories/pl-model-common": "1.25.2",
|
|
37
|
-
"@milaboratories/resolve-helper": "1.1.3",
|
|
38
|
-
"@milaboratories/pl-model-middle-layer": "1.12.10",
|
|
39
|
-
"@milaboratories/ts-helpers-oclif": "1.1.38",
|
|
40
38
|
"@milaboratories/ts-helpers": "1.7.3",
|
|
41
|
-
"@platforma-sdk/blocks-deps-updater": "2.0
|
|
39
|
+
"@platforma-sdk/blocks-deps-updater": "2.1.0",
|
|
40
|
+
"@milaboratories/ts-helpers-oclif": "1.1.38",
|
|
41
|
+
"@milaboratories/resolve-helper": "1.1.3"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"vite": "8.0.0-beta.15",
|
|
54
54
|
"vite-plugin-dts": "^4.5.3",
|
|
55
55
|
"vitest": "^4.0.18",
|
|
56
|
-
"@milaboratories/build-configs": "1.5.
|
|
56
|
+
"@milaboratories/build-configs": "1.5.2",
|
|
57
|
+
"@milaboratories/ts-builder": "1.3.0",
|
|
57
58
|
"@milaboratories/oclif-index": "1.1.1",
|
|
58
|
-
"@milaboratories/ts-builder": "1.2.13",
|
|
59
59
|
"@milaboratories/ts-configs": "1.2.2"
|
|
60
60
|
},
|
|
61
61
|
"oclif": {
|
package/src/cmd/update-deps.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Command } from "@oclif/core";
|
|
2
|
-
import {
|
|
3
|
-
import { createRequire } from "node:module";
|
|
2
|
+
import { updatePackages } from "@platforma-sdk/blocks-deps-updater";
|
|
4
3
|
|
|
5
4
|
export default class UpdateDeps extends Command {
|
|
6
5
|
static override description =
|
|
@@ -8,14 +7,7 @@ export default class UpdateDeps extends Command {
|
|
|
8
7
|
|
|
9
8
|
static override examples = ["<%= config.bin %> <%= command.id %>"];
|
|
10
9
|
|
|
11
|
-
// eslint-disable-next-line @typescript-eslint/require-await -- oclif requires async but implementation is sync
|
|
12
10
|
public async run(): Promise<void> {
|
|
13
|
-
|
|
14
|
-
const updaterPath = require.resolve("@platforma-sdk/blocks-deps-updater/scripts/updater.js");
|
|
15
|
-
|
|
16
|
-
execFileSync(process.execPath, [updaterPath], {
|
|
17
|
-
stdio: "inherit",
|
|
18
|
-
cwd: process.cwd(),
|
|
19
|
-
});
|
|
11
|
+
await updatePackages();
|
|
20
12
|
}
|
|
21
13
|
}
|