Skip to content

playcanvas/codemods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PlayCanvas Codemods

This repo contains any codemods to help with migration of PlayCanvas specific code.

The codemods use jscodeshift and are intended to run with codemod or the codemod vscode extension.

Getting started

In most cases you can run a codemod over a file using the following

npx codemod [codemod-name] -i "./your-file.js"

Available codemods

  • esm-script - codemod for migrating older pc.createScript() scripts to their ESM equivalent.

About

Codemods for migrating older

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published