7628 Commits

Author SHA1 Message Date
Charles Lyding
2dd0cbd2e9 refactor(@angular/cli): inline @schematics/update:update schematic
This change removes the need for the `@schematics/update` package within the Angular tooling and removes the dependency from the `@angular/cli` package.
Only the `update` schematic from the `@schematics/update` package was used and this schematic's logic will eventually be folded into the update command logic directly.
2021-03-29 08:18:11 -06:00
Alan Agius
51cb3181ea fix(@angular-devkit/build-angular): validate scripts and styles bundleName
Closes #20360
2021-03-29 08:17:49 -06:00
Charles Lyding
aeebd14f04 perf(@ngtools/webpack): only check affected files for Angular semantic diagnostics
This change improves the performance of incremental type checking of Angular templates by reducing the number of calls to retrieve the diagnostics.
Only the set of affected files will be queried on a rebuild. The affected set includes files TypeScript deems affected, files that
are required to be emitted by the Angular compiler, and the original file for any TTC shim file that TypeScript deems affected.
2021-03-29 08:16:36 -06:00
Keen Yee Liau
81fcfb774f build: bump version to v12.0.0-next.7 2021-03-24 15:06:09 -04:00
Keen Yee Liau
8b691aef1b release: v12.0.0-next.6 v12.0.0-next.6 2021-03-24 11:12:57 -07:00
Alan Agius
f22f7e7371 feat(@schematics/angular): update new workspaces to use Karma 6.3 2021-03-24 13:35:25 -04:00
Renovate Bot
6a3a7b020b build: update semver to version 7.3.5 2021-03-24 09:48:08 -04:00
Renovate Bot
20a7f7b0d0 build: update karma to version 6.3.0 2021-03-24 09:47:36 -04:00
Keen Yee Liau
90a01968f4 build: determine version to publish from package.json
Currently, the version of a release is determined by the git tag.
This PR changes release script to determine the release version from the
`version` property in the root `package.json`.

Release docs have also been updated.
2021-03-24 09:17:24 -04:00
Alan Agius
c7e126609f feat(@schematics/angular): add production by default optional migration
With this change we add an optional migration to update Angular CLI workspace configurations to 'production' mode by default.

To run this migration use the below commands
```
ng update @angular/cli
ng update @angular/cli --migrate-only production-by-default
```
2021-03-24 09:16:50 -04:00
Renovate Bot
decb05b2fe build: update pacote to version 11.3.1 2021-03-23 12:11:38 -04:00
Renovate Bot
f6d9774559 build: update cacache to version 15.0.6 2021-03-23 12:11:30 -04:00
Renovate Bot
90536fd7f3 build: update babel packages 2021-03-23 12:07:03 -04:00
Renovate Bot
0b0a835216 build: update angular packages 2021-03-22 15:41:57 -04:00
Charles Lyding
ac4c109beb fix(@angular-devkit/build-angular): ensure output directory is present before writing stats JSON
If an error occurs during a build, it is possible that the output path directory may not be present and then cause the stats JSON file write to fail.

Fixes: #20349
2021-03-22 15:41:41 -04:00
Alan Agius
09daf7a7e0 fix(@schematics/angular): remove leftover workspace tslint config 2021-03-22 09:16:05 -04:00
Alan Agius
6916bc912b build: update @types/babel__core to version 7.1.14 2021-03-22 09:11:41 -04:00
Renovate Bot
e36c7e3cec build: update @types/babel__core to version 7.1.14 2021-03-22 09:11:41 -04:00
Renovate Bot
caafc6923e build: update open to version 8.0.4 2021-03-21 21:08:41 -04:00
Renovate Bot
6f6eca0f8e build: update husky to version 5.2.0 2021-03-21 21:08:16 -04:00
Renovate Bot
bc4c222ee4 build: update npm-pick-manifest to version 6.1.1 2021-03-19 18:36:19 -04:00
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