Skip to content

Commit 1c4cd8c

Browse files
authored
repo sync
2 parents 1dcca02 + 74db808 commit 1c4cd8c

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

content/packages/guides/configuring-npm-for-use-with-github-packages.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -192,18 +192,16 @@ If your instance has subdomain isolation enabled:
192192
{% endif %}
193193
194194
```shell
195-
registry=https://{% if currentVersion == "free-pro-team@latest" %}npm.pkg.github.com{% else %}npm.<em>HOSTNAME</em>{% endif %}/<em>OWNER</em>
196-
@<em>OWNER</em>:registry=https://{% if currentVersion == "free-pro-team@latest" %}npm.pkg.github.com{% else %}npm.<em>HOSTNAME</em>/{% endif %}
197-
@<em>OWNER</em>:registry=https://{% if currentVersion == "free-pro-team@latest" %}npm.pkg.github.com{% else %}npm.<em>HOSTNAME</em>/{% endif %}
195+
@<em>OWNER</em>:registry=https://{% if currentVersion == "free-pro-team@latest" %}npm.pkg.github.com{% else %}npm.<em>HOSTNAME</em>{% endif %}
196+
@<em>OWNER</em>:registry=https://{% if currentVersion == "free-pro-team@latest" %}npm.pkg.github.com{% else %}npm.<em>HOSTNAME</em>{% endif %}
198197
```
199198
200199
{% if enterpriseServerVersions contains currentVersion %}
201200
If your instance has subdomain isolation disabled:
202201
203202
```shell
204-
registry=https://<em>HOSTNAME</em>/_registry/npm/<em>OWNER</em>
205-
@<em>OWNER</em>:registry=https://<em>HOSTNAME</em>/_registry/npm/
206-
@<em>OWNER</em>:registry=https://<em>HOSTNAME</em>/_registry/npm/
203+
@<em>OWNER</em>:registry=https://<em>HOSTNAME</em>/_registry/npm
204+
@<em>OWNER</em>:registry=https://<em>HOSTNAME</em>/_registry/npm
207205
```
208206
{% endif %}
209207

data/reusables/package_registry/create-npmrc-owner-step.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
{% if currentVersion == "free-pro-team@latest" %}
44
```shell
5-
registry=https://npm.pkg.github.com/<em>OWNER</em>
5+
@<em>OWNER</em>:registry=https://npm.pkg.github.com
66
```
77
{% else %}
88
If subdomain isolation is enabled:
99
```shell
10-
registry=https://npm.<em>HOSTNAME</em>/<em>OWNER</em>
10+
@<em>OWNER</em>:registry=https://npm.<em>HOSTNAME</em>
1111
```
1212
If subdomain isolation is disabled:
1313
```shell
14-
https://<em>HOSTNAME</em>/_registry/npm/<em>OWNER</em>
14+
@<em>OWNER</em>:registry=https://<em>HOSTNAME</em>/_registry/npm
1515
```
1616
{% endif %}

0 commit comments

Comments
 (0)