Files
what-to-eat/pnpm-workspace.yaml
toor 8ff7b879b9 refactor: 个人自用,移除登录与云同步全链路
站点只给本人用,云乐坊 SSO 授权、收藏/历史云同步、获客归因和账号切换记账都没有收益,却被登录状态检查和同步失败提示持续打扰。

- 删除 useYunlefunAuth / yunlefunAuth / yunlefunSsoConfig / yunlefunAuth 适配器、useUserDataSync / userDataSync / userData 适配器、三个 client 插件与 /auth/callback 回调页
- 抽出 adapters/cloudbase.ts,让「反馈一下」和匿名筛选信号不再依赖登录态;cook-feedback 云函数保留
- 删除 cook-user-data 云函数与 cook_user_data 权限规则,移除 @yunlefun/sso 依赖
- 「我的」页删掉登录按钮、账号卡、四个统计格和退出登录;「关于」页删掉项目作者、致谢名单和上游宣传链接
- 本地收藏/历史与导出导入保留,删除同步专用的 lastUid 记账

取舍见 docs/decisions/0005-drop-login-and-sync.md
2026-10-22 15:52:54 +08:00

45 lines
1.1 KiB
YAML

strictPeerDependencies: false
autoInstallPeers: false
ignoreWorkspaceRootCheck: true
strictDepBuilds: true
minimumReleaseAge: 1440
shamefullyHoist: true
shellEmulator: true
blockExoticSubdeps: true
trustPolicy: no-downgrade
trustPolicyExclude:
# Babel still pins this established pre-provenance release.
- semver@6.3.1
# Google Workbox 7.4.1 pins this exact pre-release build helper.
- '@trickfilm400/rollup-plugin-off-main-thread@3.0.0-pre1'
packages:
- apps/*
- docs
- packages/*
overrides:
# Patched transitive versions for Ionic CLI security advisories.
'@ionic/cli>tar': 7.5.22
# @nuxtjs/ionic 1.0.2 has not refreshed its Capacitor dependency range yet.
'@nuxtjs/ionic>@capacitor/cli': 8.5.0
'@nuxtjs/ionic>@capacitor/core': 8.5.0
external-editor>tmp: 0.2.7
# Capacitor CLI's xcode helper only uses the stable uuid API.
xcode>uuid: 11.1.1
peerDependencyRules:
# UnoCSS exposes an optional Webpack adapter; this project builds with Vite.
ignoreMissing:
- webpack
allowBuilds:
'@parcel/watcher': true
core-js-pure: false
esbuild: true
protobufjs: false
simple-git-hooks: true
unrs-resolver: true
vue-demi: true