Skip to content

Commit 83da8dc

Browse files
committed
chore: prettier format
1 parent e671606 commit 83da8dc

28 files changed

+8
-65
lines changed

CONTRIBUTING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ This process can, of course, be done manually. This may be useful for editing it
147147

148148
1. Review the configuration
149149
The `cli/releases.json` configures how the CLI documentation is included. It is an array of documentation versions, each having the following configuration:
150-
151150
- `id`: A short identifier for the documentation version, eg `v6` or `v7`. This corresponds to a directory containing a version of the CLI repository (using a submodule). This will also be used as the output folder in the content.
152151
- `branch`: The branch name for the version. This will be used to fetch the latest version of the documentation from GitHub.
153152
- `spec`: The registry spec for the version. This will be used to fetch the latest version in that range from the registry.

content/cli/v10/commands/npm-install.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ Even if you never publish your package, you can still get a lot of benefits of u
7979
Install a package that is sitting on the filesystem. Note: if you just want to link a dev directory into your npm root, you can do this more easily by using [`npm link`](/cli/v10/commands/npm-link).
8080

8181
Tarball requirements:
82-
8382
- The filename _must_ use `.tar`, `.tar.gz`, or `.tgz` as the extension.
8483
- The package contents should reside in a subfolder inside the tarball (usually it is called `package/`). npm strips one directory layer when installing the package (an equivalent of `tar x --strip-components=1` is run).
8584
- The package must contain a `package.json` file with `name` and `version` properties.
@@ -113,7 +112,6 @@ Even if you never publish your package, you can still get a lot of benefits of u
113112
```
114113

115114
`npm install` saves any specified packages into `dependencies` by default. Additionally, you can control where and how they get saved with some additional flags:
116-
117115
- `-P, --save-prod`: Package will appear in your `dependencies`. This is the default unless `-D` or `-O` are present.
118116

119117
- `-D, --save-dev`: Package will appear in your `devDependencies`.
@@ -125,7 +123,6 @@ Even if you never publish your package, you can still get a lot of benefits of u
125123
- `--no-save`: Prevents saving to `dependencies`.
126124

127125
When using any of the above options to save dependencies to your package.json, there are two additional, optional flags:
128-
129126
- `-E, --save-exact`: Saved dependencies will be configured with an exact version rather than using npm's default semver range operator.
130127

131128
- `-B, --save-bundle`: Saved dependencies will also be added to your `bundleDependencies` list.
@@ -213,7 +210,6 @@ Even if you never publish your package, you can still get a lot of benefits of u
213210
If the package being installed contains a `prepare` script, its `dependencies` and `devDependencies` will be installed, and the prepare script will be run, before the package is packaged and installed.
214211

215212
The following git environment variables are recognized by npm and will be added to the environment when running git:
216-
217213
- `GIT_ASKPASS`
218214
- `GIT_EXEC_PATH`
219215
- `GIT_PROXY_COMMAND`

content/cli/v10/commands/npm-profile.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ updated: 2017-10-02T21:29:45.922Z
5454
- `npm profile set password`: Change your password. This is interactive, you'll be prompted for your current password and a new password. You'll also be prompted for an OTP if you have two-factor authentication enabled.
5555

5656
- `npm profile enable-2fa [auth-and-writes|auth-only]`: Enables two-factor authentication. Defaults to `auth-and-writes` mode. Modes are:
57-
5857
- `auth-only`: Require an OTP when logging in or making changes to your account's authentication. The OTP will be required on both the website and the command line.
5958
- `auth-and-writes`: Requires an OTP at all the times `auth-only` does, and also requires one when publishing a module, setting the `latest` dist-tag, or changing access via `npm access` and `npm owner`.
6059

content/cli/v10/configuring-npm/package-lock-json.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ npm v7 ignores this section entirely if a `packages` section is present, but doe
119119
Dependency objects have the following fields:
120120

121121
- version: a specifier that varies depending on the nature of the package, and is usable in fetching a new copy of it.
122-
123122
- bundled dependencies: Regardless of source, this is a version number that is purely for informational purposes.
124123
- registry sources: This is a version number. (eg, `1.2.3`)
125124
- git sources: This is a git specifier with resolved committish. (eg, `git+https://example.com/foo/bar#115311855adb0789a0466714ed48a1499ffea97e`)

content/cli/v6/commands/npm-install.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ Even if you never publish your package, you can still get a lot of benefits of u
7575
Install a package that is sitting on the filesystem. Note: if you just want to link a dev directory into your npm root, you can do this more easily by using `npm link`.
7676

7777
Tarball requirements:
78-
7978
- The filename _must_ use `.tar`, `.tar.gz`, or `.tgz` as the extension.
8079
- The package contents should reside in a subfolder inside the tarball (usually it is called `package/`). npm strips one directory layer when installing the package (an equivalent of `tar x --strip-components=1` is run).
8180
- The package must contain a `package.json` file with `name` and `version` properties.
@@ -114,7 +113,6 @@ Even if you never publish your package, you can still get a lot of benefits of u
114113
npm install npa@npm:npm-package-arg
115114

116115
`npm install` saves any specified packages into `dependencies` by default. Additionally, you can control where and how they get saved with some additional flags:
117-
118116
- `-P, --save-prod`: Package will appear in your `dependencies`. This is the default unless `-D` or `-O` are present.
119117

120118
- `-D, --save-dev`: Package will appear in your `devDependencies`.
@@ -124,7 +122,6 @@ Even if you never publish your package, you can still get a lot of benefits of u
124122
- `--no-save`: Prevents saving to `dependencies`.
125123

126124
When using any of the above options to save dependencies to your package.json, there are two additional, optional flags:
127-
128125
- `-E, --save-exact`: Saved dependencies will be configured with an exact version rather than using npm's default semver range operator.
129126

130127
- `-B, --save-bundle`: Saved dependencies will also be added to your `bundleDependencies` list.
@@ -201,7 +198,6 @@ Even if you never publish your package, you can still get a lot of benefits of u
201198
If the package being installed contains a `prepare` script, its `dependencies` and `devDependencies` will be installed, and the prepare script will be run, before the package is packaged and installed.
202199

203200
The following git environment variables are recognized by npm and will be added to the environment when running git:
204-
205201
- `GIT_ASKPASS`
206202
- `GIT_EXEC_PATH`
207203
- `GIT_PROXY_COMMAND`

content/cli/v6/commands/npm-profile.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ Change your profile information on the registry. This not be available if you're
6464
- `npm profile set password`: Change your password. This is interactive, you'll be prompted for your current password and a new password. You'll also be prompted for an OTP if you have two-factor authentication enabled.
6565

6666
- `npm profile enable-2fa [auth-and-writes|auth-only]`: Enables two-factor authentication. Defaults to `auth-and-writes` mode. Modes are:
67-
6867
- `auth-only`: Require an OTP when logging in or making changes to your account's authentication. The OTP will be required on both the website and the command line.
6968
- `auth-and-writes`: Requires an OTP at all the times `auth-only` does, and also requires one when publishing a module, setting the `latest` dist-tag, or changing access via `npm access` and `npm owner`.
7069

content/cli/v7/commands/npm-install.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ Even if you never publish your package, you can still get a lot of benefits of u
8181
Install a package that is sitting on the filesystem. Note: if you just want to link a dev directory into your npm root, you can do this more easily by using [`npm link`](/cli/v7/commands/npm-link).
8282

8383
Tarball requirements:
84-
8584
- The filename _must_ use `.tar`, `.tar.gz`, or `.tgz` as the extension.
8685
- The package contents should reside in a subfolder inside the tarball (usually it is called `package/`). npm strips one directory layer when installing the package (an equivalent of `tar x --strip-components=1` is run).
8786
- The package must contain a `package.json` file with `name` and `version` properties.
@@ -115,7 +114,6 @@ Even if you never publish your package, you can still get a lot of benefits of u
115114
```
116115

117116
`npm install` saves any specified packages into `dependencies` by default. Additionally, you can control where and how they get saved with some additional flags:
118-
119117
- `-P, --save-prod`: Package will appear in your `dependencies`. This is the default unless `-D` or `-O` are present.
120118

121119
- `-D, --save-dev`: Package will appear in your `devDependencies`.
@@ -125,7 +123,6 @@ Even if you never publish your package, you can still get a lot of benefits of u
125123
- `--no-save`: Prevents saving to `dependencies`.
126124

127125
When using any of the above options to save dependencies to your package.json, there are two additional, optional flags:
128-
129126
- `-E, --save-exact`: Saved dependencies will be configured with an exact version rather than using npm's default semver range operator.
130127

131128
- `-B, --save-bundle`: Saved dependencies will also be added to your `bundleDependencies` list.
@@ -215,7 +212,6 @@ Even if you never publish your package, you can still get a lot of benefits of u
215212
If the package being installed contains a `prepare` script, its `dependencies` and `devDependencies` will be installed, and the prepare script will be run, before the package is packaged and installed.
216213

217214
The following git environment variables are recognized by npm and will be added to the environment when running git:
218-
219215
- `GIT_ASKPASS`
220216
- `GIT_EXEC_PATH`
221217
- `GIT_PROXY_COMMAND`

content/cli/v7/commands/npm-profile.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ Change your profile information on the registry. Note that this command depends
6666
- `npm profile set password`: Change your password. This is interactive, you'll be prompted for your current password and a new password. You'll also be prompted for an OTP if you have two-factor authentication enabled.
6767

6868
- `npm profile enable-2fa [auth-and-writes|auth-only]`: Enables two-factor authentication. Defaults to `auth-and-writes` mode. Modes are:
69-
7069
- `auth-only`: Require an OTP when logging in or making changes to your account's authentication. The OTP will be required on both the website and the command line.
7170
- `auth-and-writes`: Requires an OTP at all the times `auth-only` does, and also requires one when publishing a module, setting the `latest` dist-tag, or changing access via `npm access` and `npm owner`.
7271

content/cli/v7/configuring-npm/package-lock-json.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ npm v7 ignores this section entirely if a `packages` section is present, but doe
117117
Dependency objects have the following fields:
118118

119119
- version: a specifier that varies depending on the nature of the package, and is usable in fetching a new copy of it.
120-
121120
- bundled dependencies: Regardless of source, this is a version number that is purely for informational purposes.
122121
- registry sources: This is a version number. (eg, `1.2.3`)
123122
- git sources: This is a git specifier with resolved committish. (eg, `git+https://example.com/foo/bar#115311855adb0789a0466714ed48a1499ffea97e`)

content/cli/v7/using-npm/changelog.mdx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1468,12 +1468,10 @@ redirect_from:
14681468

14691469
- [`ed6e6a9d3`](https://github.com/npm/cli/commit/ed6e6a9d3c36ffc5fb77fc25b6d66dbcb26beeb9) `eslint-plugin-standard@4.0.2`
14701470
- [`b737ee999`](https://github.com/npm/cli/commit/b737ee99961364827bacf210a3e5ca5d2b7edad2) [#2009](https://github.com/npm/cli/issues/2009) [#2007](https://github.com/npm/cli/issues/2007) `npm-packlist@2.1.4`:
1471-
14721471
- Maintain order in package.json files array globs
14731472
- Strip slashes from package files list results
14741473

14751474
- [`783965508`](https://github.com/npm/cli/commit/783965508d49f8ab0d8ceff38bee700cd0a06a54) [#1997](https://github.com/npm/cli/issues/1997) [#2000](https://github.com/npm/cli/issues/2000) [#2005](https://github.com/npm/cli/issues/2005) `@npmcli/arborist@1.0.4`
1476-
14771475
- Ensure that root is added when root.meta is set
14781476
- Include all edges in explain() output when a root edge exists
14791477
- Do not conflict on meta-peers that will not be replaced
@@ -1698,26 +1696,22 @@ redirect_from:
16981696
- [`ac5aa709a`](https://github.com/npm/cli/commit/ac5aa709a8609ec2beb7a8c60b3bde18f882f4e8) [#1758](https://github.com/npm/cli/pull/1758) fix scope config
16991697
- [`a36e2537f`](https://github.com/npm/cli/commit/a36e2537fd4c81df53fb6de01900beb9fa4fa0aa) outdated: don't throw on non-version/tag/range dep
17001698
- [`371f0f062`](https://github.com/npm/cli/commit/371f0f06215ad8caf598c20e3d0d38ff597531e9) `@npmcli/arborist@0.0.20`
1701-
17021699
- Provide explanation objects for `ERESOLVE` errors
17031700
- Support overriding certain classes of `ERESOLVE` errors with `--force`
17041701
- Detect changes to package.json requiring package-lock dependency flag re-evaluation
17051702

17061703
- [`2a4e2e9ef`](https://github.com/npm/cli/commit/2a4e2e9efecb7f86147e5071c59cfc2461a5a7f5) [#1761](https://github.com/npm/cli/pull/1761) Explain `ERESOLVE` errors
17071704
- [`8e3e83bd4`](https://github.com/npm/cli/commit/8e3e83bd4f816bfed0efb8266985143ee9b94b86) `@npmcli/arborist@0.0.21`
1708-
17091705
- Remove bin links on prune
17101706
- Remove unnecessary tree walk for workspace projects
17111707
- Install workspaces on update:true
17121708

17131709
- [`d6b134fd9`](https://github.com/npm/cli/commit/d6b134fd9005d911343831270615f80dfead7e3d) [#1738](https://github.com/npm/cli/pull/1738) [#1734](https://github.com/npm/cli/pull/1734) fix package spec parsing during cache add process ([@mjeanroy](https://github.com/mjeanroy))
17141710
- [`f105eb833`](https://github.com/npm/cli/commit/f105eb8333fa3300c5b47464b129c1b0057ed7bf) `npm-audit-report@2.1.4`:
1715-
17161711
- Do not crash on cyclical meta-vulnerability references
17171712

17181713
- [`03a9f569b`](https://github.com/npm/cli/commit/03a9f569b5121a173f14711980db297d4a04ac6b) `opener@1.5.2`
17191714
- [`5616a23b4`](https://github.com/npm/cli/commit/5616a23b4b868d19aa100a6d86d781cc9bfd94f7) `@npmcli/git@2.0.4`
1720-
17211715
- Support `.git` files, so that git worktrees are respected
17221716

17231717
## v7.0.0-beta.8 (2020-09-01)
@@ -1743,27 +1737,21 @@ redirect_from:
17431737
- [`5cb9a1d4d`](https://github.com/npm/cli/commit/5cb9a1d4d985aaa8e988c51fe5ae7f7ed3602811) [#1688](https://github.com/npm/cli/pull/1688) use `@npmcli/config` for configuration ([@isaacs](https://github.com/isaacs))
17441738

17451739
- [`a4295f5db`](https://github.com/npm/cli/commit/a4295f5db7667e8cc6b83abdad168619ad31a12f) `npm-registry-fetch@8.1.4`:
1746-
17471740
- Redact passwords from HTTP logs
17481741

17491742
- [`a5a6a516d`](https://github.com/npm/cli/commit/a5a6a516d16828c1375eaf41d04468d919df4a57) `json-parse-even-better-errors@2.3.0`:
1750-
17511743
- Adds support for indentation/newline formatting preservation
17521744

17531745
- [`a14054558`](https://github.com/npm/cli/commit/a1405455843db1b14938596303b29fb3ad4f90f0) `read-package-json-fast@1.2.1`:
1754-
17551746
- Adds support for indentation/newline formatting preservation
17561747

17571748
- [`f8603c8af`](https://github.com/npm/cli/commit/f8603c8affefc342d81c109e4676d498a8359b78) `libnpmversion@1.0.4`:
1758-
17591749
- Adds support for indentation/newline formatting preservation
17601750

17611751
- [`9891fa71c`](https://github.com/npm/cli/commit/9891fa71c88f425bef8d881c3795e5823d732e1f) `read-package-json@2.1.2`:
1762-
17631752
- Adds support for indentation/newline formatting preservation
17641753

17651754
- [`b44768aac`](https://github.com/npm/cli/commit/b44768aace0e9c938ebd6d05a5de1cc4368e2d7d) [#1662](https://github.com/npm/cli/issues/1662) [#1693](https://github.com/npm/cli/issues/1693) [#1690](https://github.com/npm/cli/issues/1690) `@npmcli/arborist@0.0.17`:
1766-
17671755
- Load root project `package.json` when running loadVirtual.
17681756
- Fetch metadata from registry when loading tree from outdated package-lock.json file. This avoids a situation where a lockfile or shrinkwrap from npm v5 would result in deleting dependencies on install.
17691757
- Preserve `package.json` and `package-lock.json` formatting in all places where these files are written.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy