Skip to content

Commit d1f4432

Browse files
authored
docs: lowercase npm and pnpm (#490)
* docs: lowercase npm and pnpm * typo * tweak wording
1 parent 5e6789e commit d1f4432

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

community-addon-template/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ npm start
3737

3838
## Sharing your add-on
3939

40-
When you're ready to publish your add-on to NPM, run:
40+
When you're ready to publish your add-on to npm, run:
4141

4242
```shell
4343
npm publish

documentation/docs/10-introduction/20-faq.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ title: Frequently asked questions
44

55
## How do I run the `sv` CLI?
66

7-
Running the `sv` cli differs for each package manager. Here is a list of the most common commands:
7+
Running `sv` looks slightly different for each package manager. Here is a list of the most common commands:
88

9-
- **NPM** : `npx sv create`
10-
- **PNPM** : `pnpx sv create` or `pnpm dlx sv create`
11-
- **Yarn** : `yarn dlx sv create`
9+
- **npm** : `npx sv create`
10+
- **pnpm** : `pnpx sv create` or `pnpm dlx sv create`
1211
- **Bun** : `bunx sv create`
1312
- **Deno** : `deno run npm:sv create`
13+
- **Yarn** : `yarn dlx sv create`
1414

1515
## `npx sv` is not working
1616

17-
Some package mangers prefer to run locally installed tools instead of downloading and executing packages from the registry. This issue mostly occurs with `npm` and `yarn`. This usually results in an error message or looks like the command you were trying to execute did not do anything.
17+
Some package managers prefer to run locally installed tools instead of downloading and executing packages from the registry. This issue mostly occurs with `npm` and `yarn`. This usually results in an error message or looks like the command you were trying to execute did not do anything.
1818

1919
Here is a list of issues with possible solutions that users have encountered in the past:
2020

packages/cli/commands/add/fetch-packages.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export async function getPackageJSON({ cwd, packageName }: GetPackageJSONOptions
110110

111111
return {
112112
pkg,
113-
// fallback to providing the NPM package URL
113+
// fallback to providing the npm package URL
114114
repo: pkg.repository?.url ?? `https://www.npmjs.com/package/${npm}`
115115
};
116116
}

0 commit comments

Comments
 (0)