drizzle-kit 0.19.2-9340465 → 0.19.2-df5c2ed

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.cjs +6 -6
  2. package/package.json +1 -1
package/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env -S node --loader @esbuild-kit/esm-loader --no-warnings
1
+ #!/usr/bin/env -S node --loader @esbuild-kit/esm-loader --loader drizzle-kit/loader.mjs --no-warnings
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -5532,7 +5532,7 @@ var init_mysqlImports = __esm({
5532
5532
  const schemas = [];
5533
5533
  for (let i = 0; i < imports.length; i++) {
5534
5534
  const it = imports[i];
5535
- const i0 = await import(`${it}`);
5535
+ const i0 = await import(`${it}__drizzle__`);
5536
5536
  const i0values = Object.values(i0);
5537
5537
  i0values.forEach((t) => {
5538
5538
  if ((0, import_drizzle_orm.is)(t, import_mysql_core.MySqlTable)) {
@@ -5943,7 +5943,7 @@ var init_pgImports = __esm({
5943
5943
  const schemas = [];
5944
5944
  for (let i = 0; i < imports.length; i++) {
5945
5945
  const it = imports[i];
5946
- const i0 = await import(`${it}`);
5946
+ const i0 = await import(`${it}__drizzle__`);
5947
5947
  const i0values = Object.values(i0);
5948
5948
  i0values.forEach((t) => {
5949
5949
  if ((0, import_pg_core.isPgEnum)(t)) {
@@ -6473,7 +6473,7 @@ var init_sqliteImports = __esm({
6473
6473
  const enums = [];
6474
6474
  for (let i = 0; i < imports.length; i++) {
6475
6475
  const it = imports[i];
6476
- const i0 = await import(`${it}`);
6476
+ const i0 = await import(`${it}__drizzle__`);
6477
6477
  const i0values = Object.values(i0);
6478
6478
  i0values.forEach((t) => {
6479
6479
  if ((0, import_drizzle_orm7.is)(t, import_sqlite_core.SQLiteTable)) {
@@ -45084,7 +45084,7 @@ var drizzleConfigFromFile = async (configPath) => {
45084
45084
  process.exit(1);
45085
45085
  }
45086
45086
  console.log(source_default.grey(`Reading config file '${path3}'`));
45087
- const required = await import(`${path3}`);
45087
+ const required = await import(`${path3}__drizzle__`);
45088
45088
  const content = required.default ?? required;
45089
45089
  const res = mySqlCliConfigSchema.safeParse(content);
45090
45090
  if (!res.success) {
@@ -45114,7 +45114,7 @@ var readDrizzleConfig = async (configPath) => {
45114
45114
  process.exit(1);
45115
45115
  }
45116
45116
  console.log(source_default.grey(`Reading config file '${path3}'`));
45117
- const required = await import(`${path3}`);
45117
+ const required = await import(`${path3}__drizzle__`);
45118
45118
  const content = required.default ?? required;
45119
45119
  return content;
45120
45120
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.19.2-9340465",
3
+ "version": "0.19.2-df5c2ed",
4
4
  "repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
5
5
  "author": "Drizzle Team",
6
6
  "license": "MIT",