Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hacks for Discourse to run this codemod on their plugins ❤️ #535

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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

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