Add the Package Card GitHub template (`github-package-card`)
I maintainer di solito rispondono entro 1 giorno
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Part of #5. For announcing or sharing a published package (npm, PyPI, crates.io and so on).
Idea
A small "npm package" label in the accent color at the top (the registry name comes from a field), the package name large under it ("@acme/csv-stream") with its version in a small pill next to it ("v2.4.1"), and a one-line pitch ("A streaming CSV parser for Node"). Then the weekly downloads and the license side by side ("182k weekly downloads", "MIT"), the install command in a monospace box with a $ prompt ("npm i @acme/csv-stream"), and the site name at the bottom.
Template details
- File:
src/templates/github/package-card.ts, idgithub-package-card - Fields:
commonFields.title(the package name),commonFields.description(the pitch, optional),registry(text, optional, default "npm"),version(text, optional, default "v2.4.1"),downloads(text, optional, default "182k weekly downloads"),license(text, optional, default "MIT"),install(text, optional, default "npm i @acme/csv-stream"),commonFields.siteName,commonFields.bgColor,commonFields.accentColor,commonFields.textColor
Where to look
- Closest reference:
src/templates/github/repo-card.ts(a repository with its stats),src/templates/github/terminal-style.ts(a command in a monospace box)
Acceptance criteria
- A long package name and pitch shrink with
autoFontSize()and then truncate, a long install command truncates inside its box, and an empty pitch,registry,version,downloads,license,installor site name (or only spaces) hides cleanly with no leftover gap - The label, the version pill and any accent text stay readable on a light background
- Re-exported in
src/templates/github/index.tsand registered in the GitHub block ofsrc/templates/registry.ts - Meets the shared template checklist in #5
One template per contributor at a time, so more people get a chance.
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 #304 in the description.
- Lingua principale
- TypeScript
- Stelle
- 8
- Fork
- 4
- Merge medio
- 8h 19m
- PR unite (30g)
- 140
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 codercops/ogcops
-
[Bug] Meta analyzer ignores overlong og:title when <title> is missingForse già presa @srikar-naidu l’ha presa oggi. Apertabug hacktoberfest
codercops/ogcops#333 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] Difficulty Badge ignores its Accent Color fieldForse già presa @prakashNalla l’ha presa oggi. Apertabug hacktoberfest
codercops/ogcops#331 · 4 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Hacktoberfest 2026: start hereForse già presa @Saifjafri212213 l’ha presa 1 giorno fa. Apertahacktoberfest
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 35/100
codercops/ogcops#88 · 13 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
feature good first issue hacktoberfest templates
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
codercops/ogcops#5 · 20 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di codercops/ogcops
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
Automattic/data-liberation-agent#1115 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Enhance blog readabilityApertaCSS enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
pychess/pychess-variants#2448 ·
I maintainer di solito rispondono entro 1 giorno
-
[architect] Stale planning/scratch files at repo root (COMPONENT_SPLIT_SUMMARY.md etc.) describe already-completed workForse già presa @hivecommons-hive l’ha presa oggi. Apertaagent/architect architecture help wanted stage/040-covered-by-pr tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
kubestellar/console#24716 ·
I maintainer di solito rispondono entro 1 giorno
-
helm-knative-apply.sh fails with Helm 4Forse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaarea: triage theme: undefined
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
jhipster/generator-jhipster#35895 ·
I maintainer di solito rispondono entro 1 giorno