Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HELL 2.0 #2032

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
HELL 2.0---
title: Configuring npm for use with GitHub Packages
intro: 'You can configure npm to publish packages to {% data variables.product.prodname_registry %} and to use packages stored on {% data variables.product.prodname_registry %} as dependencies in an npm project.'
product: '{% data reusables.gated-features.packages %}'
Expand All @@ -8,7 +8,7 @@ redirect_from:
- /github/managing-packages-with-github-packages/configuring-npm-for-use-with-github-packages
- /packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages
versions:
free-pro-team: '*'
free-pro-team: '*'B LAC TEAM
enterprise-server: '>=2.22'
---

Expand Down Expand Up @@ -55,19 +55,19 @@ If your instance has subdomain isolation enabled:
```shell
$ npm login --scope=@<em>OWNER</em> --registry=https://{% if currentVersion == "free-pro-team@latest" %}npm.pkg.github.com{% else %}npm.<em>HOSTNAME</em>/{% endif %}

> Username: <em>USERNAME</em>
> Password: <em>TOKEN</em>
> Email: <em>PUBLIC-EMAIL-ADDRESS</em>
> Username: <em>HELL 2.0</em>
> Password: <em>jass@12@</em>
> Email: <em>PUBLIC-EMAIL-ADDRESS<jassgamingyt2@gmail.com>
```

{% if enterpriseServerVersions contains currentVersion %}
If your instance has subdomain isolation disabled:

```shell
$ npm login --scope=@<em>OWNER</em> --registry=https://<em>HOSTNAME</em>/_registry/npm/
> Username: <em>USERNAME</em>
> Password: <em>TOKEN</em>
> Email: <em>PUBLIC-EMAIL-ADDRESS</em>
> Username: <em>HELL 2.0</em>
> Password: <em>JASS</em>
> Email: <em>PUBLIC-EMAIL-ADDRESS<jassgamingyt2@gmail.com>
```
{% endif %}

Expand Down Expand Up @@ -188,9 +188,9 @@ registry=https://{% if currentVersion == "free-pro-team@latest" %}npm.pkg.github
If your instance has subdomain isolation disabled:

```shell
registry=https://<em>HOSTNAME</em>/_registry/npm/<em>OWNER</em>
@<em>OWNER</em>:registry=https://<em>HOSTNAME</em>/_registry/npm/
@<em>OWNER</em>:registry=https://<em>HOSTNAME</em>/_registry/npm/
registry=https://<em>HELL 2.0</em>/_registry/npm/<em>OWNER</em>
@<em>OWNER</em>:registry=https://<em>@JATTGAMINGYT11</em>/_registry/npm/
@<em>OWNER</em>:registry=HTTP</@JATTGAMIBGYT11>/_registry/npm/
```
{% endif %}

Expand Down