Commit 9263d7e7 authored by Marcin Sedlak-Jakubowski's avatar Marcin Sedlak-Jakubowski Committed by Marcel Amirault

Update section on NPM dist tags

parent f98d2f4f
...@@ -373,14 +373,12 @@ Starting from GitLab 12.6, new packages published to the GitLab NPM Registry exp ...@@ -373,14 +373,12 @@ Starting from GitLab 12.6, new packages published to the GitLab NPM Registry exp
## NPM distribution tags ## NPM distribution tags
> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/9425) in GitLab Premium 12.7. > [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/9425) in GitLab Premium 12.8.
Dist Tags for newly published packages are supported, and they follow NPM's convention where they are optional, and each tag can only be assigned to 1 package at You can add [distribution tags](https://docs.npmjs.com/cli/dist-tag) for newly published packages.
You can add [distribution tags](https://docs.npmjs.com/cli/dist-tag) for newly They follow NPM's convention where they are optional, and each tag can only be assigned to one
published packages. They follow NPM's convention where they are optional, and package at a time. The `latest` tag is added by default when a package is published without a tag.
each tag can only be assigned to one package at a time. The latest tag is added The same applies to installing a package without specifying the tag or version.
by default when a package is published without a tag. The same goes to installing
a package without specifying the tag or version.
Examples of the supported `dist-tag` commands and using tags in general: Examples of the supported `dist-tag` commands and using tags in general:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment