Skip to content

Angular 22 - #16

Merged
PowerKiKi merged 6 commits into
masterfrom
angular-22
Aug 11, 2026
Merged

Angular 22#16
PowerKiKi merged 6 commits into
masterfrom
angular-22

Conversation

@PowerKiKi

Copy link
Copy Markdown
Member

No description provided.

Amongst other things, this update eslint and their rules, helping us
prepare for incoming Angular 22.
@PowerKiKi
PowerKiKi merged commit 4e34a71 into master Aug 11, 2026
13 checks passed
@PowerKiKi
PowerKiKi requested a lite review from Copilot August 11, 2026 03:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the workspace and published library to Angular v22, modernizing runtime and tooling (zoneless change detection, updated dependencies) and migrating tests away from Karma/Jasmine.

Changes:

  • Bump Angular/CLI/build tooling to v22 and TypeScript to v6.
  • Switch Angular library tests from Karma/Jasmine to the @angular/build:unit-test builder with Vitest, and update CI accordingly.
  • Remove Zone.js polyfills and environment file replacements; bootstrap the demo app with zoneless change detection.

Reviewed changes

Copilot reviewed 14 out of 17 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tsconfig.json Adjust TypeScript path mappings and Angular compiler options for the v22 toolchain.
src/tsconfig.spec.json Simplify spec TS config as part of the Vitest migration.
src/main.ts Bootstrap demo app using zoneless change detection provider.
src/environments/environment.ts Remove legacy environment setup.
src/environments/environment.prod.ts Remove legacy production environment setup.
src/app/images.ts Add a large static image dataset used by the demo.
projects/angular-natural-gallery/tsconfig.spec.json Align library spec TS config with the new unit test runner.
projects/angular-natural-gallery/tsconfig.lib.json Update library Angular compiler options for v22.
projects/angular-natural-gallery/src/lib/natural-gallery/natural-gallery.component.spec.ts Migrate the library unit test to Vitest imports.
projects/angular-natural-gallery/src/lib/natural-gallery/natural-gallery.component.html Remove an unused template comment.
projects/angular-natural-gallery/package.json Update Angular peer dependency range to v22.
projects/angular-natural-gallery/karma.conf.js Remove Karma configuration (no longer used).
package.json Replace Karma/Jasmine deps with Vitest/jsdom and bump Angular/TypeScript tooling versions.
angular.json Switch library test target to @angular/build:unit-test with runner: vitest; remove zone/environment-related config.
.github/workflows/main.yml Update CI test command for the new test runner configuration.

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

Comment thread src/app/images.ts
Comment on lines +15 to +17
export const images: Image[] = [
{
id: 'cok-OxpkrKQ',
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.

2 participants