packServer/miniprogram/package.json
liufumingren 4fdc10d4a3 fix(miniprogram): tsconfig 不再继承过期的 @vue/tsconfig,改用 bundler 解析
@vue/tsconfig@0.1.3 仍设 importsNotUsedAsValues / preserveValueImports,TS 5.5 起已删除;
它的 moduleResolution=Node 与 baseUrl 在 TS 6 也已弃用(VS Code 报 4 个错)。

- tsconfig 改成自包含:moduleResolution=bundler,paths 不再需要 baseUrl
- typescript ^6.0.3、vue-tsc ^3.3.13,移除未再使用的 @vue/tsconfig
- 已验证:npm run type-check / build:h5 / build:mp-weixin 均通过

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-21 01:07:05 +08:00

30 lines
920 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "pack-service-miniprogram",
"version": "0.1.0",
"private": true,
"description": "云仓视频溯源 · 微信小程序(uni-app + Vue3 + TypeScript)",
"scripts": {
"dev:mp-weixin": "uni -p mp-weixin",
"build:mp-weixin": "uni build -p mp-weixin",
"dev:h5": "uni",
"build:h5": "uni build",
"type-check": "vue-tsc --noEmit"
},
"dependencies": {
"@dcloudio/uni-app": "3.0.0-5020420260813003",
"@dcloudio/uni-components": "3.0.0-5020420260813003",
"@dcloudio/uni-h5": "3.0.0-5020420260813003",
"@dcloudio/uni-mp-weixin": "3.0.0-5020420260813003",
"vue": "^3.4.21"
},
"devDependencies": {
"@dcloudio/types": "^3.4.8",
"@dcloudio/uni-cli-shared": "3.0.0-5020420260813003",
"@dcloudio/vite-plugin-uni": "3.0.0-5020420260813003",
"@vue/runtime-core": "^3.4.21",
"typescript": "^6.0.3",
"vite": "5.2.8",
"vue-tsc": "^3.3.13"
}
}