From 296bca5266dcfc4edcf98f3edfbca6a6edba1971 Mon Sep 17 00:00:00 2001 From: Melissa Luu Date: Mon, 12 Feb 2024 12:14:18 -0500 Subject: [PATCH] Add pnpm example to READMEs --- packages/graphql-client/README.md | 12 +++++++----- packages/storefront-api-client/README.md | 12 +++++++----- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/packages/graphql-client/README.md b/packages/graphql-client/README.md index 9312705d8..156d0cd95 100644 --- a/packages/graphql-client/README.md +++ b/packages/graphql-client/README.md @@ -4,18 +4,20 @@ The GraphQL Client can be used to interact with any Shopify's GraphQL APIs. Clie ## Getting Started -To install this package in a project, you can run either command in your terminal: +Using your preferred package manager, install this package in a project: -### Yarn -```bash +```sh yarn add @shopify/graphql-client ``` -### NPM -```bash +```sh npm install @shopify/graphql-client --s ``` +```sh +pnpm add -D @shopify/graphql-client +``` + ### CDN The UMD builds of each release version are available via the [`unpkg` CDN](https://unpkg.com/browse/@shopify/graphql-client@latest/dist/umd/) diff --git a/packages/storefront-api-client/README.md b/packages/storefront-api-client/README.md index f1f497d5b..bdc99e1ae 100644 --- a/packages/storefront-api-client/README.md +++ b/packages/storefront-api-client/README.md @@ -3,18 +3,20 @@ The Storefront API Client manages the API's authentication information and provides various methods that enables devs to interacts with the API. ## Getting started -To install this package in a project, you can run either command in your terminal: +Using your preferred package manager, install this package in a project: -### Yarn -```bash +```sh yarn add @shopify/storefront-api-client ``` -### NPM -```bash +```sh npm install @shopify/storefront-api-client --s ``` +```sh +pnpm add -D @shopify/storefront-api-client +``` + ### CDN The UMD builds of each release version are available via the [`unpkg` CDN](https://unpkg.com/browse/@shopify/storefront-api-client@latest/dist/umd/)