@famgia/omnify-cli 0.0.167 → 0.0.169
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/cli.js +3 -3
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -312,7 +312,7 @@ async function resolveConfig(userConfig, configPath) {
|
|
|
312
312
|
};
|
|
313
313
|
const database = userConfig.database.devUrl !== void 0 ? { ...databaseConfig, devUrl: userConfig.database.devUrl } : databaseConfig;
|
|
314
314
|
const laravelConfig = {
|
|
315
|
-
migrationsPath: userConfig.output?.laravel?.migrationsPath ?? "database/migrations"
|
|
315
|
+
migrationsPath: userConfig.output?.laravel?.migrationsPath ?? "database/migrations/omnify"
|
|
316
316
|
};
|
|
317
317
|
const laravel = buildLaravelConfig(laravelConfig, userConfig.output?.laravel);
|
|
318
318
|
const tsConfig = userConfig.output?.typescript;
|
|
@@ -756,7 +756,7 @@ async function runInit(options) {
|
|
|
756
756
|
database: "mysql",
|
|
757
757
|
migrationTool: "laravel",
|
|
758
758
|
generateTypes: true,
|
|
759
|
-
migrationsPath: "database/migrations",
|
|
759
|
+
migrationsPath: "database/migrations/omnify",
|
|
760
760
|
typesPath: "resources/js/types",
|
|
761
761
|
schemasDir: "./schemas"
|
|
762
762
|
};
|
|
@@ -787,7 +787,7 @@ async function runInit(options) {
|
|
|
787
787
|
default: true
|
|
788
788
|
});
|
|
789
789
|
const defaultPaths = {
|
|
790
|
-
laravel: { migrations: "database/migrations", types: "resources/js/types" },
|
|
790
|
+
laravel: { migrations: "database/migrations/omnify", types: "resources/js/types" },
|
|
791
791
|
prisma: { migrations: "prisma/migrations", types: "src/types" },
|
|
792
792
|
drizzle: { migrations: "drizzle", types: "src/types" },
|
|
793
793
|
none: { migrations: "", types: "types" }
|