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

[Bug]: Missing 'dist' folder in the latest npm release (Republish required)

Aperta
#133 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, typescript
Ambito
release

Direzione di ricerca

The fix is a maintainer action: rerun or re-trigger the GitHub Actions publish workflow so a patch release ships the dist folder. Compare the latest npm package contents with version 0.6.6, which includes dist, to confirm the gap. Done when the new npm version contains dist and importing the theme no longer throws. A newcomer needs npm publish rights, so this should go to a maintainer.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Description

The latest version of @callstack/rspress-theme published to npm is missing the dist folder, which causes errors after installation when adding it to the configuration file.

Root Cause

This issue appears to be heavily affected by a recent bug related to npm's new OIDC policy and dist-tag handling. Previously, dist-tag was not properly supported and was ignored during CI/CD publishing runs. This bug was recently addressed in npm v12.2.0 (for reference, see npm/cli#10038).

Impact & Evidence

Because of this npm issue, the CI/CD pipeline published the latest version of this repo without the compiled dist files.

You can verify this by looking at the npm package code tab for the latest version and comparing it to version 0.6.6, where the dist folder was correctly included. Without this folder, the package throws an error immediately upon usage.

Proposed Solution

Could you please rerun the GitHub Actions publish workflow (or trigger a republish) to release a patch version? Using the updated npm environment in the CI should correctly include the dist folder again.

Lingua principale
TypeScript
Stelle
11
Fork
5
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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.

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.