chore: publish edgeparse-wasm to npm + GitHub Packages (v0.2.4)#33
Merged
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enables full WASM SDK distribution for EdgeParse v0.2.4.
Changes
CI/CD
release-wasm.yml— enable npm publish foredgeparse-wasm(was disabled); add secondary GitHub Packages publish as@raphaelmansuy/edgeparse-wasm; requirepackages: writepermission; both publish steps treat "already published" as non-fatal idempotentPackage metadata
pkg/package.json— canonical nameedgeparse-wasm, exports map, publishConfig, keywords, full files list, version bumped to 0.2.4Documentation
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.4docs/07-cicd-publishing.md— WASM npm + GitHub Packages rows in artifacts table; NPM_TOKEN scope note; step-by-step token setup withgh secret set; release-wasm.yml workflow reference updated; tag/merge flow uses squash mergeVersion
0.2.3 → 0.2.4Distribution after merge + tag
edgeparse-wasm@raphaelmansuy/edgeparse-wasmGITHUB_TOKEN.tgztarballRequired secret (verify before merging)
NPM_TOKENmust be set as a repository secret (Classic Automation token from npmjs.com)