drizzle-kit 1.0.0-beta.1-2cd01ec → 1.0.0-beta.1-bc61bbe
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.
- package/api.d.mts +7 -1
- package/api.d.ts +7 -1
- package/api.js +362 -83
- package/api.mjs +344 -65
- package/bin.cjs +1142 -829
- package/index.d.mts +4 -1
- package/index.d.ts +4 -1
- package/package.json +6 -2
- package/utils.js +1 -1
- package/utils.mjs +1 -1
package/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import { ConnectionOptions } from 'tls';
|
|
|
2
2
|
|
|
3
3
|
declare const prefixes: readonly ["index", "timestamp", "supabase", "unix", "none"];
|
|
4
4
|
type Prefix = (typeof prefixes)[number];
|
|
5
|
-
declare const drivers: readonly ["d1-http", "expo", "aws-data-api", "pglite", "durable-sqlite"];
|
|
5
|
+
declare const drivers: readonly ["d1-http", "expo", "aws-data-api", "pglite", "durable-sqlite", "sqlite-cloud"];
|
|
6
6
|
type Driver = (typeof drivers)[number];
|
|
7
7
|
|
|
8
8
|
declare const dialects: readonly ["postgresql", "mysql", "sqlite", "turso", "singlestore", "gel"];
|
|
@@ -198,6 +198,9 @@ type Config = {
|
|
|
198
198
|
} | {
|
|
199
199
|
dialect: Verify<Dialect, 'sqlite'>;
|
|
200
200
|
driver: Verify<Driver, 'durable-sqlite'>;
|
|
201
|
+
} | {
|
|
202
|
+
dialect: Verify<Dialect, 'sqlite'>;
|
|
203
|
+
driver: Verify<Driver, 'sqlite-cloud'>;
|
|
201
204
|
} | {} | {
|
|
202
205
|
dialect: Verify<Dialect, 'singlestore'>;
|
|
203
206
|
dbCredentials: {
|
package/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ConnectionOptions } from 'tls';
|
|
|
2
2
|
|
|
3
3
|
declare const prefixes: readonly ["index", "timestamp", "supabase", "unix", "none"];
|
|
4
4
|
type Prefix = (typeof prefixes)[number];
|
|
5
|
-
declare const drivers: readonly ["d1-http", "expo", "aws-data-api", "pglite", "durable-sqlite"];
|
|
5
|
+
declare const drivers: readonly ["d1-http", "expo", "aws-data-api", "pglite", "durable-sqlite", "sqlite-cloud"];
|
|
6
6
|
type Driver = (typeof drivers)[number];
|
|
7
7
|
|
|
8
8
|
declare const dialects: readonly ["postgresql", "mysql", "sqlite", "turso", "singlestore", "gel"];
|
|
@@ -198,6 +198,9 @@ type Config = {
|
|
|
198
198
|
} | {
|
|
199
199
|
dialect: Verify<Dialect, 'sqlite'>;
|
|
200
200
|
driver: Verify<Driver, 'durable-sqlite'>;
|
|
201
|
+
} | {
|
|
202
|
+
dialect: Verify<Dialect, 'sqlite'>;
|
|
203
|
+
driver: Verify<Driver, 'sqlite-cloud'>;
|
|
201
204
|
} | {} | {
|
|
202
205
|
dialect: Verify<Dialect, 'singlestore'>;
|
|
203
206
|
dbCredentials: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "drizzle-kit",
|
|
3
|
-
"version": "1.0.0-beta.1-
|
|
3
|
+
"version": "1.0.0-beta.1-bc61bbe",
|
|
4
4
|
"homepage": "https://orm.drizzle.team",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"drizzle",
|
|
@@ -53,13 +53,17 @@
|
|
|
53
53
|
"@aws-sdk/client-rds-data": "^3.556.0",
|
|
54
54
|
"@cloudflare/workers-types": "^4.20230518.0",
|
|
55
55
|
"@electric-sql/pglite": "^0.2.12",
|
|
56
|
+
"@hono/bun-compress": "^0.1.0",
|
|
56
57
|
"@hono/node-server": "^1.9.0",
|
|
57
58
|
"@hono/zod-validator": "^0.2.1",
|
|
58
59
|
"@libsql/client": "^0.10.0",
|
|
59
60
|
"@neondatabase/serverless": "^0.9.1",
|
|
60
61
|
"@originjs/vite-plugin-commonjs": "^1.0.3",
|
|
61
62
|
"@planetscale/database": "^1.16.0",
|
|
63
|
+
"@sqlitecloud/drivers": "^1.0.653",
|
|
64
|
+
"@tursodatabase/database": "0.2.1",
|
|
62
65
|
"@types/better-sqlite3": "^7.6.13",
|
|
66
|
+
"@types/bun": "^1.3.2",
|
|
63
67
|
"@types/dockerode": "^3.3.28",
|
|
64
68
|
"@types/glob": "^8.1.0",
|
|
65
69
|
"@types/json-diff": "^1.0.3",
|
|
@@ -76,7 +80,7 @@
|
|
|
76
80
|
"@vercel/postgres": "^0.8.0",
|
|
77
81
|
"ava": "^5.1.0",
|
|
78
82
|
"better-sqlite3": "^11.9.1",
|
|
79
|
-
"bun-types": "^
|
|
83
|
+
"bun-types": "^1.3.2",
|
|
80
84
|
"camelcase": "^7.0.1",
|
|
81
85
|
"chalk": "^5.2.0",
|
|
82
86
|
"commander": "^12.1.0",
|
package/utils.js
CHANGED
|
@@ -6351,7 +6351,7 @@ var normaliseSQLiteUrl = (it, type) => {
|
|
|
6351
6351
|
return `file:${it}`;
|
|
6352
6352
|
}
|
|
6353
6353
|
}
|
|
6354
|
-
if (type === "better-sqlite") {
|
|
6354
|
+
if (type === "better-sqlite" || type === "@tursodatabase/database" || type === "bun") {
|
|
6355
6355
|
if (it.startsWith("file:")) {
|
|
6356
6356
|
return it.substring(5);
|
|
6357
6357
|
}
|
package/utils.mjs
CHANGED
|
@@ -6327,7 +6327,7 @@ var normaliseSQLiteUrl = (it, type) => {
|
|
|
6327
6327
|
return `file:${it}`;
|
|
6328
6328
|
}
|
|
6329
6329
|
}
|
|
6330
|
-
if (type === "better-sqlite") {
|
|
6330
|
+
if (type === "better-sqlite" || type === "@tursodatabase/database" || type === "bun") {
|
|
6331
6331
|
if (it.startsWith("file:")) {
|
|
6332
6332
|
return it.substring(5);
|
|
6333
6333
|
}
|