Skip to content
Snippets Groups Projects
Commit 5c041e87 authored by Sigmund, Dominik's avatar Sigmund, Dominik
Browse files

Migrating commit

parent 9b461f7e
No related branches found
No related tags found
No related merge requests found
Pipeline #8206 failed
image: node:latest
include:
- project: 'general/templates'
file: '/cicd/SAST-nodejs.gitlab-ci.yml'
- project: 'general/templates'
file: '/cicd/npm-audit.gitlab-ci.yml'
- project: 'general/templates'
file: '/cicd/sonarqube.gitlab-ci.yml'
variables:
SONAR_PROJECT_KEY: security
SONAR_TOKEN: 11922a8e774494f51e1d2f0e695949e4073e7df8
cache:
paths:
- node_modules/
- docs/
stages:
- build
- test
- quality
- publish
build:
stage: build
script:
- npm install
test:
stage: test
before_script:
- npm install
- npm install -g jest
script:
- jest
......@@ -45,4 +27,5 @@ publish:
- tags
stage: publish
script:
- npm install
- npm publish --verbose
tag-version-prefix=""
strict-ssl=false
@general:registry=https://gitlab.br.de/api/v4/projects/15/packages/npm/
//gitlab.br.de/api/v4/packages/npm/:_authToken=${CI_JOB_TOKEN}
//gitlab.br.de/api/v4/projects/15/packages/npm/:_authToken=${CI_JOB_TOKEN}
@libs:registry=https://gitlab.ard.de/api/v4/projects/954/packages/npm/
//gitlab.ard.de/api/v4/packages/npm/:_authToken=${CI_JOB_TOKEN}
//gitlab.ard.de/api/v4/projects/954/packages/npm/:_authToken=${CI_JOB_TOKEN}
This diff is collapsed.
{
"name": "@general/security",
"name": "@libs/security",
"version": "2.2.2",
"description": "Sets Headers to a very save style in express-apps. may be overriden by config",
"main": "index.js",
......@@ -15,23 +15,22 @@
],
"repository": {
"type": "git",
"url": "https://gitlab.br.de/general/security.git"
"url": "https://gitlab.ard.de/libs/security.git"
},
"publishConfig": {
"@general:registry": "https://gitlab.br.de/api/v4/projects/15/packages/npm/"
"@libs:registry": "https://gitlab.br.de/api/v4/projects/954/packages/npm/"
},
"author": "Dominik Sigmund <dominik.sigmund@br.de>",
"license": "ISC",
"dependencies": {},
"devDependencies": {
"@stryker-mutator/core": "^5.4.1",
"@stryker-mutator/core": "^7.1.0",
"@stryker-mutator/javascript-mutator": "^4.0.0",
"@stryker-mutator/jest-runner": "^5.4.1",
"@stryker-mutator/jest-runner": "^7.1.0",
"@stryker-mutator/typescript": "^4.0.0",
"express": "^4.17.1",
"jest": "^27.2.4",
"jest-html-reporters": "^2.1.6",
"superagent": "^6.1.0"
"express": "^4.18.2",
"jest": "^29.5.0",
"jest-html-reporters": "^3.1.4",
"superagent": "^8.0.9"
},
"jest": {
"collectCoverage": true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment