Test that the About screen credits every package the app ships
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 76/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- node.js, react-native, typescript
調査の方向性
Start with apps/mobile/src/licenses.test.ts and read its current dependency checks, then inspect the package.json files for the @hermit/* packages used by the app and apps/mobile/worklets/wallet/package.json. Add a test that checks each third-party dependency has a matching packages entry in apps/mobile/src/licenses.ts, and update missing entries. Run pnpm --filter @hermit/mobile test; done means the test passes and the README Credits section still matches.
索引モデルが issue の本文から書いたものです。
説明
Why
README.md says the About screen credits the open-source projects Hermit is built on, with their licenses, and MIT and Apache-2.0 ask for their notices to ship with the app. Today apps/mobile/src/licenses.test.ts checks only the app's direct dependencies in apps/mobile/package.json. A package that ships through one of Hermit's own packages, or through the wallet worklet, can be missed without a test failing. (#10 added the ones missing today: noble-curves, noble-hashes, the WDK wallet, bare-crypto, bare-node-runtime and bip39.)
What to do
- Test first, in
apps/mobile/src/licenses.test.ts. Collect the third-party dependencies of every@hermit/*package the app depends on (each one'spackages/<name>/package.json), plusapps/mobile/worklets/wallet/package.json. For each, expect an entry inLICENSES(apps/mobile/src/licenses.ts) whosepackagescovers it. Watch it fail for the entries that have nopackageslist yet. - Add the matching
packagesto those entries, for example["@noble/curves"]on noble-curves. - Stretch, and say so in the pull request if you try it: transitive dependencies too, from
pnpm-lock.yamlandapps/mobile/worklets/wallet/package-lock.json. Describe your approach before you write much code.
Done when
- The test fails when a workspace package or the worklet adds a third-party dependency with no line in
licenses.ts, and passes on the default branch. - The Credits section in README.md still matches.
How to check
pnpm --filter @hermit/mobile test
Keep in mind
- Names and SPDX ids aren't translated, so no copy keys change.
- Read package files with
node:fs, as the test does today. No new dependency. - One issue per pull request.
- 主要言語
- TypeScript
- スター
- 11
- フォーク
- 0
- 平均マージ
- 10分
- マージ済み PR(30日)
- 6
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DojoCodingLabs/hermit のほかの issue
-
docs good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 87/100
DojoCodingLabs/hermit#73 ·
メンテナーはふだん 1 日以内に返信
-
device-lab
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
DojoCodingLabs/hermit#45 ·
メンテナーはふだん 1 日以内に返信
-
device-lab
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
DojoCodingLabs/hermit#44 ·
メンテナーはふだん 1 日以内に返信
-
device-lab
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DojoCodingLabs/hermit#43 ·
メンテナーはふだん 1 日以内に返信
-
agent-friendly docs good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
DojoCodingLabs/hermit#39 ·
メンテナーはふだん 1 日以内に返信
DojoCodingLabs/hermit の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
superlinked/sie#1033 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
remix-run/react-router#15838 ·
メンテナーはふだん 1 日以内に返信
-
area/ci bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
melgarafael/DeskcommCRM#5290 ·
メンテナーはふだん 1 日以内に返信