@xstate/cli

0.5.17 • Public • Published

Commands

xstate typegen

xstate typegen "src/**/*.ts?(x)"

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.

Options

--watch

Runs the task on a watch, monitoring for changed files and running the typegen script against them.

Experimental: xstate sky

xstate sky "src/**/*.ts?(x)"

This will scan through the source files and update any Stately Sky-compatible code.

Readme

Keywords

none

Package Sidebar

Install

npm i @xstate/cli

Weekly Downloads

46,040

Version

0.5.17

License

MIT

Unpacked Size

11.7 MB

Total Files

50

Last publish

Collaborators

  • xstate-release-bot
  • andarist
  • davidkpiano