Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

feat/migrate-antd-removed-component-migration #517

Merged
merged 10 commits into from Dec 12, 2023

Conversation

DmytroHryshyn
Copy link
Contributor

feat/migrate-antd-removed-component-migration

feat/migrate-antd-removed-component-migration

@DmytroHryshyn
Copy link
Contributor Author

DmytroHryshyn commented Dec 11, 2023

@@ -0,0 +1,27 @@
{
"name": "@codemod-registry/antd-5-v5-remove-style-import",
Copy link
Contributor

Choose a reason for hiding this comment

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

this name is odd, how did it happen?

);
}

async function getDependencies() {
Copy link
Contributor

Choose a reason for hiding this comment

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

is this used anywhere? I think it will crash as direct FS operations are unsupported in our model of execution.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

only markDependency is used, but its also using fs. Should we reimplement this codemod as Filemod?

Copy link
Contributor

Choose a reason for hiding this comment

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

I would remove the parts that are not used and comment out the usage of mark dependency. We may consider moving to a filemod later on.

@DmytroHryshyn DmytroHryshyn force-pushed the 12-11-feat/migrate-antd5-remove-style-import-codemo branch from c116fe8 to a71ba5f Compare December 11, 2023 14:51
@DmytroHryshyn DmytroHryshyn force-pushed the feat/removed-component-migration branch 2 times, most recently from 7cb8989 to 98c79fd Compare December 12, 2023 10:18
Base automatically changed from 12-11-feat/migrate-antd5-remove-style-import-codemo to main December 12, 2023 10:19
@DmytroHryshyn DmytroHryshyn merged commit 5e74b0f into main Dec 12, 2023
5 checks passed
@DmytroHryshyn DmytroHryshyn deleted the feat/removed-component-migration branch December 12, 2023 10:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants