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

[enhancement]: publish externalize-wasm to npm with provenance

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

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
74/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, rust, wasm
Ambito
devops, release

Direzione di ricerca

Start with .github/workflows/release.yml and the README's JavaScript section; read CONTRIBUTING.md for the repository's checks. Update the release workflow to generate package metadata for each target, run npm publish --dry-run, and publish with provenance only when NPM_TOKEN is available. Done when the dry run lists only package files, the README documents the install line, and a release succeeds without a token.

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

Descrizione

area/wasm complexity:medium enhancement Stellar Wave
Context

Releases attach externalize-wasm-<version>-web.tar.gz and -nodejs.tar.gz, but wallets install packages from npm. Without a package, every integrator re-hosts the files by hand.

Scope
  • Generate a package.json (name, version from the tag, type, main, types, files, license) for each target in .github/workflows/release.yml.
  • Publish with npm publish --provenance when an NPM_TOKEN secret exists, skipping otherwise (as setoff-engine does for crates.io).
  • Document the install line in the README's JavaScript section.

Out of scope: Changing the WASM API.

Done when
  • A dry run (npm publish --dry-run) in the release job lists only the package files.
  • With no token configured, the release still succeeds.

Comment to be assigned before starting. Read CONTRIBUTING.md for the checks this repository runs.

Lingua principale
Rust
Stelle
1
Fork
1
Merge medio
3g 13h
PR unite (30g)
5

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 Externalize-Labs/externalize

Tutte le issue di Externalize-Labs/externalize

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.