Skip to content

Commit

Permalink
fix(docs): fix pnpm workspace filename extension (#8679)
Browse files Browse the repository at this point in the history
### Description

The extension for a pnpm workspace manifest file should be `yaml`, not
`yml`. Using `yml` provides an error: `The workspace manifest file
should be named "pnpm-workspace.yaml"`

pnpm documentation for workspace manifests:
https://pnpm.io/pnpm-workspace_yaml
  • Loading branch information
UNRULYEON committed Jul 7, 2024
1 parent fbfb27b commit a0b7c78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ First, your package manager needs to describe the locations of your packages. We
<LinkToDocumentation href="https://yarnpkg.com/features/workspaces#how-are-workspaces-declared">yarn workspace documentation</LinkToDocumentation>
</Tab>
<Tab>
```json title="pnpm-workspace.yml"
```json title="pnpm-workspace.yaml"
packages:
- "apps/*"
- "packages/*"
Expand Down
2 changes: 1 addition & 1 deletion docs/repo-docs/guides/multi-language.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ As an example, you may have a Rust project in the `./cli` directory in your repo
<LinkToDocumentation href="https://yarnpkg.com/features/workspaces#how-are-workspaces-declared">yarn workspace documentation</LinkToDocumentation>
</Tab>
<Tab>
```json title="pnpm-workspace.yml"
```json title="pnpm-workspace.yaml"
packages:
- "apps/*"
- "packages/*"
Expand Down

0 comments on commit a0b7c78

Please sign in to comment.