Skip to content

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

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

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

@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