From 37b197d464b2048b15dc5345f89be59232f91e4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=91=9E=E4=B8=B0?= Date: Sat, 7 Oct 2023 18:02:51 +0800 Subject: [PATCH] Update first-server.mdx (#11) --- src/content/docs/guides/first-server.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/content/docs/guides/first-server.mdx b/src/content/docs/guides/first-server.mdx index 12ad3a2..026ffda 100644 --- a/src/content/docs/guides/first-server.mdx +++ b/src/content/docs/guides/first-server.mdx @@ -52,7 +52,7 @@ In order to be able to have both the language server and the VS Code client in t ```sh -# create a new project with npm +# create a new monorepo project with npm npm init -w ./packages/server npm init -w ./packages/client ``` @@ -61,7 +61,7 @@ npm init -w ./packages/client ```sh -# create a new project with pnpm +# create a new monorepo project with pnpm mkdir -p ./packages/server ./packages/client echo -e 'packages:\n - "packages/*"' > pnpm-workspace.yaml # Go into both newly created folders in packages and run `pnpm init` @@ -71,7 +71,7 @@ echo -e 'packages:\n - "packages/*"' > pnpm-workspace.yaml ```sh -# create a new project with yarn +# create a new monorepo project with yarn yarn init -w ./packages/server yarn init -w ./packages/client ``` @@ -111,7 +111,7 @@ We'll also be installing a few dependencies from Volar and VS Code. Run the foll ```sh -# create a new project with npm +# Installing dependencies with npm npm install @volar/language-server @volar/vscode vscode-languageclient ../server ``` @@ -119,7 +119,7 @@ npm install @volar/language-server @volar/vscode vscode-languageclient ../server ```sh -# create a new project with pnpm +# Installing dependencies with pnpm pnpm install @volar/language-server @volar/vscode vscode-languageclient ../server ``` @@ -127,7 +127,7 @@ pnpm install @volar/language-server @volar/vscode vscode-languageclient ../serve ```sh -# create a new project with yarn +# Installing dependencies with yarn yarn install @volar/language-server @volar/vscode vscode-languageclient ../server ```