28 Commits

Author SHA1 Message Date
cexbrayat
663c4bc9c1 fix(@schematics/angular): remove references to the prod flag
As the `--prod` is now deprecated, and `ng build` uses by default the `production` configuration,
then we should remove the references to `ng build --prod` in the generated project.
2021-03-11 11:36:25 +01:00
Alan Agius
bb38f85202 feat(@schematics/angular): use new zone.js entry-points 2021-02-17 12:44:43 -06:00
Oleksii Potiekhin
f73a878c67 fix(@schematics/angular): adjust block comment
https://github.com/Microsoft/tslint-microsoft-contrib

ERROR: 21:1 no-single-line-block-comment Replace block comment with a single-line comment
2020-12-15 12:24:53 +00:00
Alan Agius
5617131e7f fix(@schematics/angular) remove reference to IE10 in comment
IE 10 is no longer supported therefore we removed it from the classlist polyfill comment.
2020-10-02 15:43:26 -04:00
Alan Agius
2335c1f3bf fix(@schematics/angular) remove file extension from zone flags comment 2020-02-12 12:01:08 -08:00
Cyrille Tuzi
ee589d9116 fix(@schematics/angular): add compliance with no-any lint rule 2020-01-29 10:19:36 -08: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
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
89797900db fix(@schematics/angular): fixes issue that ViewEncapsulation is not being configured when provided
Fixes #13689
2019-02-19 13:57:05 -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
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
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
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
Hans Larsen
44086c60ff build: move devkit repo back to angular-cli 2018-06-05 18:50:06 -07:00