7607 Commits

Author SHA1 Message Date
Renovate Bot
e4d3437d2b build: update angular packages 2021-03-19 10:54:04 -04:00
Renovate Bot
fbae26c87d build: update npm-package-arg to version 8.1.2 2021-03-19 10:53:50 -04:00
Renovate Bot
0931e37f30 build: update open to version 8.0.3 2021-03-19 10:53:19 -04:00
Alan Agius
e469348c1d ci: update sauce browsers 2021-03-19 09:33:40 -04:00
Alan Agius
7268de9cbc ci: update sauce-connect-proxy to 4.6.4 2021-03-19 09:33:40 -04:00
Charles Lyding
5895105947 test(@angular-devkit/build-angular): reduce build time in browser builder watch test
This change removes application code during the test which is not needed for the watch option test.
2021-03-19 06:42:41 -04:00
Charles Lyding
2041c70f76 test(@angular-devkit/build-angular): add dev-server builder deployUrl behavior tests
This change adds expanded unit tests for the dev-server builder's build deploy URL behavior using the builder test harness.
2021-03-19 06:42:41 -04:00
Charles Lyding
352416fea8 test(@angular-devkit/build-angular): add dev-server builder publicHost option
This change adds expanded unit tests for the dev-server builder's `publicHost` option using the builder test harness.
2021-03-19 06:42:41 -04:00
Charles Lyding
888ac92127 test(@angular-devkit/build-angular): add dev-server builder disableHostCheck option
This change adds expanded unit tests for the dev-server builder's `disableHostCheck` option using the builder test harness.
2021-03-19 06:42:41 -04:00
Doug Parker
892adf76a0 release: v12.0.0-next.5
The version in `latest-versions.ts` is incremented by 2 because we forgot to update it for the previous release. The correct version is `12.0.0-next.5`.
v12.0.0-next.5
2021-03-18 11:28:50 -07:00
Alan Agius
9c91af6579 build: sort changelog by commit message scope
Previously `a.type - b.type` always returned NaN, which broke sorting
2021-03-18 19:09:53 +01:00
Alan Agius
d50810a3a6 build: update changelog to include perf commits 2021-03-18 17:16:40 +01:00
Charles Lyding
aec0078404 ci: fix component-path-case E2E test on Windows CI
Windows CI is failing when trying to use the common test cleanup routine for the `generate/component/component-path-case` E2E test. This fix manually removes the newly created directory within the test.
2021-03-18 17:16:25 +01:00
Alan Agius
2616ef0d3f feat(@angular-devkit/build-angular): integrate JIT mode linker
With this change we intergate JIT mode linker into the Angular CLI.

Closes #20281
2021-03-18 15:38:52 +01:00
Renovate Bot
8862a9f07c build: update ora to version 5.4.0 2021-03-18 12:15:24 +01:00
Renovate Bot
2e3bd24e6e build: update angular packages 2021-03-18 10:45:34 +01:00
Doug Parker
c0ed68d614 docs: update yarn command to freeze lockfile.
In today's release, running `yarn` modified the `yarn.lock` file, which is not desireable for releases which should be as close to CI as possible. This updates the docs to freeze the lockfile (similar to `npm ci`) to avoid changing dependency verisons mid-release.
2021-03-18 10:44:33 +01:00
Renovate Bot
4739cebe5e build: update terser to version 5.6.1 2021-03-18 10:43:51 +01:00
Alan Agius
617e038a0a build: update jasmine-core to version 3.7.0 2021-03-18 10:43:39 +01:00
Renovate Bot
94cfbf7f10 build: update jasmine-core to version 3.7.0 2021-03-18 10:43:39 +01:00
Renovate Bot
f23667ed0b build: update critters to version 0.0.9 2021-03-18 10:43:31 +01:00
cexbrayat
870173633a fix(@schematics/angular): use title for svg on home page
The SVGs are using `alt` which is not valid HTML. The W3C validator throws:

    Attribute alt not allowed on element svg at this point.

This commit updates the home page to use a proper `title` for accessibility.
2021-03-18 10:43:16 +01:00
Charles Lyding
583fc2a0d4 test(@angular/cli): fully test update process in update from v8 E2E
This commit changes the update-8 E2E test to use the recommended update procedure of updating one major version at a time.
2021-03-18 08:10:04 +01:00
Doug Parker
4a4ac66623 Revert "release: v12.0.0-next.5"
This reverts commit ec36583f35bf450fe6a553addfb91d4964582a5c.

CI is failing due to recent changes to update e2e tests.
2021-03-17 16:46:09 -07:00
Doug Parker
ec36583f35 release: v12.0.0-next.5
`latestVersions.ts` is incrementing by 2, because the previous release forgot to update it.
2021-03-17 12:03:19 -07:00
Alan Agius
79856644b4 feat(@angular/cli): support TypeScript 4.2
BREAKING CHANGE

Drop support for TypeScript versions prior to 4.2.3
2021-03-17 19:32:01 +01:00
Alan Agius
b1fa5bd1bf test(@schematics/angular): update version 8 migration to use NPM packages
This is needed as otherwise the installation of older packages will fai.
2021-03-17 19:06:37 +01:00
Alan Agius
0199170ec7 refactor(@schematics/angular): remove DevkitBuildNgPackagr and DevkitBuildWebpack from latest-versions 2021-03-17 19:06:37 +01:00
Kristiyan Kostadinov
1525e7ab2c feat(@angular-devkit/build-angular): expose legacy-migrate message format
We recently added a new message format called `legacy-extract` that is used to migrate between
legacy and canonical message IDs (see https://github.com/angular/angular/pull/41026).

These changes expose the new format in `extract-i18n`.
2021-03-17 18:27:22 +01:00
Alan Agius
d37f731f40 test(@angular/cli): add ng add e2e tests to yarn subset 2021-03-17 18:24:15 +01:00
Renovate Bot
02b7862813 build: update angular packages 2021-03-17 13:33:25 +01:00
Renovate Bot
97f05ad986 build: update verdaccio to version 4.12.0 2021-03-17 13:16:55 +01:00
Charles Lyding
8e5b83ba66 test(@angular-devkit/build-angular): avoid crashing during test failure in utility function
Previously, if a browser build failed using the `browserBuild` test utility function, the test utility would try to access properties that did not exist and would crash. This increased the complexity to debug failing tests. With the new behavior, the `browserBuild` test utility will return with an empty `files` object and the failed builder result.
2021-03-17 11:28:14 +01:00
Charles Lyding
2327ddc2f9 fixup! fix(@ngtools/webpack): remove Webpack 5 deprecation warning in resource loader 2021-03-17 11:27:53 +01:00
Charles Lyding
3504c43e48 fix(@ngtools/webpack): remove Webpack 5 deprecation warning in resource loader
This change adds support for using the Webpack `processAssets` hook to handle the resource loader child compilation's assets. This new hook is the recommended way to process assets in Webpack 5+.
2021-03-17 11:27:53 +01:00
Charles Lyding
d5645675fd fix(@angular-devkit/build-angular): support writing large Webpack stat outputs
When using the `statsJson` browser builder option, the resulting JSON data is now streamed into a file instead of written in one large block.  This mitigates crashes due to the generated string exceeded the Node.js limit.
2021-03-17 11:27:27 +01:00
Alan Agius
f815e08000 refactor(@angular-devkit/build-angular): deprecate showCircularDependencies 2021-03-16 16:42:45 +01:00
Alan Agius
871480a6aa test(@angular-devkit/build-angular): change showCircularDependencies tests to use new test harness 2021-03-16 16:42:45 +01:00
Alan Agius
00ff390fea perf(@angular-devkit/build-angular): disable showCircularDependencies by default
Change the default of this flag to disabled by default as this is a caused of rebuild performance degradation for large projects.

BREAKING CHANGE

The server and browser builder `showCircularDependencies` option default value has been changed from `true` to `false`.
2021-03-16 16:42:45 +01:00
Alan Agius
cc10302fd7 refactor(@angular/cli): add more actionable missing lint target message 2021-03-16 15:49:46 +01:00
Alan Agius
fe5c3e05f9 test(@angular-devkit/build-angular): remove tslint E2E tests 2021-03-16 15:49:46 +01:00
Alan Agius
226a8d274d feat(@schematics/angular): remove tslint and codelyzer from new projects
Both of these projects and the tslint builder are deprecated.

Closes #20105 and closes #18465
2021-03-16 15:49:46 +01:00
Charles Lyding
b6d693fcd3 refactor(@ngtools/webpack): reduce complexity of resource loader processing
The resource loader used to process component styles and templates has been changed to be fully typed and to leverage more of Webpack's child compilation APIs.
The later of which removes the need to manually propagate most information from the child compilation to the parent compilation.
2021-03-16 12:16:03 +01:00
Renovate Bot
1b89617634 build: update @types/babel__core to version 7.1.13 2021-03-16 11:23:59 +01:00
Mouad Ennaciri
ee4918db40 fix(@schematics/angular): remove Native value from viewEncapsulation option 2021-03-16 08:57:42 +01:00
Alan Agius
6cc8c26083 refactor(@ngtools/webpack): remove suppressZoneJsIncompatibilityWarning option
BREAKING CHANGE

`suppressZoneJsIncompatibilityWarning` option has been removed. If you are using this plugin directly and `async/await` in ES2017 make sure you downlevel the async syntax using Babel.

See: https://github.com/angular/zone.js/pull/1140 for more information.
2021-03-15 20:31:25 +01:00
Alan Agius
0420f1a0d7 refactor(@angular-devkit/build-angular): remove differential loading with targets ES2016+ warning 2021-03-15 20:31:25 +01:00
Alan Agius
74537a11d4 test(@angular-devkit/build-angular): update tests to reflect the change in ES targets 2021-03-15 20:31:25 +01:00
Alan Agius
81129e12d0 feat(@schematics/angular): update several TypeScript compilation target (Syntax)
With this change we update the TypeScript target of server compilation unit for new projects.

- E2E target has been update from `es2018` to `es2019`
- Browser target has been update from `es2015` to `es2017`
- Server target has been update from `es2016` to `es2019`
2021-03-15 20:31:25 +01:00
Charles Lyding
6fd4da2ebf refactor(@angular-devkit/build-angular): use Webpack builder result provided output path
By using the output path provided directly by the Webpack builder's result, one additional reason for using the expensive `Stats.toJson` call is removed.
This change also removes multiple linting disable rule comments now that the output path property is guaranteed to be present.
2021-03-15 17:45:11 +01:00