drizzle-kit 0.19.13-3b2cf28 → 0.19.13-53915b2
Sign up to get free protection for your applications and to get access to all the features.
- package/index.cjs +30671 -30644
- package/index.d.ts +14 -15
- package/package.json +3 -4
- package/utils.js +11724 -44481
- package/@types/utils.d.ts +0 -12
- package/cli/commands/migrate.d.ts +0 -141
- package/cli/commands/mysqlUp.d.ts +0 -4
- package/cli/commands/pgIntrospect.d.ts +0 -118
- package/cli/commands/pgPushUtils.d.ts +0 -14
- package/cli/commands/pgUp.d.ts +0 -4
- package/cli/commands/sqliteIntrospect.d.ts +0 -102
- package/cli/commands/sqliteUtils.d.ts +0 -162
- package/cli/commands/upFolders.d.ts +0 -27
- package/cli/commands/utils.d.ts +0 -265
- package/cli/selector-ui.d.ts +0 -13
- package/cli/validations/common.d.ts +0 -13
- package/cli/validations/mysql.d.ts +0 -414
- package/cli/validations/outputs.d.ts +0 -39
- package/cli/validations/pg.d.ts +0 -438
- package/cli/validations/sqlite.d.ts +0 -220
- package/cli/validations/studio.d.ts +0 -469
- package/cli/views.d.ts +0 -61
- package/drivers/index.d.ts +0 -26
- package/global.d.ts +0 -2
- package/introspect.d.ts +0 -4
- package/jsonDiffer.d.ts +0 -76
- package/jsonStatements.d.ts +0 -349
- package/migrationPreparator.d.ts +0 -35
- package/schemaValidator.d.ts +0 -1236
- package/serializer/index.d.ts +0 -9
- package/serializer/mysqlImports.d.ts +0 -6
- package/serializer/mysqlSchema.d.ts +0 -3833
- package/serializer/mysqlSerializer.d.ts +0 -7
- package/serializer/pgImports.d.ts +0 -11
- package/serializer/pgSchema.d.ts +0 -4000
- package/serializer/pgSerializer.d.ts +0 -7
- package/serializer/sqliteImports.d.ts +0 -5
- package/serializer/sqliteSchema.d.ts +0 -3162
- package/serializer/sqliteSerializer.d.ts +0 -8
- package/serializer/studioUtils.d.ts +0 -31
- package/snapshotsDiffer.d.ts +0 -2660
- package/sqlgenerator.d.ts +0 -33
- package/sqlite-introspect.d.ts +0 -5
- package/utils/words.d.ts +0 -7
- package/utils.d.ts +0 -29
- package/utilsR.d.ts +0 -209
package/index.d.ts
CHANGED
@@ -1,4 +1,16 @@
|
|
1
|
-
export type
|
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-
|
3
|
+
"version": "0.19.13-53915b2",
|
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
|
-
"
|
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"
|
@@ -54,7 +53,7 @@
|
|
54
53
|
]
|
55
54
|
},
|
56
55
|
"dependencies": {
|
57
|
-
"@drizzle-team/studio": "^0.0.
|
56
|
+
"@drizzle-team/studio": "^0.0.8",
|
58
57
|
"@esbuild-kit/esm-loader": "^2.5.5",
|
59
58
|
"camelcase": "^7.0.1",
|
60
59
|
"chalk": "^5.2.0",
|