drizzle-kit 0.12.14 → 0.12.16

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.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -19726,6 +19726,7 @@ var update2to3 = (json, prevId) => {
19726
19726
 
19727
19727
  // src/cli/index.ts
19728
19728
  var import_hanji4 = __toESM(require_hanji());
19729
+ var import_path4 = __toESM(require("path"));
19729
19730
  var configSchema = objectType({
19730
19731
  schema: stringType(),
19731
19732
  dialect: enumType(["pg", "sqlite", "mysql"]),
@@ -19756,7 +19757,7 @@ var prepareGenerateConfig = (options) => {
19756
19757
  if (!(schema5 || out)) {
19757
19758
  const path3 = config != null ? config : "drizzle.config.json";
19758
19759
  const drizzleConfig = JSON.parse(
19759
- import_fs6.default.readFileSync(path3).toString()
19760
+ import_fs6.default.readFileSync(import_path4.default.join(import_path4.default.resolve(path3))).toString()
19760
19761
  );
19761
19762
  return drizzleConfig;
19762
19763
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.12.14",
3
+ "version": "0.12.16",
4
4
  "repository": "https://github.com/lambda-direct/drizzle-kit",
5
5
  "author": "Alex Blokh <aleksandrblokh@gmail.com>",
6
6
  "license": "MIT",