Charles Lyding
a2cecf05a9
refactor(@angular/cli): remove outdated performance profiling code
2021-06-22 17:39:38 +01:00
Charles Lyding
c1623c429e
refactor(@angular/cli): use version class instead of requiring package.json
...
The CLI contains a helper class instance that provides the version of the executing CLI. By using this helper throughtout the code, repeat `require` calls are no longer necessary.
2021-06-22 17:39:38 +01: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
Charles Lyding
203f9626df
refactor(@angular/cli): correct various uncaught code style issues
...
This change cleans up some of the code by removing unused variables/imports, unnecessary double negation, and some long line lengths.
2021-04-28 09:58:15 +02: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
aedfcc1862
build: update to @types/node
version 12
2021-02-08 14:07:24 -05:00
Charles Lyding
13f375d199
fix(@angular/cli): use newer update command if global version is newer
...
This allows improvements and bugfixes in later versions of the update command to be used in projects with older versions of the Angular CLI that do not have bootstrapping (<8.3.13).
2020-10-21 17:10:48 +02:00
Charles Lyding
18fdb0139f
refactor(@angular/cli): remove node module directory assumption during initialization
...
This also does some minor code cleanup to the version mismatch check logic which contained the node modules directory reference.
2020-09-03 08:35:40 +02:00
Charles Lyding
5275892f63
refactor(@angular/cli): remove any type usage
2020-08-24 07:50:01 -04: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
Alan Agius
344ec857ce
style: add tslint:disable-next-line no-console
2020-01-08 10:24:40 -08:00
Alan Agius
7d9c0c7227
fix(@angular/cli): disable Browserslist old data warning
...
Set the `BROWSERSLIST_IGNORE_OLD_DATA` enviorment variable to disable Browserslist old data warning
`Browserslist: caniuse-lite is outdated. Please run next command `npm update`
See: 819c433745/node.js (L324)
2020-01-08 10:24:40 -08:00
Alan Agius
b0dcfd08a0
fix(@angular/cli): logic to determine if the installed CLI is out of date
...
With this change we now check if the current CLI version is the latest published version. If it is not, we install a temporary version to run the `ng update` with.
2019-10-22 13:13:54 -07:00
Charles Lyding
b630317b4b
refactor(@angular/cli): convert workspace access to async
...
This is in preparation for conversion from the experimental workspace API to the stable workspace API.
2019-08-16 09:32:04 -07:00
Alan
70a4cbe306
style: enable no-debugger
and no-console
tslint rules
2019-06-27 09:28:35 -07:00
Charles Lyding
c4313f55e4
refactor(@angular/cli): unify color handling and support
2019-06-24 17:27:59 -07:00
Charles Lyding
cfa1649fdd
refactor(@angular/cli): use standard node resolution methods where possible
2019-03-30 18:36:22 -07:00
Alan Agius
a613a9759e
style: add spacing to error message
2018-12-06 11:49:20 -08:00
Noel Mace
317602e40d
refactor(@angular/cli): remove v8-profiler typings
...
Remove dependency to the @types/v8-profiler Profiler type as we don't want to depend on it.
See https://github.com/angular/angular-cli/pull/12411#discussion_r221688065
2018-10-03 16:35:54 -07:00
Noel Mace
93ccb82341
style: disable no-implicit-dependency v8-profiler
...
We only use @types/v8-profiler, which is a repository dev dependency, and v8-profiler-node8
is a "when needed" dependency.
2018-10-03 16:35:54 -07:00
Noel Mace
42f827ba36
build: add v8-profiler typings
...
After some refactoring on the angular/cli init, v8-profiler typing is required
in order to fix a no-any lint error.
2018-10-03 16:35:54 -07:00
Noel Mace
3de49db38e
fix(@angular/cli): capture CPU profile
...
Replace the v8-profiler dependency with v8-profiler-node8 as the first one
doesn't support node 8 and 10, and that @angular/cli support only node 8
and 10.
2018-10-03 16:35:54 -07:00
Hans Larsen
20b5d916d2
feat(@angular/cli): use STDERR to report warnings
2018-08-21 09:57:34 -07:00
Charles Lyding
598c5da777
fix(@angular/cli): properly bootstrap 1.x from global 6.x
2018-07-27 11:41:56 -07:00
Hans Larsen
44086c60ff
build: move devkit repo back to angular-cli
2018-06-05 18:50:06 -07:00