Skip to content

Commit 724a6ab

Browse files
committed
Convert invalid html content to jsx
1 parent 0dd4684 commit 724a6ab

File tree

4 files changed

+17
-18
lines changed

4 files changed

+17
-18
lines changed

content/packages-and-modules/contributing-packages-to-the-registry/about-semantic-versioning.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ redirect_from:
66

77
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.
88

9-
<div class="note">
9+
<Note>
1010

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.
1212

13-
</div>
13+
</Note>
1414

1515
## Incrementing semantic versions in published packages
1616

content/packages-and-modules/introduction-to-packages-and-modules/about-private-packages.mdx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22
title: About private packages
33
---
44

5-
<div class="note">
5+
<Note>
66

77
To use private packages, you must
88

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>
139

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>
1514

1615
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.
1716

content/packages-and-modules/introduction-to-packages-and-modules/about-scopes.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ redirect_from:
44
- /getting-started/scoped-packages
55
---
66

7-
<div class="note">
7+
<Note>
88

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`
1010

11-
</div>
11+
</Note>
1212

1313
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.
1414

content/packages-and-modules/introduction-to-packages-and-modules/package-scope-access-level-and-visibility.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ title: npm package scope, access level, and visibility
44

55
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.
66

7-
<div class="note">
7+
<Note>
88

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>".
1010

11-
</div>
11+
</Note>
1212

1313
## Public registry
1414

@@ -20,8 +20,8 @@ Visibility of npm packages depends on the scope (namespace) in which the package
2020
| User | Public | Everyone | The package owner and users who have been granted read and write access to the package |
2121
| Unscoped | Public | Everyone | The package owner and users who have been granted read and write access to the package |
2222

23-
<div class="note">
23+
<Note>
2424

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.
2626

27-
</div>
27+
</Note>

0 commit comments

Comments
 (0)