Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: republish all packages #11

Merged
merged 2 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading