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