You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@xstate/cli

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xstate/cli

### xstate typegen <files>

0.5.17
latest
npm
Version published
Weekly downloads
41K
-23.1%
Maintainers
3
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 05 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts