Skip to content

Conversation

RembrandtK
Copy link
Contributor

Pnpm

  • package.json: Updated packageManager field from [email protected] to [email protected]
  • pnpm-lock.yaml: Regenerated lockfile with pnpm v10 format and updated dependencies
  • .github/actions/setup/action.yml: Updated setup action to use pnpm v10

Dev Container

  • Updated and simplified dev container configuration for simplicity and better pnpm v10 compatibility
  • Dockerfile: Improvements to container setup process
  • docker-compose.yml: Updated service configurations

Cleanup & Maintenance

  • contracts/test: Removed hardhat-dependency-compiler dependency that was no longer needed
  • .gitignore: Added core dump file patterns (core, core.*) to prevent accidental commits

Remove hardhat-dependency-compiler plugin as it's no longer needed.

The hardhat-dependency-compiler plugin was a historical workaround
that is no longer necessary for the current codebase structure.

Changes:
- Remove hardhat-dependency-compiler import and configuration from
  packages/contracts/test/hardhat.config.ts
- Remove getContractPaths() and findSolidityFiles() helper functions
- Remove hardhat-dependency-compiler dependency from
  packages/contracts/test/package.json
- Clean up hardhat-dependency-compiler directory reference from
  packages/contracts/package.json clean script
- Clean up unused imports (fs)
Add core and core.* patterns to .gitignore to prevent core dump files
from being accidentally committed to version control.
@RembrandtK RembrandtK self-assigned this Sep 19, 2025
@RembrandtK RembrandtK requested a review from Copilot September 19, 2025 17:31
Copy link
Contributor

@Copilot 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 upgrades pnpm from version 9 to version 10.17.0 and modernizes the development container configuration for better maintainability and performance.

  • Upgraded pnpm package manager from 9.0.6 to 10.17.0 across all configuration files
  • Removed hardhat-dependency-compiler dependency and its associated configuration
  • Simplified and modernized development container setup with better Python and tool integration

Reviewed Changes

Copilot reviewed 10 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
package.json Updated packageManager field to [email protected]
.github/actions/setup/action.yml Updated CI setup to use [email protected]
packages/contracts/test/package.json Removed hardhat-dependency-compiler dependency
packages/contracts/test/hardhat.config.ts Removed hardhat-dependency-compiler import and configuration
packages/contracts/package.json Updated clean script to remove hardhat-dependency-compiler references
.devcontainer/* Simplified dev container configuration with updated Python integration and mount points

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

Upgrade pnpm to v10, and dev container updates

Generated at commit: cd59452a95809eb95bf2cf24834f8821ca97db93

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
2
4
0
15
39
60
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

Copy link

codecov bot commented Sep 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.84%. Comparing base (d5dbd4a) to head (cd59452).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1228   +/-   ##
=======================================
  Coverage   82.84%   82.84%           
=======================================
  Files          47       47           
  Lines        2093     2093           
  Branches      620      620           
=======================================
  Hits         1734     1734           
  Misses        359      359           
Flag Coverage Δ
unittests 82.84% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@RembrandtK RembrandtK marked this pull request as ready for review September 19, 2025 17:57
@RembrandtK RembrandtK requested a review from tmigone September 19, 2025 17:57
Copy link
Member

@tmigone tmigone left a comment

Choose a reason for hiding this comment

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

lgtm!

@RembrandtK RembrandtK merged commit cd59452 into main Sep 19, 2025
6 checks passed
@RembrandtK RembrandtK deleted the pnpm-upgrade-v10 branch September 19, 2025 18:06
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