Skip to content
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

Add CLI command to migrate imports to @openedx scope #2983

Closed
1 task
viktorrusakov opened this issue Dec 29, 2023 · 0 comments · Fixed by #2984
Closed
1 task

Add CLI command to migrate imports to @openedx scope #2983

viktorrusakov opened this issue Dec 29, 2023 · 0 comments · Fixed by #2984
Assignees
Labels
engineering Engineering maintenance Routine upkeep necessary for the health of the platform raccoon-gang

Comments

@viktorrusakov
Copy link
Contributor

viktorrusakov commented Dec 29, 2023

As of v21.5.7 we started publishing Paragon under @openedx scope instead of @edx, meaning that all consuming applications that decide to upgrade to this version or above will have to migrate all of their imports of Paragon to @openedx/paragon. Instead of having them do it manually, we should create a CLI command that will ease the migration process.

  • Add a migrate-to-openedx-scope CLI command to paragon-cli that scans all files in consuming applications and makes following replacement: @edx/paragon --> @openedx/paragon. This should be applied to all files (not just .jsx, but .md, .scss etc.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engineering Engineering maintenance Routine upkeep necessary for the health of the platform raccoon-gang
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants