@appxdigital/appx-core 0.1.119 → 0.1.121-beta.4
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/LICENSE +21 -21
- package/README.md +564 -533
- package/dist/backoffice/appx-core-admin.module.d.ts.map +1 -1
- package/dist/backoffice/appx-core-admin.module.js +3 -3
- package/dist/common/interceptors/prisma.interceptor.d.ts.map +1 -1
- package/dist/common/interceptors/prisma.interceptor.js +18 -6
- package/dist/common/setup/core-config.d.ts +66 -0
- package/dist/common/setup/core-config.d.ts.map +1 -0
- package/dist/common/setup/core-config.js +67 -0
- package/dist/common/setup/setup-core-security.d.ts +62 -0
- package/dist/common/setup/setup-core-security.d.ts.map +1 -0
- package/dist/common/setup/setup-core-security.js +40 -0
- package/dist/config/generate-all.js +4 -0
- package/dist/config/generate-controllers.js +19 -2
- package/dist/config/generate-dtos.d.ts +2 -0
- package/dist/config/generate-dtos.d.ts.map +1 -0
- package/dist/config/generate-dtos.js +199 -0
- package/dist/config/utils.d.ts +14 -0
- package/dist/config/utils.d.ts.map +1 -1
- package/dist/config/utils.js +35 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/modules/auth/auth.controller.d.ts.map +1 -1
- package/dist/modules/auth/auth.controller.js +6 -2
- package/dist/modules/auth/auth.service.d.ts.map +1 -1
- package/dist/modules/core/core.controller.d.ts.map +1 -1
- package/dist/modules/core/core.controller.js +12 -5
- package/dist/modules/user/user.service.d.ts.map +1 -1
- package/dist/modules/user/user.service.js +7 -3
- package/dist/prisma/prisma.service.d.ts +45 -0
- package/dist/prisma/prisma.service.d.ts.map +1 -1
- package/dist/prisma/prisma.service.js +208 -3
- package/package.json +108 -86
package/package.json
CHANGED
|
@@ -1,86 +1,108 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@appxdigital/appx-core",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Appx Core is a library that provides a set of tools to help you build your application faster.",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "tsc",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"@
|
|
37
|
-
"@
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
41
|
-
"@
|
|
42
|
-
"@types/
|
|
43
|
-
"@types/
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
"@
|
|
58
|
-
"@nestjs
|
|
59
|
-
"@
|
|
60
|
-
"@
|
|
61
|
-
"@
|
|
62
|
-
"@
|
|
63
|
-
"@
|
|
64
|
-
"@
|
|
65
|
-
"@
|
|
66
|
-
"@
|
|
67
|
-
"nestjs
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"@
|
|
71
|
-
"@
|
|
72
|
-
"@
|
|
73
|
-
"@
|
|
74
|
-
"@
|
|
75
|
-
"@
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@appxdigital/appx-core",
|
|
3
|
+
"version": "0.1.121-beta.4",
|
|
4
|
+
"description": "Appx Core is a library that provides a set of tools to help you build your application faster.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsc",
|
|
9
|
+
"build:cli": "npm --prefix cli ci",
|
|
10
|
+
"build:all": "npm run build && npm run build:cli",
|
|
11
|
+
"db-pull": "npx prisma db pull && prisma-case-format --table-case pascal --field-case camel --enum-case pascal --file prisma/schema.prisma",
|
|
12
|
+
"test": "jest",
|
|
13
|
+
"test:mysql": "DB_PROVIDER=mysql jest",
|
|
14
|
+
"test:postgres": "DB_PROVIDER=postgres jest",
|
|
15
|
+
"test:all": "DB_PROVIDER=mysql jest && DB_PROVIDER=postgres jest",
|
|
16
|
+
"release:beta": "node scripts/release.mjs lib prerelease beta",
|
|
17
|
+
"release:production": "node scripts/release.mjs lib patch",
|
|
18
|
+
"release:cli:beta": "node scripts/release.mjs cli prerelease beta",
|
|
19
|
+
"release:cli:production": "node scripts/release.mjs cli patch"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [],
|
|
22
|
+
"author": "",
|
|
23
|
+
"license": "ISC",
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "git+https://github.com/appxdigital/appx-core.git"
|
|
27
|
+
},
|
|
28
|
+
"homepage": "https://github.com/appxdigital/appx-core#readme",
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/appxdigital/appx-core/issues"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"express": "^5.1.0"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@nestjs/testing": "~11.0.0",
|
|
37
|
+
"@testcontainers/mysql": "^10.28.0",
|
|
38
|
+
"@testcontainers/postgresql": "^10.28.0",
|
|
39
|
+
"@types/express-formidable": "~1.2.3",
|
|
40
|
+
"@types/inquirer": "~9.0.7",
|
|
41
|
+
"@types/jest": "^29.5.14",
|
|
42
|
+
"@types/multer": "~1.4.12",
|
|
43
|
+
"@types/passport-jwt": "~4.0.1",
|
|
44
|
+
"@types/passport-local": "~1.0.38",
|
|
45
|
+
"@types/supertest": "^6.0.3",
|
|
46
|
+
"helmet": "^8.3.0",
|
|
47
|
+
"jest": "^29.7.0",
|
|
48
|
+
"prettier": "^3.8.3",
|
|
49
|
+
"rimraf": "^6.1.2",
|
|
50
|
+
"supertest": "^7.2.2",
|
|
51
|
+
"testcontainers": "^10.28.0",
|
|
52
|
+
"ts-jest": "^29.4.9",
|
|
53
|
+
"typescript": "~5.1.3"
|
|
54
|
+
},
|
|
55
|
+
"peerDependencies": {
|
|
56
|
+
"@adminjs/express": "~6.1.1",
|
|
57
|
+
"@adminjs/import-export": "~3.0.0",
|
|
58
|
+
"@adminjs/nestjs": "~7.0.0",
|
|
59
|
+
"@adminjs/passwords": "~4.0.0",
|
|
60
|
+
"@adminjs/prisma": "~5.0.4",
|
|
61
|
+
"@as-integrations/express5": "~1.1.2",
|
|
62
|
+
"@aws-sdk/client-s3": "~3.850.0",
|
|
63
|
+
"@aws-sdk/s3-request-presigner": "~3.850.0",
|
|
64
|
+
"@aws-sdk/types": "~3.686.0",
|
|
65
|
+
"@google-cloud/storage": "~7.14.0",
|
|
66
|
+
"@nestjs/apollo": "~13.0.0",
|
|
67
|
+
"@nestjs/common": "~11.0.0",
|
|
68
|
+
"@nestjs/config": "~4.0.0",
|
|
69
|
+
"@nestjs/core": "~11.0.0",
|
|
70
|
+
"@nestjs/graphql": "~13.1.0",
|
|
71
|
+
"@nestjs/jwt": "~11.0.0",
|
|
72
|
+
"@nestjs/passport": "~11.0.0",
|
|
73
|
+
"@nestjs/platform-express": "~11.1.6",
|
|
74
|
+
"@nestjs/schedule": "~6.0.0",
|
|
75
|
+
"@paljs/plugins": "~8.1.0",
|
|
76
|
+
"@paralleldrive/cuid2": "~2.2.2",
|
|
77
|
+
"@prisma/client": "~6.5.0",
|
|
78
|
+
"@prisma/sdk": "~3.15.2",
|
|
79
|
+
"@types/bcrypt": "~5.0.2",
|
|
80
|
+
"@types/express": "~5.0.0",
|
|
81
|
+
"argon2": "~0.41.1",
|
|
82
|
+
"class-transformer": "~0.5.1",
|
|
83
|
+
"class-validator": "~0.14.1",
|
|
84
|
+
"express": "^5.1.0",
|
|
85
|
+
"express-session": "^1.18.1",
|
|
86
|
+
"graphql-type-json": "^0.3.2",
|
|
87
|
+
"helmet": "^8.0.0",
|
|
88
|
+
"inquirer": "~12.0.1",
|
|
89
|
+
"morgan": "^1.10.1",
|
|
90
|
+
"multer": "~1.4.5-lts.1",
|
|
91
|
+
"nestjs-request-context": "~4.0.0",
|
|
92
|
+
"passport": "~0.7.0",
|
|
93
|
+
"passport-jwt": "~4.0.1",
|
|
94
|
+
"passport-local": "~1.0.0",
|
|
95
|
+
"prisma": "~6.5.0",
|
|
96
|
+
"prisma-case-format": "~2.2.1",
|
|
97
|
+
"prisma-nestjs-graphql": "21.1.1",
|
|
98
|
+
"reflect-metadata": "~0.2.0",
|
|
99
|
+
"rxjs": "~7.8.1"
|
|
100
|
+
},
|
|
101
|
+
"files": [
|
|
102
|
+
"dist"
|
|
103
|
+
],
|
|
104
|
+
"engines": {
|
|
105
|
+
"npm": ">=10.0.0",
|
|
106
|
+
"node": ">=20.0.0"
|
|
107
|
+
}
|
|
108
|
+
}
|