698 Commits

Author SHA1 Message Date
Charles Lyding
167f6fb958 feat: update to webpack 4 2018-02-23 21:20:36 +00:00
Evan Carroll
04d4fcfc02 feat(@angular/cli): Support xliff2 for xi18n (#7734)
* Added support for the xliff2 serializer
2018-02-22 12:29:59 -08:00
Hans Larsen
b64218c343
release: v6.0.0-beta.3 2018-02-21 19:35:16 -08:00
Charles Lyding
ecf0ccc123 fix(@angular/cli): correct lint failure aggregation 2018-02-21 13:59:11 -08:00
Mike Brocchi
27106b623e fix(@angular/cli): fix ng help.
fixes #9412
2018-02-21 11:35:34 -08:00
Charles Lyding
1ec8cb324b fix(@angular/cli): improve processing multi-line url() CSS rules 2018-02-21 11:35:15 -08:00
Charles Lyding
cc90755980 fix(@angular/cli): resolve dev server entrypoint 2018-02-21 11:34:51 -08:00
Charles Lyding
8480df7817 refactor: remove support for Angular 2 and 4 2018-02-21 11:31:43 -08:00
Filipe Silva
bc10dd2e19 fix(@angular/cli): work around npm peerdep issue
NPM hoists dependencies with peerDeps of their own, leading to unmet peer dependencies.

This workaround should be safe for now since the only two packages that depend on `ajv-keywords@3.1.0` are `webpack` and `schema-utils`.

See https://github.com/angular/angular-cli/issues/9691#issuecomment-367322703 and https://github.com/npm/npm/issues/19877 for more information.

Fix https://github.com/angular/angular-cli/issues/9691.
2018-02-21 11:31:17 -08:00
Charles Lyding
804472d284 refactor(@angular/cli): remove denodeify dependency 2018-02-20 10:27:20 -08:00
Charles Lyding
29338bca7f refactor: set minimum node version to 8.9
BREAKING CHANGE:
@angular/cli, @ngtools/webpack, @ngtools/logger, and @ngtools/json-schema now require NodeJS 8.9+
2018-02-20 10:27:20 -08:00
Charles Lyding
3be17e7342 feat(@angular/cli): support additional application lazy modules 2018-02-16 14:06:19 -08:00
Hans Larsen
3a4129ec5e
release: v6.0.0-beta.2 2018-02-15 16:26:17 -08:00
Mike Brocchi
fab269a739 fix(@angular/cli): Fix help for generate command.
fixes #9412
2018-02-15 13:41:47 -08:00
Charles Lyding
5fc9b28b3e fix(@angular/cli): allow set prefix with no tslint config 2018-02-15 15:39:26 -05:00
Charles Lyding
214be80224 fix(@angular/cli): support empty index base href attribute 2018-02-15 15:37:52 -05:00
Charles Lyding
eed5794fdc fix(@angular/cli): ensure external component styles are optimized 2018-02-15 15:33:47 -05:00
Charles Lyding
f0fe415a4b refactor(@ngtools/webpack): simplify paths module resolution 2018-02-13 15:33:46 -05:00
Shai Reznik
a16137772c fix(@angular/cli): remove double console logs with different reporters
see the issue for details

closes #9528
2018-02-13 15:22:17 -05:00
Charles Lyding
9af0c3f7d5 fix(@angular/cli): update Webpack to support empty array elements in optimizations 2018-02-12 16:13:21 -05:00
Charles Lyding
63044e5e70 fix(@angular/cli): update minimum version of copy-webpack-plugin 2018-02-12 16:12:41 -05:00
Charles Lyding
f19c5f727c fix(@angular/cli): prevent corruption of binary CSS resources 2018-02-12 16:12:11 -05:00
Charles Lyding
1ca9f522aa test: update check-yarn to always use a published version 2018-02-09 11:56:30 -05:00
Charles Lyding
7d7897e056 fix(@angular/cli): support major versions greater than 1 2018-02-09 11:56:30 -05:00
Charles Lyding
29d457d196 fix(@angular/cli): allow usage of hidden command options 2018-02-09 10:47:41 -05:00
Hans Larsen
f3720a7f09
release: v6.0.0-beta.0 2018-02-08 14:48:15 -08:00
Charles Lyding
c701e71845
release: 1.7.0-rc.0 2018-02-08 09:38:56 -08:00
Charles Lyding
57d7c16570 feat(@angular/cli): use schematic tasks for application init 2018-02-07 21:07:38 -05:00
Hans Larsen
d699392fc4 feat(@angular/cli): add support for ng update --next 2018-02-06 19:39:24 -05:00
Hans Larsen
2f25296018 fix(@angular/cli): packageFilter needs to return a value
Otherwise it throws and the resolution can be buggy.
2018-02-06 19:39:24 -05:00
Charles Lyding
14b36c97bf fix(@angular/cli): correct CSS import fallback logic 2018-02-02 09:21:44 -05:00
Charles Lyding
03dc9e33f3 fix(@angular/cli): adjust postcss url promise handling 2018-02-01 14:12:30 -05:00
Filipe Silva
134a2b834a fix(@angular/cli): update uglifyjs-webpack-plugin to 1.1.8
See https://github.com/angular/angular-cli/issues/9427#issuecomment-361383935 for context.

Supersedes #9429
2018-02-01 12:56:23 -05:00
cexbrayat
7f9931d28b feat(@angular/cli): better budget error messages
Improves error messages for budgets.

Before:

     ERROR in budgets, maximum exceeded for total scripts.

After:

    ERROR in budgets, maximum exceeded for total scripts. Budget 500 kB was exceeded by 83.9 kB.
2018-01-31 19:21:43 -05:00
Filipe Silva
b5515b6813 release: 1.7.0-beta.3 2018-01-31 13:25:08 -08:00
Charles Lyding
7fb2c947b7 feat(@angular/cli): support webpack 4 hooks for scripts plugin 2018-01-31 11:53:31 -08:00
Charles Lyding
99772b30e4 build: enable no implicit this TS option 2018-01-31 17:37:39 +00:00
Charles Lyding
8ac2d15d86 fix(@angular/cli): favor CSS import local files over modules 2018-01-31 16:17:44 +00:00
Henrik Vendelbo
e502f52948 fix(@angular/cli): guard against scripts without a src attribute
If a script is inline it has no src attribute. The build should not
fail on looking for CSS scripts due to inline scripts.
2018-01-31 14:36:15 +00:00
Charles Lyding
78a180bb39 refactor(@angular/cli): remove unused source-map-loader dependency 2018-01-30 17:56:55 +00:00
Alex Rickabaugh
935389997e feat(@angular/cli): copy safety SW from NPM on SW build
Deploying apps with service workers can be tricky. This commit has
the CLI copy the safety-worker.js file from @angular/service-worker
(if it's present) into the dist/ directory of the bundled app, both
providing a quick option for developers who need to deactivate an
already installed worker. It also copies the file into the path
dist/worker-basic.min.js, used by apps built on the previous SW.
Once a SW path is deployed on the web, it needs to be served until
all users have migrated off of that path.
2018-01-30 09:10:32 +00:00
Charles Lyding
a47f024b37 feat(@angular/cli): add scripts plugin webpack 4 support 2018-01-29 18:13:46 +00:00
Charles Lyding
a40e801a95 fix(@angular/cli): avoid defaulting base-href to an empty string 2018-01-29 13:56:56 +00:00
Hans Larsen
41138b3321
release: 1.7.0-beta.2 2018-01-25 10:57:31 -08:00
Charles Lyding
fc1e08deaa feat(@angular/cli): hide error/warning build output stacktraces 2018-01-25 15:57:35 +00:00
Bram Gotink
4a8f5bdc65 fix(@angular/cli): Allow service-workers package to be installed in parent node_modules
The checks on existence of @angular/service-worker used the node_modules relative to the
project root directly, but those don't exist when using yarn workspaces or lerna. Use
resolve.sync instead, which looks up the tree to parent node_modules folders.

A similar change is required when loading the service worker script from the
@angular/service-worker package. Switch to require.resolve here as well.

Fixes #8300
2018-01-25 15:53:49 +00:00
Charles Lyding
6666aee1cb fix(@angular/cli): account for project root in asset output path 2018-01-25 13:20:15 +00:00
Charles Lyding
eb102275bd feat(@angular/cli): optimize stylesheet resource processing 2018-01-25 13:19:45 +00:00
Charles Lyding
62190abfdc fix(@angular/cli): maintain autoprefixer backward compatibility 2018-01-24 16:37:23 -08:00
Hans Larsen
b1baa0c3a4 fix(@angular/cli): add karma-cli as dependency when ejecting 2018-01-24 16:35:57 -08:00