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

chore: add codemod-registry Windows support #559

Merged
merged 9 commits into from
Jan 17, 2024

Conversation

DmytroHryshyn
Copy link
Contributor

@DmytroHryshyn DmytroHryshyn commented Jan 17, 2024

Please check if the PR fulfills these requirements:

Replaces path.posix with path for compatibility with Windows.
Fixes app-dir-boilerpalte

@DmytroHryshyn DmytroHryshyn changed the title registry win support chore: add codemod-registry Windows support Jan 17, 2024
@DmytroHryshyn DmytroHryshyn force-pushed the feat/add-codemods-windows-support branch from d7e376b to 66baca3 Compare January 17, 2024 12:38
@@ -687,6 +818,8 @@ describe('next 13 app-directory-boilerplate', function () {
'/opt/project/pages/a/b/c.tsx': index,
});

console.log([upsertPageCommand, _, deleteFileCommand], '???');
Copy link
Contributor

Choose a reason for hiding this comment

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

can you remove this comment?

@@ -210,6 +210,136 @@ describe('next 13 app-directory-boilerplate', function () {
);
});

// Windows
// it.only('should build correct files', async function () {
Copy link
Contributor

Choose a reason for hiding this comment

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

do you think we could run it in the CI/CD with a CLI flag? how much effort would that be?

@DmytroHryshyn DmytroHryshyn merged commit 7509802 into main Jan 17, 2024
6 checks passed
@DmytroHryshyn DmytroHryshyn deleted the feat/add-codemods-windows-support branch January 17, 2024 16:00
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.

2 participants