ohayolibs
Version:
Ohayo is a set of essential modules for ohayojp.
33 lines (23 loc) • 953 B
Markdown
order: 11
type: Basic
title: Upgrade to version 10.0
hot: true
## Note: This article only describes the ohayojp part. For details about the NG-ZORRO part, please refer to [#5775](https://github.com/NG-ZORRO/ng-zorro-antd/issues/5775).
## Before upgrade
1. Make sure `Node.js` >= `10.13`.
2. Create a new branch, or use other methods to back up the current project.
3. Delete the `package-lock.json` or `yarn.lock` file.
## 1. Upgrade
This description refers to the description of the upgrade from `9.x` to `10`; ohayojp only needs one lines of commands:
```bash
ng update @angular/core @angular/cli ng-zorro-antd ohayojp
```
## 2. Remove deprecation
Remove all deprecation items declared in `9.x`, including the following:
| Package | Component | Deprecation |
|---|----|-----|
| `@ohayo/chart` | `tag-cloud` | Date item `x`, `category` |
| `@ohayo/chart` | `timeline` | Date item `x` |
| `@ohayo/util` | `lazy` | `LazyResult.loaded` |