299 Commits

Author SHA1 Message Date
cexbrayat
0ce98ceeb3 docs(@schematics/angular): mention npx browserslist in browserslist
Running `npx browserslist` allows to see what browsers are actually selected with the configuration,
which is very handy and not very known.
2019-04-17 15:47:39 -07:00
Alan Agius
e2a0ac1ec6 fix(@schematics/angular): add tsconfig.worker.json to list of tsconfigs to lint 2019-04-16 13:29:07 -07:00
Nikita Poltoratsky
950ebafa2f docs: remove surplus space
Remove surplus space from web worker description in Angular schematic collection.
2019-04-16 11:47:40 -07:00
Charles Lyding
58f6282edf refactor(@schematics/angular): update application to use new workspace rules 2019-04-16 11:23:48 -07:00
Charles Lyding
ca1ecb027d test(@schematics/angular): ensure application schematic is run async 2019-04-16 11:23:48 -07:00
Charles Lyding
8e70f18e0c refactor(@schematics/angular): update service-worker to use new workspace rules 2019-04-16 11:23:48 -07:00
Charles Lyding
e52f62f840 refactor(@schematics/angular): update component to use new workspace rules 2019-04-16 11:23:48 -07:00
Charles Lyding
cfb18285e6 refactor(@schematics/angular): update directive to use new workspace rules 2019-04-16 11:23:48 -07:00
Charles Lyding
bd79e0908a refactor(@schematics/angular): update e2e to use new workspace rules 2019-04-16 11:23:48 -07:00
Charles Lyding
ef12a1511b refactor(@schematics/angular): update module to use new workspace rules 2019-04-16 11:23:48 -07:00
Charles Lyding
9007a86783 refactor(@schematics/angular): update interface to use new workspace rules 2019-04-16 11:23:48 -07:00
Charles Lyding
1d15dbcfc1 refactor(@schematics/angular): update pipe to use new workspace rules 2019-04-16 11:23:48 -07:00
Alan Agius
0d235e1ef4 feat(@schematics/angular): update karma to 4.1.x 2019-04-16 09:41:11 -07:00
Craig Spence
77f99b535d feat(@schematics/angular): add lazy module path fixer 2019-04-16 09:38:55 -07:00
Alan Agius
413a35bd56 feat(@schematics/angular): add more information and browsers in browserlist 2019-04-15 11:30:34 -07:00
Alan Agius
359d4f97cc feat(@schematics/angular): migrate existing ES5 projects to support differential loading
With this change, differential loading will be enabled as we add an non ever green browser and change the tsconfig script target to es2015.
2019-04-15 11:30:20 -07:00
Alan Agius
58fb593787 feat(@schematics/angular): update several workspace dependencies
With this change we update ng-packagr, jasmine-core and tslint.
2019-04-15 11:09:13 -07:00
Alan Agius
718ed37684 feat(@schematics/angular): set workspace tsconfig target to es2015 2019-04-15 11:03:09 -07:00
Charles Lyding
cbce3d3793 refactor(@schematics/angular): update library to use new workspace rules 2019-04-15 11:02:46 -07:00
Charles Lyding
2210b902e2 refactor(@schematics/angular): update service to use new workspace rules 2019-04-15 11:02:46 -07:00
Charles Lyding
3e70f252c5 refactor(@schematics/angular): update guard to use new workspace rules 2019-04-15 11:02:46 -07:00
Charles Lyding
bc6fcd53ad refactor(@schematics/angular): update enum to use new workspace rules 2019-04-15 11:02:46 -07:00
Charles Lyding
d2fa2edb7a refactor(@schematics/angular): update class to use new workspace rules 2019-04-15 11:02:46 -07:00
Charles Lyding
83f3c6c39e refactor(@schematics/angular): update app-shell to use new workspace rules 2019-04-15 11:02:46 -07:00
Charles Lyding
e075edf8b4 refactor(@schematics/angular): update universal to use new workspace rules 2019-04-15 11:02:46 -07:00
Charles Lyding
5d199b23aa refactor(@schematics/angular): update webworker to use new workspace rules 2019-04-15 11:02:46 -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
Filipe Silva
b6b00ebc98 build: update typescript to version 3.4.3 2019-04-13 10:23:02 -07:00
cexbrayat
fcbe988d10 fix(@schematics/angular): properly log data received in web worker snippet
The generated snippet was:

    worker.onmessage = ({ data }) => {
      console.log('page got message: $\{data\}');
    };

which doesn't use a template string and so does not log `data`.
Fixes the generated snippet to be `console.log(`page got message: ${data}`);`.
Also adds a newline at the end of the web worker template to not fail the default TSLint rules if the schematic is used.
2019-04-12 12:20:25 -07:00
Alan Agius
fe98024146 docs: align several experimental text and update ng new explanation 2019-04-10 08:44:53 -07:00
Alan Agius
f67d976e1a fix(@schematics/angular): set version 8 migration to execute for beta versions 2019-04-08 11:40:16 -07:00
Alan
3f6c1b5cd6 fix(@schematics/angular): minimal should not add test target
At the moment when using minimal flag, test targets are being created even though they cannot be used as test setup files are not created nor are testing dependencies
2019-04-04 09:28:19 -07:00
Charles Lyding
a0a583adaa fix(@schematics/angular): remove unused core-js dependency from new projects
Required polyfills are now managed directly by the build system.  If additional polyfills are required, packages can be manually added as needed.
2019-04-04 09:28:02 -07:00
Alan Agius
64c993aebb feat(@schematics/angular): stop adding @angular/http dependency when running universal schematic
`@angular/platform-server` is no longer dependent on
`@angular/http`

More info: https://github.com/angular/angular/commit/9745f55
2019-04-04 09:27:35 -07:00
Minko Gechev
a5dd1de64b release: v8.0.0-beta.11 2019-04-04 01:32:34 +02:00
Alan Agius
19cb35473f refactor: don't drop zone.js from polyfills
We don't know yet if we are going to separate zone.js in a separate file. Hence, we should remove this for the time being and include it only when we remove zone.js from the main polyfills files
2019-04-03 16:28:37 +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
Alan Agius
f84abfc572 feat(@schematics/angular): remove ivy-ngcc postinstall script from new application 2019-04-01 02:54:41 -07:00
JiaLiPassion
888bb27815 refactor: rename Zone 'BLACK_LISTED_EVENTS' to 'UNPATCHED_EVENTS' 2019-04-01 00:48:24 -07:00
Minko Gechev
9a1f48f990 feat(@schematics/angular): update to codelyzer 5
This PR also updates the hello world sample app and migrates its
`tslint.json` file.
2019-03-31 09:56:19 -07:00
Minko Gechev
a355e7d693 feat(@schematics/angular): drop es6 from modern polyfills
1. Remove imports of es6 polyfills introduced by the CLI.
2. Refactor the migrations for version 8 by moving the codelyzer and
polyfill transforms into different files.

The PR drops all `core-js/es6` polyfills that we've introduced with the
CLI, except the commented ones. We do not remove commented imports,
since they are not part of the internal es6 polyfills.

The migration automatically drops the
associated comments with the removed imports since they are part of the node - under its
`jsDoc` property.
2019-03-29 18:06:01 -07:00
Hans Larsen
2ffbdfa86a build: add a validation script for the analytics.md tables
Also added enums to update when changing dimensions.
2019-03-28 13:28:41 -07:00
Hans Larsen
55471770db refactor: use dimensions for some values instead of metrics
This is after a discussion with someone internal. Metrics are good
for sums but not for comparisons and search/filtering.
2019-03-28 13:28:41 -07:00
Hans Larsen
ecd25a7131 refactor(@angular/cli): remove dimension 20
We need it for errors in build.
2019-03-28 13:28:41 -07:00
Minko Gechev
4b89fe21f4 feat(@schematics/angular): tslint migration for 8
Migration of the `tslint.json` and `package.json` files required by the refactoring of
codelyzer. For more information check this PR
https://github.com/mgechev/codelyzer/pull/754.
2019-03-27 12:24:21 -07:00
Renovate Bot
688ed6aca9 build: update zone.js to version ^0.9.0 2019-03-27 12:23:59 -07:00
Alan Agius
e516a817ac feat(@schematics/angular): update to ng-packagr version 5
This changes remove the need for tsickle.
2019-03-27 12:11:38 -07:00
Will
63d64472b5 feat(@schematics/angular): add type checking for protractor.conf.js file
Fixes #13958
2019-03-22 07:14:14 -07:00