diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b8c4ef3e2a7ed671e84f587a75efefdfb5fff6d5..94646cbc73414e662b8b0cf61b9a0cfc61b1a39a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,7 +22,7 @@ publish_npm: if [[ ! -f .npmrc ]]; then echo 'No .npmrc found! Creating one now. Please review the following link for more information: https://docs.gitlab.com/ee/user/packages/npm_registry/index.html#project-level-npm-endpoint-1' { - echo "@${CI_SERVER_HOST}:registry=${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/npm/" + echo "@${CI_PROJECT_ROOT_NAMESPACE}:registry=${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/npm/" echo "${CI_API_V4_URL#http*:}/packages/npm/:_authToken=\${CI_JOB_TOKEN}" echo "${CI_API_V4_URL#http*:}/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=\${CI_JOB_TOKEN}" } >> .npmrc diff --git a/config/package.json b/config/package.json index 738e242b71aaa1570a8eab85ba610d22e8ea43d1..ebf6c0fb81417d0075ea5a7af5e40256253074ff 100644 --- a/config/package.json +++ b/config/package.json @@ -1,5 +1,5 @@ { - "name": "@perxis-js/perxis-client", + "name": "@perxis/perxis-js", "version": "1.0.0", "description": "", "main": "clients/index.js", @@ -8,7 +8,7 @@ ], "repository": { "type": "git", - "url": "git+https://git.perx.ru/perxis/perxis-js.git" + "url": "git+https://git.perx.ru/perxis/perxis.git" }, "scripts": { "pub": "npm publish"