diff --git a/.changeset/eighty-ads-brush.md b/.changeset/eighty-ads-brush.md new file mode 100644 index 0000000..df5767b --- /dev/null +++ b/.changeset/eighty-ads-brush.md @@ -0,0 +1,15 @@ +--- +"@platforma-open/milaboratories.software-small-binaries.runenv-python-stub": patch +"@platforma-open/milaboratories.software-small-binaries.runenv-java-stub": patch +"@platforma-open/milaboratories.software-small-binaries.read-with-sleep": patch +"@platforma-open/milaboratories.software-small-binaries.table-converter": patch +"@platforma-open/milaboratories.software-small-binaries.guided-command": patch +"@platforma-open/milaboratories.software-small-binaries.hello-world-py": patch +"@platforma-open/milaboratories.software-small-binaries.hello-world": patch +"@platforma-open/milaboratories.software-small-binaries.python-stub": patch +"@platforma-open/milaboratories.software-small-binaries.mnz-client": patch +"@platforma-open/milaboratories.software-small-binaries.java-stub": patch +"@platforma-open/milaboratories.software-small-binaries.sleep": patch +--- + +Republish all packages to upload them to platforma registry for all platforms diff --git a/guided-command/package.json b/guided-command/package.json index c7c92f0..372b941 100644 --- a/guided-command/package.json +++ b/guided-command/package.json @@ -5,7 +5,7 @@ "scripts": { "cleanup": "rm -rf ./pkg-*.tgz && rm -rf ./build/ && rm -rf ./dist/", "build": "../scripts/build.sh './guided-command.go' 'guided-command' && pl-pkg build --all-platforms", - "prepublishOnly": "pl-pkg publish" + "prepublishOnly": "pl-pkg publish --all-platforms" }, "block-software": { "entrypoints": { diff --git a/hello-world-py/package.json b/hello-world-py/package.json index c75b1f2..b648b21 100644 --- a/hello-world-py/package.json +++ b/hello-world-py/package.json @@ -5,7 +5,7 @@ "scripts": { "cleanup": "rm -rf ./pkg-*.tgz && rm -rf ./build/ && rm -rf ./dist/", "build": "pl-pkg build", - "prepublishOnly": "pl-pkg publish" + "prepublishOnly": "pl-pkg publish --all-platforms" }, "block-software": { "entrypoints": { diff --git a/hello-world/package.json b/hello-world/package.json index e0fdfcc..8b23ae1 100644 --- a/hello-world/package.json +++ b/hello-world/package.json @@ -5,7 +5,7 @@ "scripts": { "cleanup": "rm -rf ./pkg-*.tgz && rm -rf ./build/ && rm -rf ./dist/", "build": "../scripts/build.sh './hello-world.go' 'hello-world' && pl-pkg build --all-platforms", - "prepublishOnly": "pl-pkg publish" + "prepublishOnly": "pl-pkg publish --all-platforms" }, "block-software": { "entrypoints": { diff --git a/java-stub/package.json b/java-stub/package.json index d2d2880..02be10f 100644 --- a/java-stub/package.json +++ b/java-stub/package.json @@ -5,7 +5,7 @@ "scripts": { "cleanup": "rm -rf ./pkg-*.tgz && rm -rf ./build/ && rm -rf ./dist/", "build": "pl-pkg build", - "prepublishOnly": "pl-pkg publish" + "prepublishOnly": "pl-pkg publish --all-platforms" }, "block-software": { "entrypoints": { diff --git a/mnz-client/package.json b/mnz-client/package.json index 843cb1c..d2fb8ae 100644 --- a/mnz-client/package.json +++ b/mnz-client/package.json @@ -6,7 +6,7 @@ "cleanup": "rm -rf ./pkg-*.tgz && rm -rf ./build/ && rm -rf ./dist/", "build": "../scripts/build.sh './cmd/mnz-client' 'mnz-client' && pl-pkg build --all-platforms", "test": "go test ./...", - "prepublishOnly": "pl-pkg publish" + "prepublishOnly": "pl-pkg publish --all-platforms" }, "block-software": { "entrypoints": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ba874f5..f02fa3c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -111,9 +111,9 @@ importers: python-stub: devDependencies: - '@platforma-open/milaboratories.software-small-binaries.runenv-java-stub': + '@platforma-open/milaboratories.software-small-binaries.runenv-python-stub': specifier: 'workspace:' - version: link:../runenv-java-stub + version: link:../runenv-python-stub '@platforma-sdk/package-builder': specifier: 'catalog:' version: 2.14.2 diff --git a/python-stub/package.json b/python-stub/package.json index 6638a7c..69ff8e3 100644 --- a/python-stub/package.json +++ b/python-stub/package.json @@ -5,23 +5,27 @@ "scripts": { "cleanup": "rm -rf ./pkg-*.tgz && rm -rf ./build/ && rm -rf ./dist/", "build": "pl-pkg build", - "prepublishOnly": "pl-pkg publish" + "prepublishOnly": "pl-pkg publish --all-platforms" }, "block-software": { "entrypoints": { "main": { "binary": { "artifact": { - "type": "java", + "type": "python", "registry": "platforma-open", - "environment": "@platforma-open/milaboratories.software-small-binaries.runenv-java-stub:main", - "root": "./src" + "environment": "@platforma-open/milaboratories.software-small-binaries.runenv-python-stub:main", + "root": "./src", + "dependencies": { + "toolset": "pip", + "requirements": "./requirements.txt" + } }, "cmd": [ - "java", - "got fake java by dependency", + "python", + "got fake python by dependency", "pkg={pkg}", - "java={java}" + "python={python}" ] } } @@ -32,7 +36,7 @@ ], "license": "UNLICENSED", "devDependencies": { - "@platforma-open/milaboratories.software-small-binaries.runenv-java-stub": "workspace:", + "@platforma-open/milaboratories.software-small-binaries.runenv-python-stub": "workspace:", "@platforma-sdk/package-builder": "catalog:" } } diff --git a/read-with-sleep/package.json b/read-with-sleep/package.json index 96cb94a..9ccaf82 100644 --- a/read-with-sleep/package.json +++ b/read-with-sleep/package.json @@ -5,7 +5,7 @@ "scripts": { "cleanup": "rm -rf ./pkg-*.tgz && rm -rf ./build/ && rm -rf ./dist/", "build": "../scripts/build.sh './main.go' 'read-with-sleep' && pl-pkg build --all-platforms", - "prepublishOnly": "pl-pkg publish" + "prepublishOnly": "pl-pkg publish --all-platforms" }, "block-software": { "entrypoints": { diff --git a/runenv-java-stub/package.json b/runenv-java-stub/package.json index ed99399..3099e27 100644 --- a/runenv-java-stub/package.json +++ b/runenv-java-stub/package.json @@ -5,7 +5,7 @@ "scripts": { "cleanup": "rm -rf ./pkg-*.tgz && rm -rf ./build/ && rm -rf ./dist/", "build": "../scripts/build.sh './main.go' 'bin/java' && pl-pkg build --all-platforms", - "prepublishOnly": "pl-pkg publish" + "prepublishOnly": "pl-pkg publish --all-platforms" }, "block-software": { "entrypoints": { diff --git a/runenv-python-stub/package.json b/runenv-python-stub/package.json index 75988be..c1dc4c2 100644 --- a/runenv-python-stub/package.json +++ b/runenv-python-stub/package.json @@ -5,7 +5,7 @@ "scripts": { "cleanup": "rm -rf ./pkg-*.tgz && rm -rf ./build/ && rm -rf ./dist/", "build": "../scripts/build.sh './runenv-python-stub.go' 'bin/python' && ../scripts/build.sh './runenv-python-stub.go' 'bin/pip' && pl-pkg build --all-platforms", - "prepublishOnly": "pl-pkg publish" + "prepublishOnly": "pl-pkg publish --all-platforms" }, "block-software": { "entrypoints": { diff --git a/sleep/package.json b/sleep/package.json index ad8f720..444babf 100644 --- a/sleep/package.json +++ b/sleep/package.json @@ -5,7 +5,7 @@ "scripts": { "cleanup": "rm -rf ./pkg-*.tgz && rm -rf ./build/ && rm -rf ./dist/", "build": "../scripts/build.sh './sleep.go' 'sleep' && pl-pkg build --all-platforms", - "prepublishOnly": "pl-pkg publish" + "prepublishOnly": "pl-pkg publish --all-platforms" }, "block-software": { "entrypoints": { diff --git a/table-converter/package.json b/table-converter/package.json index bf7c038..3c0b93f 100644 --- a/table-converter/package.json +++ b/table-converter/package.json @@ -6,7 +6,7 @@ "cleanup": "rm -rf ./pkg-*.tgz && rm -rf ./build/ && rm -rf ./dist/", "build": "../scripts/build.sh './cmd/table-converter' 'table-converter' && pl-pkg build --all-platforms", "test": "./test.sh", - "prepublishOnly": "pl-pkg publish" + "prepublishOnly": "pl-pkg publish --all-platforms" }, "block-software": { "entrypoints": {