@cheetah.js/orm 0.1.54 → 0.1.55
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/dist/orm.service.js +0 -2
- package/package.json +2 -2
package/dist/orm.service.js
CHANGED
|
@@ -54,7 +54,6 @@ let OrmService = class OrmService {
|
|
|
54
54
|
this.orm = orm;
|
|
55
55
|
this.storage = storage;
|
|
56
56
|
this.allEntities = new Map();
|
|
57
|
-
console.log('Preparing entities...');
|
|
58
57
|
const files = new ts_morph_1.Project({ skipLoadingLibFiles: true }).addSourceFilesAtPaths(entityFile ?? this.getSourceFilePaths());
|
|
59
58
|
files.forEach(file => {
|
|
60
59
|
file.getClasses().forEach(classDeclaration => {
|
|
@@ -143,7 +142,6 @@ let OrmService = class OrmService {
|
|
|
143
142
|
}
|
|
144
143
|
this.storage.add(entity, properties, relationship, hooks);
|
|
145
144
|
}
|
|
146
|
-
console.log('Entities prepared!');
|
|
147
145
|
}
|
|
148
146
|
getSourceFilePaths() {
|
|
149
147
|
const projectRoot = process.cwd(); // Ajuste conforme a estrutura do seu projeto
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cheetah.js/orm",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.55",
|
|
4
4
|
"description": "A simple ORM for Cheetah.js",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"bun",
|
|
51
51
|
"value-object"
|
|
52
52
|
],
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "61a132d1fc3040eb617f2796345efa0dcf07796d"
|
|
54
54
|
}
|