Charles Lyding
bd79e0908a
refactor(@schematics/angular): update e2e to use new workspace rules
2019-04-16 11:23:48 -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 Agius
edfc155f35
feat(@schematics/angular): rename tsconfig.e2e.json
to tsconfig.json
...
This will help IDEs as they only pick up the standard name
2019-03-04 09:33:12 -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
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
Alan Agius
c6a92a6579
refactor: change code to work with TypeScript 3 and add missing models
2018-09-26 12:12:01 -04:00
Charles Lyding
f107d2de11
fix(@schematics/angular): use 'architect' instead of 'targets' until deprecated
2018-09-13 16:43:31 -07:00
Alan Agius
82f2bda2f5
refactor(@schematics/angular): make interaction with architect targets type safe
2018-09-12 12:37:24 -07:00
Charles Lyding
d202480a17
build: update/cleanup tslint rules & fix errors
2018-08-23 11:35:34 -07:00
Filipe Silva
307160806c
feat(@schematics/angular): use targets property on new projects
2018-07-25 20:17:33 +01:00
Hans Larsen
44086c60ff
build: move devkit repo back to angular-cli
2018-06-05 18:50:06 -07:00