You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
8. Generate mirrors for the new versions of rules_nodejs and rules_sass and
303
303
update the WORKSPACE file with the new "http://mirror.tensorflow.org/" URLs.
304
304
Googlers, see information at go/tensorboard-tf-mirror.
305
+
306
+
## Updating Angular
307
+
308
+
Angular is the UI framework we use for most new UI functionality. A new major
309
+
version of Angular is released every 6 months and, so, we try to upgrade our
310
+
Angular dependency at least twice a year.
311
+
312
+
Helpful documents, especially for determining correct versions of dependencies:
313
+
* Angular upgrade docs at https://update.angular.io/
314
+
* For example: [Angular 13 to 14 upgrade](https://update.angular.io/?l=3&v=13.0-14.0 )
315
+
* Ngrx upgrade docs at https://dev.to/ngrx
316
+
* For example, [Ngrx 14 upgrade announcement](https://dev.to/ngrx/announcing-ngrx-v14-action-groups-componentstore-lifecycle-hooks-eslint-package-revamped-ngrx-component-and-more-18ck)
317
+
* Npm website at https://www.npmjs.com/
318
+
* For example, [lookup the available versions of `@angular/core`](https://www.npmjs.com/package/@angular/core)
319
+
320
+
When upgrading Angular we generally must consider upgrading the following
321
+
dependencies listed in `package.json`. They should be upgraded using
322
+
`yarn upgrade` as described
323
+
[in this section](#adding-updating-or-removing-frontend-dependencies).
324
+
325
+
* All `@angular/*` and `@angular-devkit/*` dependencies.
326
+
* Except `@angular/build-tooling`, for which we currently don't have any
327
+
upgrade policy/guidance. It is acceptable to leave this alone unless you
328
+
discover a need to upgrade it.
329
+
* Most of these should be upgraded to the ~same version. The easiest is to
330
+
upgrade to the latest version for each subdependency (within the major
331
+
series being upgraded to).
332
+
*`typescript`
333
+
* The Angular and Ngrx upgrade documents will explain which version is
334
+
expected.
335
+
* All `@ngrx/*` dependencies.
336
+
* Ngrx should be on the same major version as Angular.
337
+
*`rxjs`
338
+
* The Ngrx upgrade documentation will explain which version of rxjs to
339
+
upgrade to.
340
+
*`zone.js`
341
+
* This is generally not well documented. You can attempt to upgrade to
342
+
the latest version but sometimes you have to guess at the most recent
343
+
version that is compatible with the version of Angular.
344
+
*`ngx-color-picker`
345
+
* Similarly, the latest version might be fine but you also might have to guess
346
+
at the most recent version that is compatible with the version fo Angular.
0 commit comments