Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Stop shipping the `docs/` folder inside the `@angular/fire` npm package

未關閉
#3,809 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 2 天內回覆

@armando-navarro 已經在處理了。

開始於 2026年10月23日。

  • #3811 來自 @armando-navarro —— 未關閉

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
35/100
Issue 類型
功能
描述清晰度
描述清楚
活躍度
停滯
技術堆疊
angular, firebase, typescript

研究方向

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 內容生成。

描述

comp: build/pipeline type: chore

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 Hosting rootDir at node_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 天 6 小時
30 天內合併 PR
16

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

angular/angularfire 的其他 Issue

查看 angular/angularfire 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。