Skip to content

Commit

Permalink
Merge pull request #1901 from spryker/move-migration-guide
Browse files Browse the repository at this point in the history
Move MG to 202212.0 and add it to the sidebar
  • Loading branch information
Vadym Sachenko authored Jun 7, 2023
2 parents d2fc773 + 8fc370e commit 6960409
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions _data/sidebars/scos_dev_sidebar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3900,6 +3900,10 @@ entries:
url: /docs/scos/dev/front-end-development/migration-guide-upgrade-to-webpack-v5.html
- title: Migration guide - Switch from TSLint to ESLint
url: /docs/scos/dev/front-end-development/migration-guide-switch-from-tslint-to-eslint.html
- title: Migration guide - Upgrade Node.js to v18 and npm to v9
url: /docs/scos/dev/front-end-development/migration-guide-upgrade-nodejs-to-v18-and-npm-to-v9.html
include_versions:
- "202212.0"
- title: Migration concepts
url: /docs/scos/dev/migration-concepts/migration-concepts.html
nested:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: Migration guide - Upgrade Node.js to v18 and npm to v9
last_updated: May 16, 2023
description: Use this guide to upgrade Node.js to v18 and npm to v9.
template: concept-topic-template
redirect_from:
- /docs/scos/dev/front-end-development/202304.0/migration-guide-upgrade-nodejs-to-v18-and-npm-to-v9.html
---

This document provides instructions for upgrading Node.js to v18 and npm to v9.
Expand Down Expand Up @@ -37,7 +39,7 @@ To ensure the CI jobs run successfully, add the same config part to all `deploy.
18.16.0
```

3. In the `package.json`, update or add dependencies and engines:
3. In `package.json`, update or add dependencies and engines:

```json
{
Expand All @@ -61,7 +63,7 @@ To ensure the CI jobs run successfully, add the same config part to all `deploy.
}
```

4. In the `package.json`, remove the dependency :
4. In `package.json`, remove the dependency:

```json
"@spryker/sass-resources-loader": "x.x.x"
Expand Down Expand Up @@ -110,7 +112,7 @@ docker/sdk cli npm install

{% info_block infoBox "Note" %}

Ensure that the `package-lock.json` file has `"lockfileVersion": 2` or later; otherwise, remove `node_modules` and `package-lock.json` and regenerate the file again.
Ensure that the `package-lock.json` file has `"lockfileVersion": 2` or later; otherwise, remove `node_modules` and `package-lock.json` and regenerate the file again:

```bash
rm -rf node_modules && docker/sdk cli rm -rf node_modules && rm -rf package-lock.json
Expand Down

0 comments on commit 6960409

Please sign in to comment.