@platforma-sdk/block-tools 2.11.4 → 2.11.6

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.11.4",
3
+ "version": "2.11.6",
4
4
  "description": "Utility to manipulate Platforma Blocks and Block Registry",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {
@@ -34,12 +34,12 @@
34
34
  "yaml": "^2.8.0",
35
35
  "zod": "~3.25.76",
36
36
  "@milaboratories/pl-http": "1.2.4",
37
- "@milaboratories/pl-model-backend": "1.4.8",
38
37
  "@milaboratories/pl-model-middle-layer": "1.30.9",
38
+ "@milaboratories/pl-model-common": "1.46.2",
39
39
  "@milaboratories/resolve-helper": "1.1.3",
40
- "@platforma-sdk/blocks-deps-updater": "2.2.0",
40
+ "@milaboratories/pl-model-backend": "1.4.9",
41
41
  "@milaboratories/ts-helpers": "1.8.3",
42
- "@milaboratories/pl-model-common": "1.46.2"
42
+ "@platforma-sdk/blocks-deps-updater": "2.2.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@rollup/plugin-node-resolve": "^16.0.1",
@@ -54,9 +54,9 @@
54
54
  "vite": "^8.0.6",
55
55
  "vite-plugin-dts": "^4.5.3",
56
56
  "vitest": "^4.1.3",
57
+ "@milaboratories/build-configs": "2.0.0",
57
58
  "@milaboratories/ts-builder": "1.6.0",
58
- "@milaboratories/ts-configs": "1.3.0",
59
- "@milaboratories/build-configs": "2.0.0"
59
+ "@milaboratories/ts-configs": "1.3.0"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "vite build",
@@ -10,6 +10,7 @@
10
10
 
11
11
  import {
12
12
  ensureField,
13
+ removeField,
13
14
  ensureScript,
14
15
  ensureDevDeps,
15
16
  enforceAlphabeticalOrder,
@@ -46,7 +47,6 @@ export function softwarePackageJsonInitial(ctx: RunContext): Record<string, unkn
46
47
  const v = ctx.blockVars;
47
48
  return {
48
49
  name: `${v.facadeName}.software`,
49
- private: true,
50
50
  type: "module",
51
51
  description: "Block Software",
52
52
  files: ["./dist/**/*"],
@@ -65,10 +65,11 @@ export function softwarePackageJsonInitial(ctx: RunContext): Record<string, unkn
65
65
  }
66
66
 
67
67
  export function softwarePackageJsonRules(): void {
68
- // Controlled sibling — workspace-only, never npm-published. (Software still
69
- // publishes runenv artifacts via `pl-pkg`, which is unaffected by `private`.)
70
- // The `version` is kept (changesets-owned) so the packed template carries it.
71
- ensureField("private", true);
68
+ // Software packages must never be private: `pl-pkg` gates docker image
69
+ // auto-push on `!isPrivate`, so a private software package builds its image
70
+ // but never pushes it — the block then 404s pulling it at runtime. Strip it
71
+ // so a `structure refresh` heals any block that has it.
72
+ removeField("private");
72
73
 
73
74
  ensureField("type", "module");
74
75
  ensureField("files", ["./dist/**/*"]);