nest-typeorm-sharding-repository
Version:
This module extends TypeORM capabilities to support distributed database environments with List and Range-based sharding strategies in a NestJS application.
79 lines (78 loc) • 1.89 kB
JSON
{
"name": "nest-typeorm-sharding-repository",
"version": "1.0.4",
"description": "This module extends TypeORM capabilities to support distributed database environments with List and Range-based sharding strategies in a NestJS application.",
"homepage": "https://github.com/rungwe/nestjs-typeorm-sharding-repository",
"repository": {
"type": "git",
"url": "https://github.com/rungwe/nestjs-typeorm-sharding-repository.git"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"build": "tsc -p tsconfig.build.json",
"publish": "npm run build && npm publish --access public"
},
"keywords": [
"TypeORM",
"Sharding",
"RangeSharding",
"ListSharding",
"Decorator",
"Distributed",
"NestJS",
"Multi-Tenancy"
],
"author": "Chaddy Rungwe <kumbirair@yahoo.com>",
"license": "MIT",
"devDependencies": {
"@types/jest": "^28.1.6",
"jest": "^28.1.3",
"jest-junit": "^14.0.0",
"prettier": "^2.7.1",
"sqlite3": "^5.0.10",
"ts-jest": "^28.0.7",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
},
"dependencies": {
"@nestjs/common": "^10.3.8",
"@nestjs/core": "^10.3.8",
"@nestjs/platform-express": "^10.3.8",
"@nestjs/testing": "^10.3.8",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"typeorm": "^0.3.0"
},
"peerDependencies": {
"typeorm": "^0.3.0"
},
"files": [
"dist/**/*"
],
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"testEnvironment": "node",
"roots": [
"<rootDir>/src/"
],
"reporters": [
"default",
"jest-junit"
]
}
}