Alan Agius
4ed1c4f42d
fix(@schematics/angular): replace clientProject
with project
2021-05-05 11:49:22 -04:00
Alan Agius
e992c9a70b
build: update files to be fix eslint header/header failures
2021-05-04 09:59:40 -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
645353db26
fix(@schematics/angular): run update-i18n migration for server builder
2021-04-03 14:45:58 +02:00
Alan Agius
0199170ec7
refactor(@schematics/angular): remove DevkitBuildNgPackagr
and DevkitBuildWebpack
from latest-versions
2021-03-17 19:06:37 +01:00
Alan Agius
ba6f546a02
fix(@schematics/angular): add additionalProperties
to all schemas
2021-03-10 08:17:50 -06:00
Alan Agius
1de6d71edd
feat(@schematics/angular): production builds by default
...
With this change we do several changes to the `angular.json` configuration for `build` , `server` and `app-shell` targets so that these are `production` by default.
- build, server and app-shell targets are configured to run production by default.
- We add a new configuration named `development` to run the mentioned builder targets in development. Ex: `ng build --configuration development`.
- When adding `universal` or `app-shell`, we generate the full set of configurations as per the `buiid` target. Previously, we only generated the `production` configuration.
- We added a helper script in `package.json` to run build in watch mode. `npm run watch` which is a shortcut for `ng build --watch --configuration development`
2021-03-10 08:16:38 -06:00
Alan Agius
0bc15970ad
refactor(@schematics/angular): use jsonc-parser instead of devkit parser
2020-11-05 08:31:02 +01:00
Charles Lyding
8facdaee1b
refactor(@schematics/angular): use new JSON helpers in v9 migration utilities
2020-09-24 14:04:06 +02:00
Charles Lyding
3173cc06b0
refactor(@schematics/angular): remove unused v9 migration utilities
2020-09-24 14:04:06 +02:00
Charles Lyding
c49ebe78a2
refactor(@schematics/angular): use new workspace helpers in update-i18n migration
2020-09-24 14:04:06 +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
86e4201d60
refactor(@schematics/angular): use new workspace helpers in update-server-main-file migration
2020-09-23 11:22:28 -05:00
Charles Lyding
c859fcb65e
refactor(@schematics/angular): use new workspace helpers in ngsw-config migration
2020-09-23 11:22:28 -05:00
Charles Lyding
39fd968673
refactor(@schematics/angular): use new workspace helpers in remove-tsickle migration
2020-09-23 11:22:28 -05:00
Charles Lyding
7b1787fc57
refactor(@schematics/angular): use new JSON helpers in ngsw-config migration
2020-09-23 11:22:28 -05: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
38ea7dc8a6
refactor(@schematics/angular): use new JSON helpers in update-app-tsconfigs migration
2020-09-23 11:22:28 -05:00
Charles Lyding
5d73e9d04e
refactor(@schematics/angular): use new JSON helpers in remove-tsickle migration
2020-09-01 20:22:55 +03:00
Charles Lyding
af27ec5449
refactor(@schematics/angular): use new helpers in ivy libraries migration
...
This change refactors the ivy-libraries v9 migration to use the `updateWorkspace` and `JSONFile` helper utilities.
2020-09-01 20:22:55 +03:00
Charles Lyding
9886e27c96
refactor(@schematics/angular): use new workspace helpers in schematic-options migration
2020-09-01 20:22:00 +03:00
Alan Agius
0e49f12274
refactor(@schematics/angular): remove unused util and imports
2020-08-15 15:36:20 +02:00
Alan Agius
da9825ceb2
refactor(@schematics/angular): use ng-packagr builder from build-angular
2020-08-14 15:38:12 +02:00
Alan Agius
8b96e52d83
fix(@schematics/angular): remove solution style tsconfig from new projects
...
Following the issues highlighted in https://docs.google.com/document/d/1eB6cGCG_2ircfS5GzpDC9dBgikeYYcMxghVH5sDESHw/edit?usp=sharing and discussions held with the TypeScript team. The best course of action is to rollback this feature.
In future, it is not excluded that solution style tsconfigs are re-introduced..
Closes #18040 and closes #18170
2020-08-12 19:26:12 +01:00
Alan Agius
05588fcee1
refactor: clean up unused code and imports
2020-07-24 08:01:52 +02:00
Alan Agius
76f525cec2
fix(@schematics/angular): add links to generated tsconfig files
...
We now add a link to generated tsconfig.json to make is easier for users to find relevant information.
2020-06-15 08:48:14 +02:00
Alan Agius
bede23226a
feat(@schematics/angular): add solutions style tsconfig structure
...
In version 3.9, TypeScript introduced the concept of "Solutions Style" tsconfig to improve developer experience.
More info: https://devblogs.microsoft.com/typescript/announcing-typescript-3-9-rc/#solution-style-tsconfig
Closes #17493 and closes #8138
2020-05-20 12:12:33 -07:00
Charles Lyding
2bbe082cf6
refactor(@schematics/angular): update vendored TypeScript to 3.8
2020-03-02 14:05:31 -08:00
Santosh Yadav
176a823a5e
test(@schematics/angular): update test case description
2020-02-18 12:48:00 -08:00
Alan Agius
bf04333ed4
fix(@schematics/angular): add include to type definitions in tsconfig
...
Fixes #16923
2020-02-12 12:01:23 -08:00
Charles Lyding
e7852b2615
fix(@schematics/angular): migrate spec and styleext schematic options
...
Fixes : #16857
2020-02-11 08:46:57 -08:00
Filipe Silva
216af23ad7
fix(@schematics/angular): resolve windows paths in tsconfig migration
...
Fix #16800
2020-02-03 17:31:19 -08:00
Charles Lyding
3dd706700e
fix(@angular/cli): migrate and inform users about @angular-devkit/[schematics, core] packages
2020-01-02 11:26:45 -08:00
Alan Agius
d585f99a3e
fix(@schematics/angular): blank root leads to wrong tsconfig.lib.prod.json path
...
Closes : #16444
2019-12-17 11:17:59 -08:00
Charles Lyding
922be51746
fix(@schematics/angular): workaround schematic/json AST issues in 9.0 i18n migration
2019-12-12 14:02:25 -08:00
Charles Lyding
7abaf391b3
refactor(@schematics/angular): separate i18n workspace 9.0 migration
2019-12-12 14:02:25 -08:00
Charles Lyding
347667432e
fix(@schematics/angular): improve i18n output path option migration
...
Output paths that use the locale within a locale specific configuration will now be automatically removed. This will prevent the potential for the migrated configuration to generate an output path with double locale segments.
2019-12-11 10:51:06 -08:00
Charles Lyding
97c0d57be8
fix(@schematics/angular): improve i18n baseHref migration support for direct localize usage
2019-12-04 08:14:16 -08:00
Charles Lyding
df4c035315
fix(@schematics/angular): migrate localized base HREF options for 9.0
2019-12-04 08:14:16 -08:00
Charles Lyding
b1106360ac
fix(@schematics/angular): when migrating do not set base localize option for builder
...
This can cause unnecesary rebuild time increases and is unneeded when using the new multi-locale builds.
2019-11-26 13:05:30 -08:00
Alan Agius
8b23e64972
fix(@schematics/angular): migrate project to use new i18n options
2019-11-19 11:40:51 -08:00
Alan Agius
e9551f9624
fix(@schematics/angular): only remove tslib
from package.json when it's not a dependency
...
Fixes : #16191
2019-11-14 11:10:19 -08:00
Alan Agius
1db57d44dd
fix(@schematics/angular): return undefined instead of throw when file is not found
...
Follow up on https://github.com/angular/angular-cli/pull/16063
2019-11-11 09:13:20 -08:00
Alan Agius
bd840b2ea5
fix(@schematics/angular): improve cli migration name and description ( #16093 )
2019-11-07 16:41:56 -08:00
Alan Agius
449c51f87e
fix(@schematics/angular): only show ngsw-config.json
file not find warning when ngswConfigPath
is defined
2019-11-07 10:09:20 -08:00
Alan Agius
bcd6d059b3
fix(@schematics/angular): migrate module compiler option
...
This migration coverts the TypeScript `module` compiler option to `esnext` or `commonjs` which is required when using `import()`.
Fixes : #16094
2019-11-07 10:08:51 -08:00
Alan Agius
9ba78050bb
fix(@schematics/angular): warn when target references a missing tsconfig
...
Fixes #16019
2019-11-05 16:37:18 -08:00
Alan Agius
d13387db4d
fix(@schematics/angular): tsconfig creates invalid file references
...
Fixes : #16035
2019-11-04 13:27:32 -08:00