Convert invalid html content to jsx
Luke Karrys committed
Oct 21, 2023 at 16:25 UTC
724a6abee047ea7b7f3e77d1cff84da9d9f1ed26
4 files changed
+17
-18
content/packages-and-modules/contributing-packages-to-the-registry/about-semantic-versioning.mdx
+3
-3
@@ -6,11 +6,11 @@ redirect_from:
6
7
To keep the JavaScript ecosystem healthy, reliable, and secure, every time you make significant updates to an npm package you own, we recommend publishing a new version of the package with an updated version number in the [`package.json` file][pkg-json] that follows the [semantic versioning spec][semver-org]. Following the semantic versioning spec helps other developers who depend on your code understand the extent of changes in a given version, and adjust their own code if necessary.
8
9
-<div class="note">
9
+<Note>
10
11
-<span class="bold">Note:</span> If you introduce a change that breaks a package dependency, we strongly recommend incrementing the version <span class="bold">major number</span>; see below for details.
11
+**Note:** If you introduce a change that breaks a package dependency, we strongly recommend incrementing the version **major number**; see below for details.
12
13
-</div>
13
+</Note>
14
15
## Incrementing semantic versions in published packages
16
content/packages-and-modules/introduction-to-packages-and-modules/about-private-packages.mdx
+5
-6
@@ -2,16 +2,15 @@
2
title: About private packages
3
---
4
5
-<div class="note">
5
+<Note>
6
7
To use private packages, you must
8
9
-<ul>
10
-<li> be using npm version 2.7.0 or greater. To upgrade, on the command line, run <code class="highlighter-rouge">npm install npm@latest -g</code></li>
11
-<li>have a <a href="https://www.npmjs.com/pricing">paid user or organization account</a></li>
12
-</ul>
9
14
-</div>
10
+- be using npm version 2.7.0 or greater. To upgrade, on the command line, run `npm install npm@latest -g`
11
+- have a [paid user or organization account](https://www.npmjs.com/pricing)
12
+
13
+</Note>
14
15
With npm private packages, you can use the npm registry to host code that is only visible to you and chosen collaborators, allowing you to manage and use private code alongside public code in your projects.
16
content/packages-and-modules/introduction-to-packages-and-modules/about-scopes.mdx
+3
-3
@@ -4,11 +4,11 @@ redirect_from:
4
- /getting-started/scoped-packages
5
---
6
7
-<div class="note">
7
+<Note>
8
9
-<span class="bold">Note:</span> You must be using npm version 2 or greater to use scopes. To upgrade to the latest version of npm, on the command line, run <code class="highlighter-rouge">npm install npm@latest -g</code>
9
+**Note:** You must be using npm version 2 or greater to use scopes. To upgrade to the latest version of npm, on the command line, run `npm install npm@latest -g`
10
11
-</div>
11
+</Note>
12
13
When you sign up for an npm user account or create an organization, you are granted a scope that matches your user or organization name. You can use this scope as a namespace for related packages.
14
content/packages-and-modules/introduction-to-packages-and-modules/package-scope-access-level-and-visibility.mdx
+6
-6
@@ -4,11 +4,11 @@ title: npm package scope, access level, and visibility
4
5
Visibility of npm packages depends on the scope (namespace) in which the package is contained, and the access level (private or public) set for the package.
6
7
-<div class="note">
7
+<Note>
8
9
-<span class="bold">Note:</span> To create organization-scoped packages, you must first create an organization. For more information, see "<a href="https://docs.npmjs.com/creating-an-organization">Creating an organization</a>".
9
+**Note:** To create organization-scoped packages, you must first create an organization. For more information, see "<a href="https://docs.npmjs.com/creating-an-organization">Creating an organization</a>".
10
11
-</div>
11
+</Note>
12
13
## Public registry
14
@@ -20,8 +20,8 @@ Visibility of npm packages depends on the scope (namespace) in which the package
20
| User | Public | Everyone | The package owner and users who have been granted read and write access to the package |
21
| Unscoped | Public | Everyone | The package owner and users who have been granted read and write access to the package |
22
23
-<div class="note">
23
+<Note>
24
25
-<span class="bold">Note:</span> Only user accounts can create and manage unscoped packages. Organizations can only manage scoped packages.
25
+**Note:** Only user accounts can create and manage unscoped packages. Organizations can only manage scoped packages.
26
27
-</div>
27
+</Note>