chore: update dependencies

This commit is contained in:
Ou 2025-01-19 16:27:27 +08:00
parent f9dca9e20f
commit b3ec041e47
6 changed files with 3519 additions and 3454 deletions

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
}

View File

@ -3,7 +3,7 @@ import { ourongxing, react } from "@ourongxing/eslint-config"
export default ourongxing({
type: "app",
// 貌似不能 ./ 开头,
ignores: ["src/routeTree.gen.ts", "imports.app.d.ts", "public/"],
ignores: ["src/routeTree.gen.ts", "imports.app.d.ts", "public/", ".vscode"],
}).append(react({
files: ["src/**"],
}))

View File

@ -3,7 +3,7 @@
"type": "module",
"version": "0.0.20",
"private": true,
"packageManager": "pnpm@9.12.1",
"packageManager": "pnpm@9.15.4",
"author": {
"url": "https://github.com/ourongxing/",
"email": "orongxing@gmail.com",
@ -26,79 +26,80 @@
},
"dependencies": {
"@atlaskit/pragmatic-drag-and-drop": "^1.4.0",
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^1.4.0",
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.3",
"@formkit/auto-animate": "^0.8.2",
"@iconify-json/si": "^1.2.1",
"@tanstack/react-query-devtools": "^5.59.9",
"@tanstack/react-router": "^1.64.0",
"@unocss/reset": "^0.63.4",
"ahooks": "^3.8.1",
"better-sqlite3": "^11.3.0",
"@iconify-json/si": "^1.2.3",
"@tanstack/react-query-devtools": "^5.64.1",
"@tanstack/react-router": "^1.97.3",
"@unocss/reset": "^65.4.2",
"ahooks": "^3.8.4",
"better-sqlite3": "^11.8.1",
"cheerio": "^1.0.0",
"clsx": "^2.1.1",
"cmdk": "^1.0.0",
"consola": "^3.2.3",
"cmdk": "^1.0.4",
"consola": "^3.4.0",
"cookie-es": "^1.2.2",
"dayjs": "1.11.13",
"db0": "^0.2.1",
"defu": "^6.1.4",
"fast-xml-parser": "^4.5.0",
"framer-motion": "^11.11.8",
"h3": "^1.13.0",
"fast-xml-parser": "^4.5.1",
"framer-motion": "^11.18.1",
"h3": "^1.13.1",
"iconv-lite": "^0.6.3",
"jose": "^5.9.4",
"jotai": "^2.10.0",
"jose": "^5.9.6",
"jotai": "^2.11.0",
"md5": "^2.3.0",
"ofetch": "^1.4.1",
"overlayscrollbars": "^2.10.0",
"overlayscrollbars": "^2.10.1",
"pnpm": "^9.15.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-use": "^17.5.1",
"react-use": "^17.6.0",
"uncrypto": "^0.1.3",
"zod": "^3.23.8"
"zod": "^3.24.1"
},
"devDependencies": {
"@eslint-react/eslint-plugin": "^1.14.3",
"@iconify-json/ph": "^1.2.1",
"@eslint-react/eslint-plugin": "^1.23.2",
"@iconify-json/ph": "^1.2.2",
"@napi-rs/pinyin": "^1.7.5",
"@ourongxing/eslint-config": "3.2.3-beta.6",
"@ourongxing/tsconfig": "^0.0.4",
"@rollup/pluginutils": "^5.1.3",
"@tanstack/react-query": "^5.59.9",
"@tanstack/router-devtools": "^1.64.0",
"@tanstack/router-plugin": "^1.64.0",
"@rollup/pluginutils": "^5.1.4",
"@tanstack/react-query": "^5.64.1",
"@tanstack/router-devtools": "^1.97.3",
"@tanstack/router-plugin": "^1.97.3",
"@types/md5": "^2.3.5",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@unocss/rule-utils": "^0.63.4",
"@vitejs/plugin-react-swc": "^3.7.1",
"bumpp": "^9.7.1",
"@unocss/rule-utils": "^65.4.2",
"@vitejs/plugin-react-swc": "^3.7.2",
"bumpp": "^9.10.1",
"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"eslint": "^9.12.0",
"eslint-plugin-react-hooks": "^5.1.0-rc-77f43893-20241010",
"eslint-plugin-react-refresh": "^0.4.12",
"fast-glob": "^3.3.2",
"dotenv": "^16.4.7",
"eslint": "^9.18.0",
"eslint-plugin-react-hooks": "^5.1.0-rc-ca587425-20241211",
"eslint-plugin-react-refresh": "^0.4.18",
"fast-glob": "^3.3.3",
"favicons-scraper": "^1.3.2",
"lint-staged": "^15.2.10",
"mlly": "^1.7.2",
"lint-staged": "^15.4.1",
"mlly": "^1.7.4",
"mockdate": "^3.0.5",
"pnpm-patch-i": "^0.4.1",
"rollup": "^4.24.0",
"rollup": "^4.30.1",
"simple-git-hooks": "^2.11.1",
"tsx": "^4.19.1",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.8.1",
"unimport": "^3.13.1",
"unocss": "^0.63.4",
"unimport": "^3.14.6",
"unocss": "^65.4.2",
"vite": "^5.4.8",
"vite-plugin-pwa": "^0.20.5",
"vite-plugin-pwa": "^0.21.1",
"vite-plugin-with-nitro": "0.0.3",
"vitest": "^2.1.2",
"workbox-window": "^7.1.0",
"wrangler": "^3.80.3"
"vitest": "^3.0.2",
"workbox-build": "^7.3.0",
"workbox-window": "^7.3.0",
"wrangler": "^3.103.2"
},
"pnpm": {
"patchedDependencies": {
@ -106,9 +107,9 @@
}
},
"resolutions": {
"cross-spawn": ">=7.0.5",
"cross-spawn": ">=7.0.6",
"dayjs": "1.11.13",
"picomatch": "^4.0.0"
"picomatch": "^4.0.2"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"

6778
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -1,88 +1,13 @@
export function Footer() {
const sources = [
{
category: "科技资讯",
links: [
{ name: "Hacker News", url: "https://news.ycombinator.com" },
{ name: "Product Hunt", url: "https://www.producthunt.com" },
{ name: "GitHub", url: "https://github.com/trending" },
{ name: "IT之家", url: "https://www.ithome.com" },
{ name: "V2EX", url: "https://v2ex.com" },
{ name: "Linux中国", url: "https://linux.cn" },
{ name: "Solidot", url: "https://www.solidot.org" },
],
},
{
category: "社交媒体",
links: [
{ name: "微博", url: "https://weibo.com" },
{ name: "知乎", url: "https://zhihu.com" },
{ name: "哔哩哔哩", url: "https://bilibili.com" },
{ name: "抖音", url: "https://douyin.com" },
{ name: "快手", url: "https://kuaishou.com" },
{ name: "贴吧", url: "https://tieba.baidu.com" },
{ name: "酷安", url: "https://coolapk.com" },
],
},
{
category: "新闻资讯",
links: [
{ name: "36氪", url: "https://36kr.com" },
{ name: "澎湃新闻", url: "https://thepaper.cn" },
{ name: "今日头条", url: "https://toutiao.com" },
{ name: "参考消息", url: "http://www.cankaoxiaoxi.com" },
{ name: "联合早报", url: "https://www.zaobao.com" },
{ name: "卫星通讯社", url: "http://sputniknews.cn" },
],
},
{
category: "财经资讯",
links: [
{ name: "华尔街见闻", url: "https://wallstreetcn.com" },
{ name: "雪球", url: "https://xueqiu.com" },
{ name: "格隆汇", url: "https://gelonghui.com" },
{ name: "金十数据", url: "https://jin10.com" },
{ name: "FastBull", url: "https://fastbull.cn" },
],
},
]
return (
<footer className="mt-8 pb-4 text-sm text-neutral-400">
<div className="max-w-7xl mx-auto px-4">
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 mb-8">
{sources.map(category => (
<div key={category.category}>
<h3 className="font-medium mb-4 text-neutral-500">{category.category}</h3>
<ul className="space-y-2">
{category.links.map(link => (
<li key={link.name}>
<a
href={link.url}
target="_blank"
rel="noopener noreferrer"
className="hover:text-neutral-600 transition-colors"
>
{link.name}
<>
<a href={`${Homepage}/LICENCE`} target="_blank">MIT LICENCE</a>
<span>
<span>NewsNow © 2024 By </span>
<a href={Author.url} target="_blank">
{Author.name}
</a>
</li>
))}
</ul>
</div>
))}
</div>
<div className="text-center pt-4 border-t border-neutral-200 dark:border-neutral-800">
<span>NewsNow 2025 By </span>
<a
href="https://github.com/majiajue/newsnow"
target="_blank"
rel="noopener noreferrer"
className="hover:text-neutral-600 transition-colors"
>
majiajue
</a>
</div>
</div>
</footer>
</span>
</>
)
}

View File

@ -1,12 +1,12 @@
/* prettier-ignore-start */
/* eslint-disable */
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// This file is auto-generated by TanStack Router
// This file was automatically generated by TanStack Router.
// You should NOT make any changes in this file as it will be overwritten.
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
// Import Routes
@ -90,8 +90,6 @@ export const routeTree = rootRoute
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>()
/* prettier-ignore-end */
/* ROUTE_MANIFEST_START
{
"routes": {