Skip to content

fix: update Angular dependencies and improve component definitions - #1787

Merged
kdinev merged 4 commits into
masterfrom
dkalinov/fix-versions
Sep 1, 2026
Merged

fix: update Angular dependencies and improve component definitions#1787
kdinev merged 4 commits into
masterfrom
dkalinov/fix-versions

Conversation

@dkalinovInfra

Copy link
Copy Markdown
Contributor

Description

Related Issue

Closes #

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring / code cleanup
  • Build / CI configuration change

Affected Packages

  • igniteui-cli (packages/cli)
  • @igniteui/cli-core (packages/core)
  • @igniteui/angular-templates (packages/igx-templates)
  • @igniteui/angular-schematics (packages/ng-schematics)
  • @igniteui/mcp-server (packages/igniteui-mcp)

Checklist

  • I have tested my changes locally (npm run test)
  • I have built the project successfully (npm run build)
  • I have run the linter (npm run lint)
  • I have added/updated tests as needed
  • My changes do not introduce new warnings or errors

Additional Context

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The Dock Manager template introduces a caret (^) dependency range that deviates from the established template version-pinning convention and could pull unintended breaking updates into generated projects.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates Angular template devDependencies to align with Angular ~22.1.0 and updates the Dock Manager template to use the newer dockmanager package/API for defining web components.

Changes:

  • Bump @angular/build, @angular/cli, and related Angular devDependencies from ~22.0.x to ~22.1.0 in Angular project templates.
  • Update the Dock Manager template to use igniteui-dockmanager 2.x and switch initialization from defineCustomElements() to defineComponents(IgcDockManagerComponent).
  • Adjust Dock Manager template imports to match the new dockmanager exports (including type IgcDockManagerLayout).
File summaries
File Description
packages/igx-templates/igx-ts/projects/side-nav-auth/files/package.json Updates Angular devDependencies to ~22.1.0 for the side-nav-auth template.
packages/igx-templates/igx-ts/projects/_base/files/package.json Updates Angular devDependencies to ~22.1.0 for the base template.
packages/igx-templates/igx-ts/dock-manager/default/index.ts Updates the Dock Manager template’s dockmanager package version range.
packages/igx-templates/igx-ts/dock-manager/default/files/src/app/path/filePrefix.ts Switches Dock Manager component initialization to defineComponents and updates imports for dockmanager v2.
packages/igx-templates/igx-ts/dock-manager/default/files/src/app/path/filePrefix.spec.ts Updates the unit test to use the new defineComponents initialization path.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread packages/igx-templates/igx-ts/dock-manager/default/index.ts
@coveralls

coveralls commented Sep 1, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 87.816%. remained the same — dkalinov/fix-versions into master

Co-authored-by: dkalinovInfra <130121354+dkalinovInfra@users.noreply.github.com>
- Added a comprehensive smoke test script (`scripts/smoke-test.sh`) to validate the installation and build process of generated projects across multiple frameworks.
- Updated documentation in `CLAUDE.md` and `README.md` to include details about the new smoke test script and its usage.
- Modified React component templates for Avatar, Button, Icon, and IconButton to utilize CSS classes for size management instead of passing size props directly.
- Added new test files for the Tabs component in Web Components templates to ensure proper instantiation.
- Updated Angular and Web Components templates to remove unnecessary size attributes and manage sizes through CSS variables.
- Removed Hammer.js script reference from Angular project templates as it is no longer needed.
- Fixed selection logic in the Fintech Grid template to align with the latest API changes.
@kdinev
kdinev merged commit a835cfd into master Sep 1, 2026
4 checks passed
@kdinev
kdinev deleted the dkalinov/fix-versions branch September 1, 2026 14:06
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.

5 participants