Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[i18nIgnore]: Fix pnpm command #6968

Merged
merged 2 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/docs/ar/editor-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro'
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install -D prettier prettier-plugin-astro
pnpm add -D prettier prettier-plugin-astro
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/de/guides/deploy/cloudflare.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Nachdem du deine Assets hochgeladen hast, gibt dir Wrangler eine Vorschau-URL, m
Damit die Vorschau funktioniert, musst du `wrangler` installieren

```bash
pnpm install wrangler --save-dev
pnpm add wrangler --save-dev
```

Es ist dann möglich, das Vorschauskript zu aktualisieren, um `wrangler` anstelle des in Astro eingebauten Vorschau-Befehls auszuführen:
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/de/guides/fonts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Das [Fontsource](https://fontsource.org/)-Projekt ermöglicht die Verwendung von
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install @fontsource/twinkle-star
pnpm add @fontsource/twinkle-star
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/de/guides/rss.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Das `@astrojs/rss`-Paket bietet Hilfsfunktionen zur Erzeugung von RSS-Feeds mith
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install @astrojs/rss
pnpm add @astrojs/rss
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/de/guides/typescript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Wenn du nicht VSCode verwendest, kannst du das [Astro TypeScript Plugin](https:/
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install @astrojs/ts-plugin
pnpm add @astrojs/ts-plugin
```
</Fragment>
<Fragment slot="yarn">
Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/de/guides/upgrade-to/v2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ Aktualisiere die Astro-Version deines Projekts mit deinem Paketmanager auf die n
<Fragment slot="pnpm">
```shell
# Upgrade auf Astro v2.x
pnpm install astro@latest
pnpm add astro@latest

# Beispiel: React- und Tailwind-Integrationen aktualisieren
pnpm install @astrojs/react@latest @astrojs/tailwind@latest
pnpm add @astrojs/react@latest @astrojs/tailwind@latest
```
</Fragment>
<Fragment slot="yarn">
Expand Down
6 changes: 3 additions & 3 deletions src/content/docs/de/guides/upgrade-to/v3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ Aktualisiere die Astro-Version deines Projekts mit deinem Paketmanager auf die n
<Fragment slot="pnpm">
```shell
# Upgrade auf Astro v3.x
pnpm install astro@latest
pnpm add astro@latest

# Beispiel: React- und Tailwind-Integrationen aktualisieren
pnpm install @astrojs/react@latest @astrojs/tailwind@latest
pnpm add @astrojs/react@latest @astrojs/tailwind@latest
```
</Fragment>
<Fragment slot="yarn">
Expand Down Expand Up @@ -522,7 +522,7 @@ Astro v3.0 enthält jetzt standardmäßig Sharp als Bildverarbeitungsdienst und
Bei Verwendung eines [strikten Paketmanagers](https://pnpm.io/pnpm-vs-npm#npms-flat-tree) wie `pnpm` musst du möglicherweise Sharp manuell in dein Projekt installieren, obwohl es eine Abhängigkeit von Astro ist:

```bash
pnpm install sharp
pnpm add sharp
```
:::

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/de/reference/api-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ Um die Textmarker-Komponente `Prism` zu verwenden, musst du zuerst das Paket `@a
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install @astrojs/prism
pnpm add @astrojs/prism
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/en/guides/deploy/google-firebase.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Deploying an SSR Astro site to Firebase requires the [Blaze plan](https://fireba
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install firebase-tools
pnpm add firebase-tools
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/en/guides/images.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ If the image is merely decorative (i.e. doesn’t contribute to the understandin
When using a [strict package manager](https://pnpm.io/pnpm-vs-npm#npms-flat-tree) like `pnpm`, you may need to manually install Sharp into your project even though it is an Astro dependency:

```bash
pnpm install sharp
pnpm add sharp
```
:::

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/en/guides/server-side-rendering.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ For example, to install the Vercel adapter manually:
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install @astrojs/vercel
pnpm add @astrojs/vercel
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/en/install/manual.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Astro must be installed locally, not globally. Make sure you are *not* running `
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install astro
pnpm add astro
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/editor-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Para comenzar, primero instala Prettier y el plugin:
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install -D prettier prettier-plugin-astro
pnpm add -D prettier prettier-plugin-astro
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/guides/backend/google-firebase.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Para conectar Astro con Firebase, instala los siguientes paquetes utilizando el
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install firebase firebase-admin
pnpm add firebase firebase-admin
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/guides/cms/buttercms.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Para empezar, necesitarás lo siguiente:
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install buttercms
pnpm add buttercms
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/guides/cms/contentful.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Para conectar tu proyecto Astro con tu espacio de Contentful, instala los siguie
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install contentful @contentful/rich-text-html-renderer
pnpm add contentful @contentful/rich-text-html-renderer
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/guides/cms/ghost.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Para conectar con Ghost, instala el paquete oficial [`@tryghost/content-api`](ht
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install @tryghost/content-api
pnpm add @tryghost/content-api
```
</Fragment>
<Fragment slot="yarn">
Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/es/guides/cms/kontent-ai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Para conectar Astro con tu proyecto de Kontent.ai, instala el [Kit de desarrollo
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install @kontent-ai/delivery-sdk
pnpm add @kontent-ai/delivery-sdk
```
</Fragment>
<Fragment slot="yarn">
Expand Down Expand Up @@ -206,7 +206,7 @@ Primero, instala el [generador de modelos de Kontent.ai JS](https://github.com/k
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install @kontent-ai/model-generator ts-node dotenv
pnpm add @kontent-ai/model-generator ts-node dotenv
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/guides/cms/storyblok.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Para conectar Astro con tu espacio de Storyblok, instala la [integración oficia
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install @storyblok/astro vite
pnpm add @storyblok/astro vite
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/guides/deploy/cloudflare.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Una vez que tus archivos sean subidos, Wrangler te dará una preview URL para in
Para que preview funcione, debes instalar `wrangler`

```bash
pnpm install wrangler --save-dev
pnpm add wrangler --save-dev
```

Entonces será posible actualizar el script preview para ejecutar `wrangler` en lugar del comando preview ya integrado en Astro:
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/guides/deploy/google-firebase.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Desplegar un sitio SSR de Astro en Firebase requiere el [plan Blaze](https://fir
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install firebase-tools
pnpm add firebase-tools
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/guides/fonts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ El proyecto [Fontsource](https://fontsource.org/) simplifica el uso de Google Fo
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install @fontsource/twinkle-star
pnpm add @fontsource/twinkle-star
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/guides/images.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ Si la imagen es meramente decorativa (es decir, no contribuye a la comprensión
Cuando se utiliza un [administrador de paquetes estricto](https://pnpm.io/pnpm-vs-npm#npms-flat-tree) como `pnpm`, es posible que debas instalar manualmente Sharp en tu proyecto, aunque sea una dependencia de Astro:

```bash
pnpm install sharp
pnpm add sharp
```
:::

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/guides/rss.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ El paquete [`@astrojs/rss`](https://github.com/withastro/astro/tree/main/package
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install @astrojs/rss
pnpm add @astrojs/rss
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/guides/server-side-rendering.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Por ejemplo, para instalar manualmente el adaptador de Vercel:
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install @astrojs/vercel
pnpm add @astrojs/vercel
```
</Fragment>
<Fragment slot="yarn">
Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/es/guides/upgrade-to/v2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ Actualiza la versión de tu proyecto Astro a la última versión usando el gesto
<Fragment slot="pnpm">
```shell
# Actualiza a la versión Astro v2.x
pnpm install astro@latest
pnpm add astro@latest

# Ejemplo: actualiza las integraciones de React y Tailwind
pnpm install @astrojs/react@latest @astrojs/tailwind@latest
pnpm add @astrojs/react@latest @astrojs/tailwind@latest
```
</Fragment>
<Fragment slot="yarn">
Expand Down
6 changes: 3 additions & 3 deletions src/content/docs/es/guides/upgrade-to/v3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ Actualiza la versión de Astro en tu proyecto a la última versión utilizando t
<Fragment slot="pnpm">
```shell
# Actualizar a Astro v3.x
pnpm install astro@latest
pnpm add astro@latest

# Ejemplo: actualizar las integraciones de React y Tailwind
pnpm install @astrojs/react@latest @astrojs/tailwind@latest
pnpm add @astrojs/react@latest @astrojs/tailwind@latest
```
</Fragment>
<Fragment slot="yarn">
Expand Down Expand Up @@ -522,7 +522,7 @@ Ahora Astro v3.0 incluye Sharp como el servicio de procesamiento de imágenes pr
Cuando uses un [administrador de paquetes estricto](https://pnpm.io/pnpm-vs-npm#npms-flat-tree) como `pnpm`, es posible que necesites instalar manualmente Sharp en tu proyecto, aunque sea una dependencia de Astro:

```bash
pnpm install sharp
pnpm add sharp
```
:::

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/install/manual.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Astro debe ser instalado localmente, no globalmente. Asegúrate de *no* ejecutar
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install astro
pnpm add astro
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/recipes/modified-time.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Aprende cómo construir un [plugin de remark](https://github.com/remarkjs/remark
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install dayjs
pnpm add dayjs
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/recipes/reading-time.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Crea un plugin de [remark](https://github.com/remarkjs/remark) que añada una pr
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install reading-time mdast-util-to-string
pnpm add reading-time mdast-util-to-string
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/recipes/sharing-state.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Cuando construyes un sitio web con Astro, es posible que necesites compartir el
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install nanostores
pnpm add nanostores
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/reference/api-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1406,7 +1406,7 @@ Para usar el componente resaltador `Prism`, primero **instala** el paquete `@ast
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install @astrojs/prism
pnpm add @astrojs/prism
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/tutorial/5-astro-api/4.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Las personas pueden suscribirse a tu feed en un lector de feeds y recibir una no
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install @astrojs/rss
pnpm add @astrojs/rss
```
</Fragment>
<Fragment slot="yarn">
Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/es/tutorials/add-view-transitions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ Los pasos a continuación te muestran cómo ampliar el producto final del tutori
<Fragment slot="pnpm">
```shell
# Actualizar a Astro v4.x
pnpm install astro@latest
pnpm add astro@latest

# Ejemplo: actualizar la integración de Preact en el tutorial del blog
pnpm install @astrojs/preact@latest
pnpm add @astrojs/preact@latest
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/fr/guides/cms/buttercms.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Pour démarrer, vous aurez besoin de ce qui suit :
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install buttercms
pnpm add buttercms
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/fr/guides/deploy/google-firebase.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Le déploiement d'un site Astro SSR sur Firebase nécessite le [plan Blaze](http
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install firebase-tools
pnpm add firebase-tools
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/fr/guides/fonts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Le projet [Fontsource](https://fontsource.org/) simplifie l'utilisation de Googl
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install @fontsource/twinkle-star
pnpm add @fontsource/twinkle-star
```
</Fragment>
<Fragment slot="yarn">
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/fr/guides/images.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ Si l'image est simplement décorative (c'est-à-dire qu'elle ne contribue pas à
Lorsque vous utilisez un [gestionnaire de paquet strict](https://pnpm.io/pnpm-vs-npm#npms-flat-tree) comme `pnpm`, vous pouvez avoir besoin d'installer manuellement Sharp dans votre projet même si c'est une dépendance d'Astro :

```bash
pnpm install sharp
pnpm add sharp
```
:::

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/fr/guides/server-side-rendering.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Par exemple, pour installer manuellement l'adaptateur Vercel :
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm install @astrojs/vercel
pnpm add @astrojs/vercel
```
</Fragment>
<Fragment slot="yarn">
Expand Down
Loading
Loading