1989 Commits

Author SHA1 Message Date
Alan Agius
f33d10d343 refactor(@angular-devkit/build-angular): deprecate a number of dev-server options
With this change we deprecate a number of dev-server builder options which proxied to the browser builder. This pattern also wrongly assumes that 3rd party browser builders also support all these options.

Configure the below deprecated options directly in the browser builder target options instead.

- aot
- sourceMap
- deployurl
- baseHref
- vendorChunk
- commonChunk
- optimization
- progress
2020-10-07 09:54:32 -04:00
Renovate Bot
6d7f038de5 build: update tslib to version 2.0.2 2020-10-07 09:24:28 -04:00
Renovate Bot
8ebdcd9223 build: update webpack-merge to version 5.2.0 2020-10-07 09:24:06 -04:00
Alan Agius
9d71ebf90a refactor(@angular-devkit/build-angular): clean up style include paths logic 2020-10-06 11:34:10 -04:00
Alan Agius
7972ec70dc build: update stylus-loader to version 4.1.0 2020-10-06 11:34:10 -04:00
Renovate Bot
5db0fb5a2a build: update sass to version 1.26.12 2020-10-06 07:11:51 -04:00
Alan Agius
409247e9c0 refactor(@angular-devkit/build-angular): use parse5-html-rewriting-stream instead of parse5-htmlparser2-tree-adapter
Closes: #17019
2020-10-05 11:31:49 -04:00
Renovate Bot
2f2690bb8d build: update jest-worker to version 26.5.0 2020-10-05 11:31:12 -04:00
Renovate Bot
4c1f7e4bbe build: update style-loader to version 1.3.0 2020-10-03 13:45:25 -04:00
Renovate Bot
b004c9cc51 build: update terser to version 5.3.4 2020-10-03 08:49:52 -04:00
Renovate Bot
ef0da8e827 build: update postcss-loader to version 4.0.3 2020-10-03 08:49:32 -04:00
Renovate Bot
e86a242592 build: update mini-css-extract-plugin to version 0.11.3 2020-10-03 08:49:19 -04:00
Renovate Bot
06b0df88d9 build: update copy-webpack-plugin to version 6.2.0 2020-10-03 08:49:03 -04:00
Charles Lyding
34f769fcde refactor(@angular-devkit/schematics): use interface for NodeWorkflow options
This change removes the previously repeated type definitions for the options of the NodeWorkflow class.
2020-10-02 06:30:18 -04:00
Charles Lyding
433a4152ef refactor(@angular-devkit/schematics-cli): use new NodeWorkflow features
This change reduces the amount of schematic runtime setup code by leveraging the new options for the root path and schema validation in the NodeWorkflow class.
2020-10-02 06:30:18 -04:00
Charles Lyding
fa6b4772be style(@angular-devkit/schematics-cli): minor type and import cleanup 2020-10-02 06:30:18 -04:00
Charles Lyding
5bc3616f30 feat(@angular-devkit/schematics): support schema validation in NodeWorkflow
This change provides an additional NodeWorkflow option `schemaValidation`.  When enabled, this new option will setup schema-based validation of a schematics options prior to schematic execution.  The schema registry provided with the NodeWorkflow is used to perform the validation.  This new option removes the need to manually configure validation of schematic options when initializing a schematic runtime.
2020-10-02 06:30:18 -04:00
Charles Lyding
017581cacb feat(@angular-devkit/schematics): allow using a root path with NodeWorkflow
This change allows the creation of a NodeWorkflow class with a path string instead of requiring a fully configured filesystem host object.  This reduces the amount of code necessary to setup a schematics runtime for common cases.
2020-10-02 06:30:18 -04:00
Charles Lyding
9928b292cd refactor(@angular-devkit/schematics-cli): remove unused rxjs dependency 2020-10-01 11:15:25 -04:00
Renovate Bot
43db3f1d87 build: update angular packages 2020-10-01 08:45:32 -04:00
Renovate Bot
b9c5670dae build: update symbol-observable to version 2.0.3 2020-10-01 08:44:21 -04:00
Charles Lyding
1c61ced55c fix(@angular-devkit/build-webpack): avoid deprecation warning with Webpack 5 watch mode
With Webpack 5, passing the watch configuration option into the `webpack` factory function will cause the Webpack compiler to assume it should immediately start watching which requires a callback to be passed as well.  Since the execution of the compiler is handled later in the process, a callback at the compiler creation stage is undesirable and could result in potentially breaking changes to accomplish.
2020-09-30 19:39:47 +02:00
Alan Agius
dcad2ee0d3 fix(@angular-devkit/build-angular): don't process stylesheets in extraction builder
When building an application for i18n extraction we are currently redundantly processing components stylesheets. With this change we replace the components stylesheets with an empty string which helps reduce the i18n build time.
2020-09-30 19:34:08 +02:00
Alan Agius
e96fbd3c8a refactor(@angular-devkit/build-angular): change errors and warnings messages
Sometimes the WARNING IN/ERROR IN can lead of ambiguous messages

 - Use `Warning` instead of `WARNING IN`
-  Use `Error` instead of `Error In`
2020-09-30 16:17:05 +02:00
Alan Agius
aab73e242f refactor(@angular-devkit/build-angular): remove deprecated karma builder environment option
BREAKING CHANGE:

Remove deprecated karma builder `environment` option
2020-09-30 13:49:13 +02:00
Renovate Bot
efb97c87f0 build: update symbol-observable to version 2.0.2 2020-09-30 09:08:54 +02:00
Dmitriy Shekhovtsov
c78a460658 fix(@angular-devkit/build-angular): fixes optimizeChunkAssets is deprecated in webpack 5 2020-09-29 15:03:53 +02:00
Dmitriy Shekhovtsov
850a0aef13 fix(@angular-devkit/build-angular): fixes deprecation warning for MainTemplate.hooks.assetPath in webpack 5 2020-09-29 13:53:01 +02:00
Renovate Bot
c5ddca96f8 build: update open to version 7.3.0 2020-09-29 13:52:22 +02:00
Dmitriy Shekhovtsov
d74e7e3f7e fix(@angular-devkit/build-angular): fix webpack 5 deprecation warning for chunk.push 2020-09-29 13:52:00 +02:00
Alan Agius
5e293f039a fix(@angular-devkit/build-angular): handle undefined descriptionFileData
Closes #18631
2020-09-29 13:51:23 +02:00
Dmitriy Shekhovtsov
38023fe41c fix(@angular-devkit/build-angular): fixed afterOptimizeChunkAssets is deprecated in webpack 5 2020-09-29 11:35:20 +02:00
Renovate Bot
defc8f562d build: update terser to version 5.3.3 2020-09-29 09:38:39 +02:00
Alan Agius
8d0922eb7d fix(@angular-devkit/build-angular): resolve i18n outFile from workspaceRoot 2020-09-28 21:24:10 +02:00
Alan Agius
bda8bc8b70 test(@angular-devkit/build-angular): fix unit test setup to be able to run new Ivy extraction 2020-09-28 21:24:10 +02:00
Alan Agius
e0244d05de feat(@angular-devkit/build-angular): enable Ivy extraction by default for Ivy applications 2020-09-28 21:24:10 +02:00
Dmitriy Shekhovtsov
c8f8640bf5 fix(@angular-devkit/build-angular): fixed Module.issuer is deprecated in webpack 5 for commonjs warn plugin 2020-09-28 20:34:18 +02:00
Renovate Bot
aaa7c82cfb build: update webpack-sources to version 2.0.1 2020-09-28 19:38:42 +02:00
Alan Agius
155a6f6f88 test: disable progress during extract-i18n 2020-09-28 15:58:26 +02:00
Alan Agius
1ec4ea6659 refactor(@angular-devkit/build-angular): use architect build error instead of logger.error 2020-09-28 15:58:26 +02:00
Alan Agius
0a406e8dd0 refactor(@angular-devkit/build-angular) remove _loadTslint method 2020-09-28 15:34:56 +02:00
Alan Agius
96bee9c6a5 refactor(@angular-devkit/build-angular): remove redundant tslint version check
Tslint has been added as an optional peer dependency which makes this check unnecessary since the package manager will issue a warning when an incorrect version is installed.
2020-09-28 15:34:56 +02:00
Alan Agius
1c4d358b38 fix(@angular-devkit/build-angular): implement relative method in extractor FS
This will be needed when the changes in angular/angular#39006 is merged.
2020-09-28 13:58:31 +02:00
Dmitriy Shekhovtsov
92f3889f98 fix(@angular-devkit/build-angular): maxModules were deprecated and renamed to modulesSpace 2020-09-28 13:57:38 +02:00
Dmitriy Shekhovtsov
eb8872aeee fix(@angular-devkit/build-angular): webpack5 deprecation of module property in Dependency 2020-09-28 11:23:41 +02:00
Charles Lyding
1873f2d28f fix(@angular-devkit/build-angular): add tslint as an optional peer dependency
tslint is currently used by the tslint builder within this package but is not represented in the dependencies. The can lead to accidental version mismatches as well as package manager hoisting problems due to the package manager not knowing the full dependency set of the package.
2020-09-25 23:10:56 +02:00
Charles Lyding
7fed4cf7f7 style(@angular-devkit/build-angular): remove unneeded no-implicit-dependencies rule disabling 2020-09-25 23:10:56 +02:00
Charles Lyding
ac9db989b8 fix(@angular-devkit/build-angular): add protractor as an optional peer dependency
protractor is currently used by the protractor builder within this package but is not represented in the dependencies. The can lead to accidental version mismatches as well as package manager hoisting problems due to the package manager not knowing the full dependency set of the package.
2020-09-25 23:10:56 +02:00
Charles Lyding
5bbac0774f fix(@angular-devkit/build-angular): add karma as an optional peer dependency
karma is currently used by the karma builder within this package but is not represented in the dependencies.  The can lead to accidental version mismatches as well as package manager hoisting problems due to the package manager not knowing the full dependency set of the package.
2020-09-25 23:10:56 +02:00
Charles Lyding
cdb404bd3c fix(@angular-devkit/build-angular): warn if using unsupported IE9/10 browsers
As of Angular v11, IE9 and IE10 are no longer officially supported.  A warning will now be shown during builds if these browsers are requested in the project's browserslist configuration.
2020-09-25 22:46:04 +02:00