diff --git a/packages/api/package.json b/packages/api/package.json index 896570fe5f..ea0d8ee2a2 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,66 +1,66 @@ -{ - "name": "api", - "version": "1.4.3", - "scripts": { - "prebuild": "rimraf dist", - "build": "nest build", - "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", - "start": "nest start", - "start:watch": "nest start --watch", - "start:debug": "nest start --debug --watch", - "start:prod": "node dist/main", - "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", - "test": "jest", - "test:watch": "jest --watch", - "test:cov": "jest --coverage", - "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", - "test:e2e": "jest --config jest.config-e2e.ts", - "docker:build": "echo $npm_package_version && DOCKER_BUILDKIT=1 docker build -f Dockerfile --tag idems/apps-api:$npm_package_version .", - "docker:run": "docker run -p 3000:3000 --name apps-api --rm idems/apps-api:$npm_package_version", - "docker:debug": "docker run -d --name apps-api-debug --rm idems/apps-api:$npm_package_version sleep infinity" - }, - "dependencies": { - "@nestjs/common": "^9.4.3", - "@nestjs/config": "^2.3.4", - "@nestjs/core": "^9.4.3", - "@nestjs/event-emitter": "^1.4.2", - "@nestjs/platform-express": "^9.4.3", - "@nestjs/sequelize": "^9.0.2", - "@nestjs/swagger": "^6.3.0", - "dotenv": "^16.3.1", - "fs-extra": "^10.1.0", - "pg": "^8.11.3", - "reflect-metadata": "^0.1.13", - "rxjs": "^7.8.1", - "sequelize": "^6.33.0", - "sequelize-typescript": "^2.1.5", - "swagger-ui-express": "^4.6.3", - "ts-node": "^10.9.1", - "typescript": "4.3.5", - "umzug": "3.2.1" - }, - "devDependencies": { - "@nestjs/cli": "^9.5.0", - "@nestjs/schematics": "^9.2.0", - "@nestjs/testing": "9.4.3", - "@types/express": "^4.17.20", - "@types/jest": "^29.5.6", - "@types/node": "^18.18.6", - "@types/pg": "^8.10.7", - "@types/sequelize": "4.28.17", - "@types/supertest": "^2.0.15", - "@types/ws": "^7.4.7", - "@typescript-eslint/eslint-plugin": "^5.62.0", - "@typescript-eslint/parser": "5.57.1", - "eslint": "^8.52.0", - "eslint-config-prettier": "^8.10.0", - "eslint-plugin-prettier": "^4.2.1", - "jest": "^29.7.0", - "prettier": "^2.8.8", - "rimraf": "^5.0.0", - "supertest": "^6.3.3", - "ts-jest": "^29.1.1", - "ts-loader": "^8.4.0", - "tsconfig-paths": "^3.14.2" - } -} +{ + "name": "api", + "version": "1.4.3", + "scripts": { + "prebuild": "rimraf dist", + "build": "nest build", + "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", + "start": "nest start", + "start:watch": "nest start --watch", + "start:debug": "nest start --debug --watch", + "start:prod": "node dist/main", + "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", + "test": "jest", + "test:watch": "jest --watch", + "test:cov": "jest --coverage", + "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", + "test:e2e": "jest --config jest.config-e2e.ts", + "docker:build": "echo $npm_package_version && DOCKER_BUILDKIT=1 docker build -f Dockerfile --tag idems/apps-api:$npm_package_version .", + "docker:run": "docker run -p 3000:3000 --name apps-api --rm idems/apps-api:$npm_package_version", + "docker:debug": "docker run -d --name apps-api-debug --rm idems/apps-api:$npm_package_version sleep infinity" + }, + "dependencies": { + "@nestjs/common": "^9.4.3", + "@nestjs/config": "^2.3.4", + "@nestjs/core": "^9.4.3", + "@nestjs/event-emitter": "^1.4.2", + "@nestjs/platform-express": "^9.4.3", + "@nestjs/sequelize": "^9.0.2", + "@nestjs/swagger": "^6.3.0", + "dotenv": "^16.3.1", + "fs-extra": "^10.1.0", + "pg": "^8.11.3", + "reflect-metadata": "^0.1.13", + "rxjs": "^7.8.1", + "sequelize": "^6.33.0", + "sequelize-typescript": "^2.1.6", + "swagger-ui-express": "^4.6.3", + "ts-node": "^10.9.1", + "typescript": "4.3.5", + "umzug": "3.2.1" + }, + "devDependencies": { + "@nestjs/cli": "^9.5.0", + "@nestjs/schematics": "^9.2.0", + "@nestjs/testing": "9.4.3", + "@types/express": "^4.17.20", + "@types/jest": "^29.5.6", + "@types/node": "^18.18.6", + "@types/pg": "^8.10.7", + "@types/sequelize": "4.28.17", + "@types/supertest": "^2.0.15", + "@types/ws": "^7.4.7", + "@typescript-eslint/eslint-plugin": "^5.62.0", + "@typescript-eslint/parser": "5.57.1", + "eslint": "^8.52.0", + "eslint-config-prettier": "^8.10.0", + "eslint-plugin-prettier": "^4.2.1", + "jest": "^29.7.0", + "prettier": "^2.8.8", + "rimraf": "^5.0.0", + "supertest": "^6.3.3", + "ts-jest": "^29.1.1", + "ts-loader": "^8.4.0", + "tsconfig-paths": "^3.14.2" + } +} diff --git a/yarn.lock b/yarn.lock index 0bf918fa4d..42e47ce6df 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9146,7 +9146,7 @@ __metadata: rimraf: ^5.0.0 rxjs: ^7.8.1 sequelize: ^6.33.0 - sequelize-typescript: ^2.1.5 + sequelize-typescript: ^2.1.6 supertest: ^6.3.3 swagger-ui-express: ^4.6.3 ts-jest: ^29.1.1 @@ -24842,9 +24842,9 @@ __metadata: languageName: node linkType: hard -"sequelize-typescript@npm:^2.1.5": - version: 2.1.5 - resolution: "sequelize-typescript@npm:2.1.5" +"sequelize-typescript@npm:^2.1.6": + version: 2.1.6 + resolution: "sequelize-typescript@npm:2.1.6" dependencies: glob: 7.2.0 peerDependencies: @@ -24852,7 +24852,7 @@ __metadata: "@types/validator": "*" reflect-metadata: "*" sequelize: ">=6.20.1" - checksum: 017abffa552014b14a3b2dfac4f6a4239689c5668720fc4a78a793a1f245f9bd2fd4745361e8725ad37d200af93a9e9c8b96dd07a1fb0cd833c00ace2269a35a + checksum: af01407d3c371510b440fe0350306e3a131a343198af1d69e3399c17b2eb1165d97bf2af0724cc439c74ba953a2fe5ff2ad32694aa434819ecee1009fadd75ba languageName: node linkType: hard