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 类型
功能
描述清晰度
描述清楚
活跃度
活跃

调研方向

首先阅读 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
平均合并
3 小时 41 分钟
30 天内合并 PR
155

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

codercops/chatcops 的其他 Issue

查看 codercops/chatcops 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。