Skip to content

Commit

Permalink
Merge branch 'LYNX-670-fix-2' of https://github.com/hlxsites/aem-boil…
Browse files Browse the repository at this point in the history
…erplate-commerce into LYNX-670-fix-2
  • Loading branch information
bl4de committed Jan 28, 2025
2 parents 154bfcb + a756355 commit 34b8492
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ npm i

## Updating Drop-in dependencies

You may need to update one of the drop-in component, or `@adobe/magento-storefront-event-collector` or `@adobe/magento-storefront-events-sdk` to a new version. Besides checking the release notes for any breaking changes, ensure you also execute the `postinstall` script so that the dependenices in your `scripts/__dropins__` directory are updated to the latest build. That should be run immediately after you update the component, for example:
You may need to update one of the drop-in components, or `@adobe/magento-storefront-event-collector` or `@adobe/magento-storefront-events-sdk` to a new version. Besides checking the release notes for any breaking changes, ensure you also execute the `postinstall` script so that the dependenices in your `scripts/__dropins__` directory are updated to the latest build. This should be run immediately after you update the component, for example:

```
npm install @dropins/[email protected].0
npm run postinstall
npm install @dropins/[email protected]. # Updates the storefront-cart dependency in node_modules/
npm run postinstall # Copies scripts from node_modules into scripts/__dropins__
```

This is a custom script which copies files out of `node_modules` and into a local directory which EDS can serve. And you must manually run `postinstall` due to a design choice in `npm` which does not execute `postinstall` after you install a _specific_ package.
This is a custom script which copies files out of `node_modules` and into a local directory which EDS can serve. You must manually run `postinstall` due to a design choice in `npm` which does not execute `postinstall` after you install a _specific_ package.

## Linting

Expand Down

0 comments on commit 34b8492

Please sign in to comment.