-
Notifications
You must be signed in to change notification settings - Fork 3
Update dependencies #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Warning Rate limit exceeded@scottrepreneur has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 3 minutes and 8 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (5)
WalkthroughThe changes update the repository's continuous integration workflows and dependency management. The Node.js version in the CI workflows has been increased from 18.16.1 to 20, and commands previously executed with Yarn are now executed with pnpm. The workflows now include a step to install pnpm (version 10) with the installation flag disabled. Additionally, the project's testing script in package.json has been updated to use pnpm, and several dependency versions have been bumped. A new configuration option in the pnpm-workspace.yaml file now specifies built dependencies. Changes
Sequence Diagram(s)sequenceDiagram
participant CI as GitHub Actions
participant Node as Node Environment (v20)
participant PNPM as PNPM Installer (v10)
participant Cmd as Workflow Commands
CI->>Node: Setup Node environment (v20)
Node->>PNPM: Run pnpm installation step
PNPM->>Cmd: Execute install, bundle, test, and formatting commands via pnpm
Cmd->>CI: Return execution status
Poem
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
e48fac0
to
ad4eb4a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
pnpm-workspace.yaml (1)
1-2
: New Configuration Option:onlyBuiltDependencies
The new configuration option specifying that only
esbuild
should be built is clear and concise. Consider adding an inline comment to explain its purpose or usage context for future maintainers.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
yarn.lock
is excluded by!**/yarn.lock
,!**/*.lock
📒 Files selected for processing (4)
.github/workflows/bundle.yml
(1 hunks).github/workflows/test.yml
(2 hunks)package.json
(2 hunks)pnpm-workspace.yaml
(1 hunks)
🔇 Additional comments (16)
.github/workflows/bundle.yml (4)
23-24
: Updated Node.js VersionThe setup step now specifies
node-version: 20
, which aligns with the project’s updated requirements. Please verify that all related tooling is compatible with Node.js 20.
25-28
: PNPM Installation StepThe workflow now installs PNPM using
pnpm/action-setup@v4
with version 10 andrun_install
set to false. This configuration looks correct; just ensure that downstream steps do not expect an automatic install.
32-32
: Installation Command UpdatedThe command to install dependencies has been updated to use PNPM (
pnpm install --frozen-lockfile
). This change is in line with the overall transition from Yarn to PNPM.
35-36
: Bundling Commands UpdatedThe bundling commands now use PNPM (
pnpm bundle
andpnpm format-bundle
). Verify that these commands produce the intended output equivalent to the previous Yarn commands.package.json (4)
8-8
: Test Script Migration to PNPMThe test script has been updated to run with PNPM (
pnpm jest test.ts -i
), which is consistent with the project's shift in package management.
14-14
: Dependency Update: @hatsprotocol/modules-sdkThe version bump to
1.5.0
might introduce breaking changes. Please verify that any API changes from this upgrade are fully addressed in the project documentation and tests.
16-16
: Dependency Update: @viem/anvilUpgrading to version
0.0.10
appears straightforward. Ensure that this dependency is compatible with your codebase and that its new version has been validated.
27-27
: Major Version Update: viemThe update of
viem
to2.26.3
is a significant change. Please double-check that any breaking changes associated with this major version bump have been handled..github/workflows/test.yml (8)
32-32
: Test-Fork Job: Installation CommandThe installation command in the test-fork job is updated to use PNPM. This change is consistent with the overall migration.
34-34
: Test-Fork Job: Format Check CommandThe format check command now uses PNPM (
pnpm prettier . --check
), which aligns with the new dependency management strategy.
40-40
: Test-Fork Job: Test Command UpdatedSwitching to
pnpm test
for running tests in the test-fork job is appropriate. Please ensure that this change does not affect the test output format or expectations.
61-62
: Test-Branch Job: Node.js Version UpdateThe test-branch job now explicitly uses Node.js version 20. This matches the Node.js upgrade in other workflows; however, consider whether the test-fork job should also be aligned if uniformity is desired.
63-66
: Test-Branch Job: PNPM SetupThe PNPM setup step is correctly configured with
pnpm/action-setup@v4
at version 10 andrun_install
set to false. This is consistent with the bundle workflow.
70-70
: Test-Branch Job: Install CommandThe installation command in the test-branch job has been updated to use PNPM, matching the new workflow requirements.
72-72
: Test-Branch Job: Format Check CommandUpdating the format check command to PNPM (
pnpm prettier . --check
) is correctly applied.
78-78
: Test-Branch Job: Test CommandThe test command now calls
pnpm test
, which aligns with the changes in the workflow and package scripts.
ad4eb4a
to
2b449c7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.github/workflows/test.yml (1)
26-29
: Node.js Version Inconsistency in test-fork Job
While the test-branch job has been updated to use Node.js version 20, the test-fork job still specifies Node.js version 18.16.1. For consistency across CI jobs, consider updating the node-version in test-fork as well, assuming there are no compatibility issues with forks.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Lite
⛔ Files ignored due to path filters (2)
pnpm-lock.yaml
is excluded by!**/pnpm-lock.yaml
yarn.lock
is excluded by!**/yarn.lock
,!**/*.lock
📒 Files selected for processing (5)
.github/workflows/bundle.yml
(1 hunks).github/workflows/test.yml
(2 hunks).prettierignore
(1 hunks)package.json
(2 hunks)pnpm-workspace.yaml
(1 hunks)
✅ Files skipped from review due to trivial changes (1)
- .prettierignore
🚧 Files skipped from review as they are similar to previous changes (2)
- pnpm-workspace.yaml
- package.json
🔇 Additional comments (8)
.github/workflows/bundle.yml (4)
23-24
: Node.js Version Update to 20
The Node.js version has been updated from a previous lower version to 20. This ensures that the workflow uses a more recent runtime with potential performance and feature improvements. Please confirm that all dependent tasks and modules are compatible with Node 20.
25-28
: Introduction of pnpm Installation Step
The workflow now installs pnpm (version 10) usingpnpm/action-setup@v4
withrun_install
set to false. This change correctly transitions the dependency management from Yarn to pnpm as intended.
32-32
: Updated Install Command
The installation command has been changed topnpm install --frozen-lockfile
, which aligns with the new package manager configuration. This update is consistent and clear.
35-36
: Updated Bundling Commands
The bundling steps now usepnpm bundle
andpnpm format-bundle
instead of the Yarn commands. This update is well-aligned with the overall migration to pnpm..github/workflows/test.yml (4)
32-34
: Transition to pnpm in test-fork Job
The installation (pnpm install --frozen-lockfile
) and formatting check (pnpm prettier . --check
) commands in the test-fork job have been correctly updated from Yarn to pnpm. This aligns with the project's overall dependency management strategy.
40-40
: Updated Test Command in test-fork Job
The test command has been modified to usepnpm test
. This update is consistent with the other changes in the workflow.
61-66
: Node.js Version and pnpm Setup in test-branch Job
In the test-branch job, the node-version has been updated to 20, and a new step to install pnpm (version 10 withrun_install: false
) has been added. These changes correctly reflect the overall update from Yarn to pnpm and the upgraded Node.js environment.
70-78
: Updated Commands in test-branch Job
The installation, format check, and test commands in test-branch have been updated to use pnpm commands (pnpm install --frozen-lockfile
,pnpm prettier . --check
, andpnpm test
). These changes are implemented consistently and should work seamlessly with the rest of the CI setup.
2b449c7
to
587cd69
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Closes BUILD-236
Summary by CodeRabbit
Chores
pnpm-lock.yaml
from Prettier processing.New Features