drizzle-kit 0.18.1-a48fd5c → 0.18.1-bdba959
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/{index.mjs → index.cjs} +16606 -5649
- package/package.json +3 -3
- package/loader.mjs +0 -13
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "drizzle-kit",
|
|
3
|
-
"version": "0.18.1-
|
|
3
|
+
"version": "0.18.1-bdba959",
|
|
4
4
|
"repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
|
|
5
5
|
"author": "Drizzle Team",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"bin": {
|
|
8
|
-
"drizzle-kit": "./index.
|
|
8
|
+
"drizzle-kit": "./index.cjs"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"migrate:old": "drizzle-kit generate:pg --out ./dev/migrations-pg --schema ./dev/migrations-pg/schema.ts",
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
]
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
+
"@esbuild-kit/esm-loader": "^2.5.5",
|
|
50
51
|
"camelcase": "^7.0.1",
|
|
51
52
|
"chalk": "^5.2.0",
|
|
52
53
|
"commander": "^9.4.1",
|
|
53
|
-
"esbuild-register": "^3.4.2",
|
|
54
54
|
"glob": "^8.1.0",
|
|
55
55
|
"hanji": "^0.0.5",
|
|
56
56
|
"json-diff": "0.9.0",
|
package/loader.mjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
const extensionsRegex = /\.(ts|tsx|mts|cts)$/
|
|
2
|
-
|
|
3
|
-
export async function load(url, context, defaultLoad) {
|
|
4
|
-
if (extensionsRegex.test(url)) {
|
|
5
|
-
const { source } = await defaultLoad(url, { ...context, format: 'module' })
|
|
6
|
-
return {
|
|
7
|
-
...context,
|
|
8
|
-
source: source,
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
// let Node.js handle all other URLs
|
|
12
|
-
return defaultLoad(url, context, defaultLoad)
|
|
13
|
-
}
|