5101 Commits

Author SHA1 Message Date
Alan Agius
0686ceff67 fix(@angular-devkit/build-angular): i18n with Ivy in universal builder 2019-10-25 09:52:56 -07:00
Alan Agius
936a9512ae refactor(@angular-devkit/build-angular): move around i18n methods to make them re-usable 2019-10-25 09:52:56 -07:00
Alan Agius
3163a4391e test: fix webdriver errors
'yarn' will nuke the entire node_modules when it is triggered during the above tests. Let's restore the previous node_modules state by re-installing using 'npm' and run 'webdriver-update'.
2019-10-25 09:52:35 -07:00
Alan Agius
341b18d8a6 refactor(@angular-devkit/schematics): remove several deprecated APIs
BREAKING CHANGE:

Removed several deprecated APIs:

- EngineHost `listSchematics` has been removed in favour of `listSchematicNames`.
- `FileSystemSink` - Use the new virtualFs.Host classes from `@angular-devkit/core`.
- `optimize` function has been remove as trees are automaticlly optimized.
- `DryRunSink` deprecated constructor that allowed to provide a directory path has been removed. Provide a `virtualFs.Host` instead.
2019-10-24 16:02:21 -07:00
Renovate Bot
1404e50c7f build: update browserslist to version 4.7.2 2019-10-24 12:08:01 -07:00
Renovate Bot
c33a66fb6a build: update caniuse-lite to version 1.0.30001004 2019-10-24 12:07:49 -07:00
Renovate Bot
092bee0188 build: update webpack-dev-server to version 3.9.0 2019-10-24 12:07:26 -07:00
Renovate Bot
1f5bdd6e78 build: update terser-webpack-plugin to version 2.2.1 2019-10-24 12:07:13 -07:00
Renovate Bot
7ca2c22912 build: update rollup to version 1.25.2 2019-10-24 12:06:57 -07:00
Renovate Bot
d47c7d1e1e build: update sass to version 1.23.1 2019-10-24 12:06:44 -07:00
Amadou Sall
086690a77c docs: state in the README that minimum Node.js version is 10.13 2019-10-24 12:05:54 -07:00
Alan Agius
8118ab5e95 build: remove build:remote --spawn_strategy=remote from .bazelrc
It seems that with Bazel 1.0.0 setting `--incompatible_list_based_execution_strategy_selection=false` no longer works around the issue with npm_package that it did when it was added. The error that was originally observed has returned after updating to Bazel 1.0.0:

```
ERROR: /home/circleci/ng/packages/angular_devkit/build_optimizer/BUILD:66:1: Assembling npm package packages/angular_devkit/build_optimizer/npm_package failed: No usable spawn strategy found for spawn with mnemonic Action.  Your --spawn_strategy, --genrule_strategy or --strategy flags are probably too strict. Visit bazelbuild/bazel#7480 for migration advice
```

This commit removes both `—incompatible_list_based_execution_strategy_selection=false` as well as `build:remote --spawn_strategy=remote` which means that Bazel will do the default behavior of picking the first available strategy from the default list, which is `remote,worker,sandboxed,local`. See bazelbuild/bazel#7480 for more details.
2019-10-24 12:05:25 -07:00
Greg Magolan
44de74a5e3 build: back to bazel 0.29.0 2019-10-24 12:05:25 -07:00
Greg Magolan
9fc7cc256a build: update to nodejs rules 0.39.0
This fixes the @bazel/labs dep on webpack. It is not a peerDependency of that package.
2019-10-24 12:05:25 -07:00
Greg Magolan
fe5bba54a5 build: should use data for fine grained npm dependencies in nodejs_binary 2019-10-24 12:05:25 -07:00
Alan Agius
e31d5d89b7 build: update bazel packages 2019-10-24 12:05:25 -07:00
Charles Lyding
bcf8876470 test: add debug helper package scripts 2019-10-24 12:04:42 -07:00
Charles Lyding
276032c962 fix(@angular-devkit/build-angular): use project root as translation file base 2019-10-24 12:04:42 -07:00
Charles Lyding
294ecdd7f3 fix(@angular-devkit/build-angular): remove @angular/localize from application if localizing 2019-10-24 12:04:42 -07:00
Charles Lyding
30536881f9 fix(@angular-devkit/build-angular): set locale identifier when localizing 2019-10-24 12:04:13 -07:00
vikerman
99c174c03b release: v9.0.0-next.15 v9.0.0-next.15 2019-10-23 15:10:42 -07:00
renovate[bot]
c0f43a9084 build: update to version (#15889) 2019-10-23 13:29:44 -07:00
Amadou Sall
cc4abddcdd refactor(@schematics/angular): remove hardcoded value of newProjectRoot (#15925)
the default value of `newProjectRoot` is already defined in the schema
2019-10-23 10:00:04 -07:00
Alan Agius
70e460d656 refactor: use require.resolve instead of custom resolve (#15906) 2019-10-23 09:59:36 -07:00
Noopur
e7bc27056d docs: corrected spelling of Globally under Installation section (#15905) 2019-10-23 09:58:51 -07:00
Charles Lyding
5597f7fedc refactor(@angular-devkit/build-angular): allow control of cache location
`NG_BUILD_CACHE` can specify an absolute path to be used as the cache location.  Caching can also be disabled by setting the variable to 0 or false.
2019-10-23 09:56:49 -07:00
Michael
5260bbb9a3 fix(@angular-devkit/build-angular): sockPath for custom path
Set devServer.sockPath to connect to reloading socket
via custom path when serving the app on a custom path.
2019-10-23 09:56:26 -07:00
vikerman
cf47948dcc release: v9.0.0-next.14 v9.0.0-next.14 2019-10-22 14:23:06 -07:00
Alan Agius
e92c46a3cf refactor(@schematics/angular): remove deprecated spec and styleext options
BREAKING CHANGE:

Deprecated `styleext` and `spec` options have been removed.  Use `style` and `skipTests` options instead.
2019-10-22 13:27:08 -07:00
Alan Agius
613f7dbcd4 refactor(@angular-devkit/core): deprecate old terminal and resolve APIs 2019-10-22 13:26:52 -07:00
Alan Agius
a384a983fa feat(@schematics/angular): add tslib as a peerDependencies in library package.json
This is to align with https://github.com/angular/angular/pull/32167
2019-10-22 13:26:38 -07:00
Alan Agius
8d892160d3 feat(@angular-devkit/build-ng-packagr): limit support to version 9.0
ng-packagr version 9 removes support for previous versions of Angular.
2019-10-22 13:26:38 -07:00
Renovate Bot
98460ef44c build: update glob to version 7.1.5 2019-10-22 13:26:09 -07:00
Renovate Bot
c4cf2634f6 build: update core-js to version 3.3.3 2019-10-22 13:25:55 -07:00
Judy Bogart
98e0ca4542 docs: include major-verson update advice 2019-10-22 13:25:42 -07:00
Charles Lyding
7677f26219 refactor(@ngtools/webpack): remove unneeded tree-kill dependency 2019-10-22 13:25:11 -07:00
Renovate Bot
6bcbe0dfe8 build: update karma to version ~4.4.0 2019-10-22 13:24:49 -07:00
Alan Agius
6d6fc05795 test: run webdriver update in ivy-localize-dl 2019-10-22 13:13:54 -07:00
Alan Agius
b0dcfd08a0 fix(@angular/cli): logic to determine if the installed CLI is out of date
With this change we now check if the current CLI version is the latest published version. If it is not, we install a temporary version to run the `ng update` with.
2019-10-22 13:13:54 -07:00
vikerman
0a959abc60 release: v9.0.0-next.13 v9.0.0-next.13 2019-10-21 13:29:16 -07:00
Renovate Bot
151ced8df0 build: update caniuse-lite to version 1.0.30001002 2019-10-21 13:04:41 -07:00
Renovate Bot
395c979128 build: update rollup to version 1.25.1 2019-10-21 13:04:10 -07:00
Renovate Bot
1c5e3586ca build: update open to version 7.0.0 2019-10-21 13:03:55 -07:00
Charles Lyding
358bc12856 feat(@angular-devkit/build-angular): support i18n localization for non-differential builds 2019-10-21 13:03:32 -07:00
Charles Lyding
e9279bbe1a fix(@angular-devkit/build-angular): update sourcemaps during localization 2019-10-21 13:03:32 -07:00
Charles Lyding
895fa620a2 feat(@angular-devkit/build-angular): support deprecated i18n options with new configuration 2019-10-21 13:03:32 -07:00
Charles Lyding
bc831e8ff5 feat(@angular-devkit/build-angular): support parallel i18n localization 2019-10-21 13:03:32 -07:00
Renovate Bot
987aebec14 build: update @angular/animations to version 9.0.0-next.12 2019-10-21 11:22:03 -07:00
Renovate Bot
91d41b5ea4 build: update webpack to version 4.41.2 2019-10-21 09:58:56 -07:00
Renovate Bot
035187aa32 build: update terser to version 4.3.9 2019-10-21 09:58:44 -07:00