lapeh 2.0.2 → 2.0.3
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/package.json
CHANGED
|
@@ -14,8 +14,8 @@ if (!fs.existsSync(modelsDir)) {
|
|
|
14
14
|
// Read base schema (datasource & generator)
|
|
15
15
|
let schemaContent = fs.readFileSync(baseFile, 'utf8');
|
|
16
16
|
|
|
17
|
-
// Read all .
|
|
18
|
-
const modelFiles = fs.readdirSync(modelsDir).filter(file => file.endsWith('.
|
|
17
|
+
// Read all .prisma files in src/models
|
|
18
|
+
const modelFiles = fs.readdirSync(modelsDir).filter(file => file.endsWith('.prisma'));
|
|
19
19
|
|
|
20
20
|
modelFiles.forEach(file => {
|
|
21
21
|
const content = fs.readFileSync(path.join(modelsDir, file), 'utf8');
|
package/.vscode/settings.json
DELETED
|
File without changes
|
|
File without changes
|