@alpha018/nestjs-redisom 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +34 -0
- package/LICENSE +21 -0
- package/README.md +216 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +24 -0
- package/dist/index.js.map +1 -0
- package/dist/redis-om/common/base.entity.d.ts +7 -0
- package/dist/redis-om/common/base.entity.js +13 -0
- package/dist/redis-om/common/base.entity.js.map +1 -0
- package/dist/redis-om/common/redis-om.utils.d.ts +3 -0
- package/dist/redis-om/common/redis-om.utils.js +17 -0
- package/dist/redis-om/common/redis-om.utils.js.map +1 -0
- package/dist/redis-om/decorators/inject-repository.decorator.d.ts +2 -0
- package/dist/redis-om/decorators/inject-repository.decorator.js +10 -0
- package/dist/redis-om/decorators/inject-repository.decorator.js.map +1 -0
- package/dist/redis-om/decorators/prop.decorator.d.ts +22 -0
- package/dist/redis-om/decorators/prop.decorator.js +12 -0
- package/dist/redis-om/decorators/prop.decorator.js.map +1 -0
- package/dist/redis-om/decorators/schema.decorator.d.ts +6 -0
- package/dist/redis-om/decorators/schema.decorator.js +10 -0
- package/dist/redis-om/decorators/schema.decorator.js.map +1 -0
- package/dist/redis-om/factories/schema.factory.d.ts +10 -0
- package/dist/redis-om/factories/schema.factory.js +60 -0
- package/dist/redis-om/factories/schema.factory.js.map +1 -0
- package/dist/redis-om/interfaces/index.d.ts +16 -0
- package/dist/redis-om/interfaces/index.js +3 -0
- package/dist/redis-om/interfaces/index.js.map +1 -0
- package/dist/redis-om/redis-om-core.module.d.ts +8 -0
- package/dist/redis-om/redis-om-core.module.js +72 -0
- package/dist/redis-om/redis-om-core.module.js.map +1 -0
- package/dist/redis-om/redis-om.constants.d.ts +3 -0
- package/dist/redis-om/redis-om.constants.js +7 -0
- package/dist/redis-om/redis-om.constants.js.map +1 -0
- package/dist/redis-om/redis-om.module.d.ts +8 -0
- package/dist/redis-om/redis-om.module.js +54 -0
- package/dist/redis-om/redis-om.module.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +124 -0
package/package.json
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@alpha018/nestjs-redisom",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "A NestJS module for RedisOM, providing a structured way to use Redis Stack JSON/Search features.",
|
|
5
|
+
"author": "Tomás Alegre <tomas.sa467@gmail.com>",
|
|
6
|
+
"readmeFilename": "README.md",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/Alpha018/nestjs-redisom"
|
|
10
|
+
},
|
|
11
|
+
"keywords": [
|
|
12
|
+
"nestjs",
|
|
13
|
+
"redis",
|
|
14
|
+
"redis-om",
|
|
15
|
+
"redis-stack",
|
|
16
|
+
"database",
|
|
17
|
+
"nosql"
|
|
18
|
+
],
|
|
19
|
+
"main": "dist/index.js",
|
|
20
|
+
"private": false,
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">=20.0.0"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist/**/*",
|
|
27
|
+
"*.md"
|
|
28
|
+
],
|
|
29
|
+
"publishConfig": {
|
|
30
|
+
"access": "public"
|
|
31
|
+
},
|
|
32
|
+
"bugs": {
|
|
33
|
+
"url": "https://github.com/Alpha018/nestjs-redisom/issues"
|
|
34
|
+
},
|
|
35
|
+
"homepage": "https://github.com/Alpha018/nestjs-redisom#readme",
|
|
36
|
+
"scripts": {
|
|
37
|
+
"build": "nest build",
|
|
38
|
+
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
39
|
+
"start": "nest start",
|
|
40
|
+
"start:dev": "nest start --watch",
|
|
41
|
+
"start:debug": "nest start --debug --watch",
|
|
42
|
+
"start:prod": "node dist/index",
|
|
43
|
+
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
|
44
|
+
"test": "jest",
|
|
45
|
+
"test:watch": "jest --watch",
|
|
46
|
+
"test:cov": "jest --coverage",
|
|
47
|
+
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
|
48
|
+
"test:e2e": "jest --config ./test/jest-e2e.json",
|
|
49
|
+
"prepare": "husky || exit 0"
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"@nestjs/common": "^11.0.1",
|
|
53
|
+
"@nestjs/core": "^11.0.1",
|
|
54
|
+
"@nestjs/platform-express": "^11.0.1",
|
|
55
|
+
"redis": "^5.10.0",
|
|
56
|
+
"redis-om": "^0.4.7",
|
|
57
|
+
"reflect-metadata": "^0.2.2",
|
|
58
|
+
"rxjs": "^7.8.1"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@commitlint/cli": "^20.2.0",
|
|
62
|
+
"@commitlint/config-conventional": "^20.2.0",
|
|
63
|
+
"@eslint/eslintrc": "^3.2.0",
|
|
64
|
+
"@eslint/js": "^9.18.0",
|
|
65
|
+
"@faker-js/faker": "^10.1.0",
|
|
66
|
+
"@nestjs/cli": "^11.0.0",
|
|
67
|
+
"@nestjs/schematics": "^11.0.0",
|
|
68
|
+
"@nestjs/testing": "^11.0.1",
|
|
69
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
70
|
+
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
71
|
+
"@semantic-release/git": "^10.0.1",
|
|
72
|
+
"@semantic-release/github": "^12.0.2",
|
|
73
|
+
"@semantic-release/npm": "^13.1.3",
|
|
74
|
+
"@semantic-release/release-notes-generator": "^14.1.0",
|
|
75
|
+
"@stylistic/eslint-plugin": "^5.6.1",
|
|
76
|
+
"@swc/cli": "^0.6.0",
|
|
77
|
+
"@swc/core": "^1.10.7",
|
|
78
|
+
"@types/express": "^5.0.0",
|
|
79
|
+
"@types/jest": "^29.5.14",
|
|
80
|
+
"@types/node": "^22.10.7",
|
|
81
|
+
"@types/supertest": "^6.0.2",
|
|
82
|
+
"@types/uuid": "^11.0.0",
|
|
83
|
+
"@typescript-eslint/eslint-plugin": "^8.50.1",
|
|
84
|
+
"dotenv": "^17.2.3",
|
|
85
|
+
"eslint": "^9.18.0",
|
|
86
|
+
"eslint-config-prettier": "^10.0.1",
|
|
87
|
+
"eslint-plugin-perfectionist": "^5.1.0",
|
|
88
|
+
"eslint-plugin-prettier": "^5.2.2",
|
|
89
|
+
"eslint-plugin-security": "^3.0.1",
|
|
90
|
+
"eslint-plugin-sonarjs": "^3.0.5",
|
|
91
|
+
"globals": "^16.0.0",
|
|
92
|
+
"husky": "^9.1.7",
|
|
93
|
+
"jest": "^29.7.0",
|
|
94
|
+
"jest-mock-extended": "^4.0.0",
|
|
95
|
+
"prettier": "^3.4.2",
|
|
96
|
+
"semantic-release": "^25.0.2",
|
|
97
|
+
"source-map-support": "^0.5.21",
|
|
98
|
+
"supertest": "^7.0.0",
|
|
99
|
+
"ts-jest": "^29.2.5",
|
|
100
|
+
"ts-loader": "^9.5.2",
|
|
101
|
+
"ts-node": "^10.9.2",
|
|
102
|
+
"tsconfig-paths": "^4.2.0",
|
|
103
|
+
"typescript": "^5.7.3",
|
|
104
|
+
"typescript-eslint": "^8.20.0",
|
|
105
|
+
"uuid": "^11.1.0"
|
|
106
|
+
},
|
|
107
|
+
"jest": {
|
|
108
|
+
"moduleFileExtensions": [
|
|
109
|
+
"js",
|
|
110
|
+
"json",
|
|
111
|
+
"ts"
|
|
112
|
+
],
|
|
113
|
+
"rootDir": "src",
|
|
114
|
+
"testRegex": ".*\\.spec\\.ts$",
|
|
115
|
+
"transform": {
|
|
116
|
+
"^.+\\.(t|j)s$": "ts-jest"
|
|
117
|
+
},
|
|
118
|
+
"collectCoverageFrom": [
|
|
119
|
+
"**/*.(t|j)s"
|
|
120
|
+
],
|
|
121
|
+
"coverageDirectory": "../coverage",
|
|
122
|
+
"testEnvironment": "node"
|
|
123
|
+
}
|
|
124
|
+
}
|