Angular: Add deprecated nested components migration tool#993
Merged
ajivanyandev merged 8 commits intoOct 24, 2025
Merged
Conversation
Contributor
|
LGTM, but we need to show it to others |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new migration tool for DevExtreme Angular applications that automatically converts deprecated nested configuration components to the new component-specific naming structure. The migration is implemented as an Angular schematic and exposed through the DevExtreme CLI.
Key changes:
- Added a new
migrate-config-componentsschematic with HTML and inline template processing capabilities - Integrated the migration command into the DevExtreme CLI as
devextreme migrate angular-config-components - Includes comprehensive mapping of 60+ DevExtreme components and their configuration elements
Reviewed Changes
Copilot reviewed 13 out of 14 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/devextreme-schematics/tsconfig.json | Enabled TypeScript compiler options for JSON module imports |
| packages/devextreme-schematics/src/migrate-config-components/template-migrator.ts | Core migration logic for transforming HTML templates and inline component templates |
| packages/devextreme-schematics/src/migrate-config-components/schema.json | JSON schema defining migration command options |
| packages/devextreme-schematics/src/migrate-config-components/mappings/deprecated-config-map.json | Complete mapping of deprecated to new component selectors for all DevExtreme components |
| packages/devextreme-schematics/src/migrate-config-components/index.ts | Schematic entry point orchestrating the migration process |
| packages/devextreme-schematics/src/migrate-config-components/README.md | Documentation for the migration tool |
| packages/devextreme-schematics/src/collection.json | Registered the new schematic in the collection |
| packages/devextreme-schematics/package.json | Added parse5 and picomatch dependencies for HTML parsing |
| packages/devextreme-schematics/README.md | Added TypeScript dependency troubleshooting documentation |
| packages/devextreme-cli/src/commands.json | CLI command definition for the migration tool |
| packages/devextreme-cli/src/applications/application.angular.js | Implementation of migration command with automatic package installation |
| packages/devextreme-cli/src/application.js | Migration command routing logic |
| packages/devextreme-cli/index.js | CLI entry point integration for migration commands |
Files not reviewed (1)
- packages/devextreme-schematics/package-lock.json: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
…emplate-migrator.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
GoodDayForSurf
previously approved these changes
Oct 23, 2025
GoodDayForSurf
previously approved these changes
Oct 24, 2025
VasilyStrelyaev
previously approved these changes
Oct 24, 2025
23ef0f0
23ef0f0 to
7ea9453
Compare
VasilyStrelyaev
approved these changes
Oct 24, 2025
GoodDayForSurf
approved these changes
Oct 24, 2025
alexslavr
pushed a commit
to alexslavr/devextreme-cli
that referenced
this pull request
Oct 27, 2025
…xpress#993) * Add angular nested components migration command * fix proper escaping issue * cli fixes according to the plan * Update packages/devextreme * Update packages/devextreme-schematics/src/collection.json * type import fix * Text updates after TW Review --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add CLI command to help with migration process to our latest configuration components in angular