@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user