Skip to content

Commit

Permalink
Merge pull request #122 from DigiChanges/refactor/NR/event-handler
Browse files Browse the repository at this point in the history
Refactor/nr/event handler
  • Loading branch information
Murzbul authored Feb 18, 2023
2 parents 9565061 + 004b6d3 commit e22358d
Show file tree
Hide file tree
Showing 36 changed files with 548 additions and 238 deletions.
4 changes: 3 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ module.exports = {
"dist/src/**/*.{js,jsx,ts,tsx}",
"!<rootDir>/node_modules/",
"!dist/src/initTestServer.{js,ts}",
"!dist/src/**/*.d.ts",
"!dist/src/**/*.d.ts.map",
"!dist/src/register.{js,ts}",
"!dist/src/seed.{js,ts}",
"!dist/src/exceptions.{js,ts}",
Expand Down Expand Up @@ -88,7 +90,7 @@ module.exports = {
global: {
statements: '75',
branches: '50',
functions: '55',
functions: '50',
lines: '75',
}
},
Expand Down
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"scripts": {
"build": "etsc",
"build-tsc": "tsc -p tsconfig.json --incremental",
"build-tsc": "node rimraf_cpy.mjs && tsc -p tsconfig.json --incremental",
"ci": "npm run cpy-ci && npm run ts-check && npm run lint",
"circular": "madge --circular dist/src/index.js",
"circular-graph": "madge --circular --image graph.svg dist/src/index.js",
Expand Down Expand Up @@ -33,6 +33,7 @@
"license": "MIT",
"dependencies": {
"@deepkit/core": "1.0.1-alpha.77",
"@deepkit/event": "1.0.1-alpha.85",
"@deepkit/type": "1.0.1-alpha.85",
"@koa/cors": "^4.0.0",
"@koa/multer": "^3.0.0",
Expand Down Expand Up @@ -76,21 +77,21 @@
"node-cron": "^3.0.1",
"nodemailer": "6.7.7",
"pg-promise": "^10.11.1",
"promise-events": "^0.2.4",
"pino": "^8.10.0",
"qs": "^6.11.0",
"reflect-metadata": "^0.1.13",
"shelljs": "^0.8.5",
"tedis": "^0.1.12",
"ts-mixer": "^6.0.2",
"tslog": "^4.7.0",
"tsyringe": "^4.7.0",
"typeorm": "^0.3.11",
"web-push": "^3.5.0",
"zod": "^3.20.2"
},
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@deepkit/type-compiler": "1.0.1-alpha.83",
"@shelf/jest-mongodb": "^4.1.4",
"@types/bcrypt": "^5.0.0",
"@types/compression": "^1.7.2",
Expand All @@ -107,6 +108,7 @@
"@types/koa": "^2.13.4",
"@types/koa-bodyparser": "^4.3.7",
"@types/koa-hbs": "^1.0.7",
"@types/koa-qs": "^2.0.0",
"@types/koa-ratelimit": "^4.2.4",
"@types/koa-router": "^7.4.4",
"@types/koa__cors": "^3.3.0",
Expand Down Expand Up @@ -139,6 +141,7 @@
"madge": "^6.0.0",
"nodemon": "^2.0.20",
"pg-mem": "^2.6.4",
"pino-pretty": "^9.2.0",
"prettier": "^2.8.3",
"rimraf": "^3.0.2",
"supertest": "^6.3.0",
Expand Down
Loading

0 comments on commit e22358d

Please sign in to comment.