Skip to content

Commit 1d19d9b

Browse files
authored
Merge pull request #1 from milaboratory/software_platforms
add software platform's support
2 parents e395844 + 3113522 commit 1d19d9b

File tree

15 files changed

+6271
-2085
lines changed

15 files changed

+6271
-2085
lines changed

.github/workflows/build.yaml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
.test_auth.json
12
node_modules/
23
dist/
34
block-pack/
45
dev/
56
work/
6-
.test_auth.json
7+
log/
8+
.turbo
9+
vite.config.*.timestamp-*
10+
software/**/*.sw.json
11+
software/*.tgz

model/src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ export const model = BlockModel.create<BlockArgs>()
88

99
.initialArgs({})
1010

11-
.output('message', (ctx) => ctx.outputs?.resolve('message')?.getDataAsJson())
11+
.output('tengoMessage', (ctx) => ctx.outputs?.resolve('tengoMessage')?.getDataAsJson())
12+
13+
.output('pythonMessage', (ctx) => ctx.outputs?.resolve('pythonMessage')?.getDataAsString())
1214

1315
.sections([{ type: 'link', href: '/', label: 'Main' }])
1416

package.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
"version": "1.0.0",
44
"scripts": {
55
"pretty": "prettier --write \"./**/*.{js,jsx,mjs,cjs,ts,tsx,json,vue}\"",
6-
"build": "rm -rf ./block-pack && block-tools pack"
6+
"build-block": "turbo run build && rm -rf block-pack/* && block-tools pack",
7+
"build-block-dev": "turbo run build:dev && rm -rf block-pack && block-tools pack",
8+
"build-block-force": "turbo run build --force && rm -rf block-pack/* && block-tools pack",
9+
"test-block": "turbo run test --concurrency 1",
10+
"watch": "turbo watch build"
711
},
812
"files": [
913
"index.d.ts",
@@ -38,7 +42,9 @@
3842
}
3943
},
4044
"devDependencies": {
41-
"@changesets/cli": "catalog:",
42-
"@platforma-sdk/block-tools": "catalog:"
43-
}
45+
"turbo": "catalog:",
46+
"@platforma-sdk/block-tools": "catalog:",
47+
"@changesets/cli": "catalog:"
48+
},
49+
"packageManager": "pnpm@9.12.0"
4450
}

0 commit comments

Comments
 (0)