12 Commits

Author SHA1 Message Date
Ash Ramirez
434a3740f0 refactor(@angular/cli): update aio links -> adev links
Updates for all angular.io links to the new angular.dev domain. Additionally, adjustment to new resources where the equivalent does not exist on the new site (e.g. Tour of Heroes tutorial)
2024-06-06 11:12:06 +02:00
Alan Agius
b513d89b77 feat(@schematics/angular): add optional migration to use application builder
This commits adds an optional migration to migration existing projects to use the vite and esbuild based application builder.

The migration can be opted-in when running `ng update @angular/cli --name=use-application-builder`
2023-12-01 13:38:06 +01:00
Charles Lyding
b07ccfbb1b feat(@schematics/angular): introduce a utility subpath export for Angular rules and utilities
The `@schematics/angular` package now contains a defined set of package `exports` including a `utility` subpath export.
A wildcard export is also temporarily defined to support transition away from existing deep-import usage.
The `@schematics/angular/utility` subpath export will contain supported utility methods used by the first-party schematics
contained within the `@schematics/angular` package and can be considered public API that will follow SemVer stability constraints.
The first group of utilities introduced in this change are used to modify the `angular.json` workspace file
within the schematics and include the `updateWorkspace` rule and `readWorkspace`/`writeWorkspace` helpers.
2022-05-03 14:04:47 -07:00
Charles Lyding
a0e3de2b5f refactor(@schematics/angular): use Tree's newly introduced readText and readJSON functionality
Code related to decoding buffers into strings and parsing content into JSON can now be removed by using the
support provided directly from the Tree instance for the executing schematic.
2022-04-26 19:24:55 -04:00
Alan Agius
7cd801eb06 fix(@schematics/angular): show better error when non existing project is passed to the component schematic
Closes: #21003
2021-06-02 09:15:17 +02:00
Charles Lyding
37a06a7c37 build: format all files
All files are now formatted using the ng-dev tools via prettier.
2021-04-28 16:05:49 -07:00
Joey Perrott
003854257c build: migrate all file header to use Google LLC rather than Google Inc 2021-04-27 08:35:22 +02:00
Charles Lyding
6ff04473ef refactor(@schematics/angular): use new workspace helpers in update-app-tsconfigs migration 2020-09-24 14:04:06 +02:00
Charles Lyding
12cd4a072c refactor(@schematics/angular): use new workspace helpers in update-workspace-config migration 2020-09-23 11:22:28 -05:00
Charles Lyding
20bb298d4a refactor(@schematics/angular): allow followup rules with workspace helper
This change allows the `updateWorkspace` helper rule to optionally return a rule that will be executed after the workspace is updated.
2020-09-01 20:22:55 +03:00
Walter Werner SCHNEIDER
e8fa77e69e refactor(@schematics/angular): use ProjectType string enum 2020-05-18 19:25:52 +01:00
Charles Lyding
790a9622c4 refactor(@schematics/angular): add initial workspace helper rules 2019-04-15 11:02:46 -07:00