Create access token in gitlab profile with read_api
scope.
echo \"@asiastartup-npm-package:registry\" \"https://git.asiastartup.ir/api/v4/packages/npm/\" > .yarnrc
echo "@asiastartup-npm-package:registry=https://git.asiastartup.ir/api/v4/packages/npm/" > .npmrc
echo "//git.asiastartup.ir/api/v4/packages/npm/:_authToken=ACCESS_TOKEN" >> .npmrc
echo "//git.asiastartup.ir/api/v4/projects/:_authToken=ACCESS_TOKEN" >> .npmrc
npm i @asiastartup-npm-package/kit
yarn add @asiastartup-npm-package/kit
Some usage sample