-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add a "splice into" feature for Javascript/Typescript #10
base: main
Are you sure you want to change the base?
Conversation
Previously, arg parser would display the arguments in the help section in alphabetical order. Since we're now moving in the direction of grouping arguments by functionality independent of names (like for upcoming --gitignore flag), we now have to come up with a quick refactoring that allows arguments to be displayed in a specified order regardless of what alphabetical order the arguments themselves occupy.
Remove dependency on argument name alphabetical order
Updating packages to latest versions
Implements facebook#456 md syntax highlighting
Adding js usage to the README using `Runner.run`
One of the code blocks was using tabs instead of spaces, which was inconsistent with the rest of the README.
Tabs to spaces in code examples for consistency
VSCode debugging setup docs
Majorly bumping version Bumping changelog. Again. alsdkfj alsdkfj
Due to the lack of maintenance on the upstream recast library, evcodeshift is switching to @coderaiser's excellently maintained @putout/recast fork. logitall unit tests were breaking due to a recast bug, and @putout/recast fixes it.
Switch to the @putout/recast fork
…tput Adding ability to save actual test output
Changed name of executable in README that was causing debugging not to work.
Fixing typo
Grammar corrections.
Fixing docs on programmatic use of API
Hey @ElonVolo! I've made some good progress. There is now an To see it in action, follow these steps:
Note that Next up, I'll be adding some test cases to cover this functionality before wrapping up the PR. Let me know your thoughts and feedback! |
Update: Have added 3 test cases under an 'edit' describe block in the cli tests file. Covered these scenarios:
This PR is now ready to be reviewed. |
Played around with the evcodeshift api and succeeded in creating a very minimal transformer. Next steps include making this more robust and complete, figuring out the proper file structure, adding the edit option to the cli, and writing tests.