Skip to content

Commit

Permalink
feat: add step preconditions (#19)
Browse files Browse the repository at this point in the history
* fix: add @slangroom/ethereum plugin

* refactor: create slangroom.ts and utils.ts

Prepared slangroom instance for preconditions and make readFromfile async

* refactor: move function to execute shell command or js function in utils

* feat: add step preconditions

Preconditions can be a js function or a zencode contract

* chore: fix some types

* chore: fix verbose message

* test: add precondition tests

refactor also them dividing json and yaml chains tests

* chore: remove codecov badge
  • Loading branch information
matteo-cristino authored Feb 4, 2025
1 parent 5d5aa92 commit 3c26644
Show file tree
Hide file tree
Showing 13 changed files with 1,716 additions and 874 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ SPDX-License-Identifier: AGPL-3.0-or-later
</h1>

<p align="center">
<a href="https://codecov.io/gh/dyne/slangroom-chain">
<img src="https://codecov.io/gh/dyne/slangroom-chain/branch/master/graph/badge.svg" alt="coverage badge">
</a>
<a href="https://dyne.org">
<img src="https://img.shields.io/badge/%3C%2F%3E%20with%20%E2%9D%A4%20by-Dyne.org-blue.svg" alt="Dyne.org">
</a>
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"typedoc": "^0.25.13",
"typescript": "^5.4.5",
"wip": "^1.3.0",
"zenroom": "^4.31.2"
"zenroom": "^4.45.1"
},
"plugins": [
"@semantic-release/commit-analyzer",
Expand Down Expand Up @@ -130,6 +130,7 @@
"dependencies": {
"@slangroom/core": "^1.43.2",
"@slangroom/db": "^1.43.2",
"@slangroom/ethereum": "^1.43.2",
"@slangroom/fs": "^1.43.2",
"@slangroom/git": "^1.43.2",
"@slangroom/helpers": "^1.43.2",
Expand Down
722 changes: 652 additions & 70 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

Loading

0 comments on commit 3c26644

Please sign in to comment.