-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inject entry/exit actions for state plugins (#141)
* chore(version control): init commit for wip pr * feat(package.json): added rimraf and a clean command for the build directory * feat(package.json): now running pnpm clean before pnpm build * fix(rollup.config.ts): removed the dts plugin from esm and cjs configs otherwise there's no index.js in the output * refactor(statecharts.ts): removed previous implementation of statePlugins * fix(statecharts.ts): entry/exit actions injection now uses a set to avoid duplicates * feat(statecharts.ts): added the ability to pass actions from outside into createMachine now statePlugins are injected to a state's exit/entry as an array with unique values * chore(changesets): added a changeset for latest changes * ci(vite timestamp): removed vite.config.ts.timestamp file from remote
- Loading branch information
Showing
10 changed files
with
188 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@ballerine/workflow-core': patch | ||
--- | ||
|
||
fixed entry/exit plugins outputting duplicate actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@ballerine/workflow-core': patch | ||
--- | ||
|
||
removed previous implementation of statePlugins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@ballerine/workflow-core': patch | ||
--- | ||
|
||
added state plugins, actions which runs on exit or entry of a state |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.