Skip to content

chore: publish edgeparse-wasm to npm + GitHub Packages (v0.2.4)#33

Merged
raphaelmansuy merged 1 commit into
mainfrom
release/wasm-npm-0.2.4
Apr 13, 2026
Merged

chore: publish edgeparse-wasm to npm + GitHub Packages (v0.2.4)#33
raphaelmansuy merged 1 commit into
mainfrom
release/wasm-npm-0.2.4

Conversation

@raphaelmansuy
Copy link
Copy Markdown
Owner

Summary

Enables full WASM SDK distribution for EdgeParse v0.2.4.

Changes

CI/CD

  • release-wasm.yml — enable npm publish for edgeparse-wasm (was disabled); add secondary GitHub Packages publish as @raphaelmansuy/edgeparse-wasm; require packages: write permission; both publish steps treat "already published" as non-fatal idempotent

Package metadata

  • pkg/package.json — canonical name edgeparse-wasm, exports map, publishConfig, keywords, full files list, version bumped to 0.2.4

Documentation

  • docs/09-wasm-sdk.md — new Distribution section (npm, jsDelivr CDN, unpkg CDN, GitHub Packages); Vite+React, Next.js, Webpack 5, vanilla CDN, Service Worker quick-start examples; version references updated to 0.2.4
  • docs/07-cicd-publishing.md — WASM npm + GitHub Packages rows in artifacts table; NPM_TOKEN scope note; step-by-step token setup with gh secret set; release-wasm.yml workflow reference updated; tag/merge flow uses squash merge

Version

  • Workspace bumped 0.2.3 → 0.2.4

Distribution after merge + tag

Channel Package Notes
npm edgeparse-wasm Primary; enables jsDelivr + unpkg CDNs automatically
GitHub Packages @raphaelmansuy/edgeparse-wasm Secondary; uses built-in GITHUB_TOKEN
GitHub Releases .tgz tarball Attached as release asset

Required secret (verify before merging)

  • NPM_TOKEN must be set as a repository secret (Classic Automation token from npmjs.com)

- Enable npm publish for edgeparse-wasm (was disabled/skipped)
- Add GitHub Packages secondary registry (@raphaelmansuy/edgeparse-wasm)
- Add CDN (jsDelivr, unpkg) and framework quick-start examples to docs
- Fix pkg/package.json: canonical name, exports map, publishConfig, keywords
- Update release-wasm.yml: permissions packages:write, idempotent publish
- Update docs/07-cicd-publishing.md: WASM artifacts, NPM_TOKEN setup guide
- Bump workspace version to 0.2.4
@raphaelmansuy raphaelmansuy merged commit 3d5f21a into main Apr 13, 2026
4 of 8 checks passed
@raphaelmansuy raphaelmansuy deleted the release/wasm-npm-0.2.4 branch April 13, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant