Skip to content
Snippets Groups Projects
Commit 1faf5616 authored by david.bauer's avatar david.bauer :fire:
Browse files

Update dependencies / CI Building Blocks

parent 41e039c1
No related branches found
No related tags found
No related merge requests found
# https://editorconfig.org
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
node_modules/
File moved
......@@ -119,3 +119,11 @@ dist
.pnp.*
config
.DS_Store
.idea/
*.sublime-project
*.sublime-workspace
Thumbs.db
output
package-lock.json
pnpm-lock.yaml
include:
- project: 'sre/ci-building-blocks'
file: 'nodejs.yml'
ref: '3.1.0'
- project: sre/ci-building-blocks
file: nodejs.yml
ref: 3.2.0
integration tests:
extends: .unit tests
......@@ -13,10 +13,3 @@ integration tests:
variables:
# app specific settings
REDIS_HOST: redis
deploy helm chart:
extends: .auto-deploy-helm-chart
script:
- !reference [.auto-deploy-helm-chart, script]
- envsubst < .gitlab/autodeploy/kubernetes-resources.yaml > tmp-k8s-resources.yaml
- kubectl apply -f tmp-k8s-resources.yaml
_
......@@ -2,4 +2,3 @@
. "$(dirname "$0")/_/husky.sh"
npx lint-staged
npx lint-staged
......@@ -6,7 +6,6 @@ powered-test
# asset directories
docs
doc
website
images !node_modules/swiper/
assets
......
......@@ -5,7 +5,7 @@
"type": "module",
"main": "src/index.js",
"scripts": {
"lint": "eslint .",
"lint": "eslint . --cache --fix",
"start": "node src/index.js",
"dev": "nodemon index.js",
"prepare": "husky install",
......@@ -29,23 +29,23 @@
"ioredis": "^5.0.6",
"js-yaml": "^4.0.0",
"node-fetch": "^3.1.0",
"sinon": "^13.0.1",
"swagger-ui-express": "^4.1.6"
},
"devDependencies": {
"chai": "^4.3.6",
"eslint": "^8.6.0",
"eslint-config-standard": "^17.0.0-1",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.0.0",
"eslint-plugin-mocha": "^10.0.3",
"eslint-plugin-n": "^15.0.1",
"eslint-plugin-promise": "^6.0.0",
"husky": ">=6",
"husky": ">=8",
"ioredis-mock": "^8.1.1",
"lint-staged": ">=10",
"mocha": "^9.2.1",
"mocha": "^10.0.0",
"nodemon": "^2.0.7",
"sinon": "^14.0.0",
"superagent": "^7.1.1",
"supertest": "^6.1.6",
"testdouble": "^3.16.4"
......@@ -57,5 +57,8 @@
"classNameTemplate": "{classname}",
"titleTemplate": "{title}",
"outputDirectory": "output/"
},
"engines": {
"node": ">=16"
}
}
This diff is collapsed.
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