@famgia/omnify-laravel 0.0.107 → 0.0.109
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/{chunk-7YHLXBF5.js → chunk-GDFAEEEG.js} +35 -1
- package/dist/{chunk-7YHLXBF5.js.map → chunk-GDFAEEEG.js.map} +1 -1
- package/dist/index.cjs +34 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/plugin.cjs +27 -0
- package/dist/plugin.cjs.map +1 -1
- package/dist/plugin.js +1 -1
- package/package.json +4 -4
- package/stubs/ai-guides/cursor/laravel-controller.mdc.stub +30 -0
- package/stubs/ai-guides/cursor/laravel.mdc.stub +15 -1
- package/stubs/ai-guides/cursor/omnify-migrations.mdc.stub +109 -0
- package/stubs/ai-guides/laravel/openapi.md.stub +85 -5
|
@@ -878,6 +878,16 @@ function generateCreateMigration(blueprint, options = {}) {
|
|
|
878
878
|
const indexContent = renderIndexes(blueprint);
|
|
879
879
|
const content = `<?php
|
|
880
880
|
|
|
881
|
+
/**
|
|
882
|
+
* DO NOT EDIT - This file is auto-generated by Omnify.
|
|
883
|
+
* Any changes will be overwritten on next generation.
|
|
884
|
+
*
|
|
885
|
+
* To modify the schema, edit the corresponding YAML file in schemas/
|
|
886
|
+
* and run: npx omnify generate
|
|
887
|
+
*
|
|
888
|
+
* @generated by @famgia/omnify-laravel
|
|
889
|
+
*/
|
|
890
|
+
|
|
881
891
|
use Illuminate\\Database\\Migrations\\Migration;
|
|
882
892
|
use Illuminate\\Database\\Schema\\Blueprint;
|
|
883
893
|
use Illuminate\\Support\\Facades\\Schema;
|
|
@@ -919,6 +929,13 @@ function generateDropMigration(tableName, options = {}) {
|
|
|
919
929
|
` : "";
|
|
920
930
|
const content = `<?php
|
|
921
931
|
|
|
932
|
+
/**
|
|
933
|
+
* DO NOT EDIT - This file is auto-generated by Omnify.
|
|
934
|
+
* Any changes will be overwritten on next generation.
|
|
935
|
+
*
|
|
936
|
+
* @generated by @famgia/omnify-laravel
|
|
937
|
+
*/
|
|
938
|
+
|
|
922
939
|
use Illuminate\\Database\\Migrations\\Migration;
|
|
923
940
|
use Illuminate\\Database\\Schema\\Blueprint;
|
|
924
941
|
use Illuminate\\Support\\Facades\\Schema;
|
|
@@ -1231,6 +1248,16 @@ function generateAlterMigrationContent(tableName, change, options = {}) {
|
|
|
1231
1248
|
` : "";
|
|
1232
1249
|
return `<?php
|
|
1233
1250
|
|
|
1251
|
+
/**
|
|
1252
|
+
* DO NOT EDIT - This file is auto-generated by Omnify.
|
|
1253
|
+
* Any changes will be overwritten on next generation.
|
|
1254
|
+
*
|
|
1255
|
+
* To modify the schema, edit the corresponding YAML file in schemas/
|
|
1256
|
+
* and run: npx omnify generate
|
|
1257
|
+
*
|
|
1258
|
+
* @generated by @famgia/omnify-laravel
|
|
1259
|
+
*/
|
|
1260
|
+
|
|
1234
1261
|
use Illuminate\\Database\\Migrations\\Migration;
|
|
1235
1262
|
use Illuminate\\Database\\Schema\\Blueprint;
|
|
1236
1263
|
use Illuminate\\Support\\Facades\\Schema;
|
|
@@ -1288,6 +1315,13 @@ function generateDropTableMigration(schemaName, options = {}) {
|
|
|
1288
1315
|
` : "";
|
|
1289
1316
|
const content = `<?php
|
|
1290
1317
|
|
|
1318
|
+
/**
|
|
1319
|
+
* DO NOT EDIT - This file is auto-generated by Omnify.
|
|
1320
|
+
* Any changes will be overwritten on next generation.
|
|
1321
|
+
*
|
|
1322
|
+
* @generated by @famgia/omnify-laravel
|
|
1323
|
+
*/
|
|
1324
|
+
|
|
1291
1325
|
use Illuminate\\Database\\Migrations\\Migration;
|
|
1292
1326
|
use Illuminate\\Database\\Schema\\Blueprint;
|
|
1293
1327
|
use Illuminate\\Support\\Facades\\Schema;
|
|
@@ -4783,4 +4817,4 @@ export {
|
|
|
4783
4817
|
shouldGenerateAIGuides,
|
|
4784
4818
|
laravelPlugin
|
|
4785
4819
|
};
|
|
4786
|
-
//# sourceMappingURL=chunk-
|
|
4820
|
+
//# sourceMappingURL=chunk-GDFAEEEG.js.map
|