Skip to content

Madhur/reduce common W-19442343#616

Merged
mshanemc merged 23 commits intomainfrom
madhur/reduce-common
Sep 10, 2025
Merged

Madhur/reduce common W-19442343#616
mshanemc merged 23 commits intomainfrom
madhur/reduce-common

Conversation

@madhur310
Copy link
Contributor

@madhur310 madhur310 commented Sep 4, 2025

What does this PR do?

Reduces the size and extracts out stuff out of common package. This should lead to easier to moving of code across the package.

What issues does this PR fix or reference?

@W-19442343@

@madhur310 madhur310 requested a review from a team as a code owner September 4, 2025 23:59
Copy link
Contributor

@mshanemc mshanemc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cleaner, please

@madhur310 madhur310 requested review from mshanemc and removed request for klewis-sfdc September 8, 2025 21:44
Copy link
Contributor

@mshanemc mshanemc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mostly the fs-utils is the problem,

I know cleanup can be a bottomless pit, but I'm kinda looking at this as an educational opportunity and bar-setting exercise.

@madhur310 madhur310 requested a review from mshanemc September 10, 2025 15:11
"@typescript-eslint/semi": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "error",
"func-style": ["error", "expression"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

love this rule

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 I like the const = way much better, easier to read imo and find unused stuff..

Copy link
Contributor

@mshanemc mshanemc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved, not tested.

removeFile(codeWorkspacePath);
removeFile(launchPath);
removeFile(tsconfigPathForce);
fs.rmSync(jsconfigPathGlobal, { recursive: true, force: true });
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

recursive isn't necessary for files, but it probably doesn't hurt anything?

@mshanemc mshanemc merged commit 5b1d04a into main Sep 10, 2025
8 checks passed
@mshanemc mshanemc deleted the madhur/reduce-common branch September 10, 2025 19:46
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.

2 participants