Stop shipping the `docs/` folder inside the `@angular/fire` npm package
维护者通常 3 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- angular, firebase, typescript
- 领域
- build-system, release
调研方向
Read tools/build.ts and inspect the build output and package contents to confirm where docs/ is copied and that README.md remains included. The issue reports that no package code reads the copied documentation and proposes removing it from the publish output. Done means the built package excludes docs/ while preserving README.md; an open linked pull request (#3811) already addresses this work.
由索引模型根据 Issue 内容生成。
描述
The published @angular/fire tarball carries the repository's whole docs/ tree. tools/build.ts has copied it into the publish output since the 6.0.0 build script (#2282), and no code in the package reads it.
What it costs
Measured on 22.0.0-canary.20261023183021.sha-f95d598:
- 53 of the tarball's 175 files are documentation, 1,030,796 of 4,694,110 bytes unpacked.
- Without them the compressed tarball goes from 2,021,273 to 1,173,999 bytes, a 42 percent cut.
- The shipped copy freezes at the installed version while the GitHub pages move on.
- The copy includes
docs/firebase.json, a sample file. At least one published project points its App HostingrootDiratnode_modules/@angular/fire/docs/firebase.json, which the file's presence invited.
Proposal
Drop the docs/ copy from the build. README.md keeps shipping. The documentation stays where it is maintained, on GitHub.
I have not found anything that depends on the in-package path, and I would like to hear about it if you have.
- 主要语言
- TypeScript
- 星标
- 7.8k
- 派生
- 2.2k
- 平均合并
- 2 天 7 小时
- 30 天内合并 PR
- 18
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
angular/angularfire 的其他 Issue
-
The v21 upgrade guide says only `getImagenModel` was removed from the AI API可能已有人在做 @armando-navarro 于 3 天前认领。 未关闭comp: ai comp: docs type: chore version: current (v17+)
难度 1/5 1-3 小时 新手友好度 35/100
angular/angularfire#3816 ·
维护者通常 3 天内回复
-
The auth guide and the sample still import `beforeAuthStateChanged` from `firebase/auth`可能已有人在做 @armando-navarro 于 3 天前认领。 未关闭comp: auth comp: docs type: chore version: current (v17+)
难度 2/5 1-3 小时 新手友好度 25/100
angular/angularfire#3815 ·
维护者通常 3 天内回复
-
Move the repo's build and test targets off the deprecated `@angular-devkit/build-angular` builders可能已有人在做 @armando-navarro 于 4 天前认领。 未关闭comp: build/pipeline type: chore
难度 4/5 1-2 天 新手友好度 25/100
angular/angularfire#3806 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 55/100
angular/angularfire#3800 · 1 个 reaction ·
维护者通常 3 天内回复
-
Use `TransferState` to hand server-rendered Firestore data to the browser, instead of reading every document twice可能重新可做 @armando-navarro 于 57 天前认领,目前没有进行中的 PR。 未关闭comp: firestore comp: ssr priority: P0 (critical) type: feature version: current (v17+)
angular/angularfire#3757 · 已指派 1 人 ·
维护者通常 3 天内回复
查看 angular/angularfire 的全部 Issue
相似的 Issue
-
area: server priority: P3 type: bug
难度 2/5 1-3 小时 新手友好度 83/100
appandflow/stim#4538 ·
维护者通常 1 天内回复
-
[BUG] Published Docker images lack the redis extra: HEADROOM_COMPRESS_SESSION_STORE stops startup可能已有人在做 @AlessandroSpallina 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
headroomlabs-ai/headroom#4513 ·
维护者通常 1 天内回复
-
bug extension extension: obsidian platform: Windows
难度 2/5 1-3 小时 新手友好度 68/100
raycast/extensions#32838 · 1 条评论 ·
维护者通常 1 天内回复
-
copy design-review mac P3
难度 2/5 1-3 小时 新手友好度 88/100
tosunlab/hisarapp-core#510 ·
-
bug priority-medium to-agent
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复