Renovate Bot
77f2af00bb
build: update browserslist to version 4.6.4
2019-07-10 15:26:07 -07:00
Alan
885005241e
build: update webpack to version 4.35.3
2019-07-11 01:21:18 +08:00
Renovate Bot
d29cf86aa6
build: update ajv to version 6.10.1
2019-07-11 01:20:36 +08:00
Renovate Bot
bf87dd3d22
build: update caniuse-lite to version 1.0.30000983
2019-07-11 01:20:08 +08:00
Filipe Silva
9d9d46bab3
refactor: use buildOptimizerLoaderPath
2019-07-11 01:18:26 +08:00
Filipe Silva
9b7f196a80
feat(@angular-devkit/build-angular): run Build Optimizer only on TS-generated files
2019-07-11 01:18:26 +08:00
Alan
b48dede4e0
fix(@angular-devkit/build-angular): fix sourcemaps paths
...
`output.devtoolModuleFilenameTemplate` is not used when `SourceMapDevToolPlugin`
671cb184e3/lib/SourceMapDevToolPlugin.js (L77)
Current stacktraces are not properly formatted
```
http://localhost:9876/_karma_webpack_/webpack:/src/app/dummy.component.spec.ts:36:76
```
With this change we wil change this to
```
http://localhost:9876/src/app/validation-directive.ts:13:23
```
This also allows users to click on the stacktrace in the browser and go to source.
2019-07-11 01:17:57 +08:00
Charles Lyding
8e97df3888
feat(@angular-devkit/build-angular): allow control of index output path
...
This allows the output path of an application's index HTML file to be controlled independently of the input file. The output path for the file will be considered relative to the application's configured output path. This allows an application to contain multiple input index files for different configurations and allow the output file to remain constant. This also enables the placement of the index file in a subdirectory within the output path or change the name of the output index file neither of which was previously possible.
2019-07-10 04:34:20 +08:00
Alan Agius
85011b36d3
build: update angular packages to 8.1.0
2019-07-10 04:17:05 +08:00
Alan Agius
86266a39fa
fix(@ngtools/webpack): resources path normalizations
...
Compiler host `readResource` is always called with POSIX seperators. However the `denormalizePath` method doesn't convert forward slashes to back slashes which causes `getModifiedResourceFiles` to return an empty `Set`.
We were also assuming that `_changedFiles` is an FS path which was not the case as it's original type is `Path`
Fix #15012
2019-07-10 04:17:05 +08:00
Renovate Bot
aadaf093e4
build: update caniuse-lite to version 1.0.30000981
2019-07-10 04:15:47 +08:00
Charles Lyding
445f3873b9
fix(@angular-devkit/build-angular): use query option to set sockJS path in dev-server
...
Fixes #15002
2019-07-10 04:15:30 +08:00
Charles Lyding
f6953f0123
fix(@angular-devkit/build-angular): only add module script types to actual module scripts
...
`ng serve` was errantly adding a module type to custom script bundles. These scripts may contain ES5 and non-strict compatible code and can therefore not be marked as module scripts. `ng build` already correctly operates in this fashion.
Fixes #14952
2019-07-10 04:13:43 +08:00
Renovate Bot
bfb03d2ab2
build: update autoprefixer to version 9.6.1
2019-07-10 04:06:04 +08:00
Renovate Bot
072ddd3dbd
build: update sass to version 1.22.3
2019-07-10 04:05:50 +08:00
Renovate Bot
64eff51be6
build: update semver to version 6.2.0
2019-07-02 12:44:06 -07:00
Renovate Bot
5b372dc7dd
build: update sass to version 1.22.2
2019-07-02 11:08:08 -07:00
Hans Larsen
fd512b8217
refactor: do not report errors if there is no errors to report
2019-07-02 11:07:13 -07:00
Hans Larsen
af6c6d41d5
refactor: add count of component to analytics
2019-07-02 11:07:13 -07:00
Alan
2b367be1c3
feat(@angular-devkit/build-angular): deprecate scripts and styles lazy
option in favor ofinject
...
The lazy option inside the script and style option is confusing as this option doesn't lazy load a bundle but rather it doesn't inject/reference the script in the HTML. While this option is an enabler for lazy loading, the users will still need to handle on how how this bundle will be lazy loaded. There are also potential use cases beyond lazy loading for the option.
Closes #14814
2019-07-02 11:05:51 -07:00
Alan Agius
8754ecbf99
fix(@angular-devkit/build-angular): IE11 errors when using scripts and differential loading
...
Invert the builds so that es2015 scripts output don't override the es5 version.
Fixes #14777
2019-07-02 10:58:36 -07:00
Charles Lyding
99fa7bd71f
test: add initial ivy large test support
2019-07-02 10:04:09 -07:00
Renovate Bot
fb8deb06d3
build: update webpack to version 4.35.2
2019-07-01 11:39:56 -07:00
Renovate Bot
c22d0d0268
build: update caniuse-lite to version 1.0.30000979
2019-07-01 11:38:37 -07:00
Renovate Bot
821d2fa4a7
build: update open to version 6.4.0
2019-07-01 11:37:50 -07:00
Alan Agius
68227565ce
feat(@angular-devkit/build-angular): add crossorigin options
...
This options allows to define the crossorigin attribute setting of elements that provide CORS support
Closes #14743
2019-06-27 15:12:43 -07:00
Suguru Inatomi
4bfa4e0c06
fix(@angular-devkit/build-angular): add Symbol.iterator polyfill for legacy browsers
2019-06-27 09:26:31 -07:00
Renovate Bot
b02dba5925
build: update sass to version 1.22.1
2019-06-27 09:24:03 -07:00
Renovate Bot
3e5e2574c7
build: update caniuse-lite to version 1.0.30000978
2019-06-26 11:22:58 -07:00
Alan
44a0d0fb4e
fix(@angular-devkit/build-angular): add type="module"
on script tags when differential loading will be enabled
...
Fixes #14747
2019-06-26 11:17:21 -07:00
Renovate Bot
a5e6b10c40
build: update caniuse-lite to version 1.0.30000977
2019-06-25 13:29:14 -07:00
Renovate Bot
708259bd22
build: update sass to version 1.22.0
2019-06-25 13:29:00 -07:00
Hans Larsen
a5afd7b2b6
fix(@angular-devkit/build-angular): force event category to be something
...
If it is empty (or undefined), the Universal Analytics package will not send events.
2019-06-25 13:25:23 -07:00
Alan Agius
572d0055fb
fix(@angular-devkit/build-angular): add @angular/compiler-cli
version 8.1.0-next.0
as peerDependency
2019-06-25 10:31:36 -07:00
Renovate Bot
ce578ae9b3
build: update semver to version 6.1.2
2019-06-24 17:31:20 -07:00
Renovate Bot
1df5eeb3e5
build: update caniuse-lite to version 1.0.30000976
2019-06-24 17:27:44 -07:00
FDIM
af2b1b55dc
feat(@angular-devkit/build-angular): option to build and test only specified spec files
2019-06-24 17:27:25 -07:00
Alan
d43ca041e2
fix(@angular-devkit/build-angular): re-order reporters to set code coverage at the very end
2019-06-20 10:58:54 -07:00
Renovate Bot
bf4d97254e
build: update webpack to version 4.35.0
2019-06-20 10:56:43 -07:00
Alan
10200f1395
fix(@angular-devkit/build-angular): remove certain redundant build steps from second build in differential loading
...
With this change we remove styles compilation and copying of assets for the second build when differential loading is enabled.
This should improve the build times for larger applications.
2019-06-19 17:08:25 -07:00
Alan Agius
0701afc31f
fix(@angular-devkit/build-angular): browser builder should not swollow error messages
...
Closes #14813
2019-06-19 17:07:53 -07:00
Alan
c7135fae35
fix(@angular-devkit/build-angular): browser builder should not swollow error messages
...
Closes #14813
2019-06-19 17:07:27 -07:00
Charles Lyding
0ed8de1e8a
refactor(@angular-devkit/build-angular): cleanup compatible Angular version check
2019-06-19 17:06:28 -07:00
Renovate Bot
5b9415f7d3
build: update webpack-dev-server to version 3.7.2
2019-06-18 18:25:52 -07:00
Renovate Bot
1d7cf6aa23
build: update browserslist to version 4.6.3
2019-06-18 18:24:55 -07:00
Renovate Bot
780ef797e1
build: update core-js to version 3.1.4
2019-06-15 11:49:47 -07:00
Alan
be210778f4
fix(@angular-devkit/build-angular): emit warning when using extract-i18n in Ivy
...
i18n is not yet implemented in Ivy, we should emit a warning stating this and exit gracefully.
This also swaps the readTsConfig logic to use `@angular/compiler-cli` instead of `typescript`. This is needed because when parsing the tsconfig, typescript is not aware of `angularCompilerOptions` and will not merged them if they are at un upper level tsconfig file when using `extends`.
Closes #14225
2019-06-14 12:56:33 -07:00
istiti
d7a0a69f03
feat(@angular-devkit/build-angular): move milliseconds time audit at the end of console
...
In a project with a lot of lazy modules we need scroll console window to see Date - Hash - Time audit message.
This PR should keep Date - Hash - Time at the end on first `ng s` or `ng b` to see if first build just happend or not. On rebuild only Time is at the end which is most valuable
Before:
```
$ ng s
Date: 2019-06-04T14:41:49.775Z
Hash: 998791a06c755186a7dc
Time: 37700ms
chunk {0} 0.205d3a05f39f54abaf98.js () 26.3 kB [rendered]
chunk {1} 1.78ebb349f1f621ecc6dd.js () 85.3 kB [rendered]
chunk {2} 2.6999dce3fa088a3aa465.js () 33.9 kB [rendered]
chunk {3} 3.5532acdb300ef6741a51.js () 49.2 kB [rendered]
chunk {4} 4.2add4f56d22ab59d79c6.js () 56.9 kB [rendered]
...
chunk {137} 137.a15fd611c1c4b96d409a.js () 3.26 kB [rendered]
chunk {138} 138.c9e103d1056bb9d070e3.js () 2.94 kB [rendered]
chunk {139} 139.455c4ac2d85c520f1254.js () 3.17 kB [rendered]
chunk {140} 140.4ca3e4f5eccec58809be.js () 4.29 kB [rendered]
chunk {141} 141.c27def44603508d8df52.js () 2.37 kB [rendered]
chunk {common} common.b74eca2038a9b1b5f3e4.js (common) 39.7 kB [rendered]
chunk {main} main.db063f94924f162703a2.js (main) 163 kB [initial] [rendered]
chunk {polyfills} polyfills.4ac5e2c02b432e50dfda.js (polyfills) 295 kB [initial] [rendered]
chunk {polyfills-es5} polyfills-es5.5468c4e590607eea5bd4.js (polyfills-es5) 462 kB [initial] [rendered]
chunk {runtime} runtime.7381db3f14ba80dfec8f.js (runtime) 12.7 kB [entry] [rendered]
chunk {scripts} scripts.9a46a0e28dae0f11bffb.js (scripts) 20.3 kB [entry] [rendered]
chunk {styles} styles.e8c91b6de63cbd1ef1be.js (styles) 624 kB [initial] [rendered]
chunk {vendor} vendor.eccdafeabbb649d68877.js (vendor) 4.77 MB [initial] [rendered]
** Angular Live Development Server is listening on 0.0.0.0:80, open your browser on http://localhost:80/ **
i 「wdm」: Compiled successfully.
i 「wdm」: Compiling...
Date: 2019-06-04T14:41:54.313Z - Hash: 41c1ac04e7ee47d1f385 - Time: 1463ms
148 unchanged chunks
chunk {64} 64.ca3cef05dbfd71b73683.js () 36.2 kB [rendered]
chunk {runtime} runtime.629babcdb3b730464fa1.js (runtime) 12.7 kB [entry] [rendered]
i 「wdm」: Compiled successfully.
```
After:
```
$ ng serve
chunk {0} 0.205d3a05f39f54abaf98.js () 26.3 kB [rendered]
chunk {1} 1.78ebb349f1f621ecc6dd.js () 85.3 kB [rendered]
chunk {2} 2.6999dce3fa088a3aa465.js () 33.9 kB [rendered]
chunk {3} 3.5532acdb300ef6741a51.js () 49.2 kB [rendered]
chunk {4} 4.2add4f56d22ab59d79c6.js () 56.9 kB [rendered]
...
chunk {137} 137.a15fd611c1c4b96d409a.js () 3.26 kB [rendered]
chunk {138} 138.c9e103d1056bb9d070e3.js () 2.94 kB [rendered]
chunk {139} 139.455c4ac2d85c520f1254.js () 3.17 kB [rendered]
chunk {140} 140.4ca3e4f5eccec58809be.js () 4.29 kB [rendered]
chunk {141} 141.c27def44603508d8df52.js () 2.37 kB [rendered]
chunk {common} common.b74eca2038a9b1b5f3e4.js (common) 39.7 kB [rendered]
chunk {main} main.db063f94924f162703a2.js (main) 163 kB [initial] [rendered]
chunk {polyfills} polyfills.4ac5e2c02b432e50dfda.js (polyfills) 295 kB [initial] [rendered]
chunk {polyfills-es5} polyfills-es5.5468c4e590607eea5bd4.js (polyfills-es5) 462 kB [initial] [rendered]
chunk {runtime} runtime.b9d205421cbb4e61db70.js (runtime) 12.7 kB [entry] [rendered]
chunk {scripts} scripts.9a46a0e28dae0f11bffb.js (scripts) 20.3 kB [entry] [rendered]
chunk {styles} styles.e8c91b6de63cbd1ef1be.js (styles) 624 kB [initial] [rendered]
chunk {vendor} vendor.eccdafeabbb649d68877.js (vendor) 4.77 MB [initial] [rendered]
Date: 2019-06-04T14:14:33.560Z - Hash: 1690109f67cb887a6d5d - Time: 34676ms
** Angular Live Development Server is listening on 0.0.0.0:80, open your browser on http://localhost:80/ **
i 「wdm」: Compiled successfully.
i 「wdm」: Compiling...
Date: 2019-06-04T14:14:53.336Z - Hash: 998791a06c755186a7dc
148 unchanged chunks
chunk {64} 64.0bf728d7fbcbba217b53.js () 36.2 kB [rendered]
chunk {runtime} runtime.7381db3f14ba80dfec8f.js (runtime) 12.7 kB [entry] [rendered]
Time: 1411ms
i 「wdm」: Compiled successfully.
```
2019-06-14 09:50:29 -07:00
Renovate Bot
ebbfbd6ef9
build: update webpack to version 4.34.0
2019-06-13 11:42:45 -07:00
Alan Agius
4ad0fb73c3
fix(@angular-devkit/build-angular): always disable buildOptimizer
when extracting i18n
2019-06-12 14:54:15 -07:00