Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [[5.7.1](https://github.com/multiversx/mx-sdk-dapp/pull/1735)] - 2026-07-13

- [Migrate Yarn to pnpm](https://github.com/multiversx/mx-sdk-dapp/pull/1736)
- [Update Ledger Provider to 8.2.0](https://github.com/multiversx/mx-sdk-dapp/pull/1734)

## [[5.7.0](https://github.com/multiversx/mx-sdk-dapp/pull/1733)] - 2026-07-02
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ See [Template dApp](https://template-dapp.multiversx.com/) for live demo or chec

## Installation

The library can be installed via npm or yarn.
The library can be installed via npm or pnpm.

```bash
npm install @multiversx/sdk-dapp
Expand All @@ -49,7 +49,7 @@ npm install @multiversx/sdk-dapp
or

```bash
yarn add @multiversx/sdk-dapp
pnpm add @multiversx/sdk-dapp
```

> **Note:** Make sure you run your app on `https`, not `http`, otherwise some providers will not work.
Expand Down
8 changes: 4 additions & 4 deletions scripts/template-dapps-integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ echo "git checkout development..."
git checkout development

echo "Installing dependencies mx-template-dapp..."
yarn install
pnpm install --frozen-lockfile

echo "Linking mx-sdk-dapp..."
yalc add @multiversx/sdk-dapp

echo "Building mx-template-dapp..."
yarn build-devnet
pnpm build-devnet

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

When migrating from Yarn to pnpm, yalc add modifies package.json to point to the local .yalc directory, but pnpm's content-addressable store and symlink structure require a subsequent pnpm install to actually link the package in node_modules. Without running pnpm install after yalc add, the build step will use the registry version of @multiversx/sdk-dapp instead of the locally built one. Since package.json was modified, run pnpm install --no-frozen-lockfile before building.

Suggested change
pnpm build-devnet
pnpm install --no-frozen-lockfile
pnpm build-devnet



# Consume mx-sdk-dapp in mx-template-dapp-nextjs
Expand All @@ -54,12 +54,12 @@ echo "cd mx-template-dapp-nextjs..."
cd mx-template-dapp-nextjs

echo "Installing dependencies mx-template-dapp-nextjs..."
yarn install
pnpm install --frozen-lockfile

echo "Linking mx-sdk-dapp..."
yalc add @multiversx/sdk-dapp

echo "Building mx-template-dapp-nextjs..."
yarn build:devnet
pnpm build:devnet

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Similarly, for mx-template-dapp-nextjs, pnpm install --no-frozen-lockfile must be run after yalc add to ensure the local package is correctly symlinked in node_modules before building.

Suggested change
pnpm build:devnet
pnpm install --no-frozen-lockfile
pnpm build:devnet


echo "Script executed successfully!"
Loading