@platforma-sdk/block-tools 2.12.0 → 2.12.2
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.
|
|
3
|
+
"version": "2.12.2",
|
|
4
4
|
"description": "Utility to manipulate Platforma Blocks and Block Registry",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"bin": {
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"yaml": "^2.8.0",
|
|
36
36
|
"zod": "~3.25.76",
|
|
37
37
|
"@milaboratories/pl-http": "1.2.4",
|
|
38
|
-
"@milaboratories/pl-model-backend": "1.4.13",
|
|
39
|
-
"@milaboratories/pl-model-common": "1.46.4",
|
|
40
38
|
"@milaboratories/pl-model-middle-layer": "1.30.11",
|
|
39
|
+
"@milaboratories/pl-model-common": "1.46.4",
|
|
40
|
+
"@milaboratories/resolve-helper": "1.1.3",
|
|
41
41
|
"@platforma-sdk/blocks-deps-updater": "2.2.0",
|
|
42
|
+
"@milaboratories/pl-model-backend": "1.4.13",
|
|
42
43
|
"@platforma-sdk/package-builder-lib": "1.2.0",
|
|
43
|
-
"@milaboratories/ts-helpers": "1.8.4"
|
|
44
|
-
"@milaboratories/resolve-helper": "1.1.3"
|
|
44
|
+
"@milaboratories/ts-helpers": "1.8.4"
|
|
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/ts-builder": "1.6.0",
|
|
59
60
|
"@milaboratories/build-configs": "2.0.0",
|
|
60
|
-
"@milaboratories/ts-configs": "1.3.0"
|
|
61
|
-
"@milaboratories/ts-builder": "1.6.0"
|
|
61
|
+
"@milaboratories/ts-configs": "1.3.0"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
64
|
"build": "vite build",
|
|
@@ -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",
|
|
@@ -11,7 +11,7 @@ on:
|
|
|
11
11
|
workflow_dispatch: {}
|
|
12
12
|
jobs:
|
|
13
13
|
init:
|
|
14
|
-
runs-on: ubuntu-
|
|
14
|
+
runs-on: hz-ubuntu-dind
|
|
15
15
|
steps:
|
|
16
16
|
- uses: milaboratory/github-ci/actions/context/init@v4
|
|
17
17
|
with:
|
|
@@ -25,7 +25,9 @@ jobs:
|
|
|
25
25
|
app-name: '${appName}'
|
|
26
26
|
app-name-slug: '${appNameSlug}'
|
|
27
27
|
node-version: '20.x'
|
|
28
|
-
|
|
28
|
+
gha-runner-label: hz-ubuntu-dind
|
|
29
|
+
build-script-name: 'build:dev-local'
|
|
30
|
+
build-before-publish-script-name: 'build:release'
|
|
29
31
|
pnpm-recursive-build: false
|
|
30
32
|
|
|
31
33
|
test: true
|
|
@@ -56,6 +58,15 @@ jobs:
|
|
|
56
58
|
|
|
57
59
|
"AWS_CI_IAM_MONOREPO_SIMPLE_ROLE": ${{ toJSON(secrets.AWS_CI_IAM_MONOREPO_SIMPLE_ROLE) }},
|
|
58
60
|
"AWS_CI_TURBOREPO_S3_BUCKET": ${{ toJSON(secrets.AWS_CI_TURBOREPO_S3_BUCKET) }},
|
|
61
|
+
|
|
62
|
+
"HZ_CI_TURBO_S3_BUCKET": ${{ toJSON(vars.HZ_CI_TURBO_S3_BUCKET) }},
|
|
63
|
+
"HZ_CI_TURBO_S3_ENDPOINT": ${{ toJSON(vars.HZ_CI_TURBO_S3_ENDPOINT) }},
|
|
64
|
+
"HZ_CI_TURBO_S3_REGION": ${{ toJSON(vars.HZ_CI_TURBO_S3_REGION) }},
|
|
65
|
+
"HZ_CI_TURBO_S3_ACCESS_KEY": ${{ toJSON(secrets.HZ_CI_TURBO_S3_ACCESS_KEY) }},
|
|
66
|
+
"HZ_CI_TURBO_S3_SECRET_KEY": ${{ toJSON(secrets.HZ_CI_TURBO_S3_SECRET_KEY) }},
|
|
67
|
+
"HZ_CI_CACHE_S3_ACCESS_KEY": ${{ toJSON(secrets.HZ_CI_CACHE_S3_ACCESS_KEY) }},
|
|
68
|
+
"HZ_CI_CACHE_S3_SECRET_KEY": ${{ toJSON(secrets.HZ_CI_CACHE_S3_SECRET_KEY) }},
|
|
69
|
+
|
|
59
70
|
"PL_REGISTRY_PLATFORMA_OPEN_UPLOAD_URL": ${{ toJSON(secrets.PL_REGISTRY_PLOPEN_UPLOAD_URL) }},
|
|
60
71
|
"QUAY_USERNAME": ${{ toJSON(secrets.QUAY_USERNAME) }},
|
|
61
72
|
"QUAY_ROBOT_TOKEN": ${{ toJSON(secrets.QUAY_ROBOT_TOKEN) }} }
|