1520 Commits

Author SHA1 Message Date
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
Renovate Bot
fcba2e7b7f build: update rollup to version 2.3.4 2020-04-08 10:57:17 -07:00
Renovate Bot
f48a66df8a build: update angular packages 2020-04-08 10:56:36 -07:00
Renovate Bot
f516b9468c build: update semver to version 7.2.1 2020-04-07 19:42:36 -07:00
Renovate Bot
ba5f807589 build: update autoprefixer to version 9.7.6 2020-04-07 19:42:22 -07:00
Charles Lyding
44b3cc7c89 feat(@angular-devkit/build-angular): provide webpack support for resolving via Yarn PnP 2020-04-07 19:42:00 -07:00
Filipe Silva
60e92d54fb style: reformat bazel files 2020-04-07 09:07:19 -07:00
Filipe Silva
fca831ca88 test(@angular-devkit/schematics-cli): test with Bazel 2020-04-07 09:07:19 -07:00
Filipe Silva
ee24d32f71 fix(@angular-devkit/schematics): add module_name and data files 2020-04-07 09:07:19 -07:00
Filipe Silva
0a7be8006e test(@angular-devkit/architect): run tests in Bazel 2020-04-07 09:07:19 -07:00
Filipe Silva
1e01d98ae2 build: workaround bazel module resolution bug
See https://github.com/bazelbuild/rules_nodejs/issues/313 for details.
2020-04-07 09:07:19 -07:00
Filipe Silva
55cd9bbb06 build: include json files in @angular-devkit/build-optimizer Bazel build 2020-04-07 09:07:19 -07:00
Filipe Silva
5f3f736936 build: move BUILD.bazel files for secondary entry points into own folder
Without this change, module names will be computed with incorrect paths containing duplicate path fragments (e.g. `@angular-devkit/architect/testing/testing/test-logger`).
2020-04-07 09:07:19 -07:00
Filipe Silva
f2d2cd12c4 build: also produce tar.gz for bazel npm_package rules 2020-04-07 09:07:19 -07:00
Filipe Silva
7c746a444b build: use ts_json_schema's ts output directly
This PR changes ts_json_schema to not create a ts_library rule for the json schema, and instead let consuming ts_libraries use and compile the resulting .ts files themselves.

This is needed in order to maintain the module_name of the consuming libraries on the .ts files resulting from json compilation.
2020-04-07 09:07:19 -07:00
Filipe Silva
b668cacd45 refactor: use BUILD.bazel instead of BUILD
Using an extension gives editors a chance to figure out the correct language syntax to use.
2020-04-07 09:07:19 -07:00
Filipe Silva
456bbffee5 build: add module_name to @angular-devkit/build-optimizer Bazel rule 2020-04-07 09:07:19 -07:00
Filipe Silva
aaf2d802a8 fix(@angular-devkit/architect): temporary workaround for TS bug with UMDs
The TS bug is https://github.com/microsoft/TypeScript/issues/36780.

The workaround is needed because `ts_library` emits UMDs currently. This will change with https://github.com/bazelbuild/rules_typescript/pull/492 and https://github.com/bazelbuild/rules_nodejs/pull/1687.
2020-04-07 09:07:19 -07:00
Filipe Silva
62272ad925 build: fix bazel tests to run on windows 2020-04-07 09:07:19 -07:00
Renovate Bot
fe8fb1ffc9 build: update rollup to version 2.3.3 2020-04-06 10:01:17 -07:00
Charles Lyding
8a3e655845 fix(@angular-devkit/build-angular): avoid overwriting localize sourcemaps 2020-04-06 10:00:00 -07:00
Alan Agius
10e7eb2c24 test: change browserslist file name to .browserslistrc 2020-04-06 09:58:42 -07:00
Alan Agius
b7a612f14a feat(@schematics/angular): change browserslist file name to .browserslistrc
Closes: #15961
2020-04-06 09:58:42 -07:00
Charles Lyding
6e33f447a6 refactor(@angular-devkit/build-optimizer): remove casts from tslib helper check 2020-04-06 09:55:58 -07:00
Charles Lyding
4509d3c112 fix(@angular-devkit/build-optimizer): use TypeScript 3.6
Fixes: #17320
2020-04-06 09:55:58 -07:00
Renovate Bot
142099efb5 build: update terser to version 4.6.10 2020-04-06 09:54:02 -07:00