angular/packages
Paul Gschwendtner 9bda2c3fa3 refactor(migrations): initial logic for converting @Input() to input (#57082)
This commit includes the initial logic for converting `@Input()` to
`input`. The logic is not fully polished in terms of what use-cases
and patterns we want to generate, but it's working pretty stable
with testing in Angular Material and some g3 targets.

We may improve this and e.g. generate the `input()` shorthand in a
couple of cases.

The commit also includes some related helpers/parts that are needed
for the migration phases.

Notably the conversion phase is split up into preparation and migration.
That is necessary because as part of analysing we already try to
prepare to see if it's "possible". This is necessary for the global
metadata analysis, so that we can know that certain references are
incompatible across compilation units (e.g. when running as a batch).

PR Close #57082
2024-07-23 10:28:11 -07:00
..
animations docs: remove private symbol from docs (#56851) 2024-07-08 09:54:13 +02:00
bazel refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
benchpress refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
common fix(common): Don't run preconnect assertion on the server. (#56213) 2024-07-16 09:53:33 -07:00
compiler fix(compiler): limit the number of chained instructions (#57069) 2024-07-22 11:50:12 -07:00
compiler-cli refactor(compiler): support use of poisoned data as private compiler option (#57082) 2024-07-23 10:28:10 -07:00
core refactor(migrations): initial logic for converting @Input() to input (#57082) 2024-07-23 10:28:11 -07:00
docs/di docs: remove outdated/unsupported webworker doc (#49856) 2023-04-17 14:01:41 +00:00
elements refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
examples refactor: migrate docs, examples, private, service worker and upgrade to prettier formatting (#54163) 2024-01-30 20:08:40 +00:00
forms refactor(forms): Update status, touched, and pristine to use private setter (#56573) 2024-06-26 08:47:39 -07:00
language-service fix(compiler-cli): add warning for unused let declarations (#57033) 2024-07-23 08:27:17 -07:00
localize build: update babel dependencies (#57045) 2024-07-19 13:46:00 -07:00
misc/angular-in-memory-web-api build: bump in-memory-web-api to v18 (#56018) 2024-05-23 12:00:29 +02:00
platform-browser refactor(core): Add global event delegation provider (#56247) 2024-06-27 14:24:47 +00:00
platform-browser-dynamic refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
platform-server refactor(core): Refactor EarlyEventContract to prepare for using it as a container. (#56900) 2024-07-10 13:53:03 -07:00
private/testing refactor(docs-infra): remove reliance on aio example macro (#56496) 2024-06-18 12:25:59 -07:00
router docs: Update packages/router/src/router.ts (#57053) 2024-07-22 10:52:36 -07:00
service-worker docs: update broken link to version updates in versionEvent (#56870) (#56870) 2024-07-19 13:41:54 -07:00
upgrade refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
zone.js docs: fix changelog entry (#57038) 2024-07-18 11:12:29 -07:00
BUILD.bazel docs: Expose $localize in the @angular/localize/init entry. (#55345) 2024-07-16 08:43:52 -07:00
circular-deps-test.conf.js ci: complete migration to prettier formatting (#55580) 2024-04-29 14:00:16 -07:00
empty.ts
goog.d.ts
license-banner.txt build: update licence date. (#55129) 2024-04-08 11:31:12 -07:00
README.md
system.d.ts
tsconfig-build.json build: align with internal tsconfig options (#51728) 2023-09-12 11:39:42 -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 refactor(router): Update integration tests to cover navigation and history API (#53799) 2024-01-30 15:04:02 +00:00
tsec-exemption.json fix(core): hardening attribute and property binding rules for <iframe> elements (#47964) 2022-11-09 00:47:56 -08:00
types.d.ts build: update to jasmine 4.0 (#45558) 2022-04-11 16:25:28 +00: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