66 Commits

Author SHA1 Message Date
Alan Agius
432fe97d89 fix(@schematics/angular): use app root to set server paths in options 2018-09-07 13:00:37 -07:00
Alan
d07e68aa95 fix(@schematics/angular): module imports paths are incorrect when flat option is used
Closes #12169
2018-09-07 13:00:18 -07:00
Alan Agius
b8b36ba339 refactor: pin down all direct dependencies
This is so that CLI users get the same direct dependency versions that were tested on the CI.
2018-09-07 11:01:50 -07:00
Alex Eagle
7421d63d4a release: v7.0.0-beta.1 2018-09-06 14:31:53 -07:00
Alan Agius
36f8cd77ba fix(@schematics/angular): fix path for ngswConfigPath during migration
`/` will cause an error during lookup `Error: Expected to find an `ngsw-config.json` configuration file
2018-09-06 10:58:33 -07:00
Alan Agius
616ffe70f8 fix(@schematics/angular): app shell schematic does not use production configuration
Closes: #11578
2018-09-06 10:55:39 -07:00
Charles Lyding
ee7603f597 feat(@schematics/angular): add several prompts to ng-new 2018-09-06 08:46:33 -07:00
Bram Borggreve
a94c826661 feat(@schematics/angular): let Universal schematic use configurations from build architect 2018-09-06 08:45:22 -07:00
Alan Agius
88804b63dc build: update repo to use typescript 3.0.x
Updated `@angular/<packages>` to `^7.0.0-beta.4` since we need this to be able to run the tests. Due to the `@angular/compiler` in `v6` doesn't support `typescript` `3.0.x`.
2018-09-06 08:28:16 -07:00
Charles Lyding
cc6181e3c9 feat(@schematics/angular): add CLI 7.x migration schematic 2018-09-06 08:25:29 -07:00
Hans
75d682b271 refactor(@angular/cli): use smart default instead of overwriting args 2018-09-06 07:37:48 -07:00
clydin
7e63dd791b build: limit rxjs to 6.2.x due to a defect in 6.3.0 (#12048) 2018-08-30 15:33:31 -07:00
Adrian Moos
247b20d37a style(@schematics/angular): fix typo and English in environment.ts (#12023) 2018-08-30 13:47:15 -07:00
Alan Agius
b0897c0306 fix(@schematics/angular): better error message when finding only routing modules (#11994)
Closes #11961
2018-08-30 13:46:52 -07:00
Cédric Exbrayat
3f94b2d8ba feat(@schematics/angular): remove useless import for Ivy (#11874)
Using cli `6.2.0-beta.2` with the new `experimentalIvy` flag leads to:

    ERROR in src/app/app.module.ts(1,1): error TS6133: 'BrowserModule' is declared but its value is never read.
2018-08-28 13:10:18 -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
6eef637e0a
release: v6.2.0-rc.0 2018-08-23 12:34:03 -07:00
Charles Lyding
d202480a17 build: update/cleanup tslint rules & fix errors 2018-08-23 11:35:34 -07:00
Charles Lyding
a9e25fffae fix(@schematics/angular): ensure non-evergreen IE browsers are excluded 2018-08-23 10:36:53 -07:00
Filipe Silva
9720077a4b build: make resolution logic compatible with Bazel 2018-08-22 16:36:10 -07:00
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