[Bug]: Missing 'dist' folder in the latest npm release (Republish required)
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
- Nessun Dockerfile né file Docker Compose
- Nessun 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.
Issue simili
-
e2e-failure ready-to-code
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
redhat-developer/rhdh-plugin-export-overlays#4580 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
devdotfast/whiteboard#1415 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area/sessions comp/desktop desktop/sessions P2 type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
NousResearch/hermes-agent#145383 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement p2 setup
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
vercel/eve#5419 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno