Skip to content

@lit-migrate is a CLI tool that automates the migration of Lit v2 experimental decorators to standard Lit v3 decorators. Easily update your TypeScript files for a seamless transition to Lit v3.

Notifications You must be signed in to change notification settings

ChellappanRajan/lit-migrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lit Decorator Migration CLI

@lit-migrate is a CLI tool designed to simplify the process of migrating experimental decorators from Lit v2 to standard decorators in Lit v3. This tool scans your TypeScript files and automatically updates the decorators, ensuring a smooth transition to the latest version of Lit.

Usage

To run the migration tool, use the following command:

npx lit-migrate --path <paths...>

Default Path

If the --path option is not provided, the tool will default to searching for TypeScript files using the pattern **/!(*.d).ts. This means it will find and transform all TypeScript files except for declaration files (*.d.ts)

About

@lit-migrate is a CLI tool that automates the migration of Lit v2 experimental decorators to standard Lit v3 decorators. Easily update your TypeScript files for a seamless transition to Lit v3.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published