Skip to content

Commit ecbe2db

Browse files
authored
Maintain the example along with the paths (#1761)
<!-- What / Why --> ### Why? The current examples are clear, it could be helpful to maintain a constant name for the paths to the hypothetical package, on any of the installation and directory navigation examples. ### Description <!-- Describe the request in detail. What it does and why it's being changed. --> Simple suggestion for changing command line examples in the **Test your package** and **Publishing your scoped public packages**
1 parent d75e8c8 commit ecbe2db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/packages-and-modules/contributing-packages-to-the-registry/creating-and-publishing-scoped-public-packages.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ For less sensitive information, such as testing data, use a `.npmignore` or `.gi
7070
To reduce the chances of publishing bugs, we recommend testing your package before publishing it to the npm registry. To test your package, run `npm install` with the full path to your package directory:
7171

7272
```
73-
npm install my-package
73+
npm install /path/to/my-test-package
7474
```
7575

7676
## Publishing scoped public packages
@@ -80,7 +80,7 @@ By default, scoped packages are published with private visibility. To publish a
8080
1. On the command line, navigate to the root directory of your package.
8181

8282
```
83-
cd /path/to/package
83+
cd /path/to/my-test-package
8484
```
8585

8686
2. To publish your scoped public package to the npm registry, run:

0 commit comments

Comments
 (0)