drizzle-kit 0.31.1-8eb999a → 0.31.1-a4825a4

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.
@@ -7,7 +7,7 @@ type CasingType = (typeof casingTypes)[number];
7
7
  declare const drivers: readonly ["d1-http", "expo", "aws-data-api", "pglite", "durable-sqlite"];
8
8
  type Driver = (typeof drivers)[number];
9
9
 
10
- declare const dialects: readonly ["postgresql", "mysql", "sqlite", "turso", "singlestore", "gel"];
10
+ declare const dialects: readonly ["postgresql", "mysql", "sqlite", "turso", "singlestore", "gel", "mssql"];
11
11
  type Dialect = (typeof dialects)[number];
12
12
 
13
13
  type SslOptions = {
@@ -7,7 +7,7 @@ type CasingType = (typeof casingTypes)[number];
7
7
  declare const drivers: readonly ["d1-http", "expo", "aws-data-api", "pglite", "durable-sqlite"];
8
8
  type Driver = (typeof drivers)[number];
9
9
 
10
- declare const dialects: readonly ["postgresql", "mysql", "sqlite", "turso", "singlestore", "gel"];
10
+ declare const dialects: readonly ["postgresql", "mysql", "sqlite", "turso", "singlestore", "gel", "mssql"];
11
11
  type Dialect = (typeof dialects)[number];
12
12
 
13
13
  type SslOptions = {
package/index.d.mts CHANGED
@@ -1,2 +1,2 @@
1
1
  import 'tls';
2
- export { a as Config, d as defineConfig } from './index-BAUrj6Ib.mjs';
2
+ export { a as Config, d as defineConfig } from './index-DpBv6e_M.mjs';
package/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  import 'tls';
2
- export { a as Config, d as defineConfig } from './index-BAUrj6Ib.js';
2
+ export { a as Config, d as defineConfig } from './index-DpBv6e_M.js';
package/index.js CHANGED
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/index.ts
21
- var index_exports = {};
22
- __export(index_exports, {
21
+ var src_exports = {};
22
+ __export(src_exports, {
23
23
  defineConfig: () => defineConfig
24
24
  });
25
- module.exports = __toCommonJS(index_exports);
25
+ module.exports = __toCommonJS(src_exports);
26
26
  function defineConfig(config) {
27
27
  return config;
28
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.31.1-8eb999a",
3
+ "version": "0.31.1-a4825a4",
4
4
  "homepage": "https://orm.drizzle.team",
5
5
  "keywords": [
6
6
  "drizzle",
@@ -37,7 +37,9 @@
37
37
  "cli": "tsx ./src/cli/index.ts",
38
38
  "test": "pnpm tsc && TEST_CONFIG_PATH_PREFIX=./tests/cli/ vitest",
39
39
  "build": "rm -rf ./dist && tsx build.ts && cp package.json dist/ && attw --pack dist",
40
+ "build:cli": "rm -rf ./dist && tsx build.cli.ts && cp package.json dist/ && attw --pack dist",
40
41
  "build:dev": "rm -rf ./dist && tsx build.dev.ts && tsc -p tsconfig.cli-types.json && chmod +x ./dist/index.cjs",
42
+ "build:ext": "rm -rf ./dist && vitest run bin.test && vitest run ./tests/postgres/ && vitest run ./tests/sqlite && tsx build.ext.ts",
41
43
  "pack": "cp package.json README.md dist/ && (cd dist && npm pack --pack-destination ..) && rm -f package.tgz && mv *.tgz package.tgz",
42
44
  "tsc": "tsc -p tsconfig.build.json --noEmit",
43
45
  "publish": "npm publish package.tgz"
@@ -65,6 +67,7 @@
65
67
  "@types/json-diff": "^1.0.3",
66
68
  "@types/micromatch": "^4.0.9",
67
69
  "@types/minimatch": "^5.1.2",
70
+ "@types/mssql": "^9.1.4",
68
71
  "@types/node": "^18.11.15",
69
72
  "@types/pg": "^8.10.7",
70
73
  "@types/pluralize": "^0.0.33",
@@ -97,6 +100,7 @@
97
100
  "json-diff": "1.0.6",
98
101
  "micromatch": "^4.0.8",
99
102
  "minimatch": "^7.4.3",
103
+ "mssql": "^10.0.1",
100
104
  "mysql2": "3.3.3",
101
105
  "node-fetch": "^3.3.2",
102
106
  "ohm-js": "^17.1.0",
@@ -111,7 +115,7 @@
111
115
  "typescript": "^5.6.3",
112
116
  "uuid": "^9.0.1",
113
117
  "vite-tsconfig-paths": "^4.3.2",
114
- "vitest": "^1.4.0",
118
+ "vitest": "^3.1.3",
115
119
  "wrangler": "^3.22.1",
116
120
  "ws": "^8.16.0",
117
121
  "zod": "^3.20.2",