Skip to content

feat(codec): publish the decoder as @w3tech.io/torpc-decoder - #1

Merged
mikhailak merged 1 commit into
mainfrom
feature/SHARK-3720-publish-decoder
Aug 14, 2026
Merged

feat(codec): publish the decoder as @w3tech.io/torpc-decoder#1
mikhailak merged 1 commit into
mainfrom
feature/SHARK-3720-publish-decoder

Conversation

@mikhailak

@mikhailak mikhailak commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Publishes the codec as @w3tech.io/torpc-decoder 0.1.0.

Ships built JS with type declarations: Node does not strip types inside node_modules, so a .ts entry point cannot be imported. rewriteRelativeImportExtensions handles the ./x.ts specifiers, so no source changed, and checkouts still import sources directly.

Adds CI (typecheck, tests, lint, build) and a dispatch-only publish workflow gated on prod that smoke-tests the packed tarball first.

83 tests green, tsc clean, tarball installs and maps a block with logsBloom dropped, 23 methods in the registry.

@codacy-production

codacy-production Bot commented Aug 14, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

The package ships built JavaScript with type declarations. Node does not
strip types inside node_modules, so a .ts entry point cannot be imported;
tsc emits the JS and rewriteRelativeImportExtensions turns './x.ts'
specifiers into './x.js', so no source changed. Checkouts still import
the sources directly.

Adds a CI workflow: typecheck, tests, lint and the build across the
workspace. The publish workflow is dispatch-only, gated on the prod
environment, and smoke-tests the packed tarball in a throwaway project.

83 tests green, tsc clean, and the tarball installs and maps a block with
logsBloom dropped and 23 methods in the registry.
@mikhailak
mikhailak merged commit 90ff172 into main Aug 14, 2026
2 checks passed
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.

2 participants