drizzle-kit 0.23.1 → 0.23.2-3d4e79a

Sign up to get free protection for your applications and to get access to all the features.
package/index.d.mts CHANGED
@@ -23,7 +23,6 @@ type Verify<T, U extends T> = U;
23
23
  * **You are currently using version 0.21.0+ of drizzle-kit. If you have just upgraded to this version, please make sure to read the changelog to understand what changes have been made and what
24
24
  * adjustments may be necessary for you. See https://orm.drizzle.team/kit-docs/upgrade-21#how-to-migrate-to-0210**
25
25
  *
26
- *
27
26
  * **Config** usage:
28
27
  *
29
28
  * `dialect` - mandatory and is responsible for explicitly providing a databse dialect you are using for all the commands
@@ -108,16 +107,14 @@ type Verify<T, U extends T> = U;
108
107
  * `strict` - command is used for drizzle-kit push commands and will always ask for your confirmation,
109
108
  * either to execute all statements needed to sync your schema with the database or not.
110
109
  *
111
- *
112
110
  * See https://orm.drizzle.team/kit-docs/config-reference#strict
113
- *
114
111
  */
115
112
  type Config = {
116
113
  dialect: Dialect;
117
114
  out?: string;
118
115
  breakpoints?: boolean;
119
116
  tablesFilter?: string | string[];
120
- extensionsFilters?: "postgis"[];
117
+ extensionsFilters?: 'postgis'[];
121
118
  schemaFilter?: string | string[];
122
119
  schema?: string | string[];
123
120
  verbose?: boolean;
@@ -128,42 +125,42 @@ type Config = {
128
125
  prefix?: Prefix;
129
126
  };
130
127
  introspect?: {
131
- casing: "camel" | "preserve";
128
+ casing: 'camel' | 'preserve';
132
129
  };
133
130
  } & ({
134
- dialect: Verify<Dialect, "sqlite">;
135
- driver: Verify<Driver, "turso">;
131
+ dialect: Verify<Dialect, 'sqlite'>;
132
+ driver: Verify<Driver, 'turso'>;
136
133
  dbCredentials: {
137
134
  url: string;
138
135
  authToken?: string;
139
136
  };
140
137
  } | {
141
- dialect: "sqlite";
138
+ dialect: 'sqlite';
142
139
  dbCredentials: {
143
140
  url: string;
144
141
  };
145
142
  } | {
146
- dialect: Verify<Dialect, "postgresql">;
143
+ dialect: Verify<Dialect, 'postgresql'>;
147
144
  dbCredentials: ({
148
145
  host: string;
149
146
  port?: number;
150
147
  user?: string;
151
148
  password?: string;
152
149
  database: string;
153
- ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | ConnectionOptions;
150
+ ssl?: boolean | 'require' | 'allow' | 'prefer' | 'verify-full' | ConnectionOptions;
154
151
  } & {}) | {
155
152
  url: string;
156
153
  };
157
154
  } | {
158
- dialect: Verify<Dialect, "postgresql">;
159
- driver: Verify<Driver, "aws-data-api">;
155
+ dialect: Verify<Dialect, 'postgresql'>;
156
+ driver: Verify<Driver, 'aws-data-api'>;
160
157
  dbCredentials: {
161
158
  database: string;
162
159
  secretArn: string;
163
160
  resourceArn: string;
164
161
  };
165
162
  } | {
166
- dialect: Verify<Dialect, "mysql">;
163
+ dialect: Verify<Dialect, 'mysql'>;
167
164
  dbCredentials: {
168
165
  host: string;
169
166
  port?: number;
@@ -175,22 +172,21 @@ type Config = {
175
172
  url: string;
176
173
  };
177
174
  } | {
178
- dialect: Verify<Dialect, "sqlite">;
179
- driver: Verify<Driver, "d1-http">;
175
+ dialect: Verify<Dialect, 'sqlite'>;
176
+ driver: Verify<Driver, 'd1-http'>;
180
177
  dbCredentials: {
181
178
  accountId: string;
182
179
  databaseId: string;
183
180
  token: string;
184
181
  };
185
182
  } | {
186
- dialect: Verify<Dialect, "sqlite">;
187
- driver: Verify<Driver, "expo">;
183
+ dialect: Verify<Dialect, 'sqlite'>;
184
+ driver: Verify<Driver, 'expo'>;
188
185
  } | {});
189
186
  /**
190
187
  * **You are currently using version 0.21.0+ of drizzle-kit. If you have just upgraded to this version, please make sure to read the changelog to understand what changes have been made and what
191
188
  * adjustments may be necessary for you. See https://orm.drizzle.team/kit-docs/upgrade-21#how-to-migrate-to-0210**
192
189
  *
193
- *
194
190
  * **Config** usage:
195
191
  *
196
192
  * `dialect` - mandatory and is responsible for explicitly providing a databse dialect you are using for all the commands
@@ -275,9 +271,7 @@ type Config = {
275
271
  * `strict` - command is used for drizzle-kit push commands and will always ask for your confirmation,
276
272
  * either to execute all statements needed to sync your schema with the database or not.
277
273
  *
278
- *
279
274
  * See https://orm.drizzle.team/kit-docs/config-reference#strict
280
- *
281
275
  */
282
276
  declare function defineConfig(config: Config): Config;
283
277
 
package/index.d.ts CHANGED
@@ -23,7 +23,6 @@ type Verify<T, U extends T> = U;
23
23
  * **You are currently using version 0.21.0+ of drizzle-kit. If you have just upgraded to this version, please make sure to read the changelog to understand what changes have been made and what
24
24
  * adjustments may be necessary for you. See https://orm.drizzle.team/kit-docs/upgrade-21#how-to-migrate-to-0210**
25
25
  *
26
- *
27
26
  * **Config** usage:
28
27
  *
29
28
  * `dialect` - mandatory and is responsible for explicitly providing a databse dialect you are using for all the commands
@@ -108,16 +107,14 @@ type Verify<T, U extends T> = U;
108
107
  * `strict` - command is used for drizzle-kit push commands and will always ask for your confirmation,
109
108
  * either to execute all statements needed to sync your schema with the database or not.
110
109
  *
111
- *
112
110
  * See https://orm.drizzle.team/kit-docs/config-reference#strict
113
- *
114
111
  */
115
112
  type Config = {
116
113
  dialect: Dialect;
117
114
  out?: string;
118
115
  breakpoints?: boolean;
119
116
  tablesFilter?: string | string[];
120
- extensionsFilters?: "postgis"[];
117
+ extensionsFilters?: 'postgis'[];
121
118
  schemaFilter?: string | string[];
122
119
  schema?: string | string[];
123
120
  verbose?: boolean;
@@ -128,42 +125,42 @@ type Config = {
128
125
  prefix?: Prefix;
129
126
  };
130
127
  introspect?: {
131
- casing: "camel" | "preserve";
128
+ casing: 'camel' | 'preserve';
132
129
  };
133
130
  } & ({
134
- dialect: Verify<Dialect, "sqlite">;
135
- driver: Verify<Driver, "turso">;
131
+ dialect: Verify<Dialect, 'sqlite'>;
132
+ driver: Verify<Driver, 'turso'>;
136
133
  dbCredentials: {
137
134
  url: string;
138
135
  authToken?: string;
139
136
  };
140
137
  } | {
141
- dialect: "sqlite";
138
+ dialect: 'sqlite';
142
139
  dbCredentials: {
143
140
  url: string;
144
141
  };
145
142
  } | {
146
- dialect: Verify<Dialect, "postgresql">;
143
+ dialect: Verify<Dialect, 'postgresql'>;
147
144
  dbCredentials: ({
148
145
  host: string;
149
146
  port?: number;
150
147
  user?: string;
151
148
  password?: string;
152
149
  database: string;
153
- ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | ConnectionOptions;
150
+ ssl?: boolean | 'require' | 'allow' | 'prefer' | 'verify-full' | ConnectionOptions;
154
151
  } & {}) | {
155
152
  url: string;
156
153
  };
157
154
  } | {
158
- dialect: Verify<Dialect, "postgresql">;
159
- driver: Verify<Driver, "aws-data-api">;
155
+ dialect: Verify<Dialect, 'postgresql'>;
156
+ driver: Verify<Driver, 'aws-data-api'>;
160
157
  dbCredentials: {
161
158
  database: string;
162
159
  secretArn: string;
163
160
  resourceArn: string;
164
161
  };
165
162
  } | {
166
- dialect: Verify<Dialect, "mysql">;
163
+ dialect: Verify<Dialect, 'mysql'>;
167
164
  dbCredentials: {
168
165
  host: string;
169
166
  port?: number;
@@ -175,22 +172,21 @@ type Config = {
175
172
  url: string;
176
173
  };
177
174
  } | {
178
- dialect: Verify<Dialect, "sqlite">;
179
- driver: Verify<Driver, "d1-http">;
175
+ dialect: Verify<Dialect, 'sqlite'>;
176
+ driver: Verify<Driver, 'd1-http'>;
180
177
  dbCredentials: {
181
178
  accountId: string;
182
179
  databaseId: string;
183
180
  token: string;
184
181
  };
185
182
  } | {
186
- dialect: Verify<Dialect, "sqlite">;
187
- driver: Verify<Driver, "expo">;
183
+ dialect: Verify<Dialect, 'sqlite'>;
184
+ driver: Verify<Driver, 'expo'>;
188
185
  } | {});
189
186
  /**
190
187
  * **You are currently using version 0.21.0+ of drizzle-kit. If you have just upgraded to this version, please make sure to read the changelog to understand what changes have been made and what
191
188
  * adjustments may be necessary for you. See https://orm.drizzle.team/kit-docs/upgrade-21#how-to-migrate-to-0210**
192
189
  *
193
- *
194
190
  * **Config** usage:
195
191
  *
196
192
  * `dialect` - mandatory and is responsible for explicitly providing a databse dialect you are using for all the commands
@@ -275,9 +271,7 @@ type Config = {
275
271
  * `strict` - command is used for drizzle-kit push commands and will always ask for your confirmation,
276
272
  * either to execute all statements needed to sync your schema with the database or not.
277
273
  *
278
- *
279
274
  * See https://orm.drizzle.team/kit-docs/config-reference#strict
280
- *
281
275
  */
282
276
  declare function defineConfig(config: Config): Config;
283
277
 
package/package.json CHANGED
@@ -1,117 +1,117 @@
1
1
  {
2
- "name": "drizzle-kit",
3
- "version": "0.23.1",
4
- "repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
5
- "author": "Drizzle Team",
6
- "license": "MIT",
7
- "bin": {
8
- "drizzle-kit": "./bin.cjs"
9
- },
10
- "scripts": {
11
- "payload": "tsx ./dev/payload.ts",
12
- "migrate:old": "drizzle-kit generate:mysql",
13
- "cli": "tsx ./src/cli/index.ts",
14
- "test": "TEST_CONFIG_PATH_PREFIX=./tests/cli/ vitest",
15
- "build": "rm -rf ./dist && tsx build.ts && cp package.json dist/ && attw --pack dist",
16
- "build:dev": "rm -rf ./dist && tsx build.dev.ts && tsc -p tsconfig.cli-types.json && chmod +x ./dist/index.cjs",
17
- "packit": "pnpm build && cp package.json dist/ && cd dist && pnpm pack",
18
- "tsc": "tsc -p tsconfig.build.json",
19
- "pub": "cp package.json readme.md dist/ && cd dist && npm publish"
20
- },
21
- "dependencies": {
22
- "@drizzle-team/brocli": "^0.8.2",
23
- "@esbuild-kit/esm-loader": "^2.5.5",
24
- "esbuild": "^0.19.7",
25
- "esbuild-register": "^3.5.0"
26
- },
27
- "devDependencies": {
28
- "@arethetypeswrong/cli": "^0.15.3",
29
- "@aws-sdk/client-rds-data": "^3.556.0",
30
- "@cloudflare/workers-types": "^4.20230518.0",
31
- "@electric-sql/pglite": "^0.1.5",
32
- "@hono/node-server": "^1.9.0",
33
- "@hono/zod-validator": "^0.2.1",
34
- "@libsql/client": "^0.4.2",
35
- "@neondatabase/serverless": "^0.9.1",
36
- "@originjs/vite-plugin-commonjs": "^1.0.3",
37
- "@planetscale/database": "^1.16.0",
38
- "@types/better-sqlite3": "^7.6.4",
39
- "@types/dockerode": "^3.3.28",
40
- "@types/glob": "^8.1.0",
41
- "@types/json-diff": "^1.0.3",
42
- "@types/minimatch": "^5.1.2",
43
- "@types/node": "^18.11.15",
44
- "@types/pg": "^8.10.7",
45
- "@types/pluralize": "^0.0.33",
46
- "@types/semver": "^7.5.5",
47
- "@types/uuid": "^9.0.8",
48
- "@types/ws": "^8.5.10",
49
- "@typescript-eslint/eslint-plugin": "^7.2.0",
50
- "@typescript-eslint/parser": "^7.2.0",
51
- "@vercel/postgres": "^0.8.0",
52
- "ava": "^5.1.0",
53
- "better-sqlite3": "^9.4.3",
54
- "camelcase": "^7.0.1",
55
- "chalk": "^5.2.0",
56
- "commander": "^12.1.0",
57
- "dockerode": "^3.3.4",
58
- "dotenv": "^16.0.3",
59
- "drizzle-kit": "0.21.2",
60
- "drizzle-orm": "0.32.1",
61
- "env-paths": "^3.0.0",
62
- "esbuild-node-externals": "^1.9.0",
63
- "eslint": "^8.57.0",
64
- "eslint-config-prettier": "^9.1.0",
65
- "eslint-plugin-prettier": "^5.1.3",
66
- "get-port": "^6.1.2",
67
- "glob": "^8.1.0",
68
- "hanji": "^0.0.5",
69
- "hono": "^4.1.5",
70
- "json-diff": "1.0.6",
71
- "minimatch": "^7.4.3",
72
- "mysql2": "2.3.3",
73
- "node-fetch": "^3.3.2",
74
- "pg": "^8.11.5",
75
- "pluralize": "^8.0.0",
76
- "postgres": "^3.4.4",
77
- "prettier": "^2.8.1",
78
- "semver": "^7.5.4",
79
- "superjson": "^2.2.1",
80
- "tsup": "^8.0.2",
81
- "tsx": "^3.12.1",
82
- "typescript": "^5.4.3",
83
- "uuid": "^9.0.1",
84
- "vite-tsconfig-paths": "^4.3.2",
85
- "vitest": "^1.4.0",
86
- "wrangler": "^3.22.1",
87
- "ws": "^8.16.0",
88
- "zod": "^3.20.2",
89
- "zx": "^7.2.2"
90
- },
91
- "exports": {
92
- ".": {
93
- "import": {
94
- "types": "./index.d.mts",
95
- "default": "./index.mjs"
96
- },
97
- "require": {
98
- "types": "./index.d.ts",
99
- "default": "./index.js"
100
- },
101
- "types": "./index.d.mts",
102
- "default": "./index.mjs"
103
- },
104
- "./payload": {
105
- "import": {
106
- "types": "./payload.d.mts",
107
- "default": "./payload.mjs"
108
- },
109
- "require": {
110
- "types": "./payload.d.ts",
111
- "default": "./payload.js"
112
- },
113
- "types": "./payload.d.mts",
114
- "default": "./payload.mjs"
115
- }
116
- }
2
+ "name": "drizzle-kit",
3
+ "version": "0.23.2-3d4e79a",
4
+ "repository": "https://github.com/drizzle-team/drizzle-orm",
5
+ "author": "Drizzle Team",
6
+ "license": "MIT",
7
+ "bin": {
8
+ "drizzle-kit": "./bin.cjs"
9
+ },
10
+ "scripts": {
11
+ "api": "tsx ./dev/api.ts",
12
+ "migrate:old": "drizzle-kit generate:mysql",
13
+ "cli": "tsx ./src/cli/index.ts",
14
+ "test": "TEST_CONFIG_PATH_PREFIX=./tests/cli/ vitest",
15
+ "build": "rm -rf ./dist && tsx build.ts && cp package.json dist/ && attw --pack dist",
16
+ "build:dev": "rm -rf ./dist && tsx build.dev.ts && tsc -p tsconfig.cli-types.json && chmod +x ./dist/index.cjs",
17
+ "pack": "cp package.json README.md dist/ && (cd dist && npm pack --pack-destination ..) && rm -f package.tgz && mv *.tgz package.tgz",
18
+ "tsc": "tsc -p tsconfig.build.json",
19
+ "publish": "npm publish package.tgz"
20
+ },
21
+ "dependencies": {
22
+ "@drizzle-team/brocli": "^0.8.2",
23
+ "@esbuild-kit/esm-loader": "^2.5.5",
24
+ "esbuild": "^0.19.7",
25
+ "esbuild-register": "^3.5.0"
26
+ },
27
+ "devDependencies": {
28
+ "@arethetypeswrong/cli": "^0.15.3",
29
+ "@aws-sdk/client-rds-data": "^3.556.0",
30
+ "@cloudflare/workers-types": "^4.20230518.0",
31
+ "@electric-sql/pglite": "^0.1.5",
32
+ "@hono/node-server": "^1.9.0",
33
+ "@hono/zod-validator": "^0.2.1",
34
+ "@libsql/client": "^0.4.2",
35
+ "@neondatabase/serverless": "^0.9.1",
36
+ "@originjs/vite-plugin-commonjs": "^1.0.3",
37
+ "@planetscale/database": "^1.16.0",
38
+ "@types/better-sqlite3": "^7.6.4",
39
+ "@types/dockerode": "^3.3.28",
40
+ "@types/glob": "^8.1.0",
41
+ "@types/json-diff": "^1.0.3",
42
+ "@types/minimatch": "^5.1.2",
43
+ "@types/node": "^18.11.15",
44
+ "@types/pg": "^8.10.7",
45
+ "@types/pluralize": "^0.0.33",
46
+ "@types/semver": "^7.5.5",
47
+ "@types/uuid": "^9.0.8",
48
+ "@types/ws": "^8.5.10",
49
+ "@typescript-eslint/eslint-plugin": "^7.2.0",
50
+ "@typescript-eslint/parser": "^7.2.0",
51
+ "@vercel/postgres": "^0.8.0",
52
+ "ava": "^5.1.0",
53
+ "better-sqlite3": "^9.4.3",
54
+ "camelcase": "^7.0.1",
55
+ "chalk": "^5.2.0",
56
+ "commander": "^12.1.0",
57
+ "dockerode": "^3.3.4",
58
+ "dotenv": "^16.0.3",
59
+ "drizzle-kit": "0.21.2",
60
+ "drizzle-orm": "0.32.1",
61
+ "env-paths": "^3.0.0",
62
+ "esbuild-node-externals": "^1.9.0",
63
+ "eslint": "^8.57.0",
64
+ "eslint-config-prettier": "^9.1.0",
65
+ "eslint-plugin-prettier": "^5.1.3",
66
+ "get-port": "^6.1.2",
67
+ "glob": "^8.1.0",
68
+ "hanji": "^0.0.5",
69
+ "hono": "^4.1.5",
70
+ "json-diff": "1.0.6",
71
+ "minimatch": "^7.4.3",
72
+ "mysql2": "2.3.3",
73
+ "node-fetch": "^3.3.2",
74
+ "pg": "^8.11.5",
75
+ "pluralize": "^8.0.0",
76
+ "postgres": "^3.4.4",
77
+ "prettier": "^2.8.1",
78
+ "semver": "^7.5.4",
79
+ "superjson": "^2.2.1",
80
+ "tsup": "^8.0.2",
81
+ "tsx": "^3.12.1",
82
+ "typescript": "^5.4.3",
83
+ "uuid": "^9.0.1",
84
+ "vite-tsconfig-paths": "^4.3.2",
85
+ "vitest": "^1.4.0",
86
+ "wrangler": "^3.22.1",
87
+ "ws": "^8.16.0",
88
+ "zod": "^3.20.2",
89
+ "zx": "^7.2.2"
90
+ },
91
+ "exports": {
92
+ ".": {
93
+ "import": {
94
+ "types": "./index.d.mts",
95
+ "default": "./index.mjs"
96
+ },
97
+ "require": {
98
+ "types": "./index.d.ts",
99
+ "default": "./index.js"
100
+ },
101
+ "types": "./index.d.mts",
102
+ "default": "./index.mjs"
103
+ },
104
+ "./api": {
105
+ "import": {
106
+ "types": "./api.d.mts",
107
+ "default": "./api.mjs"
108
+ },
109
+ "require": {
110
+ "types": "./api.d.ts",
111
+ "default": "./api.js"
112
+ },
113
+ "types": "./api.d.mts",
114
+ "default": "./api.mjs"
115
+ }
116
+ }
117
117
  }
package/utils.js CHANGED
@@ -31,9 +31,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
31
31
  ));
32
32
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
33
33
 
34
- // node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/readline.js
34
+ // ../node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/readline.js
35
35
  var require_readline = __commonJS({
36
- "node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/readline.js"(exports2) {
36
+ "../node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/readline.js"(exports2) {
37
37
  "use strict";
38
38
  Object.defineProperty(exports2, "__esModule", { value: true });
39
39
  exports2.prepareReadLine = void 0;
@@ -56,9 +56,9 @@ var require_readline = __commonJS({
56
56
  }
57
57
  });
58
58
 
59
- // node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js
59
+ // ../node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js
60
60
  var require_src = __commonJS({
61
- "node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js"(exports2, module2) {
61
+ "../node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js"(exports2, module2) {
62
62
  "use strict";
63
63
  var ESC = "\x1B";
64
64
  var CSI = `${ESC}[`;
@@ -117,9 +117,9 @@ var require_src = __commonJS({
117
117
  }
118
118
  });
119
119
 
120
- // node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/utils.js
120
+ // ../node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/utils.js
121
121
  var require_utils = __commonJS({
122
- "node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/utils.js"(exports2) {
122
+ "../node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/utils.js"(exports2) {
123
123
  "use strict";
124
124
  Object.defineProperty(exports2, "__esModule", { value: true });
125
125
  exports2.clear = void 0;
@@ -147,9 +147,9 @@ var require_utils = __commonJS({
147
147
  }
148
148
  });
149
149
 
150
- // node_modules/.pnpm/lodash.throttle@4.1.1/node_modules/lodash.throttle/index.js
150
+ // ../node_modules/.pnpm/lodash.throttle@4.1.1/node_modules/lodash.throttle/index.js
151
151
  var require_lodash = __commonJS({
152
- "node_modules/.pnpm/lodash.throttle@4.1.1/node_modules/lodash.throttle/index.js"(exports2, module2) {
152
+ "../node_modules/.pnpm/lodash.throttle@4.1.1/node_modules/lodash.throttle/index.js"(exports2, module2) {
153
153
  var FUNC_ERROR_TEXT = "Expected a function";
154
154
  var NAN = 0 / 0;
155
155
  var symbolTag = "[object Symbol]";
@@ -295,9 +295,9 @@ var require_lodash = __commonJS({
295
295
  }
296
296
  });
297
297
 
298
- // node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/index.js
298
+ // ../node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/index.js
299
299
  var require_hanji = __commonJS({
300
- "node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/index.js"(exports2) {
300
+ "../node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/index.js"(exports2) {
301
301
  "use strict";
302
302
  var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
303
303
  function adopt(value) {
@@ -579,9 +579,8 @@ __export(utils_exports, {
579
579
  validateWithReport: () => validateWithReport
580
580
  });
581
581
  module.exports = __toCommonJS(utils_exports);
582
- var import_fs = require("fs");
583
582
 
584
- // node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/ansi-styles/index.js
583
+ // ../node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/ansi-styles/index.js
585
584
  var ANSI_BACKGROUND_OFFSET = 10;
586
585
  var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
587
586
  var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
@@ -767,7 +766,7 @@ function assembleStyles() {
767
766
  var ansiStyles = assembleStyles();
768
767
  var ansi_styles_default = ansiStyles;
769
768
 
770
- // node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/supports-color/index.js
769
+ // ../node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/supports-color/index.js
771
770
  var import_node_process = __toESM(require("node:process"), 1);
772
771
  var import_node_os = __toESM(require("node:os"), 1);
773
772
  var import_node_tty = __toESM(require("node:tty"), 1);
@@ -893,7 +892,7 @@ var supportsColor = {
893
892
  };
894
893
  var supports_color_default = supportsColor;
895
894
 
896
- // node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/utilities.js
895
+ // ../node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/utilities.js
897
896
  function stringReplaceAll(string, substring, replacer) {
898
897
  let index4 = string.indexOf(substring);
899
898
  if (index4 === -1) {
@@ -923,7 +922,7 @@ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index4) {
923
922
  return returnValue;
924
923
  }
925
924
 
926
- // node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/index.js
925
+ // ../node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/index.js
927
926
  var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
928
927
  var GENERATOR = Symbol("GENERATOR");
929
928
  var STYLER = Symbol("STYLER");
@@ -1070,6 +1069,11 @@ var chalk = createChalk();
1070
1069
  var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
1071
1070
  var source_default = chalk;
1072
1071
 
1072
+ // src/utils.ts
1073
+ var import_fs = require("fs");
1074
+ var import_path = require("path");
1075
+ var import_url = require("url");
1076
+
1073
1077
  // src/cli/views.ts
1074
1078
  var import_hanji = __toESM(require_hanji());
1075
1079
  var info = (msg, greyMsg = "") => {
@@ -1083,7 +1087,7 @@ function assertUnreachable(x) {
1083
1087
  throw new Error("Didn't expect to get here");
1084
1088
  }
1085
1089
 
1086
- // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
1090
+ // ../node_modules/.pnpm/zod@3.23.7/node_modules/zod/lib/index.mjs
1087
1091
  var util;
1088
1092
  (function(util2) {
1089
1093
  util2.assertEqual = (val) => val;
@@ -5543,8 +5547,6 @@ var sqliteSchemaV5 = schemaV52;
5543
5547
  var backwardCompatibleSqliteSchema = unionType([sqliteSchemaV5, schema2]);
5544
5548
 
5545
5549
  // src/utils.ts
5546
- var import_path = require("path");
5547
- var import_url = require("url");
5548
5550
  var copy = (it) => {
5549
5551
  return JSON.parse(JSON.stringify(it));
5550
5552
  };