26 Commits

Author SHA1 Message Date
Joey Perrott
33ed6e875e refactor: move builtin module imports to use node: prefix imports 2025-02-14 11:09:23 -08:00
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
8095268fa4 build: update to rxjs 7
G3 is now using RXJS version 7 which makes it possible for the CLI to also be updated to RXJS 7.

NB: this change does not remove all usages of the deprecated APIs.

Closes #24371
2023-02-16 14:59:40 +00:00
Alan Agius
6258153d01 build: update all non-major dependencies
(cherry picked from commit db047b22e31ee196792636ee3349e3033ded0f49)
2022-08-04 11:27:22 -07:00
Charles Lyding
17a91a058f refactor(@angular-devkit/architect-cli): remove rxjs as a dependency
`rxjs` was only a dependency for the `tap` operator which can be replaced
by accessing the result object returned from awaiting the builder output
`Observable` which is already converted to a Promise.
2022-07-18 12:52:38 -04:00
Alan Agius
a69000407c refactor: clean up old ansi-colors castings
This has been fixed in https://github.com/doowb/ansi-colors/pull/44
2022-06-28 08:49:44 -04:00
Charles Lyding
1b9880c5cb refactor(@angular-devkit/architect): assert catch clause variable type before usage
Prepares the `@angular-devkit/architect` package for the eventual change of enabling the
TypeScript `useUnknownInCatchVariables` option. This option provides additional
code safety by ensuring that the catch clause variable is the proper type before
attempting to access its properties. Similar changes will be needed in the other
packages in the repository prior to enabling `useUnknownInCatchVariables`.
2022-06-14 11:28:21 +02:00
Alan Agius
ac98f25a31 build: update @types/yargs-parser to 21.0.0 2022-03-03 07:25:24 +01:00
Alan Agius
c7556b62b7 refactor(@angular-devkit/architect-cli): replace parser with yargs-parser
BREAKING CHANGE: camel case arguments are no longer allowed.
2022-03-02 10:28:37 -08:00
Charles Lyding
b3d7080147 build: enable esModuleInterop TypeScript option
The `esModuleInterop` option is recommended to be enable by TypeScript and corrects several assumptions TypeScript would otherwise make when importing CommonJS files.
This option change helps ensure compatibility as packages move towards ESM.
Reference: https://www.typescriptlang.org/tsconfig#esModuleInterop
2021-06-13 11:45:55 -04:00
Charles Lyding
c1512e4274 build: update files to be eslint compliant
All TypeScript files have been updated to pass the new eslint-based linting checks. eslint compatible disabling comments have also been added in place of the previous tslint comments.
2021-05-03 07:31:02 -04: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
Alan Agius
c6aeb60f4d fix(@angular-devkit/architect-cli): remove minimist _ from options
Closes #18889
2020-09-25 18:20:06 +02:00
Alan Agius
622d08447d refactor: use ansi-colors instead of removed terminal utils 2020-09-10 20:19:33 +02:00
Alan Agius
e40c72a8dc feat(@angular-devkit/architect-cli): show warning when using deprecated options 2020-08-17 18:18:24 +02:00
Alan Agius
a85ba990eb refactor: clean up several files
Most of these changes are requires for TS 4 update
2020-07-22 12:56:34 +01:00
Charles
64ff17d57f refactor(@angular-devkit/architect-cli): minor package cleanup (#15289) 2019-08-12 10:24:59 -07:00
Alan
70a4cbe306 style: enable no-debugger and no-console tslint rules 2019-06-27 09:28:35 -07:00
Charles Lyding
8ef316745f refactor(@angular-devkit/architect-cli): use stable workspace API 2019-06-18 18:25:40 -07:00
Charles Lyding
f9b4bdfa6e refactor(@angular-devkit/architect-cli): cleanup stable architect imports 2019-04-04 19:49:56 -07:00
Hans Larsen
481a5aa142 feat(@angular-devkit/architect-cli): clear console and show logs
This gives better support for watching builders (such as serve). It clears the
console, and everytime an output happens from the builder it shows the logs
so far. This allows people to see the logs.

Also shows the result object (without builder info) so people can see custom
builder output.
2019-03-13 13:51:22 -07:00
Alan
46e898f2ab fix(@angular-devkit/architect-cli): fix paths to support Windows 2019-03-04 09:34:00 -08:00
Hans Larsen
03fc0e6bdb feat(@angular-devkit/architect-cli): wait for last output of build
This allows watching builds to work. They wont show logs though. Looking
into making a better UI for this tool.
2019-02-27 10:11:22 -08:00
Hans Larsen
558ef00523 feat(@angular-devkit/architect-cli): CLI tool to use new Architect API
Move the entire Architect CLI to use the new API, and report progress using
a progress bar for each worker currently executing. Shows log at the end
of the execution.

This is meant to be used as a debugging tool to help people move their builders
to the new API.
2019-02-19 13:51:29 -08:00
Hans Larsen
44086c60ff build: move devkit repo back to angular-cli 2018-06-05 18:50:06 -07:00