Files
PetCommunity/.gitignore
chenwu 24891d9004 chore: 补全工程配置,部署云函数,建立数据库索引
- 新增 .gitignore(排除 node_modules、私有配置、编译产物)
- 新增 cloudbaserc.json,绑定云环境 cloud1-d4g697lte499543d8
- project.config.json:补 miniprogramRoot、开启 useCompilerPlugins typescript,修复预览报 app.json 找不到的问题
- tsconfig.json:移除无效 typeRoots,解除 TypeScript 编译阻断
- miniprogram/app.json:移除 glass-easel(需基础库 3.x,兼容性差)
- miniprogram/utils/constants.ts:填入真实云环境 ID
- cloudfunctions/updateLocation:位置字段改用 GeoPoint 以支持地理索引
- cloudfunctions/getNearbyPets:改用 geoNear 聚合管道,支持真实距离排序

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-06 00:37:33 +08:00

21 lines
434 B
Plaintext
Raw Permalink 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.
# 依赖
node_modules/
**/node_modules/
# 云函数锁文件(可选提交,这里统一忽略)
cloudfunctions/**/package-lock.json
# 微信开发者工具私有配置(含 token不入库
project.private.config.json
**/project.private.config.json
# 开发者工具在 srcMiniprogramRoot 内生成的重复配置
miniprogram/project.config.json
# 编译产物
miniprogram/**/*.js.map
# 系统文件
.DS_Store
Thumbs.db