Test that the About screen credits every package the app ships
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 76/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- node.js, react-native, typescript
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 11
- Fork
- 0
- Merge medio
- 10m
- PR unite (30g)
- 6
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DojoCodingLabs/hermit
-
docs good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 87/100
DojoCodingLabs/hermit#73 ·
I maintainer di solito rispondono entro 1 giorno
-
device-lab
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
DojoCodingLabs/hermit#45 ·
I maintainer di solito rispondono entro 1 giorno
-
device-lab
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
DojoCodingLabs/hermit#44 ·
I maintainer di solito rispondono entro 1 giorno
-
device-lab
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
DojoCodingLabs/hermit#43 ·
I maintainer di solito rispondono entro 1 giorno
-
agent-friendly docs good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
DojoCodingLabs/hermit#39 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di DojoCodingLabs/hermit
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
superlinked/sie#1033 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
remix-run/react-router#15838 ·
I maintainer di solito rispondono entro 1 giorno
-
area/ci bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
melgarafael/DeskcommCRM#5290 ·
I maintainer di solito rispondono entro 1 giorno