mirror of
https://github.com/ourongxing/newsnow.git
synced 2025-01-19 03:09:14 +08:00
chore: minor changes
This commit is contained in:
parent
179358c919
commit
89fe57c5a2
@ -5,7 +5,14 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/icon.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<script>
|
||||
const theme = localStorage.getItem("color-scheme") || "auto"
|
||||
function safeParseString(str) {
|
||||
try {
|
||||
return JSON.parse(str)
|
||||
} catch {
|
||||
return ""
|
||||
}
|
||||
}
|
||||
const theme = safeParseString(localStorage.getItem("color-scheme")) || "auto"
|
||||
const isDark = window.matchMedia("(prefers-color-scheme: dark)").matches
|
||||
if (theme === "auto" ? isDark : theme === "dark") {
|
||||
document.documentElement.classList.add("dark")
|
||||
|
@ -27,6 +27,7 @@
|
||||
"@dnd-kit/core": "^6.1.0",
|
||||
"@dnd-kit/sortable": "^8.0.0",
|
||||
"@dnd-kit/utilities": "^3.2.2",
|
||||
"@iconify-json/si": "^1.2.1",
|
||||
"@oslojs/jwt": "^0.2.0",
|
||||
"@tanstack/react-query-devtools": "^5.59.9",
|
||||
"@tanstack/react-router": "^1.64.0",
|
||||
@ -54,6 +55,7 @@
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-use": "^17.5.1",
|
||||
"sonner": "^1.5.0",
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
199
pnpm-lock.yaml
generated
199
pnpm-lock.yaml
generated
@ -26,6 +26,9 @@ importers:
|
||||
'@dnd-kit/utilities':
|
||||
specifier: ^3.2.2
|
||||
version: 3.2.2(react@18.3.1)
|
||||
'@iconify-json/si':
|
||||
specifier: ^1.2.1
|
||||
version: 1.2.1
|
||||
'@oslojs/jwt':
|
||||
specifier: ^0.2.0
|
||||
version: 0.2.0
|
||||
@ -107,6 +110,9 @@ importers:
|
||||
react-use:
|
||||
specifier: ^17.5.1
|
||||
version: 17.5.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
sonner:
|
||||
specifier: ^1.5.0
|
||||
version: 1.5.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
zod:
|
||||
specifier: ^3.23.8
|
||||
version: 3.23.8
|
||||
@ -119,7 +125,7 @@ importers:
|
||||
version: 1.2.1
|
||||
'@ourongxing/eslint-config':
|
||||
specifier: 3.2.3-beta.6
|
||||
version: 3.2.3-beta.6(@eslint-react/eslint-plugin@1.15.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(@typescript-eslint/utils@8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(@vue/compiler-sfc@3.5.12)(eslint-plugin-react-hooks@5.1.0-rc-fb9a90fa48-20240614(eslint@9.12.0(jiti@2.3.3)))(eslint-plugin-react-refresh@0.4.12(eslint@9.12.0(jiti@2.3.3)))(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)(vitest@2.1.3(@types/node@22.7.5)(terser@5.36.0))
|
||||
version: 3.2.3-beta.6(@eslint-react/eslint-plugin@1.15.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(@typescript-eslint/utils@8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(@vue/compiler-sfc@3.5.12)(eslint-plugin-react-hooks@5.1.0-rc-fb9a90fa48-20240614(eslint@9.12.0(jiti@2.3.3)))(eslint-plugin-react-refresh@0.4.12(eslint@9.12.0(jiti@2.3.3)))(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)(vitest@2.1.3(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0))
|
||||
'@ourongxing/tsconfig':
|
||||
specifier: ^0.0.4
|
||||
version: 0.0.4
|
||||
@ -131,7 +137,7 @@ importers:
|
||||
version: 1.69.1(@tanstack/react-router@1.69.1(@tanstack/router-generator@1.69.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(csstype@3.1.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
'@tanstack/router-plugin':
|
||||
specifier: ^1.64.0
|
||||
version: 1.69.1(vite@5.4.9(@types/node@22.7.5)(terser@5.36.0))
|
||||
version: 1.69.1(vite@5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0))
|
||||
'@types/jsonwebtoken':
|
||||
specifier: ^9.0.7
|
||||
version: 9.0.7
|
||||
@ -149,7 +155,7 @@ importers:
|
||||
version: 0.63.4
|
||||
'@vitejs/plugin-react-swc':
|
||||
specifier: ^3.7.1
|
||||
version: 3.7.1(vite@5.4.9(@types/node@22.7.5)(terser@5.36.0))
|
||||
version: 3.7.1(vite@5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0))
|
||||
bumpp:
|
||||
specifier: ^9.7.1
|
||||
version: 9.7.1(magicast@0.3.5)
|
||||
@ -191,22 +197,22 @@ importers:
|
||||
version: 8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)
|
||||
unocss:
|
||||
specifier: ^0.63.4
|
||||
version: 0.63.4(postcss@8.4.47)(rollup@4.24.0)(vite@5.4.9(@types/node@22.7.5)(terser@5.36.0))
|
||||
version: 0.63.4(postcss@8.4.47)(rollup@4.24.0)(vite@5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0))
|
||||
unplugin-auto-import:
|
||||
specifier: ^0.18.3
|
||||
version: 0.18.3(rollup@4.24.0)
|
||||
vite:
|
||||
specifier: ^5.4.8
|
||||
version: 5.4.9(@types/node@22.7.5)(terser@5.36.0)
|
||||
version: 5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0)
|
||||
vite-plugin-with-nitro:
|
||||
specifier: 0.0.2
|
||||
version: 0.0.2(better-sqlite3@11.3.0)(typescript@5.6.3)(vite@5.4.9(@types/node@22.7.5)(terser@5.36.0))
|
||||
version: 0.0.2(better-sqlite3@11.3.0)(typescript@5.6.3)(vite@5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0))
|
||||
vite-tsconfig-paths:
|
||||
specifier: ^5.0.1
|
||||
version: 5.0.1(typescript@5.6.3)(vite@5.4.9(@types/node@22.7.5)(terser@5.36.0))
|
||||
version: 5.0.1(typescript@5.6.3)(vite@5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0))
|
||||
vitest:
|
||||
specifier: ^2.1.2
|
||||
version: 2.1.3(@types/node@22.7.5)(terser@5.36.0)
|
||||
version: 2.1.3(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0)
|
||||
wrangler:
|
||||
specifier: ^3.80.3
|
||||
version: 3.80.5
|
||||
@ -1069,6 +1075,9 @@ packages:
|
||||
'@iconify-json/ph@1.2.1':
|
||||
resolution: {integrity: sha512-x0DNfwWrS18dbsBYOq3XGiZnGz4CgRyC+YSl/TZvMQiKhIUl1woWqUbMYqqfMNUBzjyk7ulvaRovpRsIlqIf8g==}
|
||||
|
||||
'@iconify-json/si@1.2.1':
|
||||
resolution: {integrity: sha512-flMs2EvYs8wOHRUsWG2xqrfUvGqEDFrFCohe+H/C8OmPGnYRUx2xFMe1GJBSWArCQ0qdoiFy0lgWxS2j8DXdoA==}
|
||||
|
||||
'@iconify/types@2.0.0':
|
||||
resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==}
|
||||
|
||||
@ -2257,6 +2266,9 @@ packages:
|
||||
resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==}
|
||||
engines: {node: '>= 0.6'}
|
||||
|
||||
copy-anything@2.0.6:
|
||||
resolution: {integrity: sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==}
|
||||
|
||||
copy-to-clipboard@3.3.3:
|
||||
resolution: {integrity: sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==}
|
||||
|
||||
@ -2494,6 +2506,10 @@ packages:
|
||||
resolution: {integrity: sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==}
|
||||
engines: {node: '>=18'}
|
||||
|
||||
errno@0.1.8:
|
||||
resolution: {integrity: sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==}
|
||||
hasBin: true
|
||||
|
||||
error-ex@1.3.2:
|
||||
resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==}
|
||||
|
||||
@ -3114,6 +3130,11 @@ packages:
|
||||
resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==}
|
||||
engines: {node: '>= 4'}
|
||||
|
||||
image-size@0.5.5:
|
||||
resolution: {integrity: sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
hasBin: true
|
||||
|
||||
import-fresh@3.3.0:
|
||||
resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==}
|
||||
engines: {node: '>=6'}
|
||||
@ -3242,6 +3263,9 @@ packages:
|
||||
resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==}
|
||||
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
||||
|
||||
is-what@3.14.1:
|
||||
resolution: {integrity: sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==}
|
||||
|
||||
is-wsl@2.2.0:
|
||||
resolution: {integrity: sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==}
|
||||
engines: {node: '>=8'}
|
||||
@ -3381,6 +3405,11 @@ packages:
|
||||
resolution: {integrity: sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==}
|
||||
engines: {node: '>= 0.6.3'}
|
||||
|
||||
less@4.2.0:
|
||||
resolution: {integrity: sha512-P3b3HJDBtSzsXUl0im2L7gTO5Ubg8mEN6G8qoTS77iXxXX4Hvu4Qj540PZDvQ8V6DmX6iXo98k7Md0Cm1PrLaA==}
|
||||
engines: {node: '>=6'}
|
||||
hasBin: true
|
||||
|
||||
levn@0.4.1:
|
||||
resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}
|
||||
engines: {node: '>= 0.8.0'}
|
||||
@ -3483,6 +3512,10 @@ packages:
|
||||
magicast@0.3.5:
|
||||
resolution: {integrity: sha512-L0WhttDl+2BOsybvEOLK7fW3UA0OQ0IQ2d6Zl2x/a6vVRs3bAY0ECOSHHeL5jD+SbOpOCUEi0y1DgHEn9Qn1AQ==}
|
||||
|
||||
make-dir@2.1.0:
|
||||
resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==}
|
||||
engines: {node: '>=6'}
|
||||
|
||||
make-dir@3.1.0:
|
||||
resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==}
|
||||
engines: {node: '>=8'}
|
||||
@ -3638,6 +3671,11 @@ packages:
|
||||
natural-compare@1.4.0:
|
||||
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
|
||||
|
||||
needle@3.3.1:
|
||||
resolution: {integrity: sha512-6k0YULvhpw+RoLNiQCRKOl09Rv1dPLr8hHnVjHqdolKwDrdNyk+Hmrthi4lIGPPz3r39dLx0hsF5s40sZ3Us4Q==}
|
||||
engines: {node: '>= 4.4.x'}
|
||||
hasBin: true
|
||||
|
||||
nitro-go@0.0.1:
|
||||
resolution: {integrity: sha512-oquSOY4P3WixYHMlDF782CgTiDabE0wi6LkcEVXNGzfCrp1m84WKydpARgwxqHJZorIq+mJHZbhkObaxHqhXeg==}
|
||||
engines: {node: ^16.11.0 || >=17.0.0}
|
||||
@ -3803,6 +3841,10 @@ packages:
|
||||
resolution: {integrity: sha512-rum1bPifK5SSar35Z6EKZuYPJx85pkNaFrxBK3mwdfSJ1/WKbYrjoW/zTPSjRRamfmVX1ACBIdFAO0VRErW/EA==}
|
||||
engines: {node: '>=18'}
|
||||
|
||||
parse-node-version@1.0.1:
|
||||
resolution: {integrity: sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==}
|
||||
engines: {node: '>= 0.10'}
|
||||
|
||||
parse5-htmlparser2-tree-adapter@7.1.0:
|
||||
resolution: {integrity: sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g==}
|
||||
|
||||
@ -3868,6 +3910,10 @@ packages:
|
||||
engines: {node: '>=0.10'}
|
||||
hasBin: true
|
||||
|
||||
pify@4.0.1:
|
||||
resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==}
|
||||
engines: {node: '>=6'}
|
||||
|
||||
pkg-types@1.2.1:
|
||||
resolution: {integrity: sha512-sQoqa8alT3nHjGuTjuKgOnvjo4cljkufdtLMnO2LBP/wRwuDlo1tkaEdMxCRhyGRPacv/ztlZgDPm2b7FAmEvw==}
|
||||
|
||||
@ -3915,6 +3961,9 @@ packages:
|
||||
resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==}
|
||||
engines: {node: '>= 6'}
|
||||
|
||||
prr@1.0.1:
|
||||
resolution: {integrity: sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==}
|
||||
|
||||
pump@3.0.2:
|
||||
resolution: {integrity: sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==}
|
||||
|
||||
@ -4109,6 +4158,9 @@ packages:
|
||||
safer-buffer@2.1.2:
|
||||
resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}
|
||||
|
||||
sax@1.4.1:
|
||||
resolution: {integrity: sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==}
|
||||
|
||||
scheduler@0.23.2:
|
||||
resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==}
|
||||
|
||||
@ -4221,6 +4273,12 @@ packages:
|
||||
smob@1.5.0:
|
||||
resolution: {integrity: sha512-g6T+p7QO8npa+/hNx9ohv1E5pVCmWrVCUzUXJyLdMmftX6ER0oiWY/w9knEonLpnOp6b6FenKnMfR8gqwWdwig==}
|
||||
|
||||
sonner@1.5.0:
|
||||
resolution: {integrity: sha512-FBjhG/gnnbN6FY0jaNnqZOMmB73R+5IiyYAw8yBj7L54ER7HB3fOSE5OFiQiE2iXWxeXKvg6fIP4LtVppHEdJA==}
|
||||
peerDependencies:
|
||||
react: ^18.0.0
|
||||
react-dom: ^18.0.0
|
||||
|
||||
source-map-js@1.2.1:
|
||||
resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
@ -5601,6 +5659,10 @@ snapshots:
|
||||
dependencies:
|
||||
'@iconify/types': 2.0.0
|
||||
|
||||
'@iconify-json/si@1.2.1':
|
||||
dependencies:
|
||||
'@iconify/types': 2.0.0
|
||||
|
||||
'@iconify/types@2.0.0': {}
|
||||
|
||||
'@iconify/utils@2.1.33':
|
||||
@ -5704,7 +5766,7 @@ snapshots:
|
||||
dependencies:
|
||||
'@oslojs/encoding': 0.4.1
|
||||
|
||||
'@ourongxing/eslint-config@3.2.3-beta.6(@eslint-react/eslint-plugin@1.15.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(@typescript-eslint/utils@8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(@vue/compiler-sfc@3.5.12)(eslint-plugin-react-hooks@5.1.0-rc-fb9a90fa48-20240614(eslint@9.12.0(jiti@2.3.3)))(eslint-plugin-react-refresh@0.4.12(eslint@9.12.0(jiti@2.3.3)))(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)(vitest@2.1.3(@types/node@22.7.5)(terser@5.36.0))':
|
||||
'@ourongxing/eslint-config@3.2.3-beta.6(@eslint-react/eslint-plugin@1.15.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(@typescript-eslint/utils@8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(@vue/compiler-sfc@3.5.12)(eslint-plugin-react-hooks@5.1.0-rc-fb9a90fa48-20240614(eslint@9.12.0(jiti@2.3.3)))(eslint-plugin-react-refresh@0.4.12(eslint@9.12.0(jiti@2.3.3)))(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)(vitest@2.1.3(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0))':
|
||||
dependencies:
|
||||
'@antfu/install-pkg': 0.4.1
|
||||
'@clack/prompts': 0.7.0
|
||||
@ -5712,7 +5774,7 @@ snapshots:
|
||||
'@stylistic/eslint-plugin': 2.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)
|
||||
'@typescript-eslint/eslint-plugin': 8.9.0(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)
|
||||
'@typescript-eslint/parser': 8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)
|
||||
'@vitest/eslint-plugin': 1.1.7(@typescript-eslint/utils@8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)(vitest@2.1.3(@types/node@22.7.5)(terser@5.36.0))
|
||||
'@vitest/eslint-plugin': 1.1.7(@typescript-eslint/utils@8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)(vitest@2.1.3(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0))
|
||||
eslint: 9.12.0(jiti@2.3.3)
|
||||
eslint-config-flat-gitignore: 0.3.0(eslint@9.12.0(jiti@2.3.3))
|
||||
eslint-flat-config-utils: 0.4.0
|
||||
@ -6084,7 +6146,7 @@ snapshots:
|
||||
tsx: 4.19.1
|
||||
zod: 3.23.8
|
||||
|
||||
'@tanstack/router-plugin@1.69.1(vite@5.4.9(@types/node@22.7.5)(terser@5.36.0))':
|
||||
'@tanstack/router-plugin@1.69.1(vite@5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0))':
|
||||
dependencies:
|
||||
'@babel/core': 7.25.8
|
||||
'@babel/generator': 7.25.7
|
||||
@ -6105,7 +6167,7 @@ snapshots:
|
||||
unplugin: 1.14.1
|
||||
zod: 3.23.8
|
||||
optionalDependencies:
|
||||
vite: 5.4.9(@types/node@22.7.5)(terser@5.36.0)
|
||||
vite: 5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0)
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
- webpack-sources
|
||||
@ -6263,13 +6325,13 @@ snapshots:
|
||||
'@typescript-eslint/types': 8.9.0
|
||||
eslint-visitor-keys: 3.4.3
|
||||
|
||||
'@unocss/astro@0.63.4(rollup@4.24.0)(vite@5.4.9(@types/node@22.7.5)(terser@5.36.0))':
|
||||
'@unocss/astro@0.63.4(rollup@4.24.0)(vite@5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0))':
|
||||
dependencies:
|
||||
'@unocss/core': 0.63.4
|
||||
'@unocss/reset': 0.63.4
|
||||
'@unocss/vite': 0.63.4(rollup@4.24.0)(vite@5.4.9(@types/node@22.7.5)(terser@5.36.0))
|
||||
'@unocss/vite': 0.63.4(rollup@4.24.0)(vite@5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0))
|
||||
optionalDependencies:
|
||||
vite: 5.4.9(@types/node@22.7.5)(terser@5.36.0)
|
||||
vite: 5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0)
|
||||
transitivePeerDependencies:
|
||||
- rollup
|
||||
- supports-color
|
||||
@ -6394,7 +6456,7 @@ snapshots:
|
||||
dependencies:
|
||||
'@unocss/core': 0.63.4
|
||||
|
||||
'@unocss/vite@0.63.4(rollup@4.24.0)(vite@5.4.9(@types/node@22.7.5)(terser@5.36.0))':
|
||||
'@unocss/vite@0.63.4(rollup@4.24.0)(vite@5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0))':
|
||||
dependencies:
|
||||
'@ampproject/remapping': 2.3.0
|
||||
'@rollup/pluginutils': 5.1.2(rollup@4.24.0)
|
||||
@ -6404,7 +6466,7 @@ snapshots:
|
||||
chokidar: 3.6.0
|
||||
magic-string: 0.30.12
|
||||
tinyglobby: 0.2.9
|
||||
vite: 5.4.9(@types/node@22.7.5)(terser@5.36.0)
|
||||
vite: 5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0)
|
||||
transitivePeerDependencies:
|
||||
- rollup
|
||||
- supports-color
|
||||
@ -6427,20 +6489,20 @@ snapshots:
|
||||
- encoding
|
||||
- supports-color
|
||||
|
||||
'@vitejs/plugin-react-swc@3.7.1(vite@5.4.9(@types/node@22.7.5)(terser@5.36.0))':
|
||||
'@vitejs/plugin-react-swc@3.7.1(vite@5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0))':
|
||||
dependencies:
|
||||
'@swc/core': 1.7.36
|
||||
vite: 5.4.9(@types/node@22.7.5)(terser@5.36.0)
|
||||
vite: 5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0)
|
||||
transitivePeerDependencies:
|
||||
- '@swc/helpers'
|
||||
|
||||
'@vitest/eslint-plugin@1.1.7(@typescript-eslint/utils@8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)(vitest@2.1.3(@types/node@22.7.5)(terser@5.36.0))':
|
||||
'@vitest/eslint-plugin@1.1.7(@typescript-eslint/utils@8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)(vitest@2.1.3(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0))':
|
||||
dependencies:
|
||||
'@typescript-eslint/utils': 8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)
|
||||
eslint: 9.12.0(jiti@2.3.3)
|
||||
optionalDependencies:
|
||||
typescript: 5.6.3
|
||||
vitest: 2.1.3(@types/node@22.7.5)(terser@5.36.0)
|
||||
vitest: 2.1.3(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0)
|
||||
|
||||
'@vitest/expect@2.1.3':
|
||||
dependencies:
|
||||
@ -6449,13 +6511,13 @@ snapshots:
|
||||
chai: 5.1.1
|
||||
tinyrainbow: 1.2.0
|
||||
|
||||
'@vitest/mocker@2.1.3(@vitest/spy@2.1.3)(vite@5.4.9(@types/node@22.7.5)(terser@5.36.0))':
|
||||
'@vitest/mocker@2.1.3(@vitest/spy@2.1.3)(vite@5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0))':
|
||||
dependencies:
|
||||
'@vitest/spy': 2.1.3
|
||||
estree-walker: 3.0.3
|
||||
magic-string: 0.30.12
|
||||
optionalDependencies:
|
||||
vite: 5.4.9(@types/node@22.7.5)(terser@5.36.0)
|
||||
vite: 5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0)
|
||||
|
||||
'@vitest/pretty-format@2.1.3':
|
||||
dependencies:
|
||||
@ -6929,6 +6991,11 @@ snapshots:
|
||||
|
||||
cookie@0.7.2: {}
|
||||
|
||||
copy-anything@2.0.6:
|
||||
dependencies:
|
||||
is-what: 3.14.1
|
||||
optional: true
|
||||
|
||||
copy-to-clipboard@3.3.3:
|
||||
dependencies:
|
||||
toggle-selection: 1.0.6
|
||||
@ -7108,6 +7175,11 @@ snapshots:
|
||||
|
||||
environment@1.1.0: {}
|
||||
|
||||
errno@0.1.8:
|
||||
dependencies:
|
||||
prr: 1.0.1
|
||||
optional: true
|
||||
|
||||
error-ex@1.3.2:
|
||||
dependencies:
|
||||
is-arrayish: 0.2.1
|
||||
@ -7963,6 +8035,9 @@ snapshots:
|
||||
|
||||
ignore@5.3.2: {}
|
||||
|
||||
image-size@0.5.5:
|
||||
optional: true
|
||||
|
||||
import-fresh@3.3.0:
|
||||
dependencies:
|
||||
parent-module: 1.0.1
|
||||
@ -8086,6 +8161,9 @@ snapshots:
|
||||
|
||||
is-stream@3.0.0: {}
|
||||
|
||||
is-what@3.14.1:
|
||||
optional: true
|
||||
|
||||
is-wsl@2.2.0:
|
||||
dependencies:
|
||||
is-docker: 2.2.1
|
||||
@ -8206,6 +8284,21 @@ snapshots:
|
||||
dependencies:
|
||||
readable-stream: 2.3.8
|
||||
|
||||
less@4.2.0:
|
||||
dependencies:
|
||||
copy-anything: 2.0.6
|
||||
parse-node-version: 1.0.1
|
||||
tslib: 2.8.0
|
||||
optionalDependencies:
|
||||
errno: 0.1.8
|
||||
graceful-fs: 4.2.11
|
||||
image-size: 0.5.5
|
||||
make-dir: 2.1.0
|
||||
mime: 1.6.0
|
||||
needle: 3.3.1
|
||||
source-map: 0.6.1
|
||||
optional: true
|
||||
|
||||
levn@0.4.1:
|
||||
dependencies:
|
||||
prelude-ls: 1.2.1
|
||||
@ -8333,6 +8426,12 @@ snapshots:
|
||||
'@babel/types': 7.25.8
|
||||
source-map-js: 1.2.1
|
||||
|
||||
make-dir@2.1.0:
|
||||
dependencies:
|
||||
pify: 4.0.1
|
||||
semver: 5.7.2
|
||||
optional: true
|
||||
|
||||
make-dir@3.1.0:
|
||||
dependencies:
|
||||
semver: 6.3.1
|
||||
@ -8483,6 +8582,12 @@ snapshots:
|
||||
|
||||
natural-compare@1.4.0: {}
|
||||
|
||||
needle@3.3.1:
|
||||
dependencies:
|
||||
iconv-lite: 0.6.3
|
||||
sax: 1.4.1
|
||||
optional: true
|
||||
|
||||
nitro-go@0.0.1(better-sqlite3@11.3.0)(typescript@5.6.3):
|
||||
dependencies:
|
||||
'@cloudflare/kv-asset-handler': 0.3.4
|
||||
@ -8747,6 +8852,9 @@ snapshots:
|
||||
index-to-position: 0.1.2
|
||||
type-fest: 4.26.1
|
||||
|
||||
parse-node-version@1.0.1:
|
||||
optional: true
|
||||
|
||||
parse5-htmlparser2-tree-adapter@7.1.0:
|
||||
dependencies:
|
||||
domhandler: 5.0.3
|
||||
@ -8793,6 +8901,9 @@ snapshots:
|
||||
|
||||
pidtree@0.6.0: {}
|
||||
|
||||
pify@4.0.1:
|
||||
optional: true
|
||||
|
||||
pkg-types@1.2.1:
|
||||
dependencies:
|
||||
confbox: 0.1.8
|
||||
@ -8844,6 +8955,9 @@ snapshots:
|
||||
kleur: 3.0.3
|
||||
sisteransi: 1.0.5
|
||||
|
||||
prr@1.0.1:
|
||||
optional: true
|
||||
|
||||
pump@3.0.2:
|
||||
dependencies:
|
||||
end-of-stream: 1.4.4
|
||||
@ -9071,6 +9185,9 @@ snapshots:
|
||||
|
||||
safer-buffer@2.1.2: {}
|
||||
|
||||
sax@1.4.1:
|
||||
optional: true
|
||||
|
||||
scheduler@0.23.2:
|
||||
dependencies:
|
||||
loose-envify: 1.4.0
|
||||
@ -9185,6 +9302,11 @@ snapshots:
|
||||
|
||||
smob@1.5.0: {}
|
||||
|
||||
sonner@1.5.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
|
||||
dependencies:
|
||||
react: 18.3.1
|
||||
react-dom: 18.3.1(react@18.3.1)
|
||||
|
||||
source-map-js@1.2.1: {}
|
||||
|
||||
source-map-support@0.5.21:
|
||||
@ -9552,9 +9674,9 @@ snapshots:
|
||||
|
||||
universalify@2.0.1: {}
|
||||
|
||||
unocss@0.63.4(postcss@8.4.47)(rollup@4.24.0)(vite@5.4.9(@types/node@22.7.5)(terser@5.36.0)):
|
||||
unocss@0.63.4(postcss@8.4.47)(rollup@4.24.0)(vite@5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0)):
|
||||
dependencies:
|
||||
'@unocss/astro': 0.63.4(rollup@4.24.0)(vite@5.4.9(@types/node@22.7.5)(terser@5.36.0))
|
||||
'@unocss/astro': 0.63.4(rollup@4.24.0)(vite@5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0))
|
||||
'@unocss/cli': 0.63.4(rollup@4.24.0)
|
||||
'@unocss/core': 0.63.4
|
||||
'@unocss/postcss': 0.63.4(postcss@8.4.47)
|
||||
@ -9570,9 +9692,9 @@ snapshots:
|
||||
'@unocss/transformer-compile-class': 0.63.4
|
||||
'@unocss/transformer-directives': 0.63.4
|
||||
'@unocss/transformer-variant-group': 0.63.4
|
||||
'@unocss/vite': 0.63.4(rollup@4.24.0)(vite@5.4.9(@types/node@22.7.5)(terser@5.36.0))
|
||||
'@unocss/vite': 0.63.4(rollup@4.24.0)(vite@5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0))
|
||||
optionalDependencies:
|
||||
vite: 5.4.9(@types/node@22.7.5)(terser@5.36.0)
|
||||
vite: 5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0)
|
||||
transitivePeerDependencies:
|
||||
- postcss
|
||||
- rollup
|
||||
@ -9668,12 +9790,12 @@ snapshots:
|
||||
spdx-correct: 3.2.0
|
||||
spdx-expression-parse: 3.0.1
|
||||
|
||||
vite-node@2.1.3(@types/node@22.7.5)(terser@5.36.0):
|
||||
vite-node@2.1.3(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0):
|
||||
dependencies:
|
||||
cac: 6.7.14
|
||||
debug: 4.3.7(supports-color@9.4.0)
|
||||
pathe: 1.1.2
|
||||
vite: 5.4.9(@types/node@22.7.5)(terser@5.36.0)
|
||||
vite: 5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0)
|
||||
transitivePeerDependencies:
|
||||
- '@types/node'
|
||||
- less
|
||||
@ -9685,13 +9807,13 @@ snapshots:
|
||||
- supports-color
|
||||
- terser
|
||||
|
||||
vite-plugin-with-nitro@0.0.2(better-sqlite3@11.3.0)(typescript@5.6.3)(vite@5.4.9(@types/node@22.7.5)(terser@5.36.0)):
|
||||
vite-plugin-with-nitro@0.0.2(better-sqlite3@11.3.0)(typescript@5.6.3)(vite@5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0)):
|
||||
dependencies:
|
||||
consola: 3.2.3
|
||||
defu: 6.1.4
|
||||
h3: h3-nightly@1.13.1-20241013-011028-3bf8af0
|
||||
nitropack: nitro-go@0.0.1(better-sqlite3@11.3.0)(typescript@5.6.3)
|
||||
vite: 5.4.9(@types/node@22.7.5)(terser@5.36.0)
|
||||
vite: 5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0)
|
||||
transitivePeerDependencies:
|
||||
- '@azure/app-configuration'
|
||||
- '@azure/cosmos'
|
||||
@ -9716,18 +9838,18 @@ snapshots:
|
||||
- webpack-sources
|
||||
- xml2js
|
||||
|
||||
vite-tsconfig-paths@5.0.1(typescript@5.6.3)(vite@5.4.9(@types/node@22.7.5)(terser@5.36.0)):
|
||||
vite-tsconfig-paths@5.0.1(typescript@5.6.3)(vite@5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0)):
|
||||
dependencies:
|
||||
debug: 4.3.7(supports-color@9.4.0)
|
||||
globrex: 0.1.2
|
||||
tsconfck: 3.1.4(typescript@5.6.3)
|
||||
optionalDependencies:
|
||||
vite: 5.4.9(@types/node@22.7.5)(terser@5.36.0)
|
||||
vite: 5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0)
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
- typescript
|
||||
|
||||
vite@5.4.9(@types/node@22.7.5)(terser@5.36.0):
|
||||
vite@5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0):
|
||||
dependencies:
|
||||
esbuild: 0.21.5
|
||||
postcss: 8.4.47
|
||||
@ -9735,12 +9857,13 @@ snapshots:
|
||||
optionalDependencies:
|
||||
'@types/node': 22.7.5
|
||||
fsevents: 2.3.3
|
||||
less: 4.2.0
|
||||
terser: 5.36.0
|
||||
|
||||
vitest@2.1.3(@types/node@22.7.5)(terser@5.36.0):
|
||||
vitest@2.1.3(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0):
|
||||
dependencies:
|
||||
'@vitest/expect': 2.1.3
|
||||
'@vitest/mocker': 2.1.3(@vitest/spy@2.1.3)(vite@5.4.9(@types/node@22.7.5)(terser@5.36.0))
|
||||
'@vitest/mocker': 2.1.3(@vitest/spy@2.1.3)(vite@5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0))
|
||||
'@vitest/pretty-format': 2.1.3
|
||||
'@vitest/runner': 2.1.3
|
||||
'@vitest/snapshot': 2.1.3
|
||||
@ -9755,8 +9878,8 @@ snapshots:
|
||||
tinyexec: 0.3.1
|
||||
tinypool: 1.0.1
|
||||
tinyrainbow: 1.2.0
|
||||
vite: 5.4.9(@types/node@22.7.5)(terser@5.36.0)
|
||||
vite-node: 2.1.3(@types/node@22.7.5)(terser@5.36.0)
|
||||
vite: 5.4.9(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0)
|
||||
vite-node: 2.1.3(@types/node@22.7.5)(less@4.2.0)(terser@5.36.0)
|
||||
why-is-node-running: 2.3.0
|
||||
optionalDependencies:
|
||||
'@types/node': 22.7.5
|
||||
|
@ -47,7 +47,7 @@ export const metadata = typeSafeObjectFromEntries(typeSafeObjectEntries(originMe
|
||||
case "realtime":
|
||||
return [k, {
|
||||
...v,
|
||||
sources: typeSafeObjectEntries(sources).filter(([, v]) => v.type === "realtime" && !v.redirect).map(([k]) => k),
|
||||
sources: ["weibo", ...typeSafeObjectEntries(sources).filter(([, v]) => v.type === "realtime" && !v.redirect).map(([k]) => k)],
|
||||
}]
|
||||
default:
|
||||
return [k, {
|
||||
|
@ -34,6 +34,7 @@ export const originSources = {
|
||||
"zaobao": {
|
||||
name: "联合早报",
|
||||
interval: Time.Common,
|
||||
type: "realtime",
|
||||
color: "red",
|
||||
home: "https://www.zaobao.com",
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user