feat: 添加数据库包及 UUID 支持,初始化类型检查与字段工具
- 将 typecheck 脚本改为使用 tsc --noEmit,并添加 @furtherverse/tsconfig 工作区依赖。 - 添加新的本地包 @furtherverse/database 并更新 uuid 依赖至 13.0.0 版本,同时修复相关依赖引用。 - 添加 uuid 依赖以支持生成唯一标识符功能 - 初始化数据库包的配置,设置模块导入导出路径并配置类型检查与格式化脚本。 - 导出 todo 模式定义文件中的所有内容 - 添加待办事项表结构,包含自动生成字段、标题和完成状态字段。 - 添加用于生成主键、创建和更新时间戳字段的实用工具函数,并提供自动生成字段及其键的映射。 - 导出字段工具模块中的所有内容 - 添加 SQLite 数据库连接初始化功能 - 添加数据库包的 TypeScript 配置并继承基础配置文件
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
{
|
||||
"name": "@furtherverse/server",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"compile": "bun build.ts",
|
||||
"build": "vite build",
|
||||
"compile": "bun build.ts",
|
||||
"db:generate": "drizzle-kit generate",
|
||||
"db:migrate": "drizzle-kit migrate",
|
||||
"db:push": "drizzle-kit push",
|
||||
"db:studio": "drizzle-kit studio",
|
||||
"dev": "vite dev",
|
||||
"fix": "biome check --write",
|
||||
"typecheck": "tsc -b"
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@orpc/client": "catalog:",
|
||||
@@ -37,6 +37,7 @@
|
||||
"@biomejs/biome": "catalog:",
|
||||
"@effect/platform": "catalog:",
|
||||
"@effect/schema": "catalog:",
|
||||
"@furtherverse/tsconfig": "workspace:*",
|
||||
"@tailwindcss/vite": "catalog:",
|
||||
"@tanstack/devtools-vite": "catalog:",
|
||||
"@tanstack/react-devtools": "catalog:",
|
||||
|
||||
Reference in New Issue
Block a user