88 lines
3.6 KiB
Plaintext
88 lines
3.6 KiB
Plaintext
/unpackage
|
|
/.idea
|
|
/.logs
|
|
/node_modules
|
|
/iconfont-preview.html
|
|
|
|
.codebuddy
|
|
.vscode
|
|
.trae
|
|
# 本地调试配置 (含 uniacid / 域名, 每人不同, 不应入仓)
|
|
# 注意: 如果 .local.config.js 已经被之前的 commit 入仓,
|
|
# 需要手动 `git rm --cached .local.config.js` 并用 filter-branch
|
|
# 清理历史 (仅限团队协商后操作)
|
|
.local.config.js
|
|
|
|
# 鸿蒙元服务构建产物 (被 .gitignore 的只是产物, HAR 元数据需要 git 管理)
|
|
# 重要: ascf_build 根目录的元数据 (oh-package.json5 / Index.ets / build-profile.json5 / ...)
|
|
# 必须被 git 管理, 否则无法追踪 "module.name 被清空" 等回归。
|
|
# 这些元数据通过下方的 ! 取反规则显式纳入 git。
|
|
stub-app-projects/mp-harmony/ascf/ascf_src
|
|
stub-app-projects/mp-harmony/entry/src/main/resources/rawfile
|
|
|
|
# ascf_build/<pkg>/ 是 HAR 包定义
|
|
# 区分两类内容:
|
|
# 1. 必须入 git (元数据 / 构建配置 / HAR 入口):
|
|
# - oh-package.json5, build-profile.json5, hvigorfile.ts
|
|
# - obfuscation-rules.txt, src/main/module.json5
|
|
# - src/main/resources/base/element/string.json (HAR i18n)
|
|
# 2. 每次构建覆盖 (不应入 git):
|
|
# - src/main/resources/rawfile/** : 鸿蒙端从 ascf_src 同步的编译产物
|
|
# - Index.ets : 空壳文件, 无内容
|
|
# - build/, oh_modules/, .preview/, .cxx/, .test/, node_modules/
|
|
|
|
# rawfile/ 整体 ignore (鸿蒙端每次 Build 重新生成)
|
|
stub-app-projects/mp-harmony/ascf/ascf_build/**/rawfile/**
|
|
|
|
# Index.ets 是空壳 (每个包都是 0 字节), 不入 git
|
|
stub-app-projects/mp-harmony/ascf/ascf_build/**/Index.ets
|
|
|
|
# 其他产物目录
|
|
stub-app-projects/mp-harmony/ascf/ascf_build/**/build
|
|
stub-app-projects/mp-harmony/ascf/ascf_build/**/oh_modules
|
|
stub-app-projects/mp-harmony/ascf/ascf_build/**/.preview
|
|
stub-app-projects/mp-harmony/ascf/ascf_build/**/.cxx
|
|
stub-app-projects/mp-harmony/ascf/ascf_build/**/.test
|
|
stub-app-projects/mp-harmony/ascf/ascf_build/**/node_modules
|
|
|
|
# entry 下的产物
|
|
stub-app-projects/mp-harmony/entry/build
|
|
stub-app-projects/mp-harmony/entry/oh_modules
|
|
stub-app-projects/mp-harmony/entry/.preview
|
|
stub-app-projects/mp-harmony/entry/.cxx
|
|
stub-app-projects/mp-harmony/entry/.test
|
|
stub-app-projects/mp-harmony/entry/node_modules
|
|
# 鸿蒙工程顶层产物 (.hvigor / hvigor / .idea 已在根 .gitignore 范围或更精准的鸿蒙子 .gitignore)
|
|
stub-app-projects/mp-harmony/oh_modules
|
|
stub-app-projects/mp-harmony/.hvigor
|
|
stub-app-projects/mp-harmony/.idea
|
|
# 鸿蒙 hvigor 自身依赖
|
|
stub-app-projects/mp-harmony/hvigor
|
|
# Trae/IDE 临时文件
|
|
.hvigor/outputs
|
|
.trae_permission_check_*
|
|
# 根目录下所有以 .trae_ 开头的临时文件/目录 (Trae IDE 探测/写入产生)
|
|
.trae_*
|
|
|
|
# 本地测试脚本与产物归档(不入 git, 留本地复用)
|
|
# 内容: Playwright 截图 / 测试脚本 / 对比图 / 临时提交草稿
|
|
# 复用方式: cd _test_archive && python xxx.py
|
|
_test_archive/
|
|
|
|
# 兜底:防止任何临时测试文件被遗漏在根目录
|
|
# 名称以 _test_/_compare_/_auth_ 开头, 或 check_button.py 等
|
|
_test_*.png
|
|
_test_*.html
|
|
_compare*.png
|
|
_compare*.py
|
|
_auth_*.json
|
|
_commit_msg.txt
|
|
/check_button.py
|
|
# 鸿蒙签名材料 (敏感, 绝不能提交到公共 git)
|
|
# 仓库有 origin (github.com/Zajd/jsysq-uniapp) 是公开仓库, 签名材料必须 gitignore
|
|
stub-app-projects/mp-harmony/**/cert-profile
|
|
stub-app-projects/mp-harmony/**/.p12
|
|
stub-app-projects/mp-harmony/**/.p7b
|
|
stub-app-projects/mp-harmony/**/.cer
|
|
stub-app-projects/mp-harmony/**/.csr
|
|
stub-app-projects/mp-harmony/**/material |