drizzle-kit 0.20.17-8b4d89e → 0.20.17-9f0ea64

Sign up to get free protection for your applications and to get access to all the features.
package/index.d.mts CHANGED
@@ -59,23 +59,19 @@ export type Config = {
59
59
  casing: "camel" | "preserve";
60
60
  };
61
61
  } & ({
62
+ dialect: "sqlite";
62
63
  driver: "turso";
63
64
  dbCredentials: {
64
65
  url: string;
65
66
  authToken?: string;
66
67
  };
67
68
  } | {
68
- driver: "better-sqlite";
69
- dbCredentials: {
70
- url: string;
71
- };
72
- } | {
73
- driver: "libsql";
69
+ dialect: "sqlite";
74
70
  dbCredentials: {
75
71
  url: string;
76
72
  };
77
73
  } | {
78
- driver: "pg";
74
+ dialect: "pg";
79
75
  dbCredentials: {
80
76
  host: string;
81
77
  port?: number;
@@ -87,7 +83,15 @@ export type Config = {
87
83
  connectionString: string;
88
84
  };
89
85
  } | {
90
- driver: "mysql2";
86
+ dialect: "pg";
87
+ driver: "aws-data-api";
88
+ dbCredentials: {
89
+ key: string;
90
+ secret: string;
91
+ id: string;
92
+ };
93
+ } | {
94
+ dialect: "mysql";
91
95
  dbCredentials: {
92
96
  host: string;
93
97
  port?: number;
@@ -98,12 +102,14 @@ export type Config = {
98
102
  uri: string;
99
103
  };
100
104
  } | {
101
- driver: "d1";
105
+ dialect: "sqlite";
106
+ driver: "d1-http";
102
107
  dbCredentials: {
103
108
  wranglerConfigPath: string;
104
109
  dbName: string;
105
110
  };
106
111
  } | {
112
+ dialect: "sqlite";
107
113
  driver: "expo";
108
114
  } | {});
109
115
  export declare function defineConfig(config: Config): Config;
package/index.d.ts CHANGED
@@ -59,23 +59,19 @@ export type Config = {
59
59
  casing: "camel" | "preserve";
60
60
  };
61
61
  } & ({
62
+ dialect: "sqlite";
62
63
  driver: "turso";
63
64
  dbCredentials: {
64
65
  url: string;
65
66
  authToken?: string;
66
67
  };
67
68
  } | {
68
- driver: "better-sqlite";
69
- dbCredentials: {
70
- url: string;
71
- };
72
- } | {
73
- driver: "libsql";
69
+ dialect: "sqlite";
74
70
  dbCredentials: {
75
71
  url: string;
76
72
  };
77
73
  } | {
78
- driver: "pg";
74
+ dialect: "pg";
79
75
  dbCredentials: {
80
76
  host: string;
81
77
  port?: number;
@@ -87,7 +83,15 @@ export type Config = {
87
83
  connectionString: string;
88
84
  };
89
85
  } | {
90
- driver: "mysql2";
86
+ dialect: "pg";
87
+ driver: "aws-data-api";
88
+ dbCredentials: {
89
+ key: string;
90
+ secret: string;
91
+ id: string;
92
+ };
93
+ } | {
94
+ dialect: "mysql";
91
95
  dbCredentials: {
92
96
  host: string;
93
97
  port?: number;
@@ -98,12 +102,14 @@ export type Config = {
98
102
  uri: string;
99
103
  };
100
104
  } | {
101
- driver: "d1";
105
+ dialect: "sqlite";
106
+ driver: "d1-http";
102
107
  dbCredentials: {
103
108
  wranglerConfigPath: string;
104
109
  dbName: string;
105
110
  };
106
111
  } | {
112
+ dialect: "sqlite";
107
113
  driver: "expo";
108
114
  } | {});
109
115
  export declare function defineConfig(config: Config): Config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.20.17-8b4d89e",
3
+ "version": "0.20.17-9f0ea64",
4
4
  "repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
5
5
  "author": "Drizzle Team",
6
6
  "license": "MIT",
@@ -21,9 +21,9 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@esbuild-kit/esm-loader": "^2.5.5",
24
- "@types/json-diff": "^1.0.3",
25
24
  "@hono/node-server": "^1.9.0",
26
25
  "@hono/zod-validator": "^0.2.0",
26
+ "@types/json-diff": "^1.0.3",
27
27
  "camelcase": "^7.0.1",
28
28
  "chalk": "^5.2.0",
29
29
  "commander": "^9.4.1",
@@ -38,12 +38,14 @@
38
38
  "pluralize": "^8.0.0",
39
39
  "semver": "^7.5.4",
40
40
  "superjson": "^2.2.1",
41
+ "ws": "^8.16.0",
41
42
  "zod": "^3.20.2"
42
43
  },
43
44
  "devDependencies": {
44
45
  "@cloudflare/workers-types": "^4.20230518.0",
45
46
  "@electric-sql/pglite": "^0.1.3",
46
47
  "@libsql/client": "^0.4.2",
48
+ "@neondatabase/serverless": "^0.9.1",
47
49
  "@originjs/vite-plugin-commonjs": "^1.0.3",
48
50
  "@types/better-sqlite3": "^7.6.4",
49
51
  "@types/dockerode": "^3.3.28",
@@ -54,14 +56,15 @@
54
56
  "@types/pluralize": "^0.0.33",
55
57
  "@types/semver": "^7.5.5",
56
58
  "@types/uuid": "^9.0.8",
59
+ "@types/ws": "^8.5.10",
57
60
  "@typescript-eslint/eslint-plugin": "^7.2.0",
58
61
  "@typescript-eslint/parser": "^7.2.0",
59
- "dockerode": "^3.3.4",
60
- "dotenv": "^16.0.3",
61
- "drizzle-orm": "0.30.5-ab9feb7",
62
62
  "ava": "^5.1.0",
63
63
  "better-sqlite3": "^9.4.3",
64
+ "dockerode": "^3.3.4",
65
+ "dotenv": "^16.0.3",
64
66
  "drizzle-kit": "0.20.14",
67
+ "drizzle-orm": "0.30.5-ab9feb7",
65
68
  "esbuild-node-externals": "^1.9.0",
66
69
  "eslint": "^8.57.0",
67
70
  "eslint-config-prettier": "^9.1.0",
@@ -69,7 +72,7 @@
69
72
  "get-port": "^6.1.2",
70
73
  "mysql2": "2.3.3",
71
74
  "pg": "^8.11.3",
72
- "postgres": "^3.3.5",
75
+ "postgres": "^3.4.4",
73
76
  "prettier": "^2.8.1",
74
77
  "tsx": "^3.12.1",
75
78
  "typescript": "^5.4.3",