Skip to content

Conversation

@gndelia
Copy link
Contributor

@gndelia gndelia commented Apr 29, 2025

This PR applies a few minor improvements on the eth-rpc-cache. It's easier to review by commit

  • 208ba7e Removes the custom clone utility, so structuredClone is used instead
  • e95f73e Removes the debug dependency as it was only used in one place for one particular log. Not really needed.
  • 16a3215 Adds the bundlephobia badge to the Readme
  • 6de4869 and 5a3f0f9 move the config out of package.json so it matches the convention we've generally been using
  • 5c35292 Removes an unused local composite GitHub action - we're now using actions from hemilabs/actions
  • 02390f5 adds the npm-publish action (Here Gabriel you should check that NPM_TOKEN is available)
  • e25f69e Bumps the version of eth-rpc-cache

@gndelia gndelia requested review from Copilot and gabmontes April 29, 2025 14:23
@gndelia gndelia self-assigned this Apr 29, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request makes several minor improvements to eth-rpc-cache, including simplifying the cloning logic, removing an unused debug dependency, updating the README with a new bundlephobia badge, and moving configuration files to their conventional locations.

  • Removed the custom clone function in favor of native structuredClone.
  • Removed the debug dependency and associated logging.
  • Updated the README badge and added a new npm-publish workflow.

Reviewed Changes

Copilot reviewed 5 out of 14 changed files in this pull request and generated no comments.

File Description
packages/eth-rpc-cache/src/utils/clone.ts Removed the custom JSON-based clone utility in favor of structuredClone.
packages/eth-rpc-cache/src/rpc.ts Removed debug logging and replaced the clone function with structuredClone.
packages/eth-rpc-cache/README.md Added the bundlephobia badge alongside the existing NPM version badge.
.github/workflows/npm-publish.yml Added a new npm-publish workflow using hemilabs/actions.
Files not reviewed (9)
  • .commitlintrc.json: Language not supported
  • .github/actions/setup-env/action.yml: Language not supported
  • .husky/commit-msg: Language not supported
  • .husky/pre-commit: Language not supported
  • .husky/pre-push: Language not supported
  • .lintstagedrc.json: Language not supported
  • .prettierrc.json: Language not supported
  • package.json: Language not supported
  • packages/eth-rpc-cache/package.json: Language not supported

@gndelia gndelia merged commit 0c30f02 into main Apr 29, 2025
4 checks passed
@gndelia gndelia deleted the minor-improvements-pt2 branch April 29, 2025 19:43
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.

3 participants