88 Commits

Author SHA1 Message Date
Keen Yee Liau
16df11ba28 release: v8.1.0-beta.1 2019-06-13 16:07:00 -07:00
Keen Yee Liau
4e45e99486 release: v8.1.0-beta.0 2019-06-13 16:03:12 -07:00
Alan Agius
905f3acae8 build: update angular framework packages to next` 2019-06-11 09:52:56 -07:00
Alan Agius
be35b78211 refactor: remove beta versions from latest versions 2019-06-06 14:16:51 -07:00
Alan
50c974a583 fix(@schematics/angular): add '@angular-devkit/build-webpack' package to the version 8 migration 2019-06-06 14:16:51 -07:00
Alan
89a122cd5c fix(@schematics/angular): update ng-packagr and tsickle when migrating to version 8 2019-06-06 14:16:51 -07:00
Alan
22d77285e1 fix(@schematics/angular): handle newline after @ of a decorator
Fixes #14490
2019-05-23 19:14:58 +02:00
hawkgs
c402903a3d refactor(@schematics/angular): optimize insertAfterLastOccurrence AST util 2019-05-17 11:26:53 -07:00
Filipe Silva
5770762ac1 fix(@schematics/angular): update zone.js to 0.9.1 2019-05-13 15:58:15 -07:00
hawkgs
94ca819656 fix(@schematics/angular): linting errors in AST utils spec 2019-05-09 10:06:09 -07:00
hawkgs
86f1884e65 test(@schematics/angular): insert after last occurrence util 2019-05-09 10:06:09 -07:00
hawkgs
52e9819232 fix(@schematics/angular): allow insertion when there are no occurrences 2019-05-09 10:06:09 -07:00
Alex Eagle
b369aed36f release: v8.0.0-beta.18 2019-04-23 14:20:21 -07:00
Alex Eagle
a8c86a32e0 Revert "feat(@schematics/angular): update scaffolding rxjs version to 6.5.1"
This reverts commit 636ff36b3a1789be392698f254d91a80d854f6ea.
2019-04-23 11:23:44 -07:00
Alan Agius
636ff36b3a feat(@schematics/angular): update scaffolding rxjs version to 6.5.1 2019-04-23 08:07:56 -07:00
Filipe Silva
fea7117bd2 feat(@schematics/angular): drop @angular/http from dependencies 2019-04-23 10:28:00 -04:00
Alan
f03ff807b4 refactor(@schematics/angular): create relativePathToWorkspaceRoot helper and replace usages 2019-04-19 10:55:02 -07:00
Charles Lyding
790a9622c4 refactor(@schematics/angular): add initial workspace helper rules 2019-04-15 11:02:46 -07:00
Filipe Silva
b7dfdb8643 build: update to Angular 8.0.0-beta.12 2019-04-13 10:23:02 -07:00
Minko Gechev
a5dd1de64b release: v8.0.0-beta.11 2019-04-04 01:32:34 +02:00
Filipe Silva
7ed4a60095 feat(@schematics/angular): add web worker schematics 2019-04-02 04:49:34 -07:00
ukrukar
3d86b18d7e fix(@schematics/angular): buildRelativePath handles files in root
Before, if one of the arguments was a file in root (eg "/module")
code would fail with: "" must be an absolute path.
2019-04-01 10:51:24 -07:00
Renovate Bot
688ed6aca9 build: update zone.js to version ^0.9.0 2019-03-27 12:23:59 -07:00
Filipe Silva
6e3d2e0c4d feat(@ngtools/webpack): support Angular 8
This requires updating projects to TypeScript 3.3
2019-03-20 12:29:01 -07:00
Hans Larsen
c7cc4ddff0
release: v8.0.0-beta.7 2019-03-14 16:02:05 -07:00
Hans Larsen
6acd20bb30 feat(@schematics/angular): allow ember, ember-cli, vendor, app and test names
We dont care about the app name anymore.
2019-03-13 13:56:13 -07:00
Hans Larsen
fd5cb7a7f0
release: v8.0.0-beta.5 2019-03-06 14:01:53 -08: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
Alex Eagle
bf1c069f73 refactor(@schematics/angular): drop dependency on TypeScript package
instead, vendor in the two files we actually need.
This reduces our install footprint by 5MB
2019-03-06 11:27:48 -08:00
Hans Larsen
214e8efaa7
release: v8.0.0-beta.4 2019-02-28 17:57:33 -08:00
Minko Gechev
ef11c9fbc9 release: v8.0.0-beta.3 2019-02-27 16:40:55 -08:00
Keen Yee Liau
ac77a5e9ab fix(@schematics/angular): JsonUtils should respect indent
This commit fixes a few issues with json-utils:

1. The implementation is lacking tests
2. The implementation hardcodes indent = 2 in many places and
   does not respect the `indent` parameter passed by users
3. The implementation is buggy when passed an empty object or array
2019-02-21 15:16:19 -08:00
Keen Yee Liau
a5738dbbf5 release: v8.0.0-beta.2 2019-02-21 10:27:30 -08:00
Alan Agius
9bf8b3e65a fix(@schematics/angular): findModuleFromOptions not handling properly different casing in name
At the moment users can have various casing and seperatirs in paths, we should not always dasherize the name when resolving modules.

As for example when providing something like:

```
/module/SubModule/feature
```

It won't be able to resolve the modules properly as `sub-module` does't exist.

This PR also updates the test for underscore as previously it was not properly testing this usercase, since the formatter was used on name and not th path.

Fixes #13714
2019-02-20 17:14:26 -08:00
Keen Yee Liau
040dcb8365 feat(@schematics/angular): Update rxjs to 6.4.0
6.4.0 is needed so that Bazel does not have to build rxjs from source

See [angular/angular#28720](https://github.com/angular/angular/pull/28720)
2019-02-17 10:38:52 -08:00
Alan
a7c811a2d9 feat(@schematics/angular): scaffold new projects with angular packages version 8 2019-02-08 16:06:37 -08:00
cexbrayat
6f816cac70 fix(@schematics/angular): update latest version of devkit 2019-02-08 16:05:16 -08:00
cexbrayat
b1b365e4fd fix(@schematics/angular): update latest version of devkit 2019-01-18 11:55:14 -08:00
Charles Lyding
66604efaca feat(@schematics/angular): enabled conditional ES2015 polyfills for new apps 2019-01-15 14:17:55 -08:00
Alan Agius
45160acb77 feat(@schematics/angular): add support for tslint.yaml in lint fix
tslint config file can be either json or yaml format. See https://palantir.github.io/tslint/usage/configuration

Fixes #12545
2019-01-08 14:04:13 -08:00
Alan Agius
263e8c1333 feat(@schematics/angular): generate ngsw-config.json under the project
Generate `ngsw-config.json` under the project sourceRoot if root is empty similar to the `karma.conf.js`

Now:
```
-- src
---- ngsw-config.json
-- project
---- app
------ ngsw-config.json
```
Current:
```
-- ngsw-config.json
-- src
-- project
---- app
------ ngsw-config.json
```

Fixes #10793
2019-01-08 13:49:40 -08:00
Minko Gechev
25a277400b release: v7.2.0-rc.0 2018-12-19 15:15:07 -08:00
Alan Agius
3e0128e110 feat(@schematics/angular): add support for TypeScript 3.2 and Angular 7.2.0-rc.0 2018-12-19 10:55:05 -08:00
Alan Agius
17ba2bc450 fix(@schematics/angular): set optimization and sourceMap in universal production config
- When using Universal sourceMaps should not be enabled or at least `styles` sourceMaps should be disabled as these will otherwise be inlined and will be set as apart of the server side rendered page.

- While there is no benefit to optimize the scripts at server level, styles should always be minified so that the server side rendered page is smaller.

Fixes #12541 and Fixes #12940
2018-12-14 10:54:30 -08:00
Keen Yee Liau
8a41a00f1f release: v7.2.0-beta.2 2018-12-12 11:21:20 -08:00
Alex Eagle
a0b991310a build: update unstable release numbers for 7.2 beta 2018-12-07 05:57:11 -08:00
赵正阳
822d6a0b9b fix(@schematics/angular): add providers into providers metadata but not inner Object with ut. (#13081) 2018-11-30 14:08:49 -08:00
Alan Agius
0692cacd06 feat(@schematics/angular): account for root level assets and resourcesOutputPath (#13074)
* feat(@schematics/angular): account for root level assets and `resourcesOutputPath`

By default we are only account for assets inside the assets folder. Which breaks the offline experience.

Fixes #13067

* test: add test to verify root level assets in service workers
2018-11-30 14:08:03 -08:00
Hans
1e5cbd1cc9
release: v7.1.0 2018-11-26 11:16:06 -08:00
Alan Agius
8f0d03b6c2 fix(@schematics/angular): addSymbolToNgModuleMetadata metadata without indent
At the moment, at least a single whitespace is required as otherwise the following error `Cannot read property '0' of null ` will be thrown

Fixes #12950
2018-11-14 12:42:48 -08:00