Files
workspace/code/g3soft-libs/pnpm-workspace.yaml
T
2026-10-09 17:32:14 +08:00

26 lines
950 B
YAML
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.
packages:
- packages/*
- docs
# 统一 vue / typescript 版本:各包写 "vue": "catalog:",避免多版本漂移。
catalog:
vue: ^3.5.41
typescript: ^5.9.0
sass: ^1.80.0
# pnpm 11 的构建脚本白名单(map 形式;v10 的 onlyBuiltDependencies 数组写法在 v11 已失效)。
# esbuild —— Vite / VitePress 底层打包器
# vue-demi —— Vue 2/3 兼容 shim,部分工具链的传递依赖,安装时要跑脚本切换
# @parcel/watcher —— sass(docs / ui / tokens 都用)的原生文件监听依赖,必须放行
# 注意:pnpm 11 会把「未放行的构建脚本」当作错误让后续命令失败,
# 所以放行项必须显式存在(true=放行,false=显式忽略)。
allowBuilds:
esbuild: true
vue-demi: true
'@parcel/watcher': true
minimumReleaseAgeExclude:
- '@lucide/vue@1.53.0'
# 依赖严格隔离(不开启 shamefully-hoist / nodeLinker: hoisted)。