Skip to content

Conversation

@gitKrystan
Copy link
Collaborator

@gitKrystan gitKrystan commented May 19, 2023

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

@gitKrystan gitKrystan force-pushed the module-root-config branch from 90f9a14 to 0f43dcd Compare May 24, 2023 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant