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

Narrowed usage to entity names in @codemod-utils/ember #130

Merged
merged 9 commits into from
Aug 28, 2024

Conversation

ijlee2
Copy link
Owner

@ijlee2 ijlee2 commented Aug 28, 2024

Background

For @codemod-utils/ember@1.x, I had copied classify() and doubleColonize() from ember-cli-string-utils to convert entity names in the same way as ember-cli.

The problem is, ember-cli-string-utils considers even more cases, ones that I have yet to encounter when writing codemods for Ember projects. When @codemod-utils/ember is allowed to only support entity name, we can make the implementation simpler and the project more maintainable.

@ijlee2 ijlee2 added enhance: documentation Issue asks for better documentation (e.g. README, code, tests) enhance: code Issue asks for new feature or refactor breaking Breaking change will result in a new major version labels Aug 28, 2024
@ijlee2 ijlee2 marked this pull request as ready for review August 28, 2024 07:02
@ijlee2 ijlee2 merged commit cff4295 into main Aug 28, 2024
2 checks passed
@ijlee2 ijlee2 deleted the narrow-usage-in-codemod-utils-ember branch August 28, 2024 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change will result in a new major version enhance: code Issue asks for new feature or refactor enhance: documentation Issue asks for better documentation (e.g. README, code, tests)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant