Skip to content

Commit 4d38019

Browse files
committed
fix: tell yaml not to wrap lineWidth
1 parent dd505bd commit 4d38019

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

cli/lib/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const updateNav = async (updates, {nav, path}) => {
3535
}
3636
}
3737

38-
return fs.writeFile(path, nav.toString(), 'utf-8')
38+
return fs.writeFile(path, nav.toString({ lineWidth: 0 }), 'utf-8')
3939
}
4040

4141
const getCurrentVersions = nav => {

content/cli/v8/using-npm/registry.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ You can configure npm to use any compatible registry you like, and even run your
2121

2222
npm's package registry implementation supports several write APIs as well, to allow for publishing packages and managing user account information.
2323

24+
The npm public registry is powered by a CouchDB database, of which there is a public mirror at [https://skimdb.npmjs.com/registry](https://skimdb.npmjs.com/registry).
25+
2426
The registry URL used is determined by the scope of the package (see [`scope`](/cli/v8/using-npm/scope). If no scope is specified, the default registry is used, which is supplied by the `registry` config parameter. See [`npm config`](/cli/v8/commands/npm-config), [`npmrc`](/cli/v8/configuring-npm/npmrc), and [`config`](/cli/v8/using-npm/config) for more on managing npm's configuration.
2527

2628
When the default registry is used in a package-lock or shrinkwrap is has the special meaning of "the currently configured registry". If you create a lock file while using the default registry you can switch to another registry and npm will install packages from the new registry, but if you create a lock file while using a custom registry packages will be installed from that registry even after you change to another registry.

content/cli/v9/using-npm/registry.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ You can configure npm to use any compatible registry you like, and even run your
2121

2222
npm's package registry implementation supports several write APIs as well, to allow for publishing packages and managing user account information.
2323

24+
The npm public registry is powered by a CouchDB database, of which there is a public mirror at [https://skimdb.npmjs.com/registry](https://skimdb.npmjs.com/registry).
25+
2426
The registry URL used is determined by the scope of the package (see [`scope`](/cli/v9/using-npm/scope). If no scope is specified, the default registry is used, which is supplied by the [`registry` config](/cli/v9/using-npm/config#registry) parameter. See [`npm config`](/cli/v9/commands/npm-config), [`npmrc`](/cli/v9/configuring-npm/npmrc), and [`config`](/cli/v9/using-npm/config) for more on managing npm's configuration. Authentication configuration such as auth tokens and certificates are configured specifically scoped to an individual registry. See [Auth Related Configuration](/cli/v9/configuring-npm/npmrc#auth-related-configuration)
2527

2628
When the default registry is used in a package-lock or shrinkwrap it has the special meaning of "the currently configured registry". If you create a lock file while using the default registry you can switch to another registry and npm will install packages from the new registry, but if you create a lock file while using a custom registry packages will be installed from that registry even after you change to another registry.

content/nav.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1788,8 +1788,7 @@
17881788
description: Manage your authentication tokens
17891789
- title: npm trust
17901790
url: /cli/v11/commands/npm-trust
1791-
description: Manage trusted publishing relationships between packages and CI/CD
1792-
providers
1791+
description: Manage trusted publishing relationships between packages and CI/CD providers
17931792
- title: npm undeprecate
17941793
url: /cli/v11/commands/npm-undeprecate
17951794
description: Undeprecate a version of a package

0 commit comments

Comments
 (0)