forked from AztecProtocol/aztec-connect-bridges
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: use forge fmt instead of prettier * fix: circleci + package + minor fixes
- Loading branch information
Showing
81 changed files
with
869 additions
and
2,449 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
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
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 |
---|---|---|
|
@@ -5,9 +5,10 @@ | |
"repository": "[email protected]:AztecProtocol/aztec-connect-bridges.git", | ||
"license": "Apache-2.0", | ||
"scripts": { | ||
"install:foundry": "curl -L https://foundry.paradigm.xyz | bash", | ||
"setup:foundry": "foundryup & git submodule update --init --recursive", | ||
"setup": "yarn && yarn install:foundry && yarn setup:foundry", | ||
"install:foundryup": "curl -L https://foundry.paradigm.xyz | bash", | ||
"install:foundry": "foundryup", | ||
"install:dependencies": "git submodule update --init --recursive && yarn", | ||
"setup": "yarn install:foundryup && yarn install:foundry && yarn", | ||
"clean": "rm -rf ./cache ./dest ./out ./typechain-types ./client-dest", | ||
"compile:typechain": "forge build && typechain --target ethers-v5 --out-dir ./typechain-types './out/!(test*|Test*|*.t.sol|*.s.sol)/*.json'", | ||
"compile:client-dest": "yarn compile:typechain && tsc --project tsconfig.client-dest.json", | ||
|
@@ -19,8 +20,8 @@ | |
"test:contracts": "forge test --no-match-contract 'Element' --no-match-test 'testRedistribution' && yarn test:pinned", | ||
"test:clients": "yarn compile:typechain && jest test", | ||
"test": "yarn test:contracts && yarn test:clients", | ||
"formatting": "yarn prettier --write .", | ||
"formatting:check": "prettier --check .", | ||
"formatting": "forge fmt && yarn prettier --write ./src/client/**/*.ts", | ||
"formatting:check": "forge fmt --check && prettier --check ./src/client/**/*.ts", | ||
"lint": "yarn lint:contracts && yarn lint:clients", | ||
"lint:contracts": "solhint --config ./.solhint.json --fix \"src/**/*.sol\"", | ||
"lint:clients": "eslint \"src/**/*.{ts,tsx}\"" | ||
|
@@ -37,17 +38,15 @@ | |
"typescript": "^4.8.4" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^29.2.0", | ||
"@typescript-eslint/eslint-plugin": "^5.40.1", | ||
"@typescript-eslint/parser": "^5.40.1", | ||
"eslint": "^8.25.0", | ||
"@types/jest": "^29.2.3", | ||
"@typescript-eslint/eslint-plugin": "^5.43.0", | ||
"@typescript-eslint/parser": "^5.43.0", | ||
"eslint": "^8.27.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"jest": "^29.2.1", | ||
"jest": "^29.3.1", | ||
"prettier": "^2.7.1", | ||
"prettier-plugin-solidity": "^1.0.0-beta.24", | ||
"solhint": "https://github.com/LHerskind/solhint", | ||
"solhint-plugin-prettier": "^0.0.5", | ||
"ts-jest": "^29.0.3" | ||
}, | ||
"jest": { | ||
|
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
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
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
Oops, something went wrong.