@reldens/storage 0.38.0 → 0.39.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/index.js +1 -1
- package/lib/entities-generator.js +2 -2
- package/package.json +4 -4
package/index.js
CHANGED
|
@@ -40,7 +40,7 @@ class EntitiesGenerator
|
|
|
40
40
|
this.driversClassMap = {
|
|
41
41
|
'ObjectionJsDataServer': 'objection-js',
|
|
42
42
|
'MikroOrmDataServer': 'mikro-orm',
|
|
43
|
-
'PrismaDataServer': 'prisma
|
|
43
|
+
'PrismaDataServer': 'prisma'
|
|
44
44
|
};
|
|
45
45
|
this.server = sc.get(props, 'server', false);
|
|
46
46
|
this.connectionData = sc.get(props, 'connectionData', false);
|
|
@@ -306,7 +306,7 @@ class EntitiesGenerator
|
|
|
306
306
|
{
|
|
307
307
|
let modelTemplatePath = this.templates[driverKey];
|
|
308
308
|
if(!FileHandler.exists(modelTemplatePath)){
|
|
309
|
-
ErrorManager.error('Model template file not found
|
|
309
|
+
ErrorManager.error('Model template file "'+modelTemplatePath+'" not found for driver "'+driverKey+'".');
|
|
310
310
|
}
|
|
311
311
|
let modelTemplateContent;
|
|
312
312
|
try {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reldens/storage",
|
|
3
3
|
"scope": "@reldens",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.39.0",
|
|
5
5
|
"description": "Reldens - Storage",
|
|
6
6
|
"author": "Damian A. Pastorini",
|
|
7
7
|
"license": "MIT",
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
"@mikro-orm/core": "^6.4.15",
|
|
54
54
|
"@mikro-orm/mongodb": "^6.4.15",
|
|
55
55
|
"@mikro-orm/mysql": "^6.4.15",
|
|
56
|
-
"@prisma/client": "^6.
|
|
57
|
-
"@reldens/server-utils": "^0.
|
|
56
|
+
"@prisma/client": "^6.8.2",
|
|
57
|
+
"@reldens/server-utils": "^0.16.0",
|
|
58
58
|
"@reldens/utils": "^0.47.0",
|
|
59
59
|
"knex": "^3.1.0",
|
|
60
60
|
"mysql": "^2.18.1",
|
|
61
61
|
"mysql2": "^3.14.1",
|
|
62
62
|
"objection": "^3.1.5",
|
|
63
|
-
"prisma": "^6.
|
|
63
|
+
"prisma": "^6.8.2"
|
|
64
64
|
}
|
|
65
65
|
}
|