Skip to content

Commit 1e8797f

Browse files
Trottdanielleadams
authored andcommitted
doc: copyedit corepack.md
PR-URL: #42620 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Mestery <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 0c9343c commit 1e8797f

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

doc/api/corepack.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ This feature simplifies two core workflows:
3333
### Enabling the feature
3434

3535
Due to its experimental status, Corepack currently needs to be explicitly
36-
enabled to have any effect. To do that simply run [`corepack enable`][], which
37-
will set up the symlinks in your environment, next to the `node` binary
36+
enabled to have any effect. To do that, run [`corepack enable`][], which
37+
will set up the symlinks in your environment next to the `node` binary
3838
(and overwrite the existing symlinks if necessary).
3939

4040
From this point forward, any call to the [supported binaries][] will work
41-
without further setup. Should you experience a problem, just run
41+
without further setup. Should you experience a problem, run
4242
[`corepack disable`][] to remove the proxies from your system (and consider
43-
opening up an issue on the [Corepack repository][] to let us know).
43+
opening an issue on the [Corepack repository][] to let us know).
4444

4545
### Configuring a package
4646

@@ -57,7 +57,7 @@ successfully retrieved.
5757
When running outside of an existing project (for example when running
5858
`yarn init`), Corepack will by default use predefined versions roughly
5959
corresponding to the latest stable releases from each tool. Those versions can
60-
be easily overriden by running the [`corepack prepare`][] command along with the
60+
be overriden by running the [`corepack prepare`][] command along with the
6161
package manager version you wish to set:
6262

6363
```bash
@@ -73,8 +73,8 @@ it can conflict with such environments. To avoid that happening, call the
7373
the same time you're preparing your deploy image). This will ensure that the
7474
required package managers are available even without network access.
7575

76-
The `prepare` command has [various flags][], consult the detailed
77-
[Corepack documentation][] for more information on the matter.
76+
The `prepare` command has [various flags][]. Consult the detailed
77+
[Corepack documentation][] for more information.
7878

7979
## Supported package managers
8080

@@ -87,10 +87,10 @@ The following binaries are provided through Corepack:
8787

8888
## Common questions
8989

90-
### How does Corepack currently interact with npm?
90+
### How does Corepack interact with npm?
9191

92-
While Corepack could easily support npm like any other package manager, its
93-
shims aren't currently enabled by default. This has a few consequences:
92+
While Corepack could support npm like any other package manager, its
93+
shims aren't enabled by default. This has a few consequences:
9494

9595
* It's always possible to run a `npm` command within a project configured to
9696
be used with another package manager, since Corepack cannot intercept it.
@@ -103,13 +103,13 @@ shims aren't currently enabled by default. This has a few consequences:
103103
npm prevents accidentally overriding the Corepack binaries when doing a global
104104
install. To avoid this problem, consider one of the following options:
105105

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

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

114114
[Corepack]: https://github.com/nodejs/corepack
115115
[Corepack documentation]: https://github.com/nodejs/corepack#readme

0 commit comments

Comments
 (0)