@famgia/omnify 1.0.104 → 1.0.105
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/ai-guides/config-guide.md +15 -23
- package/package.json +9 -9
|
@@ -64,11 +64,8 @@ export default defineConfig({
|
|
|
64
64
|
},
|
|
65
65
|
|
|
66
66
|
plugins: [
|
|
67
|
-
japan(),
|
|
68
|
-
laravel(
|
|
69
|
-
generateRequests: true, // Generate FormRequest classes
|
|
70
|
-
generateResources: true, // Generate API Resource classes
|
|
71
|
-
}),
|
|
67
|
+
japan(), // Japan-specific types
|
|
68
|
+
laravel(), // All generators enabled by default
|
|
72
69
|
typescript({
|
|
73
70
|
path: './resources/ts/omnify',
|
|
74
71
|
generateRules: true,
|
|
@@ -164,8 +161,8 @@ laravel({
|
|
|
164
161
|
| ------------------- | --------- | ------- | ------------------------------- |
|
|
165
162
|
| `generateModels` | `boolean` | `true` | Generate Eloquent model classes |
|
|
166
163
|
| `generateFactories` | `boolean` | `true` | Generate Laravel factory files |
|
|
167
|
-
| `generateRequests` | `boolean` | `
|
|
168
|
-
| `generateResources` | `boolean` | `
|
|
164
|
+
| `generateRequests` | `boolean` | `true` | Generate FormRequest classes |
|
|
165
|
+
| `generateResources` | `boolean` | `true` | Generate API Resource classes |
|
|
169
166
|
|
|
170
167
|
#### Other Options
|
|
171
168
|
|
|
@@ -304,24 +301,19 @@ export default defineConfig({
|
|
|
304
301
|
plugins: [
|
|
305
302
|
japan(), // Japan-specific types (load before laravel)
|
|
306
303
|
laravel({
|
|
307
|
-
//
|
|
308
|
-
|
|
309
|
-
modelsPath: 'app/Models',
|
|
310
|
-
baseModelsPath: 'app/Models/OmnifyBase',
|
|
311
|
-
providersPath: 'app/Providers',
|
|
312
|
-
factoriesPath: 'database/factories',
|
|
313
|
-
requestsPath: 'app/Http/Requests',
|
|
314
|
-
baseRequestsPath: 'app/Http/Requests/OmnifyBase',
|
|
315
|
-
resourcesPath: 'app/Http/Resources',
|
|
316
|
-
baseResourcesPath: 'app/Http/Resources/OmnifyBase',
|
|
304
|
+
// All generation flags are true by default:
|
|
305
|
+
// generateModels, generateFactories, generateRequests, generateResources
|
|
317
306
|
|
|
318
|
-
//
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
307
|
+
// Optional: customize paths (all use defaults, shown for reference)
|
|
308
|
+
// migrationsPath: 'database/migrations/omnify',
|
|
309
|
+
// modelsPath: 'app/Models',
|
|
310
|
+
// baseModelsPath: 'app/Models/OmnifyBase',
|
|
311
|
+
// requestsPath: 'app/Http/Requests',
|
|
312
|
+
// baseRequestsPath: 'app/Http/Requests/OmnifyBase',
|
|
313
|
+
// resourcesPath: 'app/Http/Resources',
|
|
314
|
+
// baseResourcesPath: 'app/Http/Resources/OmnifyBase',
|
|
323
315
|
|
|
324
|
-
fakerLocale: 'ja_JP',
|
|
316
|
+
fakerLocale: 'ja_JP', // Optional: customize Faker locale
|
|
325
317
|
}),
|
|
326
318
|
typescript({
|
|
327
319
|
path: './resources/ts/omnify',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@famgia/omnify",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.105",
|
|
4
4
|
"description": "Schema-driven database migration system with TypeScript types and Laravel migrations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"README.md"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@famgia/omnify-
|
|
29
|
-
"@famgia/omnify-
|
|
30
|
-
"@famgia/omnify-
|
|
31
|
-
"@famgia/omnify-
|
|
32
|
-
"@famgia/omnify-
|
|
33
|
-
"@famgia/omnify-
|
|
34
|
-
"@famgia/omnify-mcp": "0.0.
|
|
35
|
-
"@famgia/omnify-
|
|
28
|
+
"@famgia/omnify-cli": "0.0.101",
|
|
29
|
+
"@famgia/omnify-atlas": "0.0.89",
|
|
30
|
+
"@famgia/omnify-laravel": "0.0.104",
|
|
31
|
+
"@famgia/omnify-core": "0.0.95",
|
|
32
|
+
"@famgia/omnify-japan": "0.0.88",
|
|
33
|
+
"@famgia/omnify-types": "0.0.93",
|
|
34
|
+
"@famgia/omnify-mcp": "0.0.81",
|
|
35
|
+
"@famgia/omnify-typescript": "0.0.83"
|
|
36
36
|
},
|
|
37
37
|
"keywords": [
|
|
38
38
|
"omnify",
|