@lark-apaas/fullstack-cli 1.0.3-alpha.5 → 1.0.3-alpha.6
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.
|
@@ -3,7 +3,7 @@ const outputDir = process.env.__DRIZZLE_OUT_DIR__ || './server/database/.introsp
|
|
|
3
3
|
const schemaPath = process.env.__DRIZZLE_SCHEMA_PATH__ || './server/database/schema.ts';
|
|
4
4
|
const parsedUrl = new URL(process.env.SUDA_DATABASE_URL || '');
|
|
5
5
|
const schemaFilter = parsedUrl.searchParams.get('schema')?.split(',') ?? [];
|
|
6
|
-
|
|
6
|
+
parsedUrl.searchParams.delete('schema'); // 移除schema参数,避免 drizzle-kit 解析错误
|
|
7
7
|
const config = {
|
|
8
8
|
schema: schemaPath,
|
|
9
9
|
out: outputDir,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lark-apaas/fullstack-cli",
|
|
3
|
-
"version": "1.0.3-alpha.
|
|
3
|
+
"version": "1.0.3-alpha.6",
|
|
4
4
|
"description": "CLI tool for fullstack template management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -33,8 +33,7 @@
|
|
|
33
33
|
"@vercel/nft": "^0.30.3",
|
|
34
34
|
"cac": "^6.7.14",
|
|
35
35
|
"dotenv": "^16.0.0",
|
|
36
|
-
"drizzle-kit": "0.31.5"
|
|
37
|
-
"pg": "^8.16.0"
|
|
36
|
+
"drizzle-kit": "0.31.5"
|
|
38
37
|
},
|
|
39
38
|
"devDependencies": {
|
|
40
39
|
"@types/node": "^22.0.0",
|