优化组织和用户创建逻辑,简化插入数据结构并处理可选描述字段

This commit is contained in:
2026-02-07 02:04:17 +08:00
parent 7dfa96d165
commit 0bd634faf2
9 changed files with 302 additions and 947 deletions

View File

@@ -3,7 +3,7 @@ import { resolvePath } from '@kevisual/use-config';
const entry = 'src/index.ts';
const naming = 'app';
const external = ['sequelize', 'pg', 'sqlite3', 'ioredis', 'pm2', 'bun'];
const external = ['pg', 'sqlite3', 'ioredis', 'pm2'];
/**
* @type {import('bun').BuildConfig}
*/
@@ -21,4 +21,4 @@ await Bun.build({
// const cmd = `dts -i src/index.ts -o app.d.ts`;
// const cmd = `dts -i ${entry} -o ${naming}.d.ts`;
// execSync(cmd, { stdio: 'inherit' });
// execSync(cmd, { stdio: 'inherit' });