Skip to content

Commit

Permalink
Merge pull request #388 from guardian/dina/update-commercial-template…
Browse files Browse the repository at this point in the history
…s-readme-with-pnpm

Update docs after migration to pnpm
  • Loading branch information
deedeeh authored Jun 24, 2024
2 parents aac301f + f30949e commit c38204a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/svelte-template-authoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit c38204a

Please sign in to comment.