Releases: statelyai/xstate-tools
@xstate/[email protected]
Patch Changes
-
#84
a73fce8
Thanks @Andarist! - Fixed a bug where transition targets would not be parsed correctly if they were declared using a template literal. -
Updated dependencies [
a73fce8
]:- @xstate/[email protected]
- @xstate/[email protected]
@xstate/[email protected]
Patch Changes
- #79
db1f2c0
Thanks @mattpocock! - Fixed an error where@babel/core
needed to be installed as a peer dependency in order for the CLI to be usable.
@xstate/[email protected]
Minor Changes
-
#68
9eadb14
Thanks @mattpocock! - Added a typegen command which allows for running XState's typegen in CLI.xstate typegen "src/**/*.tsx?"
Run the typegen against a glob. This will scan every file targeted, and generate a typegen file accompanying it. It will also import the typegen into your file, as described in our typegen documentation.
Ensure you wrap your glob in quotes so that it executes correctly. If it isn't wrapped in quotes, it will be interpreted as a list of files, not a glob. This will give unexpected results.
-
#68
a3b874b
Thanks @mattpocock! - Added a watch flag to to allow for re-running typegen on file change.xstate typegen "src/**/*.tsx?" --watch
Runs the task on a watch, monitoring for changed files and running the typegen script against them.
Patch Changes
- Updated dependencies [
a3b874b
,a3b874b
,2210d4b
]:- @xstate/[email protected]
- @xstate/[email protected]
v1.5.1
Fixed xstate-parser-demo dependency
v1.5.0
v1.5.0
v1.4.9
v1.4.9
v1.4.8
Fixed extension id
v1.4.7
Fixed
v1.4.6
v1.4.6
v1.4.5
Fixed