Filipe Silva
5f8e8083b2
fix(@schematics/angular): remove ngcc postinstall hook
...
Partially addresses #16017
2019-11-11 09:14:24 -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
26f5e6ffa3
fix(@schematics/angular): appendValueInAstArray
should not break JSON when using different formatting
...
Fixes : #16024 , fixes : #15462 and fixes : #14776
2019-11-05 16:36:44 -08:00
Alan Agius
aad8fa1fab
refactor(@schematics/angular): deprecate component entryComponents
...
Since version 9.0.0 with Ivy, entryComponents is no longer necessary
2019-11-05 16:36:16 -08:00
Alan Agius
d13387db4d
fix(@schematics/angular): tsconfig creates invalid file references
...
Fixes : #16035
2019-11-04 13:27:32 -08:00
Alan Agius
afae476b51
fix(@schematics/angular): replace '**/*.ts
file inclusion with **/*.d.ts
...
This fixes warnings such as the below;
```
WARNING in /test-update/src/environments/environment.prod.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.
```
When the previous generated add was in VE.
2019-11-04 13:27:32 -08:00
Vikram Subramanian
f7769b8154
release: v9.0.0-next.19
2019-10-30 18:38:49 -07:00
Charles Lyding
77714cc630
fix(@schematics/angular): disable i18n migrations
2019-10-30 12:00:18 -07:00
Alan Agius
77a4fba45f
fix(@angular-devkit/build-angular): don't emit CSS resources during a server build
...
The server should serve the assets emitted by the browser builder. In fact the nguniversal schematics are configured to serve the assets from the browser folder
a0cc9ab97a/modules/express-engine/schematics/install/files/__serverFileName%40stripTsExtension__.ts (L26)
Closes #12878
2019-10-29 20:21:24 -07:00
Alan Agius
aa6aee1ac1
fix(@schematics/angular): universal add outputHashing to media
...
In case the browser builder hashes the assets we need to add this setting to the server builder as otherwise when assets it will be requested twice. One for the server which will be unhashed, and other on the client which will be hashed.
Closes #15953
2019-10-29 20:21:24 -07:00
vikerman
bc89e678ec
release: v9.0.0-next.18
2019-10-28 17:51:54 -07:00
vikerman
a26921387b
release: v9.0.0-next.17
2019-10-28 12:02:17 -07:00
vikerman
3f7079038d
release: v9.0.0-next.16
2019-10-25 15:26:03 -07:00
Amadou Sall
0e3d8e4a64
feat(@schematics/angular): add packageManager option
...
closes #15875
2019-10-25 09:53:12 -07:00
Alan Agius
e31d5d89b7
build: update bazel packages
2019-10-24 12:05:25 -07:00
vikerman
99c174c03b
release: v9.0.0-next.15
2019-10-23 15:10:42 -07:00
Amadou Sall
cc4abddcdd
refactor(@schematics/angular): remove hardcoded value of newProjectRoot
( #15925 )
...
the default value of `newProjectRoot` is already defined in the schema
2019-10-23 10:00:04 -07:00
vikerman
cf47948dcc
release: v9.0.0-next.14
2019-10-22 14:23:06 -07:00
Alan Agius
e92c46a3cf
refactor(@schematics/angular): remove deprecated spec
and styleext
options
...
BREAKING CHANGE:
Deprecated `styleext` and `spec` options have been removed. Use `style` and `skipTests` options instead.
2019-10-22 13:27:08 -07:00
Alan Agius
a384a983fa
feat(@schematics/angular): add tslib as a peerDependencies in library package.json
...
This is to align with https://github.com/angular/angular/pull/32167
2019-10-22 13:26:38 -07:00
Alan Agius
8d892160d3
feat(@angular-devkit/build-ng-packagr): limit support to version 9.0
...
ng-packagr version 9 removes support for previous versions of Angular.
2019-10-22 13:26:38 -07:00
vikerman
0a959abc60
release: v9.0.0-next.13
2019-10-21 13:29:16 -07:00
cexbrayat
3ec4f61357
fix(@schematics/angular): remove unneeded debugElement in test
...
The generate tests in `app.component.spec.ts` are using `fixture.debugElement.componentInstance` whereas we can directly use `fixture.componentInstance`. This fixes the generated test to show a better example to users discovering unit tests.
2019-10-21 09:38:16 -07:00
Filipe Silva
3fc4c91fff
feat(@schematics/angular): update @types/node for version 9
...
Angular will only support TS 3.6+ on version 9, and older versions of `@types/node` are incompatible with it and will cause all builds to fail.
Related to https://github.com/angular/angular/pull/33250
2019-10-21 09:37:29 -07:00
Alan Agius
0074abfbe8
feat(@schematics/angular): update to TypeScript 3.6
2019-10-21 09:37:29 -07:00
vikerman
95776fed67
release: v9.0.0-next.12
2019-10-17 14:21:22 -07:00
Vikram Subramanian
e8cdfa6020
release: v9.0.0-next.11
2019-10-16 10:02:58 -07:00
Filipe Silva
7612d3e200
build: use TS 3.6.4
2019-10-16 10:00:49 -07:00
Vikram Subramanian
012929a8ac
release: v9.0.0-next.10
2019-10-16 07:31:07 -07:00
Alan Agius
6b0aec4cc2
build: update framework packages to 9.0.0-next.11
2019-10-16 05:56:23 -07:00
Filipe Silva
940276f554
fix(@schematics/angular): update ngcc postinstall command
2019-10-15 19:19:05 -07:00
Alan Agius
5d9b20b49c
refactor(@schematics/angular): remove redundant quotes from protractor options
2019-10-14 13:41:58 -07:00
Alan Agius
a7f977f05d
feat(@schematics/angular): remove @angular/pwa
from depedencies
...
`@angular/pwa` is not needed as a dependency. This is because the pwa package is a schematic and is only used once when adding pwa capabilities to your application. After that, this package is not used anymore.
Closes #15764
2019-10-14 13:40:31 -07:00
Alan Agius
750baf92d6
feat(@schematics/angular): add migration to add new i18n options for Ivy
...
This migration will update current projects by adding the `i18n` project level option and add `localize` option in the server and browser builder configurations when both `i18nLocale` and `i18nFile` are defined.
2019-10-14 09:55:49 -07:00
mgechev
c1051b5205
release: v9.0.0-next.9
2019-10-10 19:04:09 -07:00
Filipe Silva
318396345a
feat(@schematics/angular): use ngcc on postinstall ( #15801 )
...
* build: use FW 9.0.0-next.10
* feat(@schematics/angular): use ngcc on postinstall
This should improve the time first builds take.
Part of https://github.com/angular/angular/pull/32999
Blocked on an Angular release that includes https://github.com/angular/angular/pull/33049
2019-10-10 12:39:10 -07:00
Leon Radley
c0d42e0c0e
feat(@schematics/angular): add type option to component generator ( #15754 )
...
the type option allows you to change the default .component.ts suffix to new types.
such as
Route
Dialog
UI
Container
2019-10-09 11:09:12 -07:00
Alan Agius
35edccf4b4
Update several dependencies ( #15797 )
...
* feat(@schematics/schematics): update serveral dependencies of blank projects
* feat(@schematics/angular): update serveral dependencies of new workspaces
2019-10-09 11:04:25 -07:00
Alan Agius
08bc4df4c6
feat(@schematics/angular): add migration ensure that tslib
is installed ( #15800 )
...
Related to: https://github.com/angular/angular/pull/32167
2019-10-09 11:03:43 -07:00
Muhammad Umair Khan
bcbbc19293
fix(@schematics/angular): scroll issue on new app ( #15714 )
...
Subtracting the top space from image vh(viewport height) to remove scroll
Closes #15596
2019-10-07 09:15:08 -07:00
vikerman
17540a2e4b
release: v9.0.0-next.8
2019-10-03 14:58:32 -07:00
Keen Yee Liau
0662a8d774
build: g3 sync for packages/schematics and packages/angular
...
Fix all build errors in g3
2019-10-03 14:29:07 -07:00
vikerman
1bddf8b48c
release: v9.0.0-next.7
2019-10-02 14:20:41 -07:00
Alan Agius
fca9cbe6fd
feat(@schematics/angular): update browser output path when adding universal
...
Currently, in the CLI universal schematic we are setting the server output path to `dist/project-server` and not amending the build outputPath
Ex:
```
dist/project
dist/project-server
```
However, the above paths are being update when adding `nguniversal` to the below:
```
dist/project/browser
dist/project/server
```
With this change it is proposed to move that logic to upstream.
Related PR to clean up nguniversal schematics https://github.com/angular/universal/pull/1265
2019-09-30 13:56:46 -07:00
mgechev
5393041747
fix(@schematics/angular): drop deprecated tslint rule
...
>no-use-before-declare is deprecated. Since TypeScript 2.9. Please use the built-in compiler checks instead.
2019-09-27 14:40:05 -07:00
mgechev
e2e7dee752
feat(@schematics/angular): use codelyzer@5.1.2
2019-09-27 14:39:50 -07:00