@platforma-sdk/block-tools 2.12.0 → 2.12.1

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.12.0",
3
+ "version": "2.12.1",
4
4
  "description": "Utility to manipulate Platforma Blocks and Block Registry",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {
@@ -34,14 +34,14 @@
34
34
  "undici": "~7.16.0",
35
35
  "yaml": "^2.8.0",
36
36
  "zod": "~3.25.76",
37
- "@milaboratories/pl-http": "1.2.4",
38
37
  "@milaboratories/pl-model-backend": "1.4.13",
38
+ "@milaboratories/ts-helpers": "1.8.4",
39
39
  "@milaboratories/pl-model-common": "1.46.4",
40
+ "@milaboratories/resolve-helper": "1.1.3",
40
41
  "@milaboratories/pl-model-middle-layer": "1.30.11",
41
42
  "@platforma-sdk/blocks-deps-updater": "2.2.0",
42
- "@platforma-sdk/package-builder-lib": "1.2.0",
43
- "@milaboratories/ts-helpers": "1.8.4",
44
- "@milaboratories/resolve-helper": "1.1.3"
43
+ "@milaboratories/pl-http": "1.2.4",
44
+ "@platforma-sdk/package-builder-lib": "1.2.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@rollup/plugin-node-resolve": "^16.0.1",
@@ -37,6 +37,11 @@ describe("root CI workflows (fixed, generated)", () => {
37
37
  // Shared constants.
38
38
  expect(build).toContain("team-id: 'ciplopen'");
39
39
  expect(build).toContain("test: true");
40
+ // No bare `build` script exists (root-package-json removes it), so both
41
+ // build legs must name scenario flavors: PR/test validates locally, the
42
+ // publish leg builds the release channel.
43
+ expect(build).toContain("build-script-name: 'build:dev-local'");
44
+ expect(build).toContain("build-before-publish-script-name: 'build:release'");
40
45
  // The reusable-workflow pins — the whole point of engine-owning the file.
41
46
  expect(build).toContain(
42
47
  "uses: milaboratory/github-ci/.github/workflows/node-simple-pnpm.yaml@v4",
@@ -25,7 +25,8 @@ jobs:
25
25
  app-name: '${appName}'
26
26
  app-name-slug: '${appNameSlug}'
27
27
  node-version: '20.x'
28
- build-script-name: 'build'
28
+ build-script-name: 'build:dev-local'
29
+ build-before-publish-script-name: 'build:release'
29
30
  pnpm-recursive-build: false
30
31
 
31
32
  test: true