Cyrille Tuzi
ee589d9116
fix(@schematics/angular): add compliance with no-any lint rule
2020-01-29 10:19:36 -08:00
Alan
ba8a6ea599
feat(@schematics/angular): remove enableIvy option
...
With this change we remove the enableIvy option as now we only support generating Ivy application. Users who want to create a VE applications should follow the opt-out guide
2019-08-16 09:31:02 -07:00
Stefanie Fluin
40601c46e7
feat(@schematics/angular): cli app redesign ( #14403 )
...
* feat(@angular/cli): cli app redesign
* add template comment code and fix rocket ship smoke image placement
* correct tests verbiage
* fix tests copy of PR 14484
* move styles to template and remove unused icons font ref
* move font references to template
* remove external font references
* remove body styles and simplify css
* add comment block and remove old comments
* fix end of placeholder comment
2019-08-12 13:54:09 -07:00
Alan Agius
0551360035
fix(@schematics/angular): exclusively list the files in tsconfigs ( #15030 )
...
* test: update tests to work with new stricter tsconfig file inclusions
* fix(@schematics/angular): exclusively list the files in tsconfigs
With the omission of `includes` or `files` in tsconfig files tsc will pick up all the files under the rootDir and make them as part of the compilation. In certain cases, redundant files will be picked up which will cause a slower compilations.
Related to: TOOL-949
2019-07-16 11:04:29 -07:00
Cédric Exbrayat
9d4d5742bb
feat(@schematics/angular): enable ivy in tests ( #15044 )
...
If a project is generated with `enableIvy`, this commit adds the necessary configuration to `tsconfig.spec.json` to then run the tests with Ivy. Note that the CLI already does the correct work (runs `ngcc` and then runs the tests).
2019-07-15 09:50:16 -07:00
Alan Agius
04b854956c
fix(@schematics/angular): remove old GoogleBot browserslist setting
...
GoogleBot is now evergreen, we don't need to specialcase it: https://webmasters.googleblog.com/2019/05/the-new-evergreen-googlebot.html?m=1
Fixes #14364
2019-05-09 10:08:52 -07:00
Minko Gechev
4d7581d60b
feat(@schematics/angular): enable support for Chrome 41
...
We want apps to be SEO friendly by default.
2019-04-19 10:49:03 -07:00
cexbrayat
0ce98ceeb3
docs(@schematics/angular): mention npx browserslist in browserslist
...
Running `npx browserslist` allows to see what browsers are actually selected with the configuration,
which is very handy and not very known.
2019-04-17 15:47:39 -07:00
Alan Agius
413a35bd56
feat(@schematics/angular): add more information and browsers in browserlist
2019-04-15 11:30:34 -07:00
JiaLiPassion
888bb27815
refactor: rename Zone 'BLACK_LISTED_EVENTS' to 'UNPATCHED_EVENTS'
2019-04-01 00:48:24 -07:00
Alan
a7d095d916
feat(@schematics/angular): change layout for root applications
...
This change aligns the file layout of applications generated with `ng new` and `ng generate`
Ref: TOOL-686
2019-03-06 11:28:26 -08:00
Alan
08c4cb748f
fix(@schematics/angular): reintroduce .sass
as a supported file extention
...
Sass Indented (.sass) is fully supported by the Sass team and we should still offer and support it.
Fixes #13739
2019-03-04 10:26:09 -08:00
Alan Agius
9e18cf240e
fix(@schematics/angular): kebab case prefix causes lint errors in new directives
...
`Component` selectors are always kekabed while `Directive` selectors are always camelized. This updates the lint rules to convert the prefix to the appropiate case
Fixes #13796
2019-03-04 09:35:22 -08:00
Alan
026ae8cefc
feat(@schematics/angular): change layout of e2e files
...
With this change E2E files will be relocated inside an existing application instead of creating a seperate E2E project. This will also remove a lot of extra boilerplating inside the workspace configuration file.
File layout:
```
│ browserslist
│ karma.conf.js
│ tsconfig.app.json
│ tsconfig.spec.json
│ tslint.json
│
├───e2e
│ │ protractor.conf.js
│ │ tsconfig.e2e.json
│ │
│ └───src
│ app.e2e-spec.ts
│ app.po.ts
│
└───src
│ favicon.ico
│ index.html
│ main.po.ts
│ main.ts
│ polyfills.ts
│ styles.css
│ test.ts
│
├───app
│ app.component.css
│ app.component.html
│ app.component.spec.ts
│ app.component.ts
│ app.module.ts
│
├───assets
│ .gitkeep
│
└───environments
environment.prod.ts
environment.ts
```
Ref: TOOL-699
2019-03-04 09:33:12 -08:00
Filipe Silva
05966646e7
feat(@schematics/angular): rename experimentalIvy to enableIvy
...
Followup to https://github.com/angular/angular/pull/28569#discussion_r259558085
2019-02-26 10:49:58 -08:00
Filipe Silva
becd2f53d5
fix(@schematics/angular): use enableIvy as true
...
Blocked on https://github.com/angular/angular/pull/28616
2019-02-22 15:52:58 -08:00
Alan Agius
89797900db
fix(@schematics/angular): fixes issue that ViewEncapsulation
is not being configured when provided
...
Fixes #13689
2019-02-19 13:57:05 -08:00
Luis Confraria
1f9c84f98c
fix(@schematics/angular): set restartOnFileChange to true in karma.conf templates
...
Fix #13542
2019-02-08 16:12:19 -08:00
Alan
4718de4dae
feat(@schematics/angular): only support known style extentions
...
Fixes #13149
2019-01-18 11:56:19 -08:00
Alan Agius
36eba0c9fc
refactor: use .template
suffix for all schematic files
...
Currently when using `ivy-ngcc` it will print out a warning
```
Failed to read entry point info from //node_modules/@schematics/angular/workspace/files/package.json with error SyntaxError: Unexpected token < in JSON at position 1121.
```
Fixes #13378
2019-01-16 10:29:56 -08:00
Charles Lyding
cdb99bc324
fix(@schematics/angular): remove redundant ES2015 polyfills
2019-01-15 14:17:55 -08:00
Amadou Sall
f01c156d00
fix(@schematics/angular): apps code coverage should resides in their own folder
2019-01-14 10:57:51 -08:00
Alan Agius
f94576b232
feat(@schematics/angular): experimentalIvy
should generates backwards compatible solution
...
Usage:
```
ng new foo --experimentalIvy
```
Users will need to use `ngcc` so to process code coming from NPM and produce the equivalent Ivy version. This needs to be done once after installing the node packages.
```
node_modules/.bin/ivy-ngcc
```
`ngtsc` compilter will then be used when building using the `--aot` or `--prod` flag.
Fixes #13024
2019-01-11 14:04:01 -08:00
cexbrayat
32c96d6158
style(@schematics/angular): format jsdoc in polyfills.ts
...
This line makes the `jsdoc-format` tslint rule fails if activated as it is not a correct JSDoc formating.
2018-12-18 09:12:59 -08:00
mhartington
601134d2a6
docs(@schematics/angular): add note about older chrome in polyfills
...
Add note about polyfills being required in older chrome environments.
Addresses confusion seen in Ionic projects that are loaded in an Android
5 emulator, but has chrome 37.
2018-12-13 14:11:28 -08:00
JiaLiPassion
c83be5e555
fix(@schematics/angular): import zone related flags in other files
...
fix #12886
2018-12-11 11:56:58 -08:00
Alan Agius
4cca3a10e8
feat(@schematics/angular): add text-summary
to code coverage reporters
...
Fixes #3602
2018-10-23 10:16:44 -07:00
Charles Lyding
64d1524649
refactor(@schematics/angular): cleanup application polyfill comments
2018-10-03 17:38:51 -07:00
Alan Agius
8d81c4f5c6
style(@schematics/angular): remove extra whitespace in EOF
...
Closes #12426
2018-10-03 17:34:53 -07:00
Masahiko Sakakibara
4d46c4ac49
fix(@schematics/angular): support Fetch as Google
(Google bot) ( #11815 )
2018-09-27 13:39:34 -04:00
Charles Lyding
d3fa9a6631
fix(@schematics/angular): remove redundant reflect polyfill
2018-09-24 13:23:57 -07:00
Sean Wright
467c02b35c
style: match styleguide catch callback
2018-09-12 12:43:35 -07:00
Adrian Moos
247b20d37a
style(@schematics/angular): fix typo and English in environment.ts ( #12023 )
2018-08-30 13:47:15 -07:00
Eaton
03c4296c1b
docs: fix broken links to angular.io ( #11811 )
...
docs: fix broken links to angular.io
2018-08-23 13:54:32 -07:00
Charles Lyding
a9e25fffae
fix(@schematics/angular): ensure non-evergreen IE browsers are excluded
2018-08-23 10:36:53 -07:00
Alan Agius
b99b6bab08
fix(@schematics/angular): incorrect exclude
path for test.ts
...
Closes #11829
2018-08-13 17:03:32 -07:00
Hans
3886aab55b
feat(@schematics/angular): add a --experimental-ivy flag to ng-new
...
This will create a new Ivy-enabled application. Also available in "ng g application".
2018-08-09 19:37:53 -04:00
Qais Patankar
68d87e82d1
style(@schematics/angular): fix English in environment.ts
2018-08-07 10:40:26 +01:00
Filipe Silva
b8cecbbb3c
feat(@schematics/angular): use es2015 modules overall
...
This change helps to keep the behaviour of build/serve/test consistent by using the same import semantics in all of them.
2018-06-13 22:33:32 +01:00
Hans Larsen
44086c60ff
build: move devkit repo back to angular-cli
2018-06-05 18:50:06 -07:00