-
Notifications
You must be signed in to change notification settings - Fork 2
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
[refactor] Move Success, Info Dialog to Interrupt Category #76
[refactor] Move Success, Info Dialog to Interrupt Category #76
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
// } | ||
// }; | ||
|
||
const findFilesRecursively = async (dir: string, ext = "Base.tsx") => { |
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.
what ext
means?
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.
It means file 'ext'ension... Do you think it needs to change the naming?
console.log(`Generated: ${outputFilePath}`); | ||
} | ||
// Remove files in the output directory | ||
await fs.remove(outputDir); |
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.
If don't remove the file, is error occurred?
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.
Unnecessary(ex. CheckBoxFormBaseString
, RadioBoxRowFormBaseString
) files still remained in the folder 'generated', so before running the conversion of tsx files to strings, I added this code to remove all files.
@@ -1,32 +1,82 @@ | |||
import path from "node:path"; | |||
import fs from "fs-extra"; | |||
|
|||
// const convertTsxToString = async () => { |
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.
I think we need to look at why the function execution depends on the local.
…uccess-info-dialog-to-interrupt-category
What is this PR? 🔍
Changes 📝
Base.tsx
fileScreenShot 📷
Precaution