From 3768006545b838bd74c450044a0330853dae7e88 Mon Sep 17 00:00:00 2001 From: Jun Shindo <46585162+jay-es@users.noreply.github.com> Date: Sat, 12 Oct 2024 21:58:12 +0900 Subject: [PATCH] docs: change npm and pnpm to be lowercase --- guide/features.md | 2 +- guide/index.md | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/guide/features.md b/guide/features.md index e9766031..f9a3b0ed 100644 --- a/guide/features.md +++ b/guide/features.md @@ -2,7 +2,7 @@ 基本的に、Vite を使用した開発は静的ファイルサーバーを使用した時とそれほど変わりません。しかし、Vite はバンドラーベースのセットアップで一般的な機能をサポートするためにネイティブ ESM をインポートすることで様々な拡張機能を提供します。 -## NPM の依存関係の解決と事前バンドル +## npm の依存関係の解決と事前バンドル ネイティブ ES のインポートは次のような生のモジュールをサポートしていません: diff --git a/guide/index.md b/guide/index.md index 6d6ce937..8fcc80d4 100644 --- a/guide/index.md +++ b/guide/index.md @@ -49,7 +49,7 @@ Vite は [Node.js](https://nodejs.org/en/) 18+ または 20+ のバージョン ::: code-group -```bash [NPM] +```bash [npm] $ npm create vite@latest ``` @@ -57,7 +57,7 @@ $ npm create vite@latest $ yarn create vite ``` -```bash [PNPM] +```bash [pnpm] $ pnpm create vite ``` @@ -73,7 +73,7 @@ $ bun create vite ::: code-group -```bash [NPM] +```bash [npm] # npm 7+ は追加で 2 つのダッシュが必要: $ npm create vite@latest my-vue-app -- --template vue ``` @@ -82,7 +82,7 @@ $ npm create vite@latest my-vue-app -- --template vue $ yarn create vite my-vue-app --template vue ``` -```bash [PNPM] +```bash [pnpm] $ pnpm create vite my-vue-app --template vue ``` @@ -118,7 +118,7 @@ npm run dev ::: code-group -```bash [NPM] +```bash [npm] $ npm install -D vite ``` @@ -126,7 +126,7 @@ $ npm install -D vite $ yarn add -D vite ``` -```bash [PNPM] +```bash [pnpm] $ pnpm add -D vite ``` @@ -146,7 +146,7 @@ $ bun add -D vite ::: code-group -```bash [NPM] +```bash [npm] $ npx vite ``` @@ -154,7 +154,7 @@ $ npx vite $ yarn vite ``` -```bash [PNPM] +```bash [pnpm] $ pnpm vite ```