From 05ce24e7998874e8f20bb351aa63798444d08149 Mon Sep 17 00:00:00 2001 From: Caleb Hyatt Date: Fri, 15 Nov 2024 12:22:49 -0500 Subject: [PATCH 1/4] docs: making install commands consistent (#638) --- .github/workflows/ci.yml | 6 +++--- .github/workflows/linter.yml | 2 +- docs/angular.md | 4 +++- docs/astro.md | 4 +++- docs/gatsby.md | 2 ++ docs/nextjs.md | 4 +++- docs/nuxt.md | 4 +++- docs/react.md | 2 ++ docs/remix.md | 2 ++ docs/shopify-hydrogen.md | 2 ++ docs/solid.md | 8 +++++++- 11 files changed, 31 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27f8424a..5aa3d401 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: - name: Checkout uses: actions/checkout@v4.1.1 - - uses: pnpm/action-setup@v2.2.4 + - uses: pnpm/action-setup@v4.0.0 - name: Setup Node uses: actions/setup-node@v4.0.2 @@ -52,7 +52,7 @@ jobs: - name: Checkout uses: actions/checkout@v4.1.1 - - uses: pnpm/action-setup@v2.2.4 + - uses: pnpm/action-setup@v4.0.0 - name: Setup Node uses: actions/setup-node@v4.0.2 @@ -89,7 +89,7 @@ jobs: - name: Checkout uses: actions/checkout@v4.1.1 - - uses: pnpm/action-setup@v2.2.4 + - uses: pnpm/action-setup@v4.0.0 - name: Setup Node uses: actions/setup-node@v4.0.2 diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 6f1b2df9..12351ba0 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -20,7 +20,7 @@ jobs: - name: Checkout uses: actions/checkout@v4.1.1 - - uses: pnpm/action-setup@v2.2.4 + - uses: pnpm/action-setup@v4.0.0 - name: Setup Node uses: actions/setup-node@v4.0.2 diff --git a/docs/angular.md b/docs/angular.md index 469704af..1766fa85 100644 --- a/docs/angular.md +++ b/docs/angular.md @@ -9,7 +9,9 @@ To setup Partytown in an Angular project take the following steps. Run the command below to install the dependencies ```bash -npm install @builder.io/partytown # or yarn add @builder.io/partytown +npm install @builder.io/partytown +yarn add @builder.io/partytown +pnpm install @builder.io/partytown ``` Add the path to the Partytown JS files into the assets array in your `angular.json` file diff --git a/docs/astro.md b/docs/astro.md index fb1cc2c3..58dc9863 100644 --- a/docs/astro.md +++ b/docs/astro.md @@ -9,7 +9,9 @@ There is a first-class [Astro integration for partytown](https://github.com/with Astro includes a CLI tool for adding integrations. Using the `astro add` command will automatically install Partytown and configure your project. ```bash -yarn astro add partytown # or npx astro add partytown +npx astro add partytown +yarn astro add partytown +pnpx astro add partytown ``` ## Partytown Script diff --git a/docs/gatsby.md b/docs/gatsby.md index 0fa0807d..b3734eb8 100644 --- a/docs/gatsby.md +++ b/docs/gatsby.md @@ -10,6 +10,8 @@ For additional information, please see [How to Add Google Analytics gtag to Gats ```bash npm install @builder.io/partytown +yarn add @builder.io/partytown +pnpm install @builder.io/partytown ``` ## Configure diff --git a/docs/nextjs.md b/docs/nextjs.md index 36d5e6b6..4dc5fa76 100644 --- a/docs/nextjs.md +++ b/docs/nextjs.md @@ -14,7 +14,9 @@ The Next.js ` - -