@platforma-sdk/block-tools 2.6.66 → 2.6.68

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-sdk/block-tools",
3
- "version": "2.6.66",
3
+ "version": "2.6.68",
4
4
  "description": "Utility to manipulate Platforma Blocks and Block Registry",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {
@@ -32,13 +32,13 @@
32
32
  "undici": "~7.16.0",
33
33
  "yaml": "^2.8.0",
34
34
  "zod": "~3.23.8",
35
- "@milaboratories/pl-model-common": "1.25.2",
36
35
  "@milaboratories/pl-http": "1.2.4",
37
- "@milaboratories/pl-model-middle-layer": "1.12.11",
38
- "@milaboratories/ts-helpers": "1.7.3",
36
+ "@milaboratories/pl-model-common": "1.25.3",
37
+ "@milaboratories/pl-model-middle-layer": "1.12.12",
39
38
  "@milaboratories/resolve-helper": "1.1.3",
40
- "@milaboratories/ts-helpers-oclif": "1.1.38",
41
- "@platforma-sdk/blocks-deps-updater": "2.0.2"
39
+ "@platforma-sdk/blocks-deps-updater": "2.1.0",
40
+ "@milaboratories/ts-helpers": "1.7.3",
41
+ "@milaboratories/ts-helpers-oclif": "1.1.38"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@rollup/plugin-node-resolve": "^16.0.1",
@@ -53,10 +53,10 @@
53
53
  "vite": "8.0.0-beta.15",
54
54
  "vite-plugin-dts": "^4.5.3",
55
55
  "vitest": "^4.0.18",
56
- "@milaboratories/ts-configs": "1.2.2",
57
- "@milaboratories/ts-builder": "1.3.0",
58
56
  "@milaboratories/build-configs": "1.5.2",
59
- "@milaboratories/oclif-index": "1.1.1"
57
+ "@milaboratories/ts-configs": "1.2.2",
58
+ "@milaboratories/oclif-index": "1.1.1",
59
+ "@milaboratories/ts-builder": "1.3.0"
60
60
  },
61
61
  "oclif": {
62
62
  "bin": "block-tools",
@@ -1,6 +1,5 @@
1
1
  import { Command } from "@oclif/core";
2
- import { execFileSync } from "node:child_process";
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
- const require = createRequire(import.meta.url);
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
  }