Skip to content

Commit 29d405c

Browse files
Merge pull request #6 from zenn-dev/fix-pnpm-installation
pnpmのインストール方法を修正
2 parents 6b56c58 + 06905da commit 29d405c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docs/guides/zenn-editor/index.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,16 @@ zenn-editor リポジトリは [pnpm](https://pnpm.io/ja/) + [Turborepo](https:/
1212

1313
```shell
1414
$ git clone https://github.com/zenn-dev/zenn-editor.git
15+
16+
# pnpmをcorepackでインストールする場合は以下を実行
17+
$ corepack enable pnpm
18+
1519
$ pnpm install
1620
```
1721

18-
:::caution
19-
上記のコマンドを実行するには、事前に pnpm のインストールが必要です。<br />
20-
インストール方法: https://pnpm.io/ja/installation
22+
:::note
23+
pnpm のインストールには corepack を使用することを推奨します。<br />
24+
corepack を使用しない場合は、corepack の[インストール方法](https://pnpm.io/ja/installation)を参照してインストールしてください。
2125
:::
2226

2327

@@ -56,4 +60,4 @@ zenn-editor では、ビルドやテストなどを実行する時に使用し
5660

5761
[lerna](https://lerna.js.org/) から `version``publish` 機能だけを抜き出したバージョン管理ツールです。
5862
基本的な使い方は lerna と一緒ですが、多くの Monorepo 機能はデフォルトでは含まれていないことに注意してください。
59-
zenn-editor では、workspace をリリースする際に使用しています。
63+
zenn-editor では、workspace をリリースする際に使用しています。

0 commit comments

Comments
 (0)