If I use the site gitlab.com and several private repositories for storing npm packages. How should I specify the keys? I can’t specify a shared key for a group. I have to specify it for every repository
This does not work
@scope:registry=https://gitlab.com/api/v4/packages/npm/
//gitlab.com/api/v4/packages/npm/:_authToken=<group-token>
Request failed "404 Not Found"
yarn add v1.22.19
- Resolving packages… OK
- Fetching packages… OK
- Request [.tgz file] failed “404 Not Found”
It works
@scope:registry=https://gitlab.com/api/v4/packages/npm/
//gitlab.com/api/v4/packages/npm/:_authToken=<group-token>
//gitlab.com/api/v4/projects/<projects-id-first>/packages/npm/:_authToken=<group-token>
//gitlab.com/api/v4/projects/<projects-id-second>/packages/npm/:_authToken=<group-token>
# <group-token> - the same token
How do I publish
semantic-release
module.exports = {
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
"@semantic-release/changelog",
'@semantic-release/gitlab',
'@semantic-release/npm',
],
}