Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add the Package Card GitHub template (`github-package-card`)

Chiusa
#304 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@anurag2787 ci sta già lavorando.

Dal 28/10/2026.

  • #312 di @anurag2787 — integrata

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

good first issue hacktoberfest templates

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, id github-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, install or 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.ts and registered in the GitHub block of src/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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di codercops/ogcops

Tutte le issue di codercops/ogcops

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.