-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: enable vscode solidity monorepo support (#638)
* chore: enable solidity monorepo * chore: suggest vscode solidity extension
- Loading branch information
Showing
6 changed files
with
12 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"recommendations": ["JuanBlanco.solidity"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,3 @@ | ||
{ | ||
// Workaround for https://github.com/juanfranblanco/vscode-solidity/issues/335#issuecomment-1505564408 | ||
// This only works because we: | ||
// - use pnpm for dependencies rather than forge lib (submodules) | ||
// - have aligned all dependency versions across all packages | ||
"solidity.remappings": [ | ||
"memmove/=node_modules/.pnpm/github.com+dk1a+memmove@ffd71cd77b1708574ef46a667b23ca3a5cc9fa27/node_modules/memmove/src/", | ||
"ds-test/=node_modules/.pnpm/github.com+dapphub+ds-test@c9ce3f25bde29fc5eb9901842bf02850dfd2d084/node_modules/ds-test/src/", | ||
"forge-std/=node_modules/.pnpm/github.com+foundry-rs+forge-std@b4f121555729b3afb3c5ffccb62ff4b6e2818fd3/node_modules/forge-std/src/", | ||
"solmate/=node_modules/.pnpm/github.com+transmissions11+solmate@9cf1428245074e39090dceacb0c28b1f684f584c/node_modules/solmate/src", | ||
"ds-test/=node_modules/.pnpm/github.com+dapphub+ds-test@c9ce3f25bde29fc5eb9901842bf02850dfd2d084/node_modules/ds-test/src/", | ||
"@latticexyz/=packages/", | ||
"std-contracts/=packages/std-contracts/src/", | ||
"solecs/=packages/solecs/src/" | ||
] | ||
"solidity.monoRepoSupport": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"recommendations": ["JuanBlanco.solidity"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
{ | ||
"solidity.remappings": [ | ||
"components/=./packages/contracts/src/components", | ||
"systems/=./packages/contracts/src/systems", | ||
"libraries/=./packages/contracts/src/libraries", | ||
"std-contracts/=./node_modules/@latticexyz/std-contracts/src/", | ||
"solecs/=./node_modules/@latticexyz/solecs/src/", | ||
"memmove/=./node_modules/memmove/src/", | ||
"ds-test/=./node_modules/ds-test/src/", | ||
"forge-std/=./node_modules/forge-std/src/" | ||
] | ||
"solidity.monoRepoSupport": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"recommendations": ["JuanBlanco.solidity"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
{ | ||
"solidity.remappings": [ | ||
"components/=./packages/contracts/src/components", | ||
"systems/=./packages/contracts/src/systems", | ||
"libraries/=./packages/contracts/src/libraries", | ||
"std-contracts/=./node_modules/@latticexyz/std-contracts/src/", | ||
"solecs/=./node_modules/@latticexyz/solecs/src/", | ||
"memmove/=./node_modules/memmove/src/", | ||
"ds-test/=./node_modules/ds-test/src/", | ||
"forge-std/=./node_modules/forge-std/src/" | ||
] | ||
"solidity.monoRepoSupport": true | ||
} |