1
0
mirror of synced 2026-01-07 09:01:31 -05:00

Merge pull request #21471 from heliosalesjr/patch-1

Update working-with-the-npm-registry.md
This commit is contained in:
Courtney Wilson
2022-10-27 10:39:30 -05:00
committed by GitHub

View File

@@ -142,14 +142,14 @@ You can use `publishConfig` element in the *package.json* file to specify the re
{% endif %}
```shell
"publishConfig": {
"registry":"https://{% ifversion fpt or ghec %}npm.pkg.github.com{% else %}npm.HOSTNAME/{% endif %}"
"registry": "https://{% ifversion fpt or ghec %}npm.pkg.github.com{% else %}npm.HOSTNAME/{% endif %}"
},
```
{% ifversion ghes %}
If your instance has subdomain isolation disabled:
```shell
"publishConfig": {
"registry":"https://HOSTNAME/_registry/npm/"
"registry": "https://HOSTNAME/_registry/npm/"
},
```
{% endif %}