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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lapeh",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Framework API Express yang siap pakai (Standardized)",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -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 .model files in src/models
18
- const modelFiles = fs.readdirSync(modelsDir).filter(file => file.endsWith('.model'));
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');
@@ -1,5 +0,0 @@
1
- {
2
- "files.associations": {
3
- "*.model": "prisma"
4
- }
5
- }
File without changes
File without changes