Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#4 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
74/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, rust, wasm
Lĩnh vực
devops, release

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
1
Fork
1
Merge trung bình
3 ngày 13 giờ
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Externalize-Labs/externalize

Tất cả issue của Externalize-Labs/externalize

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.