Skip to content

Releases: statelyai/xstate-tools

@xstate/[email protected]

03 Mar 17:07
791c2a7
Compare
Choose a tag to compare

Patch Changes

@xstate/[email protected]

03 Mar 14:28
fe286bf
Compare
Choose a tag to compare

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]

03 Mar 14:03
a5e8e61
Compare
Choose a tag to compare

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

v1.5.1

26 Jan 16:38
Compare
Choose a tag to compare
Fixed xstate-parser-demo dependency

v1.5.0

26 Jan 16:35
Compare
Choose a tag to compare
v1.5.0

v1.4.9

26 Jan 10:48
Compare
Choose a tag to compare
v1.4.9

v1.4.8

26 Jan 10:06
Compare
Choose a tag to compare
Fixed extension id

v1.4.7

25 Jan 20:05
Compare
Choose a tag to compare
Fixed

v1.4.6

25 Jan 16:52
Compare
Choose a tag to compare
v1.4.6

v1.4.5

25 Jan 15:41
Compare
Choose a tag to compare
Fixed