Skip to content

Commit cf3fdd5

Browse files
authored
feat: add support for wrapscan (#220)
1 parent fa8987f commit cf3fdd5

File tree

148 files changed

+22452
-112
lines changed

Some content is hidden

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

148 files changed

+22452
-112
lines changed

.github/workflows/cd.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ jobs:
109109
uses: actions/setup-python@v4
110110
with:
111111
python-version: "3.10"
112+
113+
- name: Setup Node.js
114+
uses: actions/setup-node@master
115+
with:
116+
node-version: 'v18.16.0'
112117

113118
- name: Install poetry
114119
run: curl -sSL https://install.python-poetry.org | python3 -

.github/workflows/ci.yaml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,14 @@ jobs:
1313
steps:
1414
- name: Checkout repository
1515
uses: actions/checkout@v3
16+
- name: Set up Python 3.10
17+
uses: actions/setup-python@v4
18+
with:
19+
python-version: "3.10"
1620
- id: set-matrix
17-
run: echo "matrix=$(./scripts/getPackages.sh)" >> $GITHUB_ENV
21+
run: echo "matrix=$(python3 ./scripts/get_packages.py)" >> $GITHUB_ENV
22+
- name: Read matrix into env.matrix
23+
run: echo ${{ env.matrix }}
1824
build:
1925
runs-on: ubuntu-latest
2026
needs:
@@ -23,18 +29,28 @@ jobs:
2329
matrix: ${{fromJSON(needs.getPackages.outputs.matrix)}}
2430
defaults:
2531
run:
26-
working-directory: ./packages/${{ matrix.package }}
32+
working-directory: ${{ matrix.package }}
2733
steps:
2834
- name: Checkout repository
2935
uses: actions/checkout@v3
3036
- name: Set up Python 3.10
3137
uses: actions/setup-python@v4
3238
with:
3339
python-version: "3.10"
40+
- name: Setup Node.js
41+
uses: actions/setup-node@master
42+
with:
43+
node-version: 'v18.16.0'
3444
- name: Install poetry
3545
run: curl -sSL https://install.python-poetry.org | python3 -
3646
- name: Install dependencies
3747
run: poetry install
48+
- name: Plugin Codegen
49+
run: yarn codegen
50+
if: contains(matrix.package, 'plugins')
51+
- name: Config Bundle Codegen
52+
run: yarn codegen
53+
if: contains(matrix.package, 'config-bundles')
3854
- name: Typecheck
3955
run: poetry run tox -e typecheck
4056
- name: Lint

.github/workflows/post-cd.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ jobs:
4343
with:
4444
python-version: "3.10"
4545

46+
- name: Setup Node.js
47+
uses: actions/setup-node@master
48+
with:
49+
node-version: 'v18.16.0'
50+
4651
- name: Install poetry
4752
run: curl -sSL https://install.python-poetry.org | python3 -
4853

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
wrappers/
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# polywrap-sys-config-bundle
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.1.0
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "@polywrap/python-sys-config-bundle",
3+
"version": "0.10.6",
4+
"private": true,
5+
"scripts": {
6+
"codegen": "yarn codegen:http && yarn codegen:fs && yarn codegen:ethereum",
7+
"codegen:http": "cd ../../plugins/polywrap-http-plugin && yarn codegen && cd ../../config-bundles/polywrap-sys-config-bundle",
8+
"codegen:fs": "cd ../../plugins/polywrap-fs-plugin && yarn codegen && cd ../../config-bundles/polywrap-sys-config-bundle",
9+
"codegen:ethereum": "cd ../../plugins/polywrap-ethereum-provider && yarn codegen && cd ../../config-bundles/polywrap-sys-config-bundle"
10+
}
11+
}

0 commit comments

Comments
 (0)