1111 Commits

Author SHA1 Message Date
Charles Lyding
f0bada1925 fix(@angular/cli): allow for private use language subtags
Fixes:  #17163
2020-03-16 21:44:42 -07:00
Wojciech Okoński
237bade5d5 fix(@angular-devkit/build-angular): add missing styles extensions in anyComponentStyle budget
Make anyComponentStyle budged work with all style extensions. Previously it was working only with css styles. Files with other extensions were ignored.
2020-03-16 21:43:44 -07:00
Renovate Bot
d7ca57a6e7 build: update angular packages 2020-03-16 21:42:38 -07:00
Renovate Bot
0fd6e79073 build: update license-webpack-plugin to version 2.1.4 2020-03-16 21:41:37 -07:00
Renovate Bot
4631c30fe4 build: update @jsdevtools/coverage-istanbul-loader to version 3.0.3 2020-03-16 21:41:15 -07:00
Alan Agius
2e8c7cd23b fix(@angular-devkit/build-angular): add defaults to reduce methods in bundle calculator
Fixes #17215
2020-03-13 13:16:56 -07:00
Renovate Bot
dfd189f675 build: update rollup to version 2.0.6 2020-03-13 13:16:01 -07:00
Renovate Bot
c2712bdd01 build: update regenerator-runtime to version 0.13.5 2020-03-13 13:15:50 -07:00
Charles Lyding
a5aefa1258 refactor(@angular-devkit/build-angular): temporarily disable plugin based localization 2020-03-13 13:14:58 -07:00
Renovate Bot
b3986aab0d build: update rollup to version 2.0.5 2020-03-12 10:18:02 -07:00
Renovate Bot
a679ea53b3 build: update sass to version 1.26.3 2020-03-12 10:17:50 -07:00
Renovate Bot
67e10b1bc4 build: update worker-plugin to version 4.0.2 2020-03-11 10:38:30 -07:00
Alan Agius
1a1ceb609b build: update angular packages to 9.1.0-next.4 and TypeScript 3.8 2020-03-11 10:33:38 -07:00
Renovate Bot
0ad440c969 build: update angular packages 2020-03-10 15:21:21 -07:00
Charles Lyding
f5789f466f fix(@angular-devkit/build-angular): ensure live-reload shim workaround isolation
This change reduces the workaround to a single file location as well as ensuring that only the shims of interest from the two necessary live reload files are affected.  This makes sure that build and serve behavior is the same in this regard.
2020-03-10 11:57:31 -07:00
Renovate Bot
5cecf141d8 build: update rollup to version 2.0.3 2020-03-10 11:54:07 -07:00
Renovate Bot
ecdf200017 build: update open to version 7.0.3 2020-03-09 10:25:06 -07:00
Renovate Bot
e0cc9efe04 build: update find-cache-dir to version 3.3.1 2020-03-09 10:24:52 -07:00
Alan Agius
81d057a37d refactor(@angular-devkit/build-angular): use @jsdevtools/coverage-istanbul-loader instead of coverage-istanbul-loader
`coverage-istanbul-loader` has been deprecated in favor of `@jsdevtools/coverage-istanbul-loader`
2020-03-09 10:24:25 -07:00
Charles Lyding
ad9d73d0d2 fix(@angular-devkit/build-angular): provide locale data discovery fallbacks
This synchronizes the behavior with the FW's wherein the language code will be used if the data for the full locale is not found. The user will still be notified in the event this occurs.
2020-03-05 11:33:52 -08:00
Alan Agius
e414d9b44a fix(@angular-devkit/build-angular): generate ES5 code in ES5 bundles for default browserslist configuration 2020-03-05 11:30:23 -08:00
Alan Agius
21a25ee8c5 fix(@angular-devkit/build-angular): unpin browserslist and caniuse-lite
FIxes #17070 and fixes: #16790
2020-03-05 11:30:23 -08:00
Renovate Bot
1d9e9d6b81 build: update angular packages 2020-03-05 10:54:10 -08:00
Renovate Bot
0b961eb54e build: update terser to version 4.6.6 2020-03-04 12:55:44 -08:00
Charles Lyding
cb8d968c59 feat(@angular-devkit/build-angular): support TypeScript 3.8 2020-03-02 14:05:31 -08:00
Renovate Bot
ed355dca3f build: update sass to version 1.26.2 2020-03-02 12:13:58 -08:00
Renovate Bot
c596c504ed build: update webpack to version 4.42.0 2020-03-02 12:13:37 -08:00
Renovate Bot
2998e5e060 build: update angular packages 2020-02-28 12:28:15 -08:00
Renovate Bot
2618544425 build: update babel packages 2020-02-28 12:28:05 -08:00
Renovate Bot
1377772ec8 build: update rollup to version 1.32.0 2020-02-28 12:27:56 -08:00
Sachin Grover
14dc4fb818 fix(@angular-devkit/build-angular): allow function in filename while changing the name of compiling chunks
Fixes angular#17087
2020-02-26 12:26:45 -08:00
Renovate Bot
14179e8f1b build: update sass to version 1.26.1 2020-02-26 11:49:01 -08:00
Alan Agius
94c753c1a5 fix(@angular-devkit/build-angular): limit the amount of CPUs used by workers
See: https://github.com/angular/angular-cli/issues/16860#issuecomment-588828079
2020-02-25 10:28:25 -08:00
Renovate Bot
306ccfa063 build: update angular packages 2020-02-25 10:11:59 -08:00
Renovate Bot
8f35a9ae2f build: update file-loader to version 5.1.0 2020-02-25 10:11:33 -08:00
Renovate Bot
91febed676 build: update sass to version 1.26.0 2020-02-25 10:10:24 -08:00
Renovate Bot
ce90ae6125 build: update terser to version 4.6.4 2020-02-25 10:10:05 -08:00
Alan Agius
d29d40370a fix(@angular-devkit/build-angular): fix autoprefixer comments support in scss
Change Scss output style to `expanded` as otherwise sass will remove comments that are needed for autoprefixer when webpack is in prod mode because of the following implementation in `sass-loader`:
See: 45ad0be172/src/getSassOptions.js (L68-L70)

Fixes #17041
2020-02-24 12:52:12 -08:00
Alan Agius
4e65705205 fix(@angular-devkit/build-angular): baseHref with protocol and localize option
`posix.join` will dedupe double forward slashes resulting in incorrect protocol.

Closes: #17029
2020-02-24 12:39:47 -08:00
Sachin Grover
764b977de4 fix(@angular/cli): expand locale pattern in all schemas for all cases
Fixes: #17032
2020-02-24 12:39:35 -08:00
Renovate Bot
78cf0c7c32 build: update loader-utils to version 1.4.0 2020-02-24 12:37:15 -08:00
Alan Agius
d0cbc822f0 build: update tslib to 1.11.0
Spec helper change is related to https://github.com/microsoft/tslib/pull/90
2020-02-24 12:36:39 -08:00
Renovate Bot
4d571df0eb build: update ajv to version 6.12.0 2020-02-24 12:36:28 -08:00
Renovate Bot
54b1eeeb12 build: update find-cache-dir to version 3.3.0 2020-02-24 12:36:15 -08:00
Charles Lyding
5bd3b911ce refactor(@angular-devkit/build-angular): use localize babel plugins directly
With recent improvements in the performance of babel parsing and AST traversal, the localize babel plugins can now be leveraged directly.
2020-02-19 10:08:55 -08:00
Renovate Bot
35837abf9d build: update cacache to version 15.0.0 2020-02-18 12:44:45 -08:00
Alan Agius
9b7b2f0047 fix(@ngtools/webpack): add local dts file as dependencies
We now add non node_modules `.d.ts` as a dependency of the main chunk. This is important under Ivy, because NG metadata is now part of the declarations files ex:

```ts
export declare class FooComponent implements OnInit {
    constructor();
    ngOnInit(): void;
    static ɵfac: i0.ɵɵFactoryDef<FooComponent>;
    static ɵcmp: i0.ɵɵComponentDefWithMeta<FooComponent, "lib-foo", never, {}, {}, never>;
}
```

Previously such files were not being added as dependency and such files didn't get invalidated when changed.

Closes #16920 and closes #16921
2020-02-18 12:44:31 -08:00
Filipe Silva
a5bc1cd15b fix(@angular-devkit/build-angular): limit CPUs used by terser-webpack-plugin
Should help with https://github.com/angular/angular-cli/issues/16860#issuecomment-585751187
2020-02-18 12:44:01 -08:00
Renovate Bot
980a3fec6b build: update terser-webpack-plugin to version 2.3.5 2020-02-18 10:55:10 -08:00
Jonathan Garvey
d6c9693952 feat(@angular-devkit/build-angular): pass "grep" and "invertGrep"
Pass the "grep" and "invertGrep" flags through to the Angular Protractor
builder as "jasmineNodeOpts" so that individual specs within an E2E test
file can be targeted.

Fixes #13020
2020-02-18 10:53:27 -08:00