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

Add homepage, bugs, keywords and engines to every published package

已關閉 適合新手
#178 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

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

研究方向

首先閱讀 packages/core/package.json、packages/server/package.json 和 packages/widget/package.json 中的套件清單,以及 CONTRIBUTING.md 中關於 pnpm build 和 pnpm test 順序的說明。將所需的中繼資料新增至全部三個清單,並且只在 core 和 server 新增 sideEffects: false;保留 widget 的副作用。為全部三個套件新增 patch changeset,接著執行 pnpm -r build 和 pnpm test。

由索引模型根據 Issue 內容生成。

描述

enhancement good first issue hacktoberfest

packages/core/package.json, packages/server/package.json and packages/widget/package.json have repository but no homepage, bugs, keywords or engines. npm shows nothing useful on the package page, and nothing tells users the packages need Node 22.

What to do

  • Add to all three: "homepage": "https://chat.codercops.com", "bugs": "https://github.com/codercops/chatcops/issues", a short keywords list, and "engines": { "node": ">=22" }.
  • Add "sideEffects": false to core and server only. Not the widget: importing it starts the widget from the script tag and sets window.ChatCops (packages/widget/src/index.ts, lines 86 to 99), so bundlers must not drop it.

Acceptance criteria

  • All three packages have the four fields; core and server have sideEffects: false, the widget doesn't
  • pnpm -r build and pnpm test pass
  • Changesets for the three packages (patch)

Want to work on this? Comment below and I'll assign it to you. Please take one issue at a time, branch off dev, and open your PR against dev with Closes #<this issue number>. Setup notes (pnpm, build before test) are in CONTRIBUTING.md.

主要語言
TypeScript
星號
13
分支
7
平均合併
4 小時 11 分鐘
30 天內合併 PR
122

環境準備

從這裡開始

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

codercops/chatcops 的其他 Issue

查看 codercops/chatcops 的全部 Issue

相似的 Issue

更多 TypeScript Issue

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

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