208 Commits

Author SHA1 Message Date
Filipe Silva
702dd5bc28 fix(@angular/cli): allow update to work without workspace 2018-04-03 03:46:22 -07:00
Filipe Silva
10517bce0b fix(@angular/cli): error out in un-updated projects 2018-04-03 02:35:33 -07:00
Filipe Silva
ecdc52cb30 fix(@angular/cli): error when local workspace cannot be loaded 2018-04-03 02:35:33 -07:00
Hans Larsen
4dcbf38989 test: fix e2e tests with latest devkit 2018-04-03 02:25:37 -07:00
Mike Brocchi
a0f5d81176 fix(@angular/cli): Verify workspace file for inProject commands 2018-03-29 18:23:32 -07:00
Mike Brocchi
295546203c fix(@angular/cli): Read schematic option values from angular.json 2018-03-28 16:53:06 -07:00
Filipe Silva
7d27bf7b55 feat(@angular/cli): use devkit/build-webpack in projects 2018-03-28 21:38:25 +01:00
Charles Lyding
64ebf9cf63 feat(@angular/cli): update cli config with workspace support 2018-03-27 21:03:18 -07:00
Filipe Silva
8b4ec649aa fix(@angular/cli): fix generator paths on windows 2018-03-26 17:50:06 +01:00
Mike Brocchi
b0569241bc feat(@angular/cli): Implement schematic workflow and workspace 2018-03-22 19:15:53 -07:00
Mike Brocchi
d57ba45291 feat(@angular/cli): Remove pre-processing of schematics
This logic has been moved to the schematics so the CLI doesn't special-case anything.
2018-03-22 19:15:53 -07:00
Filipe Silva
41320bf8fd feat(@angular/cli): use workspace for architect commands 2018-03-19 11:26:38 -07:00
Filipe Silva
38c8463280 feat(@angular/cli): use architect 2018-03-16 10:59:05 -07:00
Mike Brocchi
b1ed4f733d refactor: Move task logic into commands 2018-03-12 17:32:30 -04:00
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