Skip to content

Commit

Permalink
build: install deps using Node.js
Browse files Browse the repository at this point in the history
chore: remove git submodules
refactor: update import paths
  • Loading branch information
PaulRBerg committed Dec 17, 2023
1 parent df6e78a commit 65819e6
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 14 deletions.
8 changes: 0 additions & 8 deletions .gitmodules

This file was deleted.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"url": "https://github.com/PaulRBerg"
},
"devDependencies": {
"@prb/test": "^0.6.4",
"forge-std": "github:foundry-rs/forge-std#v1",
"prettier": "^3.0.0"
},
"keywords": [
Expand Down
16 changes: 16 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions remappings.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@prb/test/=lib/prb-test/src/
forge-std/=lib/forge-std/src/
@prb/test/=node_modules/@prb/test/
forge-std/=node_modules/forge-std/
2 changes: 1 addition & 1 deletion script/Base.s.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.21 <0.9.0;

import { Script } from "forge-std/Script.sol";
import { Script } from "forge-std/src/Script.sol";

abstract contract BaseScript is Script {
/// @dev Included to enable compilation of the script without a $MNEMONIC environment variable.
Expand Down
6 changes: 3 additions & 3 deletions test/Foo.t.sol
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.21 <0.9.0;

import { PRBTest } from "@prb/test/PRBTest.sol";
import { console2 } from "forge-std/console2.sol";
import { StdCheats } from "forge-std/StdCheats.sol";
import { PRBTest } from "@prb/test/src/PRBTest.sol";
import { console2 } from "forge-std/src/console2.sol";
import { StdCheats } from "forge-std/src/StdCheats.sol";

import { Foo } from "../src/Foo.sol";

Expand Down

0 comments on commit 65819e6

Please sign in to comment.