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

pstack: pin poteto-mode script devDependencies (bun-types and typescript use latest)

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

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
1/5
預估耗時
1 小時以內
新手友好度
80/100
Issue 類型
重構
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
bun, json, typescript

研究方向

開啟 pstack/skills/poteto-mode/scripts/package.json,將兩個 latest devDependency 值替換為精確版本,並檢查儲存庫中現有的 TypeScript/bun 版本以維持一致性。接著在該目錄中執行 bun install 以及 typecheck 和 bun test 指令碼,確認沒有任何東西損壞。完成表示檔案中不再有 bun-types 或 typescript 的 latest 標籤,而且這些指令碼仍然通過。

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

描述

Summary

pstack/skills/poteto-mode/scripts/package.json pins commander exactly, but its dev dependencies use the latest tag:

"devDependencies": {
  "bun-types": "latest",
  "typescript": "latest"
}

Why it matters

  • Installs are not reproducible: bun install can pick a different bun-types or TypeScript on every run.
  • A newly published (or compromised) release is picked up automatically.
  • The typecheck and bun test results then depend on whichever versions happen to be current.
  • Static skill scanners flag this as an unpinned-dependency finding (SkillSpector SC1).

Proposal

  • Pin exact versions for bun-types and typescript, and let Renovate/Dependabot (or a scheduled workflow) update the pins; or
  • Commit a lockfile for scripts/ so the resolved versions are reproducible.

Context

Found by a downstream APM/SkillSpector audit. commander is already pinned exactly; only the two dev dependencies are unpinned.

Related: #531 (CI/validator coverage, including npm dependencies without a lockfile).

主要語言
TypeScript
星號
13.9k
分支
1.4k
平均合併
6 小時 55 分鐘
30 天內合併 PR
158

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

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

cursor/plugins 的其他 Issue

查看 cursor/plugins 的全部 Issue

相似的 Issue

更多 TypeScript Issue

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

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