angular/packages
Kristiyan Kostadinov d298d25426 feat(migrations): add schematic to clean up unused imports (#59353)
In v19 we added a warning about unused standalone imports, however we didn't do anything about existing code which means that users have to clean it up manually. These changes add the `ng g @angular/core:cleanup-unused-imports` schematic which will remove the unused dependencies automatically.

There isn't any new detection code since all the manipulations are based on the produced diagnostics, but there's a bit of code to remove the import declarations from the file as well.

Fixes #58849.

PR Close #59353
2025-01-06 16:21:26 +00:00
..
animations docs(animations): update position parameter to be a decimal (#57927) 2024-12-17 09:28:02 -08:00
bazel fix(bazel): allow ng_package to work with rules_js dependencies (#59316) 2024-12-27 14:56:31 +00:00
benchpress build: update cross-repo angular dependencies (#58666) 2024-11-19 16:51:40 -08:00
common refactor(common): update the NgOptimizedImage message to use @if instead of *ngIf (#59131) 2024-12-12 14:51:43 -08:00
compiler refactor(compiler): incorrect spelling in for loop parse error message (#59289) 2025-01-06 16:18:15 +00:00
compiler-cli refactor(compiler-cli): expose diagnostic error code (#59353) 2025-01-06 16:21:26 +00:00
core feat(migrations): add schematic to clean up unused imports (#59353) 2025-01-06 16:21:26 +00:00
docs/di docs: remove outdated/unsupported webworker doc (#49856) 2023-04-17 14:01:41 +00:00
elements refactor(core): Migrate all packages with the explicit-standalone-flag schematic. (#58160) 2024-10-14 14:58:57 +00:00
examples refactor(docs-infra): update comments (#59004) 2024-12-04 18:05:59 +01:00
forms refactor(docs-infra): convert code-example-s that have only region param to @example-s (#59004) 2024-12-04 18:05:59 +01:00
language-service fix(compiler-cli): check event side of two-way bindings (#59002) 2024-12-05 16:11:02 -08:00
localize build: update all non-major dependencies (#59298) 2025-01-06 16:15:27 +00:00
misc/angular-in-memory-web-api docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
platform-browser fix(platform-browser): avoid circular DI error in async renderer (#59256) 2024-12-20 16:36:46 -07:00
platform-browser-dynamic refactor(core): Migrate all packages with the explicit-standalone-flag schematic. (#58160) 2024-10-14 14:58:57 +00:00
platform-server refactor(platform-server): reduce timeout used in tests (#59275) 2025-01-06 16:18:58 +00:00
private/testing docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
router refactor: replace ɵPendingTasks with ɵPendingTasksInternal (#59138) 2024-12-10 13:45:07 -08:00
service-worker docs: fix missing alert block styles in the API reference (#59020) 2024-12-04 11:02:42 +01:00
ssr refactor(core): add REQUEST, RESPONSE_INIT and REQUEST_CONTEXT tokens (#58669) 2024-11-14 14:21:21 -08:00
upgrade refactor(docs-infra): convert code-example-s that have only region param to @example-s (#59004) 2024-12-04 18:05:59 +01:00
zone.js build: lock file maintenance (#59202) 2024-12-16 15:22:38 -08:00
BUILD.bazel docs(core): remove redundant reference-manifests handwritten entries (#59169) 2024-12-12 17:29:22 -08:00
circular-deps-test.conf.js refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
empty.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
goog.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
license-banner.txt build: update licence date. (#55129) 2024-04-08 11:31:12 -07:00
README.md docs: fix links to docs (#57391) 2024-08-19 09:20:15 -07:00
system.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
tsconfig-build.json build: remove usages of useDefineForClassFields: false (#58297) 2024-10-28 12:26:05 -07:00
tsconfig-legacy-saucelabs.json feat(core): support TypeScript 5.5 (#56096) 2024-05-29 15:33:33 +02:00
tsconfig-test.json
tsconfig-tsec-base.json refactor(core): throw an error when hydration marker is missing from DOM (#51170) 2023-08-04 11:31:49 -04:00
tsconfig.json feat(language-service): add code reactoring action to migrate @Input to signal-input (#57214) 2024-08-29 07:50:41 -07:00
tsec-exemption.json
types.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT