This commit is contained in:
abearxiong 2025-04-04 02:29:51 +08:00
parent a49cc96cad
commit 117be3062d
3 changed files with 10 additions and 23 deletions

View File

@ -1,13 +0,0 @@
{
port: 3000,
postgres: {
username: 'postgres',
host: 'localhost',
database: 'postgres',
password: 'postgres',
port: 5432,
},
tableName: {
table: 'name',
}
}

View File

@ -32,9 +32,9 @@
"src" "src"
], ],
"dependencies": { "dependencies": {
"@kevisual/code-center-module": "0.0.13", "@kevisual/code-center-module": "0.0.18",
"@kevisual/mark": "0.0.7", "@kevisual/mark": "0.0.7",
"@kevisual/router": "0.0.9", "@kevisual/router": "0.0.10",
"cookie": "^1.0.2", "cookie": "^1.0.2",
"dayjs": "^1.11.13", "dayjs": "^1.11.13",
"formidable": "^3.5.2", "formidable": "^3.5.2",
@ -43,7 +43,7 @@
}, },
"devDependencies": { "devDependencies": {
"@kevisual/types": "^0.0.6", "@kevisual/types": "^0.0.6",
"@kevisual/use-config": "^1.0.9", "@kevisual/use-config": "^1.0.10",
"@rollup/plugin-alias": "^5.1.1", "@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-json": "^6.1.0", "@rollup/plugin-json": "^6.1.0",
@ -53,20 +53,20 @@
"@types/crypto-js": "^4.2.2", "@types/crypto-js": "^4.2.2",
"@types/formidable": "^3.4.5", "@types/formidable": "^3.4.5",
"@types/lodash-es": "^4.17.12", "@types/lodash-es": "^4.17.12",
"@types/node": "^22.13.10", "@types/node": "^22.14.0",
"concurrently": "^9.1.2", "concurrently": "^9.1.2",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"jsrepo": "^1.44.2", "jsrepo": "^1.45.3",
"nodemon": "^3.1.9", "nodemon": "^3.1.9",
"pm2": "^5.4.3", "pm2": "^6.0.5",
"rimraf": "^6.0.1", "rimraf": "^6.0.1",
"rollup": "^4.35.0", "rollup": "^4.39.0",
"rollup-plugin-copy": "^3.5.0", "rollup-plugin-copy": "^3.5.0",
"rollup-plugin-dts": "^6.1.1", "rollup-plugin-dts": "^6.2.1",
"rollup-plugin-esbuild": "^6.2.1", "rollup-plugin-esbuild": "^6.2.1",
"tape": "^5.9.0", "tape": "^5.9.0",
"tsx": "^4.19.3", "tsx": "^4.19.3",
"typescript": "^5.8.2" "typescript": "^5.8.2"
}, },
"packageManager": "pnpm@10.6.2" "packageManager": "pnpm@10.7.1"
} }

View File

@ -1,6 +1,6 @@
// 单应用实例启动 // 单应用实例启动
import { useConfig } from '@kevisual/use-config'; import { useConfig } from '@kevisual/use-config/env';
import { app } from './index.ts'; import { app } from './index.ts';
const config = useConfig(); const config = useConfig();