feat: 更新版本至 0.0.49,新增 storeList 支持,优化登录缓存,添加 store-auth 和 store-mark 功能

This commit is contained in:
2026-02-14 03:06:16 +08:00
parent d2ffc8d8ec
commit 05c8496469
9 changed files with 360 additions and 26 deletions

View File

@@ -1,5 +1,5 @@
import { buildWithBun } from '@kevisual/code-builder'
import { queryList } from './src/get-query-list.ts'
import { queryList, storeList } from './src/get-query-list.ts'
// await buildWithBun({ naming: "app", entry: "query/index.ts", meta: import.meta, dts: true })
@@ -11,4 +11,15 @@ for (const query of queryList) {
target: 'browser',
dts: true,
})
}
for (const store of storeList) {
await buildWithBun({
naming: store.name,
entry: `store/${store.name}/index.ts`,
meta: import.meta,
external: ['sonner', 'zustand', '@kevisual/context'],
target: 'browser',
dts: true,
})
}