From f30949ef0650c139c19b9d7c648b112cf275d168 Mon Sep 17 00:00:00 2001 From: Dina Hafez Date: Fri, 21 Jun 2024 15:24:22 +0100 Subject: [PATCH] Replace yarn with pnpm in docs --- README.md | 10 +++++----- docs/svelte-template-authoring.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 682f6844..e7d1d57e 100644 --- a/README.md +++ b/README.md @@ -20,14 +20,14 @@ found in the [`/legacy` folder](/legacy) ## Developing Locally -Once you've created a project and installed dependencies by running `yarn`, +Once you've created a project and installed dependencies by running `pnpm i`, start a development server: ```bash -yarn dev +pnpm dev # or start the server and open the app in a new browser tab -yarn dev --open +pnpm dev --open ``` When you change templates or shared components, the components will @@ -41,10 +41,10 @@ Deploying is done via building the project using the static adapter, and then pushing the `build` folder to the `gh-pages` branch. ```bash -yarn deploy +pnpm deploy ``` -> You can build the app by running `yarn build` and then preview it with `yarn preview`, +> You can build the app by running `pnpm build` and then preview it with `pnpm preview`, > regardless of whether you installed an adapter. > This should _not_ be used to serve your app in production. diff --git a/docs/svelte-template-authoring.md b/docs/svelte-template-authoring.md index 6c5369cc..9efb3a54 100644 --- a/docs/svelte-template-authoring.md +++ b/docs/svelte-template-authoring.md @@ -61,7 +61,7 @@ To learn more more about Svelte, you can [follow their tutorial](https://svelte. ## Viewing your template -Run `yarn dev` to start the local preview environment and head to [`http://localhost:7777`](http://localhost:7777) and click on your template in the list. +Run `pnpm dev` to start the local preview environment and head to [`http://localhost:7777`](http://localhost:7777) and click on your template in the list. You should see a preview and the code at the bottom of the page.