Add the Package Card GitHub template (`github-package-card`)
Mantenedores costumam responder em até 1 dia
Avaliação
Esta issue ainda não foi avaliada.
Descrição
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.
- Linguagem predominante
- TypeScript
- Estrelas
- 8
- Forks
- 4
- Merge médio
- 8h 19min
- PRs com merge (30d)
- 129
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de codercops/ogcops
-
[Bug] Uppercase HTML named entities are not decoded in meta-fetcherTalvez já em andamento @srikar-naidu assumiu hoje. Abertabug hacktoberfest
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
codercops/ogcops#314 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
[Bug] Fractional height values are not rounded in resolveDimensionsTalvez já em andamento @anurag2787 assumiu hoje. Abertabug hacktoberfest
codercops/ogcops#313 · 2 comentários · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Add the Benchmark blog template (`blog-benchmark`)Talvez já em andamento @piyusshhjangid assumiu há 1 dia. Abertagood first issue hacktoberfest templates
codercops/ogcops#301 · 3 comentários · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Add the Live Recording podcast template (`podcast-live-recording`)Talvez já em andamento @Ravindar-Amogh-Gummadavelly assumiu há 3 dias. Abertagood first issue hacktoberfest templates
codercops/ogcops#261 · 2 comentários · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
hacktoberfest
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 35/100
codercops/ogcops#88 · 11 comentários ·
Mantenedores costumam responder em até 1 dia
Todas as issues de codercops/ogcops
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
lichess-org/lila#22324 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
[Feature Request] [Web] Expose kvCacheQuantizationBits in the onnxruntime-web WebGPU EP optionsAbertaep:WebGPU platform:web quantization
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
microsoft/onnxruntime#33752 ·
Mantenedores costumam responder em até 2 dias
-
[Skill Bug]: entra-agent-id: inaccurate blueprint permission inheritance and parent token sub claimAbertabug entra-agent-id
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
microsoft/GitHub-Copilot-for-Azure#3467 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
fix(worker): keep normal prepare waiting states failure-freeTalvez já em andamento @LichKing-2234 assumiu hoje. Abertaagent:codex priority:P1
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
AgoraIO-Extensions/agent-infra#3745 ·
Mantenedores costumam responder em até 1 dia
-
The five-line work window can drop its oldest line: the per-line byte share ignores the JSON framingTalvez já em andamento @Eapp1e assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
makecindy/cindy#7973 · 1 comentário ·
Mantenedores costumam responder em até 1 dia