Skip to content

Conversation

@gndelia
Copy link
Contributor

@gndelia gndelia commented Apr 26, 2025

This PR revamps a bit the lib, updating some of the dependencies, and moving the configs out of the package.json (partially, not completed).

It may be easier to review by commit:

  • 095c7b5 Replaces mocha with vitest, which has better support for Typescript. This way, we can drop ts-node which was used only for its loader
  • 44ec5fc bumps eslint, and eslint-config-bloq. I fixed the eslint warnings, and moved the config out of the package.json
  • afcb084 Adds knip and the deps:check script. This detected an unused export, so I fixed it
  • 6269fc6 Replaces the CI actions in Github to use the hemilabs/actions.

(No need to bump the version for this)

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 PR revamps and updates the project dependencies and CI configuration while moving some configuration out of package.json.

  • Replaces mocha with vitest and updates test syntax.
  • Bumps ESLint-related dependencies and relocates config files.
  • Adds a new knip configuration and updates CI actions to hemilabs/actions.

Reviewed Changes

Copilot reviewed 6 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/eth-rpc-cache/test/index.spec.ts Converts tests to vitest syntax and updates timer utilities.
packages/eth-rpc-cache/src/rpc.ts Adjusts destructuring order in caching initialization.
packages/eth-rpc-cache/src/error.ts Removes the export keyword on JsonRpcError, possibly affecting external use.
knip.config.js Introduces a configuration file for knip dependency checks.
.github/workflows/js-checks.yml Updates the CI configuration to integrate hemilabs actions.
Files not reviewed (5)
  • .eslintrc.json: Language not supported
  • .github/workflows/CI_Checks.yml: Language not supported
  • package.json: Language not supported
  • packages/eth-rpc-cache/package.json: Language not supported
  • packages/eth-rpc-cache/tsconfig.json: Language not supported

@gndelia gndelia enabled auto-merge April 26, 2025 00:06
@gndelia gndelia requested a review from gabmontes April 28, 2025 13:59
@gabmontes gabmontes disabled auto-merge April 29, 2025 13:23
@gabmontes gabmontes merged commit 6d90531 into main Apr 29, 2025
4 checks passed
@gabmontes gabmontes deleted the bump-repo-deps-ci branch April 29, 2025 13:24
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