drizzle-kit 0.20.17-d71f2ee → 0.20.17-dc2e9cd
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/bin.cjs +1 -5
- package/package.json +1 -1
package/bin.cjs
CHANGED
|
@@ -15087,17 +15087,13 @@ var init_utils4 = __esm({
|
|
|
15087
15087
|
const { schema: schema5, out, config, breakpoints, custom: custom2, name, dialect: dialect7 } = options;
|
|
15088
15088
|
if (!(schema5 && out)) {
|
|
15089
15089
|
const drizzleConfig = await drizzleConfigFromFile(config);
|
|
15090
|
-
if (!drizzleConfig.out) {
|
|
15091
|
-
console.log("You must specify 'out' param in config file");
|
|
15092
|
-
process.exit(1);
|
|
15093
|
-
}
|
|
15094
15090
|
return {
|
|
15095
15091
|
dialect: drizzleConfig.dialect,
|
|
15096
15092
|
name,
|
|
15097
15093
|
custom: custom2,
|
|
15098
15094
|
breakpoints: drizzleConfig.breakpoints ?? false,
|
|
15099
15095
|
schema: drizzleConfig.schema,
|
|
15100
|
-
out: drizzleConfig.out,
|
|
15096
|
+
out: drizzleConfig.out || "drizzle",
|
|
15101
15097
|
bundle: drizzleConfig.driver === "expo"
|
|
15102
15098
|
};
|
|
15103
15099
|
}
|