Skip to content

Commit aa2d75a

Browse files
committed
init
0 parents  commit aa2d75a

58 files changed

Lines changed: 11203 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yaml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
name: Build, Test and Release Platforma Block
2+
on:
3+
merge_group:
4+
pull_request:
5+
types: [opened, reopened, synchronize]
6+
branches:
7+
- 'main'
8+
push:
9+
branches:
10+
- 'main'
11+
workflow_dispatch: {}
12+
jobs:
13+
init:
14+
if: github.repository != 'milaboratory/platforma-hello-world'
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: milaboratory/github-ci/actions/context/init@v4
18+
with:
19+
version-canonize: false
20+
branch-versioning: main
21+
run:
22+
if: github.repository != 'milaboratory/platforma-hello-world'
23+
needs:
24+
- init
25+
26+
uses: milaboratory/github-ci/.github/workflows/node-simple-pnpm.yaml@v4
27+
with:
28+
app-name: 'Block: hello-world'
29+
app-name-slug: 'block-hello-world'
30+
31+
node-version: '20.x'
32+
build-script-name: 'build'
33+
pnpm-recursive-build: false
34+
35+
test: false
36+
test-script-name: 'test'
37+
pnpm-recursive-tests: false
38+
team-id: 'ciplopen'
39+
40+
package-path: 'block'
41+
publish-to-public: true
42+
create-tag: true
43+
44+
npmrc-config: |
45+
{
46+
"registries": {
47+
"https://registry.npmjs.org/": {
48+
"scopes": ["milaboratories", "platforma-open", "platforma-sdk"],
49+
"tokenVar": "NPMJS_TOKEN"
50+
},
51+
"https://npm.pkg.github.com/": {
52+
"scopes": ["milaboratory"],
53+
"tokenVar": "NODE_AUTH_TOKEN"
54+
}
55+
}
56+
}
57+
58+
secrets:
59+
env: |
60+
{ "PL_LICENSE": ${{ toJSON(secrets.MI_LICENSE) }},
61+
"MI_LICENSE": ${{ toJSON(secrets.MI_LICENSE) }},
62+
63+
"NPMJS_TOKEN": ${{ toJSON(secrets.NPMJS_TOKEN) }},
64+
"PL_CI_TEST_USER": ${{ toJSON(secrets.PL_CI_TEST_USER) }},
65+
"PL_CI_TEST_PASSWORD": ${{ toJSON(secrets.PL_CI_TEST_PASSWORD) }},
66+
67+
"AWS_CI_IAM_MONOREPO_SIMPLE_ROLE": ${{ toJSON(secrets.AWS_CI_IAM_MONOREPO_SIMPLE_ROLE) }},
68+
"AWS_CI_TURBOREPO_S3_BUCKET": ${{ toJSON(secrets.AWS_CI_TURBOREPO_S3_BUCKET) }},
69+
"PL_REGISTRY_PLATFORMA_OPEN_UPLOAD_URL": ${{ toJSON(secrets.PL_REGISTRY_PLOPEN_UPLOAD_URL) }},
70+
"QUAY_USERNAME": ${{ toJSON(secrets.QUAY_USERNAME) }},
71+
"QUAY_ROBOT_TOKEN": ${{ toJSON(secrets.QUAY_ROBOT_TOKEN) }} }
72+
73+
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
74+
SLACK_CHANNEL: ${{ secrets.SLACK_BLOCKS_CI_CHANNEL }}
75+
76+
GH_ZEN_APP_ID: ${{ secrets.GH_ZEN_APP_ID }}
77+
GH_ZEN_APP_PRIVATE_KEY: ${{ secrets.GH_ZEN_APP_PRIVATE_KEY }}

.github/workflows/mark-stable.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Mark Platforma Block as Stable
2+
on:
3+
workflow_dispatch: {}
4+
jobs:
5+
init:
6+
if: github.repository != 'milaboratory/platforma-hello-world'
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: milaboratory/github-ci/actions/context/init@v4
10+
with:
11+
version-canonize: false
12+
branch-versioning: main
13+
run:
14+
if: github.repository != 'milaboratory/platforma-hello-world'
15+
needs:
16+
- init
17+
uses: milaboratory/github-ci/.github/workflows/block-mark-stable.yaml@v4
18+
with:
19+
app-name: 'Block: hello-world - Mark Stable'
20+
node-version: '20.x'
21+
npmrc-config: |
22+
{
23+
"registries": {
24+
"https://registry.npmjs.org/": {
25+
"scopes": ["milaboratories", "platforma-sdk", "platforma-open"],
26+
"tokenVar": "NPMJS_TOKEN"
27+
}
28+
}
29+
}
30+
secrets:
31+
env: |
32+
{ "NPMJS_TOKEN": ${{ toJSON(secrets.NPMJS_TOKEN) }},
33+
"AWS_CI_IAM_MONOREPO_SIMPLE_ROLE": ${{ toJSON(secrets.AWS_CI_IAM_MONOREPO_SIMPLE_ROLE) }} }
34+
35+
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
36+
SLACK_CHANNEL: ${{ secrets.SLACK_BLOCKS_CI_CHANNEL }}

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.test_auth.json
2+
node_modules/
3+
dist/
4+
block-pack/
5+
dev/
6+
work/
7+
log/
8+
.turbo
9+
vite.config.*.timestamp-*
10+
software/**/*.tgz
11+
.DS_Store
12+
.vscode/sftp.json
13+
test-dry-run.json

.prettierrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"semi": true,
3+
"tabWidth": 2,
4+
"trailingComma": "none",
5+
"singleQuote": true,
6+
"printWidth": 100
7+
}

.vscode/extensions.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"recommendations": [
3+
"dbaeumer.vscode-eslint",
4+
"oxc.oxc-vscode"
5+
]
6+
}

.vscode/settings.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"vitest.disableWorkspaceWarning": true,
3+
"editor.defaultFormatter": "oxc.oxc-vscode",
4+
"[typescript]": {
5+
"editor.defaultFormatter": "oxc.oxc-vscode",
6+
"editor.tabSize": 2
7+
},
8+
"[vue]": {
9+
"editor.defaultFormatter": "oxc.oxc-vscode",
10+
"editor.tabSize": 2
11+
},
12+
"cSpell.words": [
13+
"datasource",
14+
"pframe",
15+
"prerun"
16+
],
17+
"editor.codeActionsOnSave": {
18+
"source.fixAll.eslint": "always"
19+
},
20+
"eslint.enable": true,
21+
"eslint.format.enable": true,
22+
"[javascript]": {
23+
"editor.defaultFormatter": "oxc.oxc-vscode",
24+
"editor.tabSize": 2
25+
},
26+
"[css]": {
27+
"editor.defaultFormatter": "oxc.oxc-vscode",
28+
"editor.tabSize": 2
29+
},
30+
"[scss]": {
31+
"editor.defaultFormatter": "oxc.oxc-vscode",
32+
"editor.tabSize": 2
33+
},
34+
"[html]": {
35+
"editor.defaultFormatter": "oxc.oxc-vscode",
36+
"editor.tabSize": 2
37+
},
38+
"[yaml]": {
39+
"editor.defaultFormatter": "oxc.oxc-vscode",
40+
"editor.tabSize": 2
41+
},
42+
"[markdown]": {
43+
"editor.defaultFormatter": "oxc.oxc-vscode",
44+
"editor.tabSize": 2
45+
},
46+
"[json]": {
47+
"editor.defaultFormatter": "oxc.oxc-vscode",
48+
"editor.tabSize": 2
49+
},
50+
"typescript.tsdk": "./node_modules/typescript/lib"
51+
}

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## 1.0.0
2+
3+
Initial release.

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# 3D-Structure-Based-Liabilities
2+
3+
Identifying potential liabilities in
4+
therapeutic antibody candidates using 3D structure analysis. Takes a protein
5+
structure in PDB format through preprocessing and liability detection to flag
6+
developability risks such as hydrophobic patches, charge patches,
7+
aggregation-prone regions, deamidation/oxidation hotspots, unpaired cysteines,
8+
and unwanted glycosylation sites in CDRs.

block/package.json

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"name": "@platforma-open/milabs.hello-world",
3+
"version": "1.0.0",
4+
"scripts": {
5+
"build": "shx rm -rf ./block-pack && block-tools pack",
6+
"mark-stable": "block-tools mark-stable -r 's3://milab-euce1-prod-pkgs-s3-block-registry/pub/releases/?region=eu-central-1'",
7+
"prepublishOnly": "block-tools pack && block-tools publish -r 's3://milab-euce1-prod-pkgs-s3-block-registry/pub/releases/?region=eu-central-1'",
8+
"do-pack": "shx rm -f *.tgz && block-tools pack && pnpm pack && shx mv *.tgz package.tgz"
9+
},
10+
"files": [
11+
"index.d.ts",
12+
"index.js"
13+
],
14+
"dependencies": {
15+
"@platforma-sdk/model": "catalog:",
16+
"@platforma-open/milabs.hello-world.workflow": "workspace:*",
17+
"@platforma-open/milabs.hello-world.model": "workspace:*",
18+
"@platforma-open/milabs.hello-world.ui": "workspace:*"
19+
},
20+
"block": {
21+
"components": {
22+
"workflow": "@platforma-open/milabs.hello-world.workflow/dist/tengo/tpl/main.plj.gz",
23+
"model": "@platforma-open/milabs.hello-world.model/dist/model.json",
24+
"ui": "@platforma-open/milabs.hello-world.ui/dist"
25+
},
26+
"meta": {
27+
"title": "Block Title",
28+
"logo": "file:../logos/block-logo.png",
29+
"url": "https://github.com/platforma-open/milabs.hello-world",
30+
"support": "mailto:support@milaboratories.com",
31+
"description": "Simple Hello World block that can be used as a boilerplate for newly created blocks.",
32+
"longDescription": "file:../docs/description.md",
33+
"changelog": "file:../CHANGELOG.md",
34+
"tags": ["tutorial"],
35+
"organization": {
36+
"name": "MiLaboratories Inc",
37+
"url": "https://milaboratories.com/",
38+
"logo": "file:../logos/organization-logo.png"
39+
}
40+
}
41+
},
42+
"devDependencies": {
43+
"@platforma-sdk/block-tools": "catalog:"
44+
},
45+
"packageManager": "pnpm@9.12.0"
46+
}

docs/description.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Overview
2+
3+
Long block description goes here.
4+

0 commit comments

Comments
 (0)