1545 Commits

Author SHA1 Message Date
Filipe Silva
b51cf8d1e6 build: use ts_library macro with common defaults 2020-04-30 15:12:46 -07:00
Greg Magolan
8ef940b205 build: use no-remote-exec tag so test still runs in sandbox
Turns out there is a linker bug with no sandbox.
2020-04-30 15:12:46 -07:00
Greg Magolan
52d7b012d3 build: run tests depending on webdriver-manager locally 2020-04-30 15:12:46 -07:00
Filipe Silva
9a28114f6b test: remove non-bazel test setup 2020-04-30 15:12:46 -07:00
Filipe Silva
bae240e090 test(@angular-devkit/build-ng-packagr): build and test with Bazel 2020-04-30 15:12:46 -07:00
Filipe Silva
ef7a07050a test(@angular-devkit/build-angular): build and test with Bazel 2020-04-30 15:12:46 -07:00
Filipe Silva
fe280b25f2 test(@angular-devkit/build-webpack): build and test with Bazel 2020-04-30 15:12:46 -07:00
Filipe Silva
eceb5cdaa6 build: use rules_nodejs 1.6.0 features
Contains fixes related to the symlink behaviour inside of bazel. Without it, webpack needs to be configured to be aware of symlinks and preserve the paths.
2020-04-30 15:12:46 -07:00
Alan Agius
a93f4f0a9f fix(@angular-devkit/build-angular): disable inline svg optimizations
SVGO can cause optimizations which are not compatible in all browsers.

FIxes: #17564
2020-04-29 10:16:16 -07:00
Pete Bacon Darwin
b3792deaae fix(@angular-devkit/build-angular): the path to source_file_utils changed in v10.0.0 2020-04-29 10:15:59 -07:00
Renovate Bot
ad860f30de build: update style-loader to version 1.2.1 2020-04-29 10:15:29 -07:00
Renovate Bot
e36dc1d957 build: update jest-worker to version 25.5.0 2020-04-29 10:15:00 -07:00
Renovate Bot
799bb10b61 build: update rollup to version 2.7.3 2020-04-28 09:01:12 -07:00
Renovate Bot
c8915f4205 build: update terser-webpack-plugin to version 2.3.6 2020-04-27 15:08:32 -07:00
Alan Agius
8fb7e586cc refactor(@angular-devkit/build-angular): remove deprecated evalSourceMap, vendorSourceMap, profile and skipAppShell options
BREAKING CHANGE:

The following deprecated devkit builders options have been removed:
- `skipAppShell:` This has no effect
- `evalSourceMap`: This done to improve performance in older versions of the CLI and is no longer needed
- `vendorSourceMap`: Use `sourceMap.vendor` instead
- `profile`: Use `NG_BUILD_PROFILING` environment variable instead
2020-04-27 15:08:15 -07:00
Charles Lyding
254994db85 fix(@angular-devkit/build-angular): ensure webpack tilde resolve behavior for stylesheet resources 2020-04-27 11:07:58 -07:00
Charles Lyding
c034477dc5 feat(@angular-devkit/build-angular): rebase relative stylesheet assets when using preprocessors
Previously, when using a preprocessor, resources (e.g., `url(./my-image.jpg)`) referenced in a stylesheet that was imported into another stylesheet would retain the exact URL.  This would be problematic as the resource would not be at the relative location within the new combined stylesheet.  With this change the resource URLs will now be adjusted to reference the origin location of the resource.  This allows the resources to be found without any additional changes to the application or build process.
CSS and Less already functioned in this manner. This change brings Sass and Stylus to parity.

Fixes: #12797
2020-04-27 11:07:58 -07:00
Charles Lyding
06e9955743 test(@angular-devkit/build-angular): ensure autoprefixed global CSS imports 2020-04-27 11:07:58 -07:00
Renovate Bot
537b314d4e build: update css-loader to version 3.5.3 2020-04-27 11:07:36 -07:00
Renovate Bot
67f39db889 build: update style-loader to version 1.2.0 2020-04-27 11:07:23 -07:00
Renovate Bot
ce024d23dd build: update terser to version 4.6.12 2020-04-27 11:07:14 -07:00
Alan Agius
9914125564 build: fix typescript 3.9 compilation 2020-04-27 11:06:24 -07:00
Renovate Bot
86a127fad7 build: update source-map-support to version 0.5.19 2020-04-24 09:52:43 -07:00
Renovate Bot
82ce6850ce build: update sass to version 1.26.5 2020-04-24 09:51:39 -07:00
Renovate Bot
fba98dc51b build: update rollup to version 2.7.2 2020-04-23 10:32:25 -07:00
Keen Yee Liau
e5db6a8ccd build: BUILD files formatted to have load statements at the top 2020-04-23 10:31:56 -07:00
Renovate Bot
132cba5efc build: update webpack to version 4.43.0 2020-04-22 10:40:03 -07:00
Renovate Bot
02dee37174 build: update rollup to version 2.7.1 2020-04-22 10:39:51 -07:00
Renovate Bot
a1c7220de1 build: update ora to version 4.0.4 2020-04-22 10:39:40 -07:00
Alan Agius
b1a5f49540 refactor(@angular-devkit/schematics): remove deprecated FileSystemHost
BREAKING CHANGE
Deprecated `FileSystemHost` has been removed. Use `Host` directly instead.

Note: this change only effects direct `@angular-devkit/schematics` users and not the application developers.
2020-04-22 10:38:38 -07:00
Alan Agius
69aa460335 refactor(@angular-devkit/build-angular): remove deprecated es5BrowserSupport build option
BREAKING CHANGE
Deprecated browser builder option `es5BrowserSupport` has been removed. The inclusion for ES5 polyfills will be determined from the browsers listed in the browserslist configuration.
2020-04-22 10:38:19 -07:00
Renovate Bot
1c916dc352 build: update source-map-support to version 0.5.18 2020-04-21 12:46:36 -07:00
Renovate Bot
c8cd89d9d2 build: update ajv to version 6.12.2 2020-04-21 12:46:20 -07:00
Renovate Bot
a0ca32aaf1 build: update style-loader to version 1.1.4 2020-04-21 12:45:47 -07:00
Renovate Bot
bd5a13eb6e build: update jest-worker to version 25.4.0 2020-04-21 12:45:19 -07:00
Renovate Bot
8263e608dd build: update raw-loader to version 4.0.1 2020-04-21 12:44:28 -07:00
Alan Agius
4e9fe35845 fix(@angular-devkit/core): workspace reader spread/rest operator usage with falsy values
Spread and Rest uses `[[GetOwnProperty]]`. Previously, properties with falsy values were being removed when using the spread operator due to an incorrect check.

https://tc39.es/proposal-object-rest-spread/#AbstractOperations-CopyDataProperties

Fixes #17021
2020-04-21 12:43:58 -07:00
Renovate Bot
e894c2faa4 build: update angular packages 2020-04-16 13:27:04 -07:00
Charles Lyding
98b3eb5b9e build: update rxjs to version 6.5.5 2020-04-15 13:17:31 -07:00
Renovate Bot
311cc0a1b1 build: update pidtree to version 0.5.0 2020-04-14 12:18:13 -07:00
Renovate Bot
36d3f21c37 build: update semver to version 7.3.2 2020-04-14 12:18:02 -07:00
Renovate Bot
da7fbc6738 build: update karma to version ~5.0.0 2020-04-13 11:32:15 -07:00
Renovate Bot
10bd570196 build: update css-loader to version 3.5.2 2020-04-13 11:15:17 -07:00
Renovate Bot
a79bfbb026 build: update rollup to version 2.6.1 2020-04-13 11:14:39 -07:00
Renovate Bot
475922438b build: update semver to version 7.2.2 2020-04-13 11:14:26 -07:00
Renovate Bot
9de389fb77 build: update rollup to version 2.4.0 2020-04-10 10:00:22 -07:00
Alan Agius
710cf5656e fix(@angular-devkit/build-angular): retain css declarations order when using extractCss and @import rule
Relevant code:
239e43d1f3/src/plugins/postcss-import-parser.js (L9)

239e43d1f3/src/index.js (L132-L150)

Fixes #9475
2020-04-10 09:56:55 -07:00
Renovate Bot
099387bca7 build: update terser to version 4.6.11 2020-04-09 13:23:12 -07:00
Doug Parker
863067cbd8 revert: "fix(@angular-devkit/build-angular): suppress duplicate 3rdpartylicenses.txt warning"
This reverts commit 59c9802d2667db71ef44aa78c7d56b4caa6ff065.

No longer necessary to suppress this log, now that the root cause has been fixed.
2020-04-08 13:16:54 -07:00
Renovate Bot
bd582591dc build: update rollup to version 2.3.4 2020-04-08 13:16:54 -07:00