Bump direct dependencies, catalog pins, and security overrides to the latest versions the toolchain accepts, and refresh the lockfile. Retarget the @codemirror/view patch to 6.44.2 and the Mermaid patch to 12.4.0. Keep Prettier at 2.8.8 and TypeScript at 6.0.3. @typescript-eslint still requires typescript < 6.1.0. Follow Vite 8.4's dev.sourcemap.css option.
91 lines
2.9 KiB
JSON
91 lines
2.9 KiB
JSON
{
|
|
"name": "@md/web",
|
|
"type": "module",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=22.22.2"
|
|
},
|
|
"scripts": {
|
|
"start": "pnpm run dev",
|
|
"dev": "vite",
|
|
"build": "run-s \"build:only {@}\" type-check --",
|
|
"build:only": "vite build",
|
|
"build:h5-netlify": "run-s \"build:h5-netlify:only {@}\" type-check --",
|
|
"build:h5-netlify:only": "cross-env SERVER_ENV=NETLIFY vite build",
|
|
"build:utools": "cross-env SERVER_ENV=UTOOLS vite build --mode utools --outDir ../utools/dist --emptyOutDir",
|
|
"build:analyze": "cross-env ANALYZE=true vite build",
|
|
"preview": "pnpm run build && vite preview",
|
|
"wrangler:dev": "cross-env CF_WORKERS=1 vite --host",
|
|
"wrangler:deploy": "cross-env CF_WORKERS=1 pnpm run build:h5-netlify && wrangler deploy",
|
|
"ext:dev": "wxt",
|
|
"ext:zip": "cross-env NODE_OPTIONS=--max-old-space-size=4096 wxt zip",
|
|
"firefox:dev": "wxt -b firefox",
|
|
"firefox:zip": "cross-env NODE_OPTIONS=--max-old-space-size=4096 wxt zip -b firefox",
|
|
"type-check": "vue-tsc --build --force",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"postinstall": "wxt prepare"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "3.1179.0",
|
|
"@aws-sdk/s3-request-presigner": "3.1179.0",
|
|
"@codemirror/autocomplete": "^6.20.4",
|
|
"@codemirror/language": "^6.13.1",
|
|
"@codemirror/state": "catalog:",
|
|
"@codemirror/view": "catalog:",
|
|
"@lucide/vue": "^1.83.0",
|
|
"@md/core": "workspace:*",
|
|
"@md/shared": "workspace:*",
|
|
"@vue/devtools-api": "^8.2.1",
|
|
"@vueuse/core": "^15.1.0",
|
|
"@vueuse/shared": "^15.1.0",
|
|
"browser-image-compression": "^2.0.2",
|
|
"buffer-from": "^1.1.2",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"crypto-es": "^3.1.3",
|
|
"diff-match-patch": "^1.0.5",
|
|
"fflate": "^0.8.3",
|
|
"html-to-image": "^1.11.13",
|
|
"idb": "^8.0.4",
|
|
"juice": "^12.2.6",
|
|
"pinia": "^4.1.0",
|
|
"pinyin-pro": "^3.29.5",
|
|
"qiniu-js": "^3.4.4",
|
|
"reka-ui": "^2.12.0",
|
|
"tailwind-merge": "^3.7.1",
|
|
"vee-validate": "^4.15.1",
|
|
"vue": "^3.5.46",
|
|
"vue-i18n": "^11.4.24",
|
|
"vue-pick-colors": "^1.8.0",
|
|
"vue-sonner": "^2.0.9",
|
|
"zod": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/vite-plugin": "1.70.2",
|
|
"@cloudflare/workers-types": "catalog:",
|
|
"@md/config": "workspace:*",
|
|
"@tailwindcss/vite": "^4.3.5",
|
|
"@types/buffer-from": "^1.1.3",
|
|
"@types/diff-match-patch": "^1.0.36",
|
|
"@vitejs/plugin-vue": "^6.0.11",
|
|
"cross-env": "^10.1.0",
|
|
"less": "^4.9.1",
|
|
"linkedom": "^0.18.15",
|
|
"npm-run-all2": "^9.1.0",
|
|
"ohash": "^2.0.12",
|
|
"rollup-plugin-visualizer": "^7.3.0",
|
|
"tailwindcss": "^4.3.5",
|
|
"tw-animate-css": "^1.4.0",
|
|
"unplugin-auto-import": "^21.1.0",
|
|
"unplugin-vue-components": "^32.1.0",
|
|
"vite": "^8.4.0",
|
|
"vite-plugin-radar": "^0.11.0",
|
|
"vite-plugin-vue-devtools": "^8.2.1",
|
|
"vitest": "catalog:",
|
|
"vue-tsc": "^3.3.14",
|
|
"wrangler": "catalog:",
|
|
"wxt": "^0.21.5"
|
|
}
|
|
}
|