angular/packages/core
Kristiyan Kostadinov fab673a1dd feat(core): add ng generate schematic to convert to inject (#57056)
Adds the new `ng generate @angular/core:inject-migration` schematic that will convert existing code from constructor-based injection to injection using the `inject` function. The migration also has a few options that should help reduce compilation errors.

This migration is slightly different than our usual ones in that it may have to update entire class or constructor declarations. We don't go through the `ts.factory.update*` APIs for this, because it can cause the entire declaration to be re-formatted. Instead, this migration tries to insert strings in a way that won't affect the user's formatting.

PR Close #57056
2024-07-22 14:39:45 -07:00
..
global docs(docs-infra): Add missing API entries to ADEV (#54530) 2024-02-21 16:41:33 +00:00
primitives refactor(core): Move logic into early event contract files. (#56994) 2024-07-18 12:05:17 -07:00
reference-manifests build: add target to generate api manifest (#52472) 2023-11-02 11:00:59 -07:00
rxjs-interop fix(core): tree shake dev mode error message (#57035) 2024-07-22 10:49:18 -07:00
schematics feat(core): add ng generate schematic to convert to inject (#57056) 2024-07-22 14:39:45 -07:00
src refactor(core): Allow manual renderer listens to contribute to event delegation as well. (#56799) 2024-07-19 13:42:26 -07:00
test refactor(core): Allow manual renderer listens to contribute to event delegation as well. (#56799) 2024-07-19 13:42:26 -07:00
testing refactor(core): Remove hybrid mode flag and move scheduler provider location (#55722) 2024-05-23 18:15:53 +02:00
BUILD.bazel refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
index.ts refactor(core): made comment structure consistent in index.ts (#43684) 2021-10-21 18:39:58 +00:00
package.json build: update Node.js to match Angular CLI engines (#56187) 2024-06-03 18:00:46 +00:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00