@platforma-sdk/block-tools 2.12.12 → 2.13.0

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.12",
3
+ "version": "2.13.0",
4
4
  "description": "Utility to manipulate Platforma Blocks and Block Registry",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {
@@ -36,12 +36,12 @@
36
36
  "zod": "~3.25.76",
37
37
  "@milaboratories/pl-http": "1.2.4",
38
38
  "@milaboratories/pl-model-middle-layer": "1.31.0",
39
- "@milaboratories/pl-model-backend": "1.4.19",
39
+ "@milaboratories/pl-model-backend": "1.4.20",
40
40
  "@milaboratories/resolve-helper": "1.1.3",
41
- "@milaboratories/ts-helpers": "1.8.6",
42
- "@platforma-sdk/blocks-deps-updater": "2.2.0",
43
41
  "@milaboratories/pl-model-common": "1.47.3",
44
- "@platforma-sdk/package-builder-lib": "1.2.1"
42
+ "@milaboratories/ts-helpers": "1.8.6",
43
+ "@platforma-sdk/package-builder-lib": "1.3.0",
44
+ "@platforma-sdk/blocks-deps-updater": "2.2.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@rollup/plugin-node-resolve": "^16.0.1",
@@ -56,9 +56,9 @@
56
56
  "vite": "^8.0.6",
57
57
  "vite-plugin-dts": "^4.5.3",
58
58
  "vitest": "^4.1.3",
59
- "@milaboratories/build-configs": "2.0.0",
59
+ "@milaboratories/ts-configs": "1.4.0",
60
60
  "@milaboratories/ts-builder": "1.6.2",
61
- "@milaboratories/ts-configs": "1.4.0"
61
+ "@milaboratories/build-configs": "2.0.0"
62
62
  },
63
63
  "scripts": {
64
64
  "build": "vite build",
@@ -1,5 +1,10 @@
1
1
  import { Command, Option } from "commander";
2
- import { util, envs, createBuilder } from "@platforma-sdk/package-builder-lib";
2
+ import {
3
+ util,
4
+ envs,
5
+ createBuilder,
6
+ assertDockerPushIntent,
7
+ } from "@platforma-sdk/package-builder-lib";
3
8
  import { parseScenario, channels, variants, locations } from "./knobs";
4
9
  import { runBuild } from "./run-build";
5
10
  import {
@@ -144,6 +149,17 @@ export function softwareBuildCommand(): Command {
144
149
  disable: o.dockerNoAutopush,
145
150
  });
146
151
 
152
+ // Only the bare (pl-pkg-parity) scenario derives its push from isPrivate; the
153
+ // target scenarios push on location=remote and never consult it.
154
+ if (scenario.kind === "bare") {
155
+ assertDockerPushIntent({
156
+ buildDocker,
157
+ pushDocker,
158
+ pushDisabledExplicitly: Boolean(o.dockerNoAutopush),
159
+ dockerPackageCount: core.selectedDockerPackages(o.packageId).length,
160
+ });
161
+ }
162
+
147
163
  await runBuild({
148
164
  core,
149
165
  scenario,