Create a Project in GitLab:

ARTIFACTORY: Configure an NPM Gitlab registry in remote repository

AuthorFullName__c
Shisiya Sebastian
articleNumber
000005561
ft:sourceType
Salesforce
FirstPublishedDate
2023-01-29T09:23:43Z
lastModifiedDate
2023-01-29
VersionNumber
1

GitLab > Create new project > Create blank project > Select Project deployment target as “Registry”

User-added image


For more details, please refer to this documentation.

To publish an NPM package, the following is required:

1. Project ID: Click on your project and you can find your Project ID

User-added image

2. Scope: The value used for the @scope is the root of the project that will host the packages and not the root of the project with the source code of the package itself. The scope should be lowercase.

3. Deploy Token