Commit 4d77fcab authored by 蒋佳奇's avatar 蒋佳奇

feat: 静态资源托管

parent 4fe66735
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "tsc -b && vite build", "prebuild": "yarn install --no-optional && cd server && yarn",
"build": "tsc -b && vite build --mode production",
"lint": "eslint .", "lint": "eslint .",
"preview": "vite preview" "preview": "vite preview"
}, },
...@@ -36,6 +37,7 @@ ...@@ -36,6 +37,7 @@
"typescript": "~5.7.2", "typescript": "~5.7.2",
"unplugin-auto-import": "^19.1.2", "unplugin-auto-import": "^19.1.2",
"vite": "^6.2.0", "vite": "^6.2.0",
"vite-plugin-assets-sync": "^0.0.4",
"vite-plugin-pages": "^0.32.5" "vite-plugin-pages": "^0.32.5"
} }
} }
...@@ -2,12 +2,17 @@ import tailwindcss from '@tailwindcss/vite' ...@@ -2,12 +2,17 @@ import tailwindcss from '@tailwindcss/vite'
import react from '@vitejs/plugin-react-swc' import react from '@vitejs/plugin-react-swc'
import AutoImport from 'unplugin-auto-import' import AutoImport from 'unplugin-auto-import'
import { defineConfig } from 'vite' import { defineConfig } from 'vite'
import assetsSync from 'vite-plugin-assets-sync'
import Pages from 'vite-plugin-pages' import Pages from 'vite-plugin-pages'
import { AutoImportError } from './vite-plugins/auto-import-error' import { AutoImportError } from './vite-plugins/auto-import-error'
// TODO: 修改为静态资源托管路由
const PUBLIC_FOLDER = '<oss-base-path>'
// https://vite.dev/config/ // https://vite.dev/config/
export default defineConfig({ export default defineConfig(({ mode }) => ({
base: mode === 'production' ? `//yun.tuisnake.com/${PUBLIC_FOLDER}/` : '/',
server: { server: {
proxy: { proxy: {
'^/(.*)': { '^/(.*)': {
...@@ -68,5 +73,8 @@ export default defineConfig({ ...@@ -68,5 +73,8 @@ export default defineConfig({
}, },
}), }),
tailwindcss(), tailwindcss(),
assetsSync({
target: `/${PUBLIC_FOLDER}/assets/`,
}),
], ],
}) }))
...@@ -1254,6 +1254,18 @@ ...@@ -1254,6 +1254,18 @@
resolved "http://npm.dui88.com:80/@humanwhocodes%2fretry/-/retry-0.4.2.tgz#1860473de7dfa1546767448f333db80cb0ff2161" resolved "http://npm.dui88.com:80/@humanwhocodes%2fretry/-/retry-0.4.2.tgz#1860473de7dfa1546767448f333db80cb0ff2161"
integrity sha512-xeO57FpIu4p1Ri3Jq/EXq4ClRm86dVF2z/+kvFnyqVYRavTZmaFaUBbWCOuuTh0o/g7DSsk6kc2vrS4Vl5oPOQ== integrity sha512-xeO57FpIu4p1Ri3Jq/EXq4ClRm86dVF2z/+kvFnyqVYRavTZmaFaUBbWCOuuTh0o/g7DSsk6kc2vrS4Vl5oPOQ==
"@isaacs/cliui@^8.0.2":
version "8.0.2"
resolved "http://npm.dui88.com:80/@isaacs%2fcliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550"
integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==
dependencies:
string-width "^5.1.2"
string-width-cjs "npm:string-width@^4.2.0"
strip-ansi "^7.0.1"
strip-ansi-cjs "npm:strip-ansi@^6.0.1"
wrap-ansi "^8.1.0"
wrap-ansi-cjs "npm:wrap-ansi@^7.0.0"
"@jridgewell/gen-mapping@^0.3.5": "@jridgewell/gen-mapping@^0.3.5":
version "0.3.8" version "0.3.8"
resolved "http://npm.dui88.com:80/@jridgewell%2fgen-mapping/-/gen-mapping-0.3.8.tgz#4f0e06362e01362f823d348f1872b08f666d8142" resolved "http://npm.dui88.com:80/@jridgewell%2fgen-mapping/-/gen-mapping-0.3.8.tgz#4f0e06362e01362f823d348f1872b08f666d8142"
...@@ -1314,6 +1326,11 @@ ...@@ -1314,6 +1326,11 @@
"@nodelib/fs.scandir" "2.1.5" "@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0" fastq "^1.6.0"
"@pkgjs/parseargs@^0.11.0":
version "0.11.0"
resolved "http://npm.dui88.com:80/@pkgjs%2fparseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==
"@pkgr/core@^0.2.0": "@pkgr/core@^0.2.0":
version "0.2.0" version "0.2.0"
resolved "http://npm.dui88.com:80/@pkgr%2fcore/-/core-0.2.0.tgz#8dff61038cb5884789d8b323d9869e5363b976f7" resolved "http://npm.dui88.com:80/@pkgr%2fcore/-/core-0.2.0.tgz#8dff61038cb5884789d8b323d9869e5363b976f7"
...@@ -1858,6 +1875,16 @@ ajv@^6.12.4: ...@@ -1858,6 +1875,16 @@ ajv@^6.12.4:
json-schema-traverse "^0.4.1" json-schema-traverse "^0.4.1"
uri-js "^4.2.2" uri-js "^4.2.2"
ansi-regex@^5.0.1:
version "5.0.1"
resolved "http://npm.dui88.com:80/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304"
integrity sha1-CCyyyJyf6GWaMRpTvWpNxTAdswQ=
ansi-regex@^6.0.1:
version "6.1.0"
resolved "http://npm.dui88.com:80/ansi-regex/-/ansi-regex-6.1.0.tgz#95ec409c69619d6cb1b8b34f14b660ef28ebd654"
integrity sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==
ansi-styles@^3.2.1: ansi-styles@^3.2.1:
version "3.2.1" version "3.2.1"
resolved "http://npm.dui88.com:80/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" resolved "http://npm.dui88.com:80/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"
...@@ -1865,13 +1892,18 @@ ansi-styles@^3.2.1: ...@@ -1865,13 +1892,18 @@ ansi-styles@^3.2.1:
dependencies: dependencies:
color-convert "^1.9.0" color-convert "^1.9.0"
ansi-styles@^4.1.0: ansi-styles@^4.0.0, ansi-styles@^4.1.0:
version "4.3.0" version "4.3.0"
resolved "http://npm.dui88.com:80/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" resolved "http://npm.dui88.com:80/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937"
integrity sha1-7dgDYornHATIWuegkG7a00tkiTc= integrity sha1-7dgDYornHATIWuegkG7a00tkiTc=
dependencies: dependencies:
color-convert "^2.0.1" color-convert "^2.0.1"
ansi-styles@^6.1.0:
version "6.2.1"
resolved "http://npm.dui88.com:80/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5"
integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==
antd@^5.24.5: antd@^5.24.5:
version "5.24.6" version "5.24.6"
resolved "http://npm.dui88.com:80/antd/-/antd-5.24.6.tgz#d3597d65d19c499dedd240acc693b96a63d72bf8" resolved "http://npm.dui88.com:80/antd/-/antd-5.24.6.tgz#d3597d65d19c499dedd240acc693b96a63d72bf8"
...@@ -2279,6 +2311,11 @@ csstype@^3.0.2, csstype@^3.1.3: ...@@ -2279,6 +2311,11 @@ csstype@^3.0.2, csstype@^3.1.3:
resolved "http://npm.dui88.com:80/csstype/-/csstype-3.1.3.tgz#d80ff294d114fb0e6ac500fbf85b60137d7eff81" resolved "http://npm.dui88.com:80/csstype/-/csstype-3.1.3.tgz#d80ff294d114fb0e6ac500fbf85b60137d7eff81"
integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw== integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==
data-uri-to-buffer@^4.0.0:
version "4.0.1"
resolved "http://npm.dui88.com:80/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz#d8feb2b2881e6a4f58c2e08acfd0e2834e26222e"
integrity sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==
data-view-buffer@^1.0.2: data-view-buffer@^1.0.2:
version "1.0.2" version "1.0.2"
resolved "http://npm.dui88.com:80/data-view-buffer/-/data-view-buffer-1.0.2.tgz#211a03ba95ecaf7798a8c7198d79536211f88570" resolved "http://npm.dui88.com:80/data-view-buffer/-/data-view-buffer-1.0.2.tgz#211a03ba95ecaf7798a8c7198d79536211f88570"
...@@ -2384,11 +2421,26 @@ dunder-proto@^1.0.0, dunder-proto@^1.0.1: ...@@ -2384,11 +2421,26 @@ dunder-proto@^1.0.0, dunder-proto@^1.0.1:
es-errors "^1.3.0" es-errors "^1.3.0"
gopd "^1.2.0" gopd "^1.2.0"
eastasianwidth@^0.2.0:
version "0.2.0"
resolved "http://npm.dui88.com:80/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb"
integrity sha1-aWzi7Aqg5uqTo5f/zySqeEDIJ8s=
electron-to-chromium@^1.5.73: electron-to-chromium@^1.5.73:
version "1.5.129" version "1.5.129"
resolved "http://npm.dui88.com:80/electron-to-chromium/-/electron-to-chromium-1.5.129.tgz#fafa835aea5d15fcd5cbe9bd6bf1cb5d4b3aa06e" resolved "http://npm.dui88.com:80/electron-to-chromium/-/electron-to-chromium-1.5.129.tgz#fafa835aea5d15fcd5cbe9bd6bf1cb5d4b3aa06e"
integrity sha512-JlXUemX4s0+9f8mLqib/bHH8gOHf5elKS6KeWG3sk3xozb/JTq/RLXIv8OKUWiK4Ah00Wm88EFj5PYkFr4RUPA== integrity sha512-JlXUemX4s0+9f8mLqib/bHH8gOHf5elKS6KeWG3sk3xozb/JTq/RLXIv8OKUWiK4Ah00Wm88EFj5PYkFr4RUPA==
emoji-regex@^8.0.0:
version "8.0.0"
resolved "http://npm.dui88.com:80/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
integrity sha1-6Bj9ac5cz8tARZT4QpY79TFkzDc=
emoji-regex@^9.2.2:
version "9.2.2"
resolved "http://npm.dui88.com:80/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72"
integrity sha1-hAyIA7DYBH9P8M+WMXazLU7z7XI=
enhanced-resolve@^5.18.1: enhanced-resolve@^5.18.1:
version "5.18.1" version "5.18.1"
resolved "http://npm.dui88.com:80/enhanced-resolve/-/enhanced-resolve-5.18.1.tgz#728ab082f8b7b6836de51f1637aab5d3b9568faf" resolved "http://npm.dui88.com:80/enhanced-resolve/-/enhanced-resolve-5.18.1.tgz#728ab082f8b7b6836de51f1637aab5d3b9568faf"
...@@ -2890,6 +2942,14 @@ fdir@^6.4.3: ...@@ -2890,6 +2942,14 @@ fdir@^6.4.3:
resolved "http://npm.dui88.com:80/fdir/-/fdir-6.4.3.tgz#011cdacf837eca9b811c89dbb902df714273db72" resolved "http://npm.dui88.com:80/fdir/-/fdir-6.4.3.tgz#011cdacf837eca9b811c89dbb902df714273db72"
integrity sha512-PMXmW2y1hDDfTSRc9gaXIuCCRpuoz3Kaz8cUelp3smouvfT632ozg2vrT6lJsHKKOF59YLbOGfAWGUcKEfRMQw== integrity sha512-PMXmW2y1hDDfTSRc9gaXIuCCRpuoz3Kaz8cUelp3smouvfT632ozg2vrT6lJsHKKOF59YLbOGfAWGUcKEfRMQw==
fetch-blob@^3.1.2, fetch-blob@^3.1.4:
version "3.2.0"
resolved "http://npm.dui88.com:80/fetch-blob/-/fetch-blob-3.2.0.tgz#f09b8d4bbd45adc6f0c20b7e787e793e309dcce9"
integrity sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==
dependencies:
node-domexception "^1.0.0"
web-streams-polyfill "^3.0.3"
file-entry-cache@^8.0.0: file-entry-cache@^8.0.0:
version "8.0.0" version "8.0.0"
resolved "http://npm.dui88.com:80/file-entry-cache/-/file-entry-cache-8.0.0.tgz#7787bddcf1131bffb92636c69457bbc0edd6d81f" resolved "http://npm.dui88.com:80/file-entry-cache/-/file-entry-cache-8.0.0.tgz#7787bddcf1131bffb92636c69457bbc0edd6d81f"
...@@ -2945,6 +3005,14 @@ for-each@^0.3.3, for-each@^0.3.5: ...@@ -2945,6 +3005,14 @@ for-each@^0.3.3, for-each@^0.3.5:
dependencies: dependencies:
is-callable "^1.2.7" is-callable "^1.2.7"
foreground-child@^3.1.0:
version "3.3.1"
resolved "http://npm.dui88.com:80/foreground-child/-/foreground-child-3.3.1.tgz#32e8e9ed1b68a3497befb9ac2b6adf92a638576f"
integrity sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==
dependencies:
cross-spawn "^7.0.6"
signal-exit "^4.0.1"
form-data@^4.0.0: form-data@^4.0.0:
version "4.0.2" version "4.0.2"
resolved "http://npm.dui88.com:80/form-data/-/form-data-4.0.2.tgz#35cabbdd30c3ce73deb2c42d3c8d3ed9ca51794c" resolved "http://npm.dui88.com:80/form-data/-/form-data-4.0.2.tgz#35cabbdd30c3ce73deb2c42d3c8d3ed9ca51794c"
...@@ -2955,11 +3023,27 @@ form-data@^4.0.0: ...@@ -2955,11 +3023,27 @@ form-data@^4.0.0:
es-set-tostringtag "^2.1.0" es-set-tostringtag "^2.1.0"
mime-types "^2.1.12" mime-types "^2.1.12"
formdata-polyfill@^4.0.10:
version "4.0.10"
resolved "http://npm.dui88.com:80/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz#24807c31c9d402e002ab3d8c720144ceb8848423"
integrity sha1-JIB8McnUAuACqz2McgFEzriEhCM=
dependencies:
fetch-blob "^3.1.2"
fraction.js@^4.3.7: fraction.js@^4.3.7:
version "4.3.7" version "4.3.7"
resolved "http://npm.dui88.com:80/fraction.js/-/fraction.js-4.3.7.tgz#06ca0085157e42fda7f9e726e79fefc4068840f7" resolved "http://npm.dui88.com:80/fraction.js/-/fraction.js-4.3.7.tgz#06ca0085157e42fda7f9e726e79fefc4068840f7"
integrity sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew== integrity sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==
fs-extra@^11.2.0:
version "11.3.0"
resolved "http://npm.dui88.com:80/fs-extra/-/fs-extra-11.3.0.tgz#0daced136bbaf65a555a326719af931adc7a314d"
integrity sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==
dependencies:
graceful-fs "^4.2.0"
jsonfile "^6.0.1"
universalify "^2.0.0"
fsevents@~2.3.2, fsevents@~2.3.3: fsevents@~2.3.2, fsevents@~2.3.3:
version "2.3.3" version "2.3.3"
resolved "http://npm.dui88.com:80/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" resolved "http://npm.dui88.com:80/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6"
...@@ -3039,6 +3123,18 @@ glob-parent@^6.0.2: ...@@ -3039,6 +3123,18 @@ glob-parent@^6.0.2:
dependencies: dependencies:
is-glob "^4.0.3" is-glob "^4.0.3"
glob@^10.4.5:
version "10.4.5"
resolved "http://npm.dui88.com:80/glob/-/glob-10.4.5.tgz#f4d9f0b90ffdbab09c9d77f5f29b4262517b0956"
integrity sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==
dependencies:
foreground-child "^3.1.0"
jackspeak "^3.1.2"
minimatch "^9.0.4"
minipass "^7.1.2"
package-json-from-dist "^1.0.0"
path-scurry "^1.11.1"
globals@^11.1.0: globals@^11.1.0:
version "11.12.0" version "11.12.0"
resolved "http://npm.dui88.com:80/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" resolved "http://npm.dui88.com:80/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e"
...@@ -3074,7 +3170,7 @@ gopd@^1.0.1, gopd@^1.2.0: ...@@ -3074,7 +3170,7 @@ gopd@^1.0.1, gopd@^1.2.0:
resolved "http://npm.dui88.com:80/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1" resolved "http://npm.dui88.com:80/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1"
integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg== integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==
graceful-fs@^4.2.4: graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4:
version "4.2.11" version "4.2.11"
resolved "http://npm.dui88.com:80/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" resolved "http://npm.dui88.com:80/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3"
integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==
...@@ -3264,6 +3360,11 @@ is-finalizationregistry@^1.1.0: ...@@ -3264,6 +3360,11 @@ is-finalizationregistry@^1.1.0:
dependencies: dependencies:
call-bound "^1.0.3" call-bound "^1.0.3"
is-fullwidth-code-point@^3.0.0:
version "3.0.0"
resolved "http://npm.dui88.com:80/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d"
integrity sha1-8Rb4Bk/pCz94RKOJl8C3UFEmnx0=
is-generator-function@^1.0.10: is-generator-function@^1.0.10:
version "1.1.0" version "1.1.0"
resolved "http://npm.dui88.com:80/is-generator-function/-/is-generator-function-1.1.0.tgz#bf3eeda931201394f57b5dba2800f91a238309ca" resolved "http://npm.dui88.com:80/is-generator-function/-/is-generator-function-1.1.0.tgz#bf3eeda931201394f57b5dba2800f91a238309ca"
...@@ -3387,6 +3488,15 @@ iterator.prototype@^1.1.4: ...@@ -3387,6 +3488,15 @@ iterator.prototype@^1.1.4:
has-symbols "^1.1.0" has-symbols "^1.1.0"
set-function-name "^2.0.2" set-function-name "^2.0.2"
jackspeak@^3.1.2:
version "3.4.3"
resolved "http://npm.dui88.com:80/jackspeak/-/jackspeak-3.4.3.tgz#8833a9d89ab4acde6188942bd1c53b6390ed5a8a"
integrity sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==
dependencies:
"@isaacs/cliui" "^8.0.2"
optionalDependencies:
"@pkgjs/parseargs" "^0.11.0"
javascript-natural-sort@^0.7.1: javascript-natural-sort@^0.7.1:
version "0.7.1" version "0.7.1"
resolved "http://npm.dui88.com:80/javascript-natural-sort/-/javascript-natural-sort-0.7.1.tgz#f9e2303d4507f6d74355a73664d1440fb5a0ef59" resolved "http://npm.dui88.com:80/javascript-natural-sort/-/javascript-natural-sort-0.7.1.tgz#f9e2303d4507f6d74355a73664d1440fb5a0ef59"
...@@ -3471,6 +3581,15 @@ json5@^2.2.3: ...@@ -3471,6 +3581,15 @@ json5@^2.2.3:
resolved "http://npm.dui88.com:80/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" resolved "http://npm.dui88.com:80/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283"
integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==
jsonfile@^6.0.1:
version "6.1.0"
resolved "http://npm.dui88.com:80/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae"
integrity sha1-vFWyY0eTxnnsZAMJTrE2mKbsCq4=
dependencies:
universalify "^2.0.0"
optionalDependencies:
graceful-fs "^4.1.6"
"jsx-ast-utils@^2.4.1 || ^3.0.0": "jsx-ast-utils@^2.4.1 || ^3.0.0":
version "3.3.5" version "3.3.5"
resolved "http://npm.dui88.com:80/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz#4766bd05a8e2a11af222becd19e15575e52a853a" resolved "http://npm.dui88.com:80/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz#4766bd05a8e2a11af222becd19e15575e52a853a"
...@@ -3614,6 +3733,11 @@ loose-envify@^1.0.0, loose-envify@^1.4.0: ...@@ -3614,6 +3733,11 @@ loose-envify@^1.0.0, loose-envify@^1.4.0:
dependencies: dependencies:
js-tokens "^3.0.0 || ^4.0.0" js-tokens "^3.0.0 || ^4.0.0"
lru-cache@^10.2.0:
version "10.4.3"
resolved "http://npm.dui88.com:80/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119"
integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==
lru-cache@^5.1.1: lru-cache@^5.1.1:
version "5.1.1" version "5.1.1"
resolved "http://npm.dui88.com:80/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" resolved "http://npm.dui88.com:80/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920"
...@@ -3692,6 +3816,11 @@ minimatch@^9.0.4: ...@@ -3692,6 +3816,11 @@ minimatch@^9.0.4:
dependencies: dependencies:
brace-expansion "^2.0.1" brace-expansion "^2.0.1"
"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.1.2:
version "7.1.2"
resolved "http://npm.dui88.com:80/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707"
integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==
mlly@^1.7.4: mlly@^1.7.4:
version "1.7.4" version "1.7.4"
resolved "http://npm.dui88.com:80/mlly/-/mlly-1.7.4.tgz#3d7295ea2358ec7a271eaa5d000a0f84febe100f" resolved "http://npm.dui88.com:80/mlly/-/mlly-1.7.4.tgz#3d7295ea2358ec7a271eaa5d000a0f84febe100f"
...@@ -3734,6 +3863,20 @@ natural-orderby@^5.0.0: ...@@ -3734,6 +3863,20 @@ natural-orderby@^5.0.0:
resolved "http://npm.dui88.com:80/natural-orderby/-/natural-orderby-5.0.0.tgz#bb655f669ee9c84e82cdc6cddbba25eb263cd9f4" resolved "http://npm.dui88.com:80/natural-orderby/-/natural-orderby-5.0.0.tgz#bb655f669ee9c84e82cdc6cddbba25eb263cd9f4"
integrity sha512-kKHJhxwpR/Okycz4HhQKKlhWe4ASEfPgkSWNmKFHd7+ezuQlxkA5cM3+XkBPvm1gmHen3w53qsYAv+8GwRrBlg== integrity sha512-kKHJhxwpR/Okycz4HhQKKlhWe4ASEfPgkSWNmKFHd7+ezuQlxkA5cM3+XkBPvm1gmHen3w53qsYAv+8GwRrBlg==
node-domexception@^1.0.0:
version "1.0.0"
resolved "http://npm.dui88.com:80/node-domexception/-/node-domexception-1.0.0.tgz#6888db46a1f71c0b76b3f7555016b63fe64766e5"
integrity sha1-aIjbRqH3HAt2s/dVUBa2P+ZHZuU=
node-fetch@^3.3.2:
version "3.3.2"
resolved "http://npm.dui88.com:80/node-fetch/-/node-fetch-3.3.2.tgz#d1e889bacdf733b4ff3b2b243eb7a12866a0b78b"
integrity sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==
dependencies:
data-uri-to-buffer "^4.0.0"
fetch-blob "^3.1.4"
formdata-polyfill "^4.0.10"
node-releases@^2.0.19: node-releases@^2.0.19:
version "2.0.19" version "2.0.19"
resolved "http://npm.dui88.com:80/node-releases/-/node-releases-2.0.19.tgz#9e445a52950951ec4d177d843af370b411caf314" resolved "http://npm.dui88.com:80/node-releases/-/node-releases-2.0.19.tgz#9e445a52950951ec4d177d843af370b411caf314"
...@@ -3872,6 +4015,11 @@ p-try@^2.0.0: ...@@ -3872,6 +4015,11 @@ p-try@^2.0.0:
resolved "http://npm.dui88.com:80/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" resolved "http://npm.dui88.com:80/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6"
integrity sha1-yyhoVA4xPWHeWPr741zpAE1VQOY= integrity sha1-yyhoVA4xPWHeWPr741zpAE1VQOY=
package-json-from-dist@^1.0.0:
version "1.0.1"
resolved "http://npm.dui88.com:80/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz#4f1471a010827a86f94cfd9b0727e36d267de505"
integrity sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==
parent-module@^1.0.0: parent-module@^1.0.0:
version "1.0.1" version "1.0.1"
resolved "http://npm.dui88.com:80/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" resolved "http://npm.dui88.com:80/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2"
...@@ -3909,12 +4057,20 @@ path-parse@^1.0.7: ...@@ -3909,12 +4057,20 @@ path-parse@^1.0.7:
resolved "http://npm.dui88.com:80/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" resolved "http://npm.dui88.com:80/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
integrity sha1-+8EUtgykKzDZ2vWFjkvWi77bZzU= integrity sha1-+8EUtgykKzDZ2vWFjkvWi77bZzU=
path-scurry@^1.11.1:
version "1.11.1"
resolved "http://npm.dui88.com:80/path-scurry/-/path-scurry-1.11.1.tgz#7960a668888594a0720b12a911d1a742ab9f11d2"
integrity sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==
dependencies:
lru-cache "^10.2.0"
minipass "^5.0.0 || ^6.0.2 || ^7.0.0"
pathe@^2.0.1, pathe@^2.0.2, pathe@^2.0.3: pathe@^2.0.1, pathe@^2.0.2, pathe@^2.0.3:
version "2.0.3" version "2.0.3"
resolved "http://npm.dui88.com:80/pathe/-/pathe-2.0.3.tgz#3ecbec55421685b70a9da872b2cff3e1cbed1716" resolved "http://npm.dui88.com:80/pathe/-/pathe-2.0.3.tgz#3ecbec55421685b70a9da872b2cff3e1cbed1716"
integrity sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w== integrity sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==
picocolors@^1.0.0, picocolors@^1.1.1: picocolors@^1.0.0, picocolors@^1.0.1, picocolors@^1.1.1:
version "1.1.1" version "1.1.1"
resolved "http://npm.dui88.com:80/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" resolved "http://npm.dui88.com:80/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b"
integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==
...@@ -4749,6 +4905,11 @@ side-channel@^1.1.0: ...@@ -4749,6 +4905,11 @@ side-channel@^1.1.0:
side-channel-map "^1.0.1" side-channel-map "^1.0.1"
side-channel-weakmap "^1.0.2" side-channel-weakmap "^1.0.2"
signal-exit@^4.0.1:
version "4.1.0"
resolved "http://npm.dui88.com:80/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04"
integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==
source-map-js@^1.2.1: source-map-js@^1.2.1:
version "1.2.1" version "1.2.1"
resolved "http://npm.dui88.com:80/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46" resolved "http://npm.dui88.com:80/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46"
...@@ -4790,6 +4951,33 @@ string-convert@^0.2.0: ...@@ -4790,6 +4951,33 @@ string-convert@^0.2.0:
resolved "http://npm.dui88.com:80/string-convert/-/string-convert-0.2.1.tgz#6982cc3049fbb4cd85f8b24568b9d9bf39eeff97" resolved "http://npm.dui88.com:80/string-convert/-/string-convert-0.2.1.tgz#6982cc3049fbb4cd85f8b24568b9d9bf39eeff97"
integrity sha1-aYLMMEn7tM2F+LJFaLnZvznu/5c= integrity sha1-aYLMMEn7tM2F+LJFaLnZvznu/5c=
"string-width-cjs@npm:string-width@^4.2.0":
version "4.2.3"
resolved "http://npm.dui88.com:80/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha1-JpxxF9J7Ba0uU2gwqOyJXvnG0BA=
dependencies:
emoji-regex "^8.0.0"
is-fullwidth-code-point "^3.0.0"
strip-ansi "^6.0.1"
string-width@^4.1.0:
version "4.2.3"
resolved "http://npm.dui88.com:80/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha1-JpxxF9J7Ba0uU2gwqOyJXvnG0BA=
dependencies:
emoji-regex "^8.0.0"
is-fullwidth-code-point "^3.0.0"
strip-ansi "^6.0.1"
string-width@^5.0.1, string-width@^5.1.2:
version "5.1.2"
resolved "http://npm.dui88.com:80/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794"
integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==
dependencies:
eastasianwidth "^0.2.0"
emoji-regex "^9.2.2"
strip-ansi "^7.0.1"
string.prototype.matchall@^4.0.12: string.prototype.matchall@^4.0.12:
version "4.0.12" version "4.0.12"
resolved "http://npm.dui88.com:80/string.prototype.matchall/-/string.prototype.matchall-4.0.12.tgz#6c88740e49ad4956b1332a911e949583a275d4c0" resolved "http://npm.dui88.com:80/string.prototype.matchall/-/string.prototype.matchall-4.0.12.tgz#6c88740e49ad4956b1332a911e949583a275d4c0"
...@@ -4849,6 +5037,27 @@ string.prototype.trimstart@^1.0.8: ...@@ -4849,6 +5037,27 @@ string.prototype.trimstart@^1.0.8:
define-properties "^1.2.1" define-properties "^1.2.1"
es-object-atoms "^1.0.0" es-object-atoms "^1.0.0"
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
version "6.0.1"
resolved "http://npm.dui88.com:80/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
integrity sha1-nibGPTD1NEPpSJSVshBdN7Z6hdk=
dependencies:
ansi-regex "^5.0.1"
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
version "6.0.1"
resolved "http://npm.dui88.com:80/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
integrity sha1-nibGPTD1NEPpSJSVshBdN7Z6hdk=
dependencies:
ansi-regex "^5.0.1"
strip-ansi@^7.0.1:
version "7.1.0"
resolved "http://npm.dui88.com:80/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45"
integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==
dependencies:
ansi-regex "^6.0.1"
strip-indent@^3.0.0: strip-indent@^3.0.0:
version "3.0.0" version "3.0.0"
resolved "http://npm.dui88.com:80/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001" resolved "http://npm.dui88.com:80/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001"
...@@ -5100,6 +5309,11 @@ unimport@^4.1.2: ...@@ -5100,6 +5309,11 @@ unimport@^4.1.2:
unplugin "^2.2.2" unplugin "^2.2.2"
unplugin-utils "^0.2.4" unplugin-utils "^0.2.4"
universalify@^2.0.0:
version "2.0.1"
resolved "http://npm.dui88.com:80/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d"
integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==
unplugin-auto-import@^19.1.2: unplugin-auto-import@^19.1.2:
version "19.1.2" version "19.1.2"
resolved "http://npm.dui88.com:80/unplugin-auto-import/-/unplugin-auto-import-19.1.2.tgz#78167551b55366178c6537b7a09d5e1214066113" resolved "http://npm.dui88.com:80/unplugin-auto-import/-/unplugin-auto-import-19.1.2.tgz#78167551b55366178c6537b7a09d5e1214066113"
...@@ -5161,6 +5375,17 @@ validate-npm-package-license@^3.0.1: ...@@ -5161,6 +5375,17 @@ validate-npm-package-license@^3.0.1:
spdx-correct "^3.0.0" spdx-correct "^3.0.0"
spdx-expression-parse "^3.0.0" spdx-expression-parse "^3.0.0"
vite-plugin-assets-sync@^0.0.4:
version "0.0.4"
resolved "http://npm.dui88.com:80/vite-plugin-assets-sync/-/vite-plugin-assets-sync-0.0.4.tgz#5afdd4f8e828a7a5d0f1eadc30eab3c1c77cd39f"
integrity sha512-qLcs+97MRr4TG9NK0H5TzTMoiORWc1RTxSddNW1JD5d+TQ7DY3SiFivp6MLsCxmGsYcLPQDzV6Po2Jkestj2aw==
dependencies:
form-data "^4.0.0"
fs-extra "^11.2.0"
glob "^10.4.5"
node-fetch "^3.3.2"
picocolors "^1.0.1"
vite-plugin-pages@^0.32.5: vite-plugin-pages@^0.32.5:
version "0.32.5" version "0.32.5"
resolved "http://npm.dui88.com:80/vite-plugin-pages/-/vite-plugin-pages-0.32.5.tgz#1ff00d0570a46ba45cf3176d63d65723fcebde33" resolved "http://npm.dui88.com:80/vite-plugin-pages/-/vite-plugin-pages-0.32.5.tgz#1ff00d0570a46ba45cf3176d63d65723fcebde33"
...@@ -5200,6 +5425,11 @@ vue-eslint-parser@^9.4.3: ...@@ -5200,6 +5425,11 @@ vue-eslint-parser@^9.4.3:
lodash "^4.17.21" lodash "^4.17.21"
semver "^7.3.6" semver "^7.3.6"
web-streams-polyfill@^3.0.3:
version "3.3.3"
resolved "http://npm.dui88.com:80/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz#2073b91a2fdb1fbfbd401e7de0ac9f8214cecb4b"
integrity sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==
webpack-virtual-modules@^0.6.2: webpack-virtual-modules@^0.6.2:
version "0.6.2" version "0.6.2"
resolved "http://npm.dui88.com:80/webpack-virtual-modules/-/webpack-virtual-modules-0.6.2.tgz#057faa9065c8acf48f24cb57ac0e77739ab9a7e8" resolved "http://npm.dui88.com:80/webpack-virtual-modules/-/webpack-virtual-modules-0.6.2.tgz#057faa9065c8acf48f24cb57ac0e77739ab9a7e8"
...@@ -5270,6 +5500,24 @@ word-wrap@^1.2.5: ...@@ -5270,6 +5500,24 @@ word-wrap@^1.2.5:
resolved "http://npm.dui88.com:80/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34" resolved "http://npm.dui88.com:80/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34"
integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA== integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
version "7.0.0"
resolved "http://npm.dui88.com:80/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
integrity sha1-Z+FFz/UQpqaYS98RUpEdadLrnkM=
dependencies:
ansi-styles "^4.0.0"
string-width "^4.1.0"
strip-ansi "^6.0.0"
wrap-ansi@^8.1.0:
version "8.1.0"
resolved "http://npm.dui88.com:80/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"
integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==
dependencies:
ansi-styles "^6.1.0"
string-width "^5.0.1"
strip-ansi "^7.0.1"
xml-name-validator@^4.0.0: xml-name-validator@^4.0.0:
version "4.0.0" version "4.0.0"
resolved "http://npm.dui88.com:80/xml-name-validator/-/xml-name-validator-4.0.0.tgz#79a006e2e63149a8600f15430f0a4725d1524835" resolved "http://npm.dui88.com:80/xml-name-validator/-/xml-name-validator-4.0.0.tgz#79a006e2e63149a8600f15430f0a4725d1524835"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment