chore: bump db0

This commit is contained in:
Ou 2024-10-11 20:50:09 +08:00
parent e6e4fe1123
commit da64d6dbe0
3 changed files with 1120 additions and 821 deletions

View File

@ -3,7 +3,7 @@
"type": "module", "type": "module",
"version": "0.0.1", "version": "0.0.1",
"private": true, "private": true,
"packageManager": "pnpm@9.11.0+sha512.0a203ffaed5a3f63242cd064c8fb5892366c103e328079318f78062f24ea8c9d50bc6a47aa3567cabefd824d170e78fa2745ed1f16b132e16436146b7688f19b", "packageManager": "pnpm@9.12.1",
"author": { "author": {
"url": "https://github.com/ourongxing/", "url": "https://github.com/ourongxing/",
"email": "orongxing@gmail.com", "email": "orongxing@gmail.com",
@ -26,23 +26,22 @@
"@dnd-kit/core": "^6.1.0", "@dnd-kit/core": "^6.1.0",
"@dnd-kit/sortable": "^8.0.0", "@dnd-kit/sortable": "^8.0.0",
"@dnd-kit/utilities": "^3.2.2", "@dnd-kit/utilities": "^3.2.2",
"@tanstack/react-query-devtools": "^5.58.0", "@tanstack/react-query-devtools": "^5.59.9",
"@tanstack/react-router": "^1.58.9", "@tanstack/react-router": "^1.64.0",
"@unocss/reset": "^0.62.4", "@unocss/reset": "^0.63.4",
"cheerio": "^1.0.0", "cheerio": "^1.0.0",
"clsx": "^2.1.1", "clsx": "^2.1.1",
"consola": "^3.2.3", "consola": "^3.2.3",
"dayjs": "1.11.13", "dayjs": "1.11.13",
"db0": "npm:@ourongxing/db0@latest",
"defu": "^6.1.4", "defu": "^6.1.4",
"fast-xml-parser": "^4.5.0", "fast-xml-parser": "^4.5.0",
"framer-motion": "^11.11.5", "framer-motion": "^11.11.8",
"h3": "^1.13.0", "h3": "^1.13.0",
"iconv-lite": "^0.6.3", "iconv-lite": "^0.6.3",
"jotai": "^2.10.0", "jotai": "^2.10.0",
"libsql": "^0.4.5", "libsql": "^0.4.6",
"md5": "^2.3.0", "md5": "^2.3.0",
"ofetch": "^1.4.0", "ofetch": "^1.4.1",
"overlayscrollbars": "^2.10.0", "overlayscrollbars": "^2.10.0",
"overlayscrollbars-react": "^0.5.6", "overlayscrollbars-react": "^0.5.6",
"react": "^18.3.1", "react": "^18.3.1",
@ -52,20 +51,20 @@
"zod": "^3.23.8" "zod": "^3.23.8"
}, },
"devDependencies": { "devDependencies": {
"@eslint-react/eslint-plugin": "^1.14.2", "@eslint-react/eslint-plugin": "^1.14.3",
"@iconify-json/ph": "^1.2.0", "@iconify-json/ph": "^1.2.1",
"@ourongxing/eslint-config": "3.2.3-beta.4", "@ourongxing/eslint-config": "3.2.3-beta.4",
"@ourongxing/tsconfig": "^0.0.4", "@ourongxing/tsconfig": "^0.0.4",
"@tanstack/react-query": "^5.56.2", "@tanstack/react-query": "^5.59.9",
"@tanstack/router-devtools": "^1.58.9", "@tanstack/router-devtools": "^1.64.0",
"@tanstack/router-plugin": "^1.58.10", "@tanstack/router-plugin": "^1.64.0",
"@types/md5": "^2.3.5", "@types/md5": "^2.3.5",
"@types/react": "^18.3.9", "@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0", "@types/react-dom": "^18.3.0",
"@vitejs/plugin-react-swc": "^3.7.0", "@vitejs/plugin-react-swc": "^3.7.1",
"bumpp": "^9.6.1", "bumpp": "^9.7.1",
"eslint": "^9.11.1", "eslint": "^9.12.0",
"eslint-plugin-react-hooks": "^5.1.0-rc-778e1ed2-20240926", "eslint-plugin-react-hooks": "^5.1.0-rc-77f43893-20241010",
"eslint-plugin-react-refresh": "^0.4.12", "eslint-plugin-react-refresh": "^0.4.12",
"favicons-scraper": "^1.3.2", "favicons-scraper": "^1.3.2",
"lint-staged": "^15.2.10", "lint-staged": "^15.2.10",
@ -74,15 +73,15 @@
"nitropack": "^2.9.7", "nitropack": "^2.9.7",
"simple-git-hooks": "^2.11.1", "simple-git-hooks": "^2.11.1",
"tsx": "^4.19.1", "tsx": "^4.19.1",
"typescript": "^5.6.2", "typescript": "^5.6.3",
"typescript-eslint": "^8.7.0", "typescript-eslint": "^8.8.1",
"unocss": "^0.62.4", "unocss": "^0.63.4",
"unplugin-auto-import": "^0.18.3", "unplugin-auto-import": "^0.18.3",
"vite": "^5.4.8", "vite": "^5.4.8",
"vite-plugin-with-nitro": "0.0.0-beta.4", "vite-plugin-with-nitro": "0.0.0-beta.4",
"vite-tsconfig-paths": "^5.0.1", "vite-tsconfig-paths": "^5.0.1",
"vitest": "^2.1.1", "vitest": "^2.1.2",
"wrangler": "^3.79.0" "wrangler": "^3.80.3"
}, },
"pnpm": { "pnpm": {
"patchedDependencies": { "patchedDependencies": {
@ -91,7 +90,7 @@
}, },
"resolutions": { "resolutions": {
"dayjs": "1.11.13", "dayjs": "1.11.13",
"db0": "npm:@ourongxing/db0@latest" "db0": "npm:@ourongxing/db0@0.1.6"
}, },
"simple-git-hooks": { "simple-git-hooks": {
"pre-commit": "npx lint-staged" "pre-commit": "npx lint-staged"

1887
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -25,17 +25,12 @@ export default defineConfig({
}, },
database: { database: {
default: { default: {
connector: isCF ? "cloudflare-d1" : "libsql", connector: isCF ? "cloudflare-d1" : "sqlite",
options: { options: {
bindingName: "CACHE_DB", bindingName: "CACHE_DB",
}, },
}, },
}, },
devDatabase: {
default: {
connector: "libsql",
},
},
alias: { alias: {
"@shared": join(projectDir, "shared"), "@shared": join(projectDir, "shared"),
"#": join(projectDir, "server"), "#": join(projectDir, "server"),