Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
f3e7c8d4
Commit
f3e7c8d4
authored
Mar 11, 2020
by
David Fernandez
Committed by
Achilleas Pipinellis
Mar 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document npm package requests forwarding
parent
e0bf321b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
doc/user/admin_area/settings/continuous_integration.md
doc/user/admin_area/settings/continuous_integration.md
+13
-0
doc/user/admin_area/settings/img/admin_package_registry_npm_package_requests_forward.png
...g/admin_package_registry_npm_package_requests_forward.png
+0
-0
doc/user/packages/npm_registry/index.md
doc/user/packages/npm_registry/index.md
+8
-0
No files found.
doc/user/admin_area/settings/continuous_integration.md
View file @
f3e7c8d4
...
@@ -191,3 +191,16 @@ To set required pipeline configuration:
...
@@ -191,3 +191,16 @@ To set required pipeline configuration:
1.
Click
**Save changes**
.
1.
Click
**Save changes**
.
![
Required pipeline
](
img/admin_required_pipeline.png
)
![
Required pipeline
](
img/admin_required_pipeline.png
)
## Package Registry configuration **(PREMIUM ONLY)**
GitLab administrators can disable the forwarding of NPM requests to
[
npmjs.com
](
https://www.npmjs.com/
)
.
To disable it:
1.
Go to
**Admin Area > Settings > CI/CD**
.
1.
Expand the
**Package Registry**
section.
1.
Uncheck
**Enable forwarding of NPM package requests to npmjs.org**
.
1.
Click
**Save changes**
.
![
NPM package requests forwarding
](
img/admin_package_registry_npm_package_requests_forward.png
)
doc/user/admin_area/settings/img/admin_package_registry_npm_package_requests_forward.png
0 → 100644
View file @
f3e7c8d4
75.7 KB
doc/user/packages/npm_registry/index.md
View file @
f3e7c8d4
...
@@ -269,6 +269,14 @@ Or if you're using Yarn:
...
@@ -269,6 +269,14 @@ Or if you're using Yarn:
yarn add @my-project-scope/my-package
yarn add @my-project-scope/my-package
```
```
### Forwarding requests to npmjs.org
> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/55344) in [GitLab Premium](https://about.gitlab.com/pricing/) 12.9.
By default, when an NPM package is not found in the GitLab NPM Registry, the request will be forwarded to
[
npmjs.com
](
https://www.npmjs.com/
)
.
Administrators can disable this behavior in the
[
Continuous Integration settings
](
../../admin_area/settings/continuous_integration.md
)
.
## Removing a package
## Removing a package
In the packages view of your project page, you can delete packages by clicking
In the packages view of your project page, you can delete packages by clicking
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment