-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2182 from spryker/feature/cc-31334-chart-module-m…
…igration-guide CC-31334 Migration guide: Chart module.
- Loading branch information
Showing
4 changed files
with
58 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
_includes/pbc/all/upgrade-modules/upgrade-the-chart-module.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
## Upgrading from version 1.4.0 to version 1.5.0 | ||
|
||
In version 1.5.0 of the Chart module, we've updated the `plotly.js` dependency from version 1.54.5 to 2.26.0. For more details about the changes, see the [Chart module release page](https://github.com/spryker/chart/releases). | ||
|
||
Upgrade to the latest major version to incorporate the latest improvements and optimize both runtime and processing performance. | ||
|
||
|
||
*Estimated migration time: 15 min* | ||
|
||
To upgrade to the new version of the module, do the following: | ||
|
||
1. Upgrade the Chart module to the new version: | ||
|
||
```bash | ||
composer update spryker/chart:"^1.5.0" --update-with-dependencies | ||
``` | ||
|
||
2. The 1.5.0 module version requires an update of the `@spryker/oryx-for-zed` dependency to version 3.1 or later, as well as an update of the `webpack` dependency to version 5.88 or later at the project level. | ||
To perform the updates, in the root `package.json` file, update the dependencies to the following versions or newer: | ||
|
||
```json | ||
{ | ||
"@spryker/oryx-for-zed": "^3.1.0", | ||
"webpack": "^5.88.2" | ||
} | ||
``` | ||
|
||
3. Run and build the Back Office frontend: | ||
|
||
```bash | ||
docker/sdk cli npm install | ||
docker/sdk up --assets | ||
``` | ||
|
||
or | ||
|
||
```bash | ||
npm install && npm run zed | ||
``` |
8 changes: 8 additions & 0 deletions
8
...office/202307.0/install-and-upgrade/upgrade-modules/upgrade-the-chart-module.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
title: Upgrade the Chart module | ||
description: Use the guide to learn how to update the Chart module to a newer version. | ||
last_updated: Sep 18, 2023 | ||
template: module-migration-guide-template | ||
--- | ||
|
||
{% include pbc/all/upgrade-modules/upgrade-the-chart-module.md %} <!-- To edit, see /_includes/pbc/all/upgrade-modules/upgrade-the-chart-module.md --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters