Open gitKrystan opened 1 year ago
Example invocation:
Add this version of the codemod to package.json, then
yarn ember-native-class-codemod http://localhost:4200 ./plugins/poll/assets/javascripts/components/poll-breakdown-option.js --module-root discourse/plugins/poll --package-base poll/assets/javascripts
Example of the above invocation here: https://github.com/discourse/discourse/pull/21652/files#diff-4d0d489ce2d1489c8fb5fc9b619f8039ee286455a7033753f038f02d95e8b6f2
Example invocation:
Add this version of the codemod to package.json, then
Example of the above invocation here: https://github.com/discourse/discourse/pull/21652/files#diff-4d0d489ce2d1489c8fb5fc9b619f8039ee286455a7033753f038f02d95e8b6f2