Skip to content

Commit

Permalink
feat: build abi files into ts encoding files (#140)
Browse files Browse the repository at this point in the history
* feat: adding scripts to generate typescript clients for all relevant contracts

* chore: delete autogenerated files

* chore: update sample script

* chore: removed client

* chore: use 2 spaces for yaml files

---------

Co-authored-by: Milap Sheth <[email protected]>
Co-authored-by: Alan Soares <[email protected]>
  • Loading branch information
3 people authored Nov 6, 2023
1 parent b71c1bf commit b84b30f
Show file tree
Hide file tree
Showing 6 changed files with 1,193 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish-to-npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
release:
types: [published]

jobs:
jobs:
publish-to-npm:
name: 'Publish to NPM'
runs-on: ubuntu-latest
Expand All @@ -17,6 +17,7 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run build
- run: npm run codegen-typescript
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
"options": {
"tabWidth": 2
}
},
{
"files": "*.yaml",
"options": {
"tabWidth": 2
}
}
]
}
Loading

0 comments on commit b84b30f

Please sign in to comment.