feat: update remappings and remove node modules

This commit is contained in:
royvardhan
2025-01-28 23:19:06 +05:30
parent 4b3c5c5005
commit b65b682e8d
7 changed files with 6 additions and 30 deletions

View File

@@ -17,17 +17,6 @@ jobs:
with:
submodules: recursive
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'yarn'
cache-dependency-path: 'foundry/yarn.lock'
- name: Install Dependencies
working-directory: foundry
run: yarn install --frozen-lockfile
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

View File

@@ -14,4 +14,4 @@ jobs:
- uses: crytic/slither-action@v0.4.0
with:
target: 'foundry/'
slither-args: '--filter-paths foundry/lib/,foundry/node_modules/'
slither-args: '--filter-paths foundry/lib/'

3
.gitmodules vendored
View File

@@ -7,3 +7,6 @@
[submodule "foundry/lib/v2-core"]
path = foundry/lib/v2-core
url = https://github.com/uniswap/v2-core
[submodule "foundry/lib/balancer-v2-monorepo"]
path = foundry/lib/balancer-v2-monorepo
url = https://github.com/balancer/balancer-v2-monorepo

View File

@@ -1,9 +0,0 @@
{
"name": "foundry",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
"@balancer-labs/v2-interfaces": "^0.4.0"
}
}

View File

@@ -3,4 +3,4 @@
@permit2/=lib/permit2/
@src/=src/
@uniswap-v2/=lib/v2-core/
@balancer-labs/v2-interfaces/=node_modules/@balancer-labs/v2-interfaces/
@balancer-labs/v2-interfaces=lib/balancer-v2-monorepo/pkg/interfaces

View File

@@ -1,8 +0,0 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
"@balancer-labs/v2-interfaces@^0.4.0":
version "0.4.0"
resolved "https://registry.yarnpkg.com/@balancer-labs/v2-interfaces/-/v2-interfaces-0.4.0.tgz#9bfc2aed7bed4208ebf4b18a14664d8e90d4c141"
integrity sha512-K0ij26m8/UOvdPmrAnuh/C7kT8OQupsgV8KRyIt+aTHW1KbPOi4v8zLMwW2AwSYMSRjPK2A/ttlnNizT0iA4Qg==