drizzle-kit 0.19.13-e7108b7 → 0.19.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. package/index.cjs +30670 -30643
  2. package/index.d.ts +14 -15
  3. package/package.json +2 -3
  4. package/utils.js +11724 -44481
  5. package/utils.d.ts +0 -28
package/index.d.ts CHANGED
@@ -1,4 +1,16 @@
1
- export type DbConnection = {
1
+ export type Config = {
2
+ out?: string | undefined;
3
+ breakpoints?: boolean | undefined;
4
+ tablesFilter?: string | string[] | undefined;
5
+ schemaFilter?: string | string[] | undefined;
6
+ schema?: string | string[];
7
+ verbose?: boolean | undefined;
8
+ strict?: boolean | undefined;
9
+ } & {
10
+ introspect?: {
11
+ casing: "camel" | "preserve";
12
+ };
13
+ } & ({
2
14
  driver: "turso";
3
15
  dbCredentials: {
4
16
  url: string;
@@ -37,17 +49,4 @@ export type DbConnection = {
37
49
  } | {
38
50
  connectionString: string;
39
51
  };
40
- };
41
- export type Config = {
42
- out?: string | undefined;
43
- breakpoints?: boolean | undefined;
44
- tablesFilter?: string | string[] | undefined;
45
- schemaFilter?: string | string[] | undefined;
46
- schema?: string | string[];
47
- verbose?: boolean | undefined;
48
- strict?: boolean | undefined;
49
- } & {
50
- introspect?: {
51
- casing: "camel" | "preserve";
52
- };
53
- } & (DbConnection | {});
52
+ } | {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.19.13-e7108b7",
3
+ "version": "0.19.13",
4
4
  "repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
5
5
  "author": "Drizzle Team",
6
6
  "license": "MIT",
@@ -9,7 +9,6 @@
9
9
  },
10
10
  "scripts": {
11
11
  "test:pg:push": "drizzle-kit push:pg",
12
- "payload": "tsx ./dev/payload.ts",
13
12
  "migrate:old": "drizzle-kit generate:pg --out ./dev/migrations-pg --schema ./dev/migrations-pg/schema.ts",
14
13
  "push": "node -r esbuild-register ./src/cli/index.ts push:mysql",
15
14
  "push:sqlite": "node -r ./src/loader.mjs ./src/cli/index.ts push:sqlite",
@@ -37,7 +36,7 @@
37
36
  "test": "ava test --timeout=60s",
38
37
  "build": "rm -rf ./dist && tsx build.ts && tsc -p tsconfig.cli-types.json",
39
38
  "build:dev": "rm -rf ./dist && tsx build.dev.ts && tsc -p tsconfig.cli-types.json && chmod +x ./dist/index.cjs",
40
- "packit": "pnpm build && cp package.json dist/ && cd dist && pnpm pack",
39
+ "pack": "build && package",
41
40
  "tsc": "tsc -p tsconfig.build.json",
42
41
  "pub": "cp package.json readme.md dist/ && cd dist && npm publish",
43
42
  "studio": "./dist/index.cjs studio --verbose"