

Of the project with the source code of the package itself. The value used for the is the root of the project that is hosting the packages and not the root.npmrc file and by using the publishConfig option in the package.json. Scoped packages begin with a have the format of You can set up the scope for your package in the. If you plan to install a package through the instance level, then you must name your package with a scope.

If you plan to install a package through the project level, then you do not have to adhere to the naming convention. Project-level: Use when you have few npm packages and they are not in the same GitLab group.Instance-level: Use when you have many npm packages in different GitLab groups or in their own namespace.You can use one of two API endpoints to install packages: Naming conventionĭepending on how the package is installed, you may need to adhere to the naming convention. Undocumented authentication methods might be removed in the future. If you are publishing a package via CI/CD pipelines, you must use a CI job token.Ĭreate a token and save it to use later in the process.ĭo not use authentication methods other than the methods documented here.

