46 Commits

Author SHA1 Message Date
Filipe Silva
f08ec443ff build: re-enable missing bazel tests 2018-08-22 16:36:10 -07:00
Filipe Silva
2393ab9aba build: simplify bazel dependencies 2018-08-22 16:36:10 -07:00
Filipe Silva
666b84bbd3 test(@schematics/angular): add bazel tests 2018-08-22 16:36:10 -07:00
Alan Agius
718ee15b9a refactor: remove flatModuleId and flatModuleOutFile from library tsconfig
The autogenerated fiellds are no longer required following this PR https://github.com/dherges/ng-packagr/pull/1024

This has been released in `ng-packagr` `v4.1.0`
2018-08-21 10:16:38 -07:00
Hans Larsen
548616eda3 feat(@schematics/angular): use STDERR to report warnings 2018-08-21 09:57:34 -07:00
Sibiraj
e66394f27f feat(@schematics/angular): update karma to v3
Fixes #10963
2018-08-17 10:39:27 -07:00
Alan Agius
b99b6bab08 fix(@schematics/angular): incorrect exclude path for test.ts
Closes #11829
2018-08-13 17:03:32 -07:00
Alan Agius
9aadb8e6d1 feat(@schematics/angular): add no-redundant-jsdoc tslint rule
When building a library, `tsickle` is used as the `annotateForClosureCompiler` option is `true`. `tsickle` warns when redundant jsdocs are used.

d24b139b71/src/jsdoc.ts (L170-L178)

These diagnostics are later passed to Angular Compiler and are treated as errors.

Seeing this: https://github.com/angular/angular/issues/19969#issuecomment-343318361 it looks like it is expected that warnings will fail the build.

Closes: #11282
2018-08-13 16:58:23 -07:00
Charles Lyding
c729b0e7d9 build: use yarn workspaces 2018-08-10 18:25: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
Mike Brocchi
af415a215b fix(@schematics/angular): Handle Windows paths for generate names
fixes #11501
2018-08-07 12:23:52 -04:00
Qais Patankar
68d87e82d1 style(@schematics/angular): fix English in environment.ts 2018-08-07 10:40:26 +01:00
cexbrayat
a7bfef72e1 feat(@schematics/angular): simplify service test
Now that the service schematic uses `providedIn` by default,
we can simplify the test to use `TestBed.configureTestingModule({})`.

Also use `TestBed.get()` instead of the `inject` wrapper.
2018-08-04 12:47:16 +01:00
Alan Agius
c35b44ca4d feat(@schematics/angular): add skipInstall option to library schematic
Closes: #11343
2018-08-04 12:46:55 +01:00
Sarun Intaralawan
37072fb1db fix(@schematics/angular): increase version range for TypeScript 2018-08-04 12:41:56 +01:00
Yi Qi
b834014bb1 build: Fix all the BUILD files for google3 2018-08-03 23:32:10 +01:00
Mike Brocchi
f64087b625 fix(@schematics/angular): Allow additionalProperties in schematics options
fixes #11681
2018-08-03 12:38:27 -04:00
Alan Agius
a394434f73 test(@schematics/angular): no matching version found for @angular-devkit 2018-08-02 08:53:59 -04:00
Hans Larsen
60c20f2924 release: 6.2.0-beta.0 2018-08-01 14:52:43 -04:00
Charles Lyding
d8a2ebc039 feat(@schematics/angular): update new project development dependencies 2018-07-30 08:02:30 -07:00
Alan Agius
50fc7214c4 feat(@schematics/angular): add support for watch when building a library
`ng-packagr` version `4.0.0-rc.3`, lands the incremental builds feature.

More info:  https://github.com/dherges/ng-packagr/blob/master/CHANGELOG.md#400-rc2-2018-06-23

`enableResourceInlining` needs to be enabled for libraries that contain components

Closes: #11100
2018-07-30 06:41:28 -07:00
Sarun Intaralawan
c0a5089d44 feat(@schematics/angular): use TypeScript 2.9 as default 2018-07-27 15:13:06 -07:00
Hans
aeb4ff5b29 feat(@schematics/angular): reallow --lint-fix for Angular schematics 2018-07-25 21:27:47 -07:00
Charles Lyding
bc880feb02 fix(@schematics/angular): adjust zonejs version in new projects for 6.1 2018-07-25 17:08:28 -07:00
Hans
52edee5c28
release: v6.1.0 2018-07-25 16:51:40 -07:00
Alan Agius
10eb83d660 feat(@schematics/angular): update ng-packagr to version 4 2018-07-25 22:54:22 +01:00
Filipe Silva
38fda3ea60 fix(@schematics/angular): support updating projects that use the targets property 2018-07-25 20:17:33 +01:00
Filipe Silva
307160806c feat(@schematics/angular): use targets property on new projects 2018-07-25 20:17:33 +01:00
George Kalpakas
ae3831b1e3 docs(@schematics/angular): fix typos in property descriptions 2018-07-23 16:42:45 +01:00
Charles Lyding
1080357683 fix(@schematics/angular): update protractor to 4.5 for new projects
Partially addresses #10963
2018-07-23 11:39:44 +01:00
Hans Larsen
483cbe2665 refactor: add tslint-sonarts and a lot of tslint rules
This should clean up the code a bit.

Note: at first I added the no-useless-cast rule, but after getting frustrated
with it (as it has many false positive), I decided to remove the rule but some
useless casts were removed so I let those in the PR.
2018-07-10 15:07:36 -07:00
Charles Lyding
4091df0eb5 test(@schematics/angular): 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
Alan Agius
5c5d39266f refactor(@schematics/angular): skipPackageJson is optional for application schematic 2018-07-02 08:25:10 -04:00
Alan Agius
3108ce30ab refactor: remove redundant error in catch 2018-07-02 08:20:59 -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
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
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
Mike Brocchi
876105cef1 fix(@schematics/angular): Fix JSON parsing
fixes #10880
2018-06-08 21:44:37 +01:00
Mike Brocchi
d3b49a5590 refactor: Consolidate adding dependencies 2018-06-08 19:59:53 +01:00
Mike Brocchi
47e558fc87 fix(@schematics/angular): Fix root path for e2e projects during update 2018-06-08 18:04:14 +01:00
Hans Larsen
44086c60ff build: move devkit repo back to angular-cli 2018-06-05 18:50:06 -07:00