1.1.0 • Published 5 months ago
@publicodes/codemod v1.1.0
codemod
This package contains a codemod script that you can use to update your codebase to the latest version of publicodes.
Usage
yarn @publicodes/codemod <path-to-publicode-folder>
npx @publicodes/codemod <path-to-publicode-folder>
Caveats
This codemod will not update the
package.json
file. You should update the version of the package manually.This codemod will not update the exotic syntax of variations. If you use it, you should update the syntax manually before running the codemod.
This codemod does not handle the breaking of replacement priority order change.
You'll need to update manually call to
evaluate
with publicodes expression in your codebase, if needed.