Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 846e7e8

Browse filesBrowse files
alexeytenBethGriggs
authored andcommitted
doc: fix list indentation in corepack.md
PR-URL: #40029 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Shingo Inoue <leko.noor@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 105c9e6 commit 846e7e8
Copy full SHA for 846e7e8

File tree

Expand file treeCollapse file tree

1 file changed

+9
-9
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-9
lines changed
Open diff view settings
Collapse file

‎doc/api/corepack.md‎

Copy file name to clipboardExpand all lines: doc/api/corepack.md
+9-9Lines changed: 9 additions & 9 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ The `prepare` command has [various flags][], consult the detailed
7373

7474
The following binaries are provided through Corepack:
7575

76-
| Package manager | Binary names |
77-
| --------------- | -------------- |
76+
| Package manager | Binary names |
77+
| --------------- | ----------------- |
7878
| [Yarn][] | `yarn`, `yarnpkg` |
79-
| [pnpm][] | `pnpm`, `pnpx` |
79+
| [pnpm][] | `pnpm`, `pnpx` |
8080

8181
## Common questions
8282

@@ -86,23 +86,23 @@ While Corepack could easily support npm like any other package manager, its
8686
shims aren't currently enabled by default. This has a few consequences:
8787

8888
* It's always possible to run a `npm` command within a project configured to
89-
be used with another package manager, since Corepack cannot intercept it.
89+
be used with another package manager, since Corepack cannot intercept it.
9090

9191
* While `npm` is a valid option in the [`"packageManager"`][] property, the
92-
lack of shim will cause the global npm to be used.
92+
lack of shim will cause the global npm to be used.
9393

9494
### Running `npm install -g yarn` doesn't work
9595

9696
npm prevents accidentally overriding the Corepack binaries when doing a global
9797
install. To avoid this problem, consider one of the following options:
9898

9999
* Don't run this command anymore; Corepack will provide the package manager
100-
binaries anyway and will ensure that the requested versions are always
101-
available, so installing the package managers explicitly isn't needed anymore.
100+
binaries anyway and will ensure that the requested versions are always
101+
available, so installing the package managers explicitly isn't needed anymore.
102102

103103
* Add the `--force` to `npm install`; this will tell npm that it's fine to
104-
override binaries, but you'll erase the Corepack ones in the process (should
105-
that happen, run [`corepack enable`][] again to add them back).
104+
override binaries, but you'll erase the Corepack ones in the process (should
105+
that happen, run [`corepack enable`][] again to add them back).
106106

107107
[Corepack]: https://github.com/nodejs/corepack
108108
[Corepack documentation]: https://github.com/nodejs/corepack#readme

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.