From db280d60b21fceff9b035e6a77f12f03472e0a3f Mon Sep 17 00:00:00 2001 From: ko_oler <kooler89@gmail.com> Date: Wed, 14 Dec 2022 17:27:08 +0800 Subject: [PATCH] fix --- .gitlab-ci.yml | 2 +- config/package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b8c4ef3..94646cb 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 738e242..ebf6c0f 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" -- GitLab