drizzle-kit 0.20.4-d48dadf → 0.20.4-dea9219

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/bin.cjs +4 -4
  2. package/package.json +3 -3
  3. package/utils.js +1 -1
package/bin.cjs CHANGED
@@ -19040,7 +19040,7 @@ var init_introspect_pg = __esm({
19040
19040
  const file = importsTs + decalrations;
19041
19041
  const schemaEntry = `
19042
19042
  {
19043
- ${Object.values(schema4.tables).map((it) => withCasing(it.name)).join(",")}
19043
+ ${Object.values(schema4.tables).map((it) => withCasing(it.name, casing)).join(",\n")}
19044
19044
  }
19045
19045
  `;
19046
19046
  return { file, imports: importsTs, decalrations, schemaEntry };
@@ -25861,7 +25861,7 @@ var init_introspect_sqlite = __esm({
25861
25861
  const file = importsTs + decalrations;
25862
25862
  const schemaEntry = `
25863
25863
  {
25864
- ${Object.values(schema4.tables).map((it) => withCasing2(it.name)).join(",")}
25864
+ ${Object.values(schema4.tables).map((it) => withCasing2(it.name, casing)).join(",")}
25865
25865
  }
25866
25866
  `;
25867
25867
  return { file, imports: importsTs, decalrations, schemaEntry };
@@ -60228,7 +60228,7 @@ var package_default = {
60228
60228
  packit: "pnpm build && cp package.json dist/ && cd dist && pnpm pack",
60229
60229
  tsc: "tsc -p tsconfig.build.json",
60230
60230
  pub: "cp package.json readme.md dist/ && cd dist && npm publish",
60231
- studio: "./dist/index.cjs studio --verbose",
60231
+ studio: "tsx ./src/cli/index.ts studio --verbose --port=3000",
60232
60232
  "studio:dev": "tsx ./src/cli/index.ts studio --verbose"
60233
60233
  },
60234
60234
  ava: {
@@ -60243,7 +60243,7 @@ var package_default = {
60243
60243
  ]
60244
60244
  },
60245
60245
  dependencies: {
60246
- "@drizzle-team/studio": "^0.0.29",
60246
+ "@drizzle-team/studio": "^0.0.31",
60247
60247
  "@esbuild-kit/esm-loader": "^2.5.5",
60248
60248
  camelcase: "^7.0.1",
60249
60249
  chalk: "^5.2.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.20.4-d48dadf",
3
+ "version": "0.20.4-dea9219",
4
4
  "repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
5
5
  "author": "Drizzle Team",
6
6
  "license": "MIT",
@@ -41,7 +41,7 @@
41
41
  "packit": "pnpm build && cp package.json dist/ && cd dist && pnpm pack",
42
42
  "tsc": "tsc -p tsconfig.build.json",
43
43
  "pub": "cp package.json readme.md dist/ && cd dist && npm publish",
44
- "studio": "./dist/index.cjs studio --verbose",
44
+ "studio": "tsx ./src/cli/index.ts studio --verbose --port=3000",
45
45
  "studio:dev": "tsx ./src/cli/index.ts studio --verbose"
46
46
  },
47
47
  "ava": {
@@ -56,7 +56,7 @@
56
56
  ]
57
57
  },
58
58
  "dependencies": {
59
- "@drizzle-team/studio": "^0.0.29",
59
+ "@drizzle-team/studio": "^0.0.31",
60
60
  "@esbuild-kit/esm-loader": "^2.5.5",
61
61
  "camelcase": "^7.0.1",
62
62
  "chalk": "^5.2.0",
package/utils.js CHANGED
@@ -18014,7 +18014,7 @@ var init_introspect_pg = __esm({
18014
18014
  const file = importsTs + decalrations;
18015
18015
  const schemaEntry = `
18016
18016
  {
18017
- ${Object.values(schema4.tables).map((it) => withCasing(it.name)).join(",")}
18017
+ ${Object.values(schema4.tables).map((it) => withCasing(it.name, casing)).join(",\n")}
18018
18018
  }
18019
18019
  `;
18020
18020
  return { file, imports: importsTs, decalrations, schemaEntry };