|
36 | 36 | ] |
37 | 37 | }, |
38 | 38 | "moox": { |
| 39 | + "title": "Moox Core", |
39 | 40 | "require": { |
| 41 | + "moox/data": {}, |
| 42 | + "moox/localization": {}, |
40 | 43 | "spatie/laravel-medialibrary": { |
41 | | - "auto_publish": "spatie-media-config" |
| 44 | + "auto_publish": "spatie-media-config", |
| 45 | + "replace_model": { |
| 46 | + "from": "Spatie\\MediaLibrary\\MediaCollections\\Models\\Media", |
| 47 | + "to": "Moox\\Core\\Media" |
| 48 | + }, |
| 49 | + "replace_pathgenerator": { |
| 50 | + "info": "Replace the path generator with the Moox one.", |
| 51 | + "from": "Spatie\\MediaLibrary\\MediaCollections\\Models\\Media", |
| 52 | + "to": "Moox\\Core\\Media", |
| 53 | + "success": "Path generator replaced." |
| 54 | + } |
42 | 55 | }, |
43 | 56 | "filament/spatie-media-library-plugin": {} |
44 | 57 | }, |
45 | 58 | "install": { |
46 | | - "auto_migrate": "database/migrations", |
47 | | - "seed": "database/seeders/MediaSeeder.php", |
48 | | - "auto_publish": "moox-media-config", |
49 | | - "auto_entities": { |
50 | | - "Some Resource": true, |
51 | | - "Another Resource": null |
| 59 | + "migrate": { |
| 60 | + "path": "database/migrations" |
52 | 61 | }, |
53 | | - "auto_class": { |
| 62 | + "seed_demodata": { |
| 63 | + "ask": "Do you want to seed demo data?", |
| 64 | + "default": false, |
| 65 | + "file": "database/seeders/MediaDemoSeeder.php" |
| 66 | + }, |
| 67 | + "publish": { |
| 68 | + "tag": "moox-media-config" |
| 69 | + }, |
| 70 | + "entities": { |
| 71 | + "Job Manager": true, |
| 72 | + "Failed Jobs": false |
| 73 | + }, |
| 74 | + "classes": { |
54 | 75 | "Some Class": "Moox\\Core\\SomeClass", |
55 | 76 | "Another Class": "Moox\\Core\\AnotherClass" |
56 | 77 | }, |
57 | | - "auto_run": { |
| 78 | + "run": { |
58 | 79 | "Run this": "php artisan run:this", |
59 | 80 | "Build the frontend": "npm run build", |
60 | 81 | "Clear the cache": "php artisan cache:clear" |
61 | 82 | }, |
62 | | - "auto_runhere": { |
| 83 | + "runhere": { |
63 | 84 | "Build the frontend": "npm run build" |
64 | 85 | } |
65 | 86 | }, |
|
0 commit comments