-
Notifications
You must be signed in to change notification settings - Fork 64
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
LG-4107: codemod cli #2327
LG-4107: codemod cli #2327
Conversation
|
Size Change: +9.53 kB (+1%) Total Size: 1.34 MB
ℹ️ View Unchanged
|
import chalk from 'chalk'; | ||
import * as jscodeshift from 'jscodeshift/src/Runner'; | ||
// import fs from 'fs'; | ||
const fs = require('fs'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unsure why I can't use import
* wip, remove console test * just tinkering * wip * wip * consolidate test * add tests * add another test * add more checks * attempting to fix types * individual tests * update index * cleaning up * more clean up * remove comments * LG-4107: codemod cli (#2327) * rollup tweaks * its working * wip, messing around with cli * undo change * wip, cli * migrator file * add commenet * clean up * testing * color * update rollup file with comments * comments * updates * update packaage.json * fix test path * remove space * testing * does this fix it? * use require? * add to external * tests for comments * rename test file * update comment file * add testing files for testing * add prettier * remove comment * add comments to comment file * credit * update package.json * empty commit * add check to return the original file * yarn lock * update description, remove jscodeshift from scripts * updates * update props and docs * more docs * doc updates * more docss * some feedback * ignore option * update README, remove stdin option * testing sizeDiff * sizeDiff * testing sizeDiff again * cs * clean up transformations * update cli * comments * add contributing.md * codemod * src/migrations to src/codemods * path default * replace fs with fse * add fs-extra to package.json * remove extra test dirs * remove console in rollup * remove imports * remove preactBuild * testing main build * revise * add turbo to clean * split up tests * missed a few * list all branches * add origin * remove space * testing * change commit * remove restore cache * add back cache * remove the cache again * address PR comments * testing no cache * move no cache * add yarn build before git reset * add another clean * --force * whoops * forgot regular build * try again * --force again * revert pr changes
✍️ Proposed changes
🎟 Jira ticket: Name of ticket
✅ Checklist
For bug fixes, new features & breaking changes
yarn changeset
and documented my changesFor new components
🧪 How to test changes