Skip to content

bachvo/ember-deprecate-tryinvoke-codemod

Repository files navigation

ember-deprecate-tryinvoke-codemod

An Ember codemod to deprecate tryInvoke util and replace the usage with optional chaining. See RFC 673 deprecate tryInvoke

Usage

To run a specific codemod from this project, you would run the following:

npx ember-deprecate-tryinvoke-codemod ember-deprecate-tryinvoke-codemod path/of/files/ or/some**/*glob.js

# or

yarn global add ember-deprecate-tryinvoke-codemod
ember-deprecate-tryinvoke-codemod ember-deprecate-tryinvoke-codemod path/of/files/ or/some**/*glob.js

Local Usage

node ./bin/cli.js ember-deprecate-tryinvoke-codemod path/of/files/ or/some**/*glob.js

Transforms

Contributing

Installation

  • clone the repo
  • change into the repo directory
  • yarn

Running tests

  • yarn test

Update Documentation

  • yarn update-docs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published