Repository navigation
Conversation
…ovide intellisense Add an appropriate `$schema` property in `ngsw-config.template.json` to allow IDEs to provide intellisense about the various fields of the config.
Prefix error messages with the Angular version currently used in the angular.io app. This applies to both errors logged to the console and reported to Google Analytics and makes debugging certain errors easier.
|
You can preview 6f46d15 at https://pr43687-6f46d15.ngbuilds.io/. |
6f46d15 to
15a734a
Compare
|
You can preview 15a734a at https://pr43687-15a734a.ngbuilds.io/. |
This commit updates angular.io to the latest stable version of the Angular framework (v12.2.8). Among other benefits, this version also includes the ServiceWorker fix from angular#43518, which fixes angular#28114. NOTE: This commit also makes the necessary changes to more closely align angular.io with new apps created with the latest stable Angular CLI. Fixes angular#28114
15a734a to
4667157
Compare
|
You can preview 4667157 at https://pr43687-4667157.ngbuilds.io/. |
4667157 to
e0b106f
Compare
This commit updates angular.io to the latest stable version of Angular CDK/Material (v12.2.8). NOTE: The payload size changes in styles are not entriely caused by this commit, since the limits where outdated. The actual size changes caused by this commit are ~100B per theme: - `light-theme`: 79217 --> 79320 - `dark-theme`: 79116 --> 79216
…ministic As explained in angular#43679, currently the generation of the `ngsw.json` SW manifest is non-deterministic and often incorrect. Until we can update to an `@angular/service-worker` version that includes the fix from PR angular#43679, we temporarily work-around the issue by re-generating the `ngsw.json` manifest after `ng build` using the `ngsw-config` binary exposed by `@angular/service-worker`. NOTE: This works around the issue, because the [FileSystem][1] class used by the `ngsw-config` binary happens to be synchronous (unlike the implementation provided by the Angular CLI), thus avoiding the race conditions described in angular#43679. [1]: https://github.com/angular/angular/blob/c721135e370b34c840756bcfb22c8119b4c8c452/packages/service-worker/cli/filesystem.ts#L15
| "uncompressed": { | ||
| "runtime-es2017": 4841, | ||
| "main-es2017": 462975, | ||
| "main-es2017": 463310, |
There was a problem hiding this comment.
Any idea what change in the Angular CLI causes this bump to the size?
There was a problem hiding this comment.
Nope 😃 But it's not necessarily the CLI. It could also be some change in the Angular framework packages (between v12.1.1 and v12.2.8). It didn't look like a significant enough change for me to look into in more detail 😅
petebacondarwin
left a comment
There was a problem hiding this comment.
Reviewed-for: size-tracking
jessicajaniuk
left a comment
There was a problem hiding this comment.
LGTM 🍪
reviewed-for: size-tracking
|
This PR was merged into the repository by commit 307da62. |
This commit updates angular.io to the latest stable version of the Angular framework (v12.2.8). Among other benefits, this version also includes the ServiceWorker fix from #43518, which fixes #28114. NOTE: This commit also makes the necessary changes to more closely align angular.io with new apps created with the latest stable Angular CLI. Fixes #28114 PR Close #43687
This commit updates angular.io to the latest stable version of Angular CDK/Material (v12.2.8). NOTE: The payload size changes in styles are not entriely caused by this commit, since the limits where outdated. The actual size changes caused by this commit are ~100B per theme: - `light-theme`: 79217 --> 79320 - `dark-theme`: 79116 --> 79216 PR Close #43687
…ministic (#43687) As explained in #43679, currently the generation of the `ngsw.json` SW manifest is non-deterministic and often incorrect. Until we can update to an `@angular/service-worker` version that includes the fix from PR #43679, we temporarily work-around the issue by re-generating the `ngsw.json` manifest after `ng build` using the `ngsw-config` binary exposed by `@angular/service-worker`. NOTE: This works around the issue, because the [FileSystem][1] class used by the `ngsw-config` binary happens to be synchronous (unlike the implementation provided by the Angular CLI), thus avoiding the race conditions described in #43679. [1]: https://github.com/angular/angular/blob/c721135e370b34c840756bcfb22c8119b4c8c452/packages/service-worker/cli/filesystem.ts#L15 PR Close #43687
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
…ovide intellisense (angular#43687) Add an appropriate `$schema` property in `ngsw-config.template.json` to allow IDEs to provide intellisense about the various fields of the config. PR Close angular#43687
…angular#43687) Prefix error messages with the Angular version currently used in the angular.io app. This applies to both errors logged to the console and reported to Google Analytics and makes debugging certain errors easier. PR Close angular#43687
…r#43687) This commit updates angular.io to the latest stable version of the Angular framework (v12.2.8). Among other benefits, this version also includes the ServiceWorker fix from angular#43518, which fixes angular#28114. NOTE: This commit also makes the necessary changes to more closely align angular.io with new apps created with the latest stable Angular CLI. Fixes angular#28114 PR Close angular#43687
…#43687) This commit updates angular.io to the latest stable version of Angular CDK/Material (v12.2.8). NOTE: The payload size changes in styles are not entriely caused by this commit, since the limits where outdated. The actual size changes caused by this commit are ~100B per theme: - `light-theme`: 79217 --> 79320 - `dark-theme`: 79116 --> 79216 PR Close angular#43687
…ministic (angular#43687) As explained in angular#43679, currently the generation of the `ngsw.json` SW manifest is non-deterministic and often incorrect. Until we can update to an `@angular/service-worker` version that includes the fix from PR angular#43679, we temporarily work-around the issue by re-generating the `ngsw.json` manifest after `ng build` using the `ngsw-config` binary exposed by `@angular/service-worker`. NOTE: This works around the issue, because the [FileSystem][1] class used by the `ngsw-config` binary happens to be synchronous (unlike the implementation provided by the Angular CLI), thus avoiding the race conditions described in angular#43679. [1]: https://github.com/angular/angular/blob/c721135e370b34c840756bcfb22c8119b4c8c452/packages/service-worker/cli/filesystem.ts#L15 PR Close angular#43687
See individual commits for details.
This is the equivalent of #43686, but for the 12.2.x branch.
Fixes #28114.