mirror of
https://github.com/omdsh-dev/DSH-better-sidebar.git
synced 2026-09-28 07:22:56 +08:00
- package.json:14 条 link:/Users/menghuan/.dsh/source/current/... 绝对路径 改为 ^0.0.1-rc.1(npm registry 预发布版,官方已发布 0.0.1-rc.1); peerDependencies 同步 ^0.0.1-rc.1 以匹配 rc 系列 - 安装需安装者自己的只读令牌(~/.npmrc 配置 //registry.npmjs.org/:_authToken, 不写进仓库);或改回指向自己 ~/.dsh/source/current 的 link: —— README 三处说明更新 - .gitignore 加 .npmrc 防令牌误提交;token 全程仅环境变量/临时文件使用,已删除 - vitest.config.ts:npm 版 ui-primitives 的 lib 顶层 import katex css, node_modules 外部化会被 Node 原生加载撞上 .css —— inline 该包走 Vite 转换 stub - pnpm-lock.yaml 由 link: 仓库改为 registry tarball(+2001 行); pnpm-workspace.yaml 追加 minimumReleaseAgeExclude(pnpm 11 自动记账)
21 lines
571 B
JSON
21 lines
571 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2023",
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"lib": ["ES2023", "DOM", "DOM.Iterable"],
|
|
"jsx": "react-jsx",
|
|
"strict": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"exactOptionalPropertyTypes": false,
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"verbatimModuleSyntax": true,
|
|
"allowImportingTsExtensions": true,
|
|
"noEmit": true,
|
|
"types": ["node"]
|
|
},
|
|
"include": ["src", "tests", "tsdown.config.ts", "vitest.config.ts"]
|
|
}
|