diff --git a/.gitignore b/.gitignore index d253aa5..6acb9fc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ cache/ out/ /node_modules -yarn.lock \ No newline at end of file +yarn.lock +.DS_Store \ No newline at end of file diff --git a/.gitmodules b/.gitmodules index 888d42d..f069e71 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,7 @@ [submodule "lib/forge-std"] path = lib/forge-std url = https://github.com/foundry-rs/forge-std +[submodule "lib/thirdweb-contracts"] + path = lib/contracts + url = https://github.com/thirdweb-dev/contracts + branch = v3.3.2 diff --git a/foundry.toml b/foundry.toml index bec4d37..bc87240 100644 --- a/foundry.toml +++ b/foundry.toml @@ -1,10 +1,7 @@ -[default] +[profile.default] src = 'src' out = 'out' libs = ['lib'] -remappings = [ - '@thirdweb-dev/=node_modules/@thirdweb-dev/', -] # See more config options https://github.com/foundry-rs/foundry/tree/master/config \ No newline at end of file diff --git a/lib/contracts b/lib/contracts new file mode 160000 index 0000000..107a227 --- /dev/null +++ b/lib/contracts @@ -0,0 +1 @@ +Subproject commit 107a2273a80dd92915c24b973003002b26ca3f62 diff --git a/package.json b/package.json index 4d6497c..579681b 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,6 @@ "repository": "https://github.com/thirdweb-example/forge-starter.git", "author": "thirdweb ", "license": "MIT", - "dependencies": { - "@thirdweb-dev/contracts": "^3" - }, "scripts": { "build": "npx thirdweb@latest detect", "deploy": "npx thirdweb@latest deploy",