Skip to content
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

Install dependencies with Node.js instead of git modules #236

Merged
merged 4 commits into from
Dec 16, 2023

Conversation

andreivladbrg
Copy link
Member

Switches from using git modules to NPM

Similar to sablier-labs/lockup#734

feat: add BaseScript
chore: update remappings
chore: update imports
@andreivladbrg andreivladbrg force-pushed the build/modules-to-npm branch 3 times, most recently from 28c68a6 to 1b9e184 Compare December 16, 2023 15:18
build: remove git modules
chore: update remappings and imports accordingly
ci: cache the node_modules in build job to re-use it other jobs
@andreivladbrg andreivladbrg merged commit 510e9a4 into staging Dec 16, 2023
7 checks passed
@@ -6,7 +6,7 @@ import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import { ISablierV2LockupLinear } from "@sablier/v2-core/src/interfaces/ISablierV2LockupLinear.sol";
import { Broker, LockupLinear } from "@sablier/v2-core/src/types/DataTypes.sol";
import { ud } from "@sablier/v2-core/src/types/Math.sol";
import { ud } from "@prb/math/src/UD60x18.sol";
Copy link
Member

@PaulRBerg PaulRBerg Dec 16, 2023

Choose a reason for hiding this comment

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

Just realized that by removing these reexports we have technically introduced a breaking change.

We didn't mark this change as "Breaking" in the changelog in V2 Core.

But it's a small thing.

@PaulRBerg PaulRBerg deleted the build/modules-to-npm branch December 17, 2023 12:11
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