709 Commits

Author SHA1 Message Date
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
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
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
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
Renovate Bot
6bcbe0dfe8 build: update karma to version ~4.4.0 2019-10-22 13:24:49 -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
Renovate Bot
18c79af31f build: update browserslist to version 4.7.1 2019-10-21 09:38:37 -07:00
Charles Lyding
cda57ae0e5 feat(@angular-devkit/build-angular): optimize i18n localize usage in source locale 2019-10-17 10:45:01 -07:00
Charles Lyding
cf116da464 fix(@angular-devkit/build-angular): normalize extract i18n format option 2019-10-17 10:45:01 -07:00
Charles Lyding
9fca29a254 refactor(@angular-devkit/build-angular): use copy file utility in action cache 2019-10-17 10:45:01 -07:00
Charles Lyding
2b41cd1e81 feat(@angular-devkit/build-angular): initial support for i18n translation inlining 2019-10-17 10:45:01 -07:00
Filipe Silva
1f52cda2e5 feat(@angular-devkit/build-angular): update peer dependency support 2019-10-16 10:00:49 -07:00
Filipe Silva
7612d3e200 build: use TS 3.6.4 2019-10-16 10:00:49 -07:00
Alan Agius
90a29255da refactor(@angular-devkit/build-angular): remove branch that checks for ɵmod
Under VE this symbol exists in ngfactories and hence it is not safe to use it to determine if the app is running under ivy
2019-10-16 05:56:23 -07:00
Alan Agius
f943d3a8dc refactor(@angular-devkit/build-angular): rename ngModuleDef to ɵmod 2019-10-16 05:56:23 -07:00
Alan Agius
6b0aec4cc2 build: update framework packages to 9.0.0-next.11 2019-10-16 05:56:23 -07:00
Alan Agius
e847ee5c83 fix(@angular-devkit/build-angular): change the ngComponentDef to ɵcmp
Related to 64fd0d6db9
2019-10-16 05:56:23 -07:00
Renovate Bot
a803dea22a build: update rollup to version 1.24.0 2019-10-15 11:23:04 -07:00
Alan Agius
38947d8643 refactor(@angular-devkit/build-angular): remove differential loading version 1.0 2019-10-15 11:22:34 -07:00
Renovate Bot
2a78706f1a build: update autoprefixer to version 9.6.5 2019-10-14 16:59:32 -07:00
Renovate Bot
d3518a1abc build: update license-webpack-plugin to version 2.1.3 2019-10-14 16:59:20 -07:00
Renovate Bot
3847001bc1 build: update core-js to version 3.3.2 2019-10-14 16:59:08 -07:00
Renovate Bot
aeab0a0264 build: update webpack to version 4.41.1 2019-10-14 16:58:58 -07:00
Alan Agius
b3086ffd54 fix(@angular-devkit/build-angular): only copy assets outside of webpack when differential loading is needed in build builder
Fixes #15825
2019-10-14 13:42:29 -07:00
Renovate Bot
788875dda5 build: update terser-webpack-plugin to version 2.1.3 2019-10-11 13:54:36 -07:00
Renovate Bot
9c2cf7dea2 build: update rollup to version 1.23.1 2019-10-11 13:54:25 -07:00
Renovate Bot
102ba9a7b7 build: update @babel/core to version 7.6.4 2019-10-11 13:54:14 -07:00
Alan Agius
d9bf2dbbda fix(@angular-devkit/build-angular): avoid attempting to copy directories
Avoid copying directly directories, also which this change we cache `fs.existsSync` to optimize copying when a lot of file are being copied to the same destination.

Closes: #15816
2019-10-11 13:53:48 -07:00
Renovate Bot
88aa035cc3 build: update @angular/animations to version (#15758) 2019-10-10 17:23:48 -07:00
Filipe Silva
47490527ff feat(@angular-devkit/build-angular): add experimentalRollupPass (#15690)
In applications that make heavy use of lazy routes and ES2015 libraries, this option can improve bundle sizes. It might also break your bundles in ways we don't understand fully, so please test and report any problems you find.

NOTE: the following are known problems with experimentalRollupPass
- vendorChunk, commonChunk, namedChunks: these won't work, because by the time webpack sees the chunks, the context of where they came from is lost.
- webWorkerTsConfig: workers must be imported via a root relative path (e.g.`app/search/search.worker`) instead of a relative path (`/search.worker`) because of the same reason as above.
- loadChildren string syntax: doesn't work because rollup cannot follow the imports.
2019-10-10 12:39:38 -07:00
Filipe Silva
318396345a feat(@schematics/angular): use ngcc on postinstall (#15801)
* build: use FW 9.0.0-next.10

* feat(@schematics/angular): use ngcc on postinstall

This should improve the time first builds take.

Part of https://github.com/angular/angular/pull/32999

Blocked on an Angular release that includes https://github.com/angular/angular/pull/33049
2019-10-10 12:39:10 -07:00
Alan Agius
c3169ae7d2 New i18n schema (#15760)
* feat(@angular-devkit/core): update schema to support new i18n options

"projects": {
  "my-app": {
    "projectType": "application",
    "schematics": {},
    "root": "",
    "i18n": {
      "sourceLocale": "en-US",
      "locales": {
        "fr": "src/locale/messages.fr.xlf"
      }
    },
    "sourceRoot": "src",
    ...
  }
}

* feat(@angular-devkit/build-angular): add new i18n options to browser and server builders

With this change we add `translateLocales` as new options for i18n in browser and server builders.

We also deprecate the following options;
* i18nLocale
* i18nFormat
* i18nFile

* feat(@angular-devkit/build-angular): deprecate `i18nFormat` and `i18nLocale` options of `extract-i18n` builder

Option `i18nFormat` has been deprecated in favor of `format` and `i18nLocale` option has been deprecated in favor of the `sourceLocale` sub option of the `i18n` project level option.

* feat(@angular/cli): add alias of `i18n-extract` for `x18n` command

* refactor: rename `translateLocales` to `localize`
2019-10-10 12:39:00 -07:00
Charles
2dc885304b refactor(@angular-devkit/build-angular): reorganize bundle processing for browser builder (#15776) 2019-10-09 11:25:23 -07:00