Skip to content

Commit

Permalink
Merge pull request #11 from milaboratory/fix/republish-all
Browse files Browse the repository at this point in the history
fix: republish all packages
  • Loading branch information
DenKoren authored Dec 18, 2024
2 parents 7426901 + c99cad1 commit 6725c9b
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 20 deletions.
15 changes: 15 additions & 0 deletions .changeset/eighty-ads-brush.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion guided-command/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion hello-world-py/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion java-stub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion mnz-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 12 additions & 8 deletions python-stub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
]
}
}
Expand All @@ -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:"
}
}
2 changes: 1 addition & 1 deletion read-with-sleep/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion runenv-java-stub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion runenv-python-stub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion sleep/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion table-converter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 6725c9b

Please sign in to comment.