diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d9b87ecb533ab363ab33cc490fbcedb947ee9226..ce495f55d8d869ab0c04842d7c1d395058579b5d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,6 +44,4 @@ publish: stage: publish script: - npm config set strict-ssl false - - echo "@general:registry=https://gitlab.br.de/api/v4/packages/npm/">.npmrc - - echo "//gitlab.br.de/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}">>.npmrc - npm publish diff --git a/.npmignore b/.npmignore index e2ccceda3311c872d6ed5ef24f5e10753ad561ed..b9c616ce68055f953000274af372b8b5092cbf46 100644 --- a/.npmignore +++ b/.npmignore @@ -2,6 +2,7 @@ src/ docs/ examples/ .gitlab-ci.yml +.npmrc .eslintrc.json jest.config.js stryker.conf.json diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000000000000000000000000000000000000..9e324e1443c76871a42600fbd4e6464538de0fde --- /dev/null +++ b/.npmrc @@ -0,0 +1,3 @@ +@general:registry=https://gitlab.br.de/api/v4/packages/npm/ +//gitlab.br.de/api/v4/packages/npm/:_authToken=${CI_JOB_TOKEN} +//gitlab.br.de/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}