2722 Commits

Author SHA1 Message Date
Charles Lyding
f6f0c80d8d fix(@angular-devkit/core): ensure full path is renamed for memory host 2018-07-03 12:52:22 -04:00
Charles Lyding
48780c5e45 refactor(@angular-devkit/schematics): simplify move rule 2018-07-03 12:52:22 -04:00
Charles Lyding
8508b58a6c fix(@angular-devkit/schematics): ensure renamed files do not exist 2018-07-03 12:52:22 -04:00
Charles Lyding
5a58d00a4c fix(@angular-devkit/schematics): support filtering a HostTree 2018-07-03 12:52:22 -04:00
Charles Lyding
885b253a74 test(@schematics/package-update): use HostTree instead of FileSystemTree 2018-07-03 12:52:22 -04:00
Charles Lyding
4091df0eb5 test(@schematics/angular): use HostTree instead of VirtualTree 2018-07-03 12:52:22 -04:00
Charles Lyding
a267783df6 test(@schematics/update): use HostTree instead of VirtualTree 2018-07-03 12:52:22 -04:00
Charles Lyding
af8e7ea333 test(@angular-devkit/schematics): use HostTree instead of VirtualTree 2018-07-03 12:52:22 -04:00
Charles Lyding
e0720b7f62 fix(@schematics/angular): ensure production configuration when migrating
Fixes: #11431
2018-07-03 12:05:04 -04:00
Filipe Silva
8b1bb664d9 fix(@angular-devkit/build-angular): update minimum copy-webpack-plugin version
Fix #9230
2018-07-03 08:31:12 -04:00
Alan Agius
47f937e28f fix(@ngtools/webpack): improve fallbacking for path mapping
TypeScript resolution works as follows;

```
    // /node_modules/moduleB.ts
    // /node_modules/moduleB.tsx
    // /node_modules/moduleB.d.ts
    // /node_modules/moduleB/package.json (if it specifies a "types" property)
    // /node_modules/moduleB/index.ts
    // /node_modules/moduleB/index.tsx
    // /node_modules/moduleB/index.d.ts
```
2018-07-02 21:30:56 -04:00
Charles Lyding
c0bc9bbef4 fix(@angular-devkit/build-optimizer): support object literal methods
Fixes: #11399
2018-07-02 21:30:26 -04:00
Charles Lyding
fd14e4e162 fix(@angular-devkit/build-angular): add all current TSLint default formatters to schema 2018-07-02 09:48:05 -04:00
Charles Lyding
a067530de2 fix(@angular/cli): add all current TSLint default formatters to schema 2018-07-02 09:48:05 -04:00
Alan Agius
5c5d39266f refactor(@schematics/angular): skipPackageJson is optional for application schematic 2018-07-02 08:25:10 -04:00
Alan Agius
b22f253db1 docs(@schematics/schematics): add correct CLI package
Closes #11336
2018-07-02 08:24:50 -04:00
Charles Lyding
d17f856e8d test: add E2E for multi-option path mapping 2018-07-02 08:22:48 -04:00
Charles Lyding
4c6d3b185a fix(@ngtools/webpack): improve support for multi-option path mapping 2018-07-02 08:22:48 -04:00
Alan Agius
f46a883330 refactor(@angular/cli): remove extra await
An async function always wraps the return value in a Promise. Using return await just adds extra time before the overreaching promise is resolved without changing the semantics.
2018-07-02 08:21:57 -04:00
Hans Larsen
5c1cafe750 fix(@angular-devkit/schematics): fix declaring multiple aliases
Fix #11389
2018-07-02 08:21:41 -04:00
Charles Lyding
9e779afdd4 test: update package testing dependencies 2018-07-02 08:21:29 -04:00
Charles Lyding
c698c93200 build: update/reorganize type dependencies 2018-07-02 08:21:29 -04:00
Charles Lyding
7380db93dd build: update development dependencies 2018-07-02 08:21:29 -04:00
Charles Lyding
19f2ba1275 build: remove chalk dependency 2018-07-02 08:21:29 -04:00
Charles Lyding
28bbd1b2bc test(@angular-devkit/schematics): test for nested chained function rules 2018-07-02 08:21:16 -04:00
Charles Lyding
a7edd57399 fix(@angular-devkit/schematics): avoid piping input multiple times when calling rules
Fixes: #11267
2018-07-02 08:21:16 -04:00
Charles Lyding
c875424222 refactor(@angular-devkit/schematics): cleanup call implementations 2018-07-02 08:21:16 -04:00
Alan Agius
3108ce30ab refactor: remove redundant error in catch 2018-07-02 08:20:59 -04:00
Charles Lyding
7662b8d484 fix(@schematics/update): use rc to find and read npm config 2018-07-02 08:20:46 -04:00
Charles Lyding
6449a75364 fix(@angular/cli): use default project when project path is ambiguous 2018-06-21 09:23:41 -04:00
Charles Lyding
c638af29c6 fix(@angular-devkit/core): detect ambiguous projects with path discover 2018-06-21 09:23:41 -04:00
Alan Agius
bb21592b01 docs: add reference to vendor-source-map flag 2018-06-21 08:35:27 -04:00
Charles Lyding
fbdc27ddc5 fix(@schematics/update): ensure auth config options are typed properly 2018-06-20 12:36:04 -04:00
Teamop
0126721610 fix(@angular-devkit/build_angular): use webpack 4 hooks for karma plugin 2018-06-18 09:37:45 -04:00
Alan Agius
dad2de9737 fix(@schematics/angular): add module in root tsconfig when migrating 2018-06-18 09:37:01 -04:00
Alan Agius
e6b59e44ef fix(@schematics/angular): add baseUrl in root tsconfig when migrating
Closes: #11258
2018-06-18 09:37:01 -04:00
Alan Agius
76f46bc00a fix(@schematics/angular): add module option in library tsconfig
When not specified the `commonjs` will be used which will cause erros when consuming the library `Module not found: Error: Can't resolve ' commonjs-proxy:../file`

https://github.com/dherges/ng-packagr/issues/944

Closes #11255
2018-06-17 10:36:58 -04:00
Filipe Silva
ffb01c57b8 build: return promise on changelog script
The changelog function makes a promise but doesn't return it, causing a race condition between the process exiting and the promise finishing.

On a repository with bigger git history the promise took longer to execute and the process exited first.
2018-06-14 19:45:00 -04: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
Filipe Silva
1ac22707db feat(@angular-devkit/build-angular): revert to webpack 4.9.2
Workaround for https://github.com/webpack/webpack/issues/7499
2018-06-13 19:36:19 +01:00
Ferdinand Malcher
1f00a36c43 docs: Add command for angular-cli-ghpages and change repo URL
We moved the repo from angular-buch to angular-schule
2018-06-13 18:50:26 +01:00
George Kalpakas
8ce5ef48b8 style(@schematics/angular): minor improvements in ngsw-config.json 2018-06-13 16:55:42 +01:00
George Kalpakas
1405f53422 fix(@schematics/angular): allow ServiceWorker to work with baseHref
Fixes angular/angular-cli#8515
2018-06-13 16:55:42 +01:00
George Kalpakas
a307f5ebf2 refactor(@schematics/angular): minor refactorings 2018-06-13 16:55:42 +01:00
George Kalpakas
545290242c refactor(@angular/pwa): minor refactorings to make code cleaner 2018-06-13 16:55:42 +01:00
Filipe Silva
e4b13ba3dd test: update tslint-no-circular-imports 2018-06-13 15:33:24 +01:00
Christian Hagendorn
dd39597b6a fix: typo fix for error logging 2018-06-13 14:14:26 +01:00
Charles Lyding
7309c91075 feat(@schematics/update): support npm auth bearer tokens 2018-06-12 17:26:04 +01:00
Brenden
ff2bd3e7ea docs: update hmr documentation
Update documentation for the hmr story to show proper configurations
in angular.json and src/tsconfig.app.json.

Closes #11028, #10668, #10663
2018-06-12 16:49:35 +01:00
Hans
4ba67ee663 refactor: remove usage of Buffer constructor
Its being deprecated in Node 10.4. The replacements are available in Node 8 so
its all good.
2018-06-10 12:47:20 +01:00