194 Commits

Author SHA1 Message Date
Mike Brocchi
f15c7973cb fix(@angular/cli): Handle no args and version flag 2018-03-09 12:02:29 -05:00
Hans Larsen
093e4ea55c feat(@angular/cli): add the add command 2018-03-09 00:00:58 -05:00
Hans Larsen
88fc93f164 feat(@angular/cli): allow commands to reparse options if needed 2018-03-09 00:00:58 -05:00
Mike Brocchi
9f77c868d2 feat(@angular/cli): Update command runner.
This change removes the dependency of the ember-cli command structure.
2018-03-06 17:57:38 -05:00
Charles Lyding
04a36075e2 refactor(@angular/cli): simplify build option target defaults 2018-03-01 12:01:09 +00:00
Charles Lyding
e84baa1d4e refactor(@angular/cli): remove webpack nodeJS globals shimming
BREAKING CHANGE:
Libraries/Packages must contain a web version if not web specific.
2018-02-28 15:16:35 -08:00
Charles Lyding
487cb80fc0 feat(@angular/cli): extract all license types when enabled 2018-02-28 20:57:05 +00:00
Charles Lyding
7fd02e8140 fix(@angular/cli): disable webpack performance hints 2018-02-28 17:53:37 +00:00
Charles Lyding
56b5a971e5 refactor(@angular/cli): remove unneeded production webpack config partial 2018-02-26 19:47:06 +00:00
Filipe Silva
605e4feab6 fix(@angular/cli): remove forced commonjs
Followup to https://github.com/angular/angular-cli/pull/8128
Fix https://github.com/angular/angular-cli/issues/9058
2018-02-25 12:21:22 +00:00
Charles Lyding
1dc9f866d4 feat(@angular/cli): shorten output filenames 2018-02-23 21:20:36 +00:00
Charles Lyding
c787091881 feat(@angular/cli): add index html plugin 2018-02-23 21:20:36 +00:00
Charles Lyding
167f6fb958 feat: update to webpack 4 2018-02-23 21:20:36 +00:00
Charles Lyding
8480df7817 refactor: remove support for Angular 2 and 4 2018-02-21 11:31:43 -08:00
Charles Lyding
3be17e7342 feat(@angular/cli): support additional application lazy modules 2018-02-16 14:06:19 -08: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
Charles Lyding
63044e5e70 fix(@angular/cli): update minimum version of copy-webpack-plugin 2018-02-12 16:12:41 -05:00
Charles Lyding
14b36c97bf fix(@angular/cli): correct CSS import fallback logic 2018-02-02 09:21:44 -05:00
Charles Lyding
8ac2d15d86 fix(@angular/cli): favor CSS import local files over modules 2018-01-31 16:17:44 +00:00
Charles Lyding
78a180bb39 refactor(@angular/cli): remove unused source-map-loader dependency 2018-01-30 17:56:55 +00: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
Charles Lyding
cfc58a0266 refactor(@angular/cli): simplify module resolution options 2018-01-24 11:52:18 -08:00
Filipe Silva
e654fb2b3f feat(@angular/cli): use cache for build-optimizer 2018-01-23 09:54:03 -08:00
Filipe Silva
62fac418ee feat(@angular/cli): use cache in uglifyjs-webpack-plugin 2018-01-23 09:54:03 -08:00
Charles Lyding
9751532236 fix(@angular/cli): only force CommonJS if module kind is ES2015 2018-01-23 09:41:58 -08:00
Mike Brocchi
9c871b003a feat(@angular/cli): Ability to specify budgets for your apps
Closes #7139
2018-01-18 11:34:29 -08:00
Charles Lyding
14b3743599 fix(@angular/cli): normalize asset windows paths 2018-01-18 12:56:22 -05:00
Charles Lyding
a6ce9abecf fix(@angular/cli): standardize inline/rebase stylesheet behavior 2018-01-18 12:53:46 -05:00
Charles Lyding
aaca7d832e fix(@angular/cli): correct CSS resource resolving 2018-01-12 15:55:06 -05:00
Charles Lyding
b5bac36bf0 fix(@angular/cli): copy assets with special character paths 2018-01-10 09:49:51 -05:00
Filipe Silva
c53dc67770 fix(@angular/cli): remove postcss-custom-properties
We currently use a fallback for CSS custom properties on older browsers. This approach has a few problems:
- does not work if the custom property declaration is not part of the same of the same file that uses it (multiple global stylesheets, component css).
- does not work at all for component CSS in AOT.

@clydin suggested a browserlist based approach for enabling this functionality, but that requires a new feature that we don't have.

Since currently taking advantage of the custom property fallback is flaky even in the best case scenario, and potentially broken in prod (AOT), I think it's better to remove it altogether until we can actually do it right.

Fix #8289
2018-01-09 11:23:33 -05:00
Charles Lyding
f830a8d007 refactor(@angular/cli): use postcss to process CSS imports 2018-01-04 12:10:41 -05:00
Charles Lyding
0b890e451b fix(@angular/cli): ensure stylesheet relative tilde path conversion 2018-01-04 09:39:09 -05:00
Charles Lyding
9caa7ca0d1 fix(@angular/cli): support inlining stylesheet resource tilde paths 2017-12-21 13:07:39 +00:00
Charles Lyding
6efd5b7746 feat(@angular/cli): optimize stylesheets after full bundling 2017-12-21 13:05:04 +00:00
Charles Lyding
883c022807 feat(@angular/cli): support sourcemaps in injected stylesheets 2017-12-14 11:03:00 -08:00
Charles Lyding
8cea8ffdc2 refactor(@angular/cli): add webpack integrated scripts plugin 2017-12-13 17:09:17 -05:00
Charles Lyding
91f3f5b6fc fix(@angular/cli): account for root relative URLs in CSS assets 2017-12-13 17:08:18 -05:00
Charles Lyding
c9389361c9 feat(@angular/cli): enable parallel javascript minification 2017-12-07 11:26:01 -05:00
cexbrayat
f9d8c7aefe fix(@angular/cli): allow RCs and betas for @angular/service-worker
It was not possible to use `5.1.0-rc.1` previously,
because of how `semver.satisfies()` works (see https://github.com/npm/node-semver#prerelease-tags).
This relaxes the check by using `semver.gte()`.
2017-12-04 15:25:15 -05:00
Filipe Silva
ef526759ce fix(@angular/cli): use a more restrictive workaround for mapbox-gl workaround
See https://github.com/angular/angular-cli/pull/7931#issuecomment-348032708
2017-11-30 17:03:13 -08:00
Wykks
8821520c2a fix(@angular/cli): Disable comparisons feature in uglify compression in production 2017-11-29 17:20:42 +00:00
Charles Lyding
aa5656e166 fix(@angular/cli): support minified JS on safari 10 2017-11-27 15:59:24 +00:00
Filipe Silva
fabd4b36b7 fix(@angular/cli): ensure purify is before uglify 2017-11-24 18:52:16 +00:00
Hans Larsen
0773033f9e fix(@angular/cli): allow build output in outDir outside of project 2017-11-24 18:46:41 +00:00