Skip to content

Commit

Permalink
feat(snippets): updating blue snippet based on cantina-review pr
Browse files Browse the repository at this point in the history
  • Loading branch information
tomrpl committed Nov 9, 2023
1 parent 45aab86 commit ca07082
Show file tree
Hide file tree
Showing 10 changed files with 5,525 additions and 892 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ docs/

# Dotenv file
.env

#lib
lib/

#node_modules
node_modules
1 change: 0 additions & 1 deletion lib/forge-std
Submodule forge-std deleted from f73c73
1 change: 0 additions & 1 deletion lib/morpho-blue
Submodule morpho-blue deleted from 720953
1 change: 0 additions & 1 deletion lib/openzeppelin-contracts
Submodule openzeppelin-contracts deleted from 281550
101 changes: 101 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{
"name": "@morpho-org/blue-bundlers",
"description": "Morpho Blue Bundlers",
"license": "GPL-2.0-or-later",
"version": "0.0.2",
"main": "dist/index.js",
"files": [
"dist",
"package.json"
],
"repository": {
"type": "git",
"url": "git+https://github.com/morpho-labs/morpho-blue-bundlers.git"
},
"author": {
"name": "Morpho Labs",
"email": "[email protected]",
"url": "https://github.com/morpho-labs"
},
"bugs": {
"url": "https://github.com/morpho-labs/morpho-blue-bundlers/issues"
},
"homepage": "https://github.com/morpho-labs/morpho-blue-bundlers#readme",
"scripts": {
"prepare": "husky install",
"postinstall": "forge install",
"build:pkg": "yarn build:hardhat --force && tsc --build ./tsconfig.build.json",
"build:forge": "FOUNDRY_PROFILE=build forge build",
"build:hardhat": "hardhat compile",
"build:blue": "cd lib/morpho-blue/ && yarn build:forge && cd ../..",
"build:irm": "cd lib/morpho-blue-irm/ && forge build && cd ../..",
"typecheck": "tsc --noEmit",
"test:forge": "yarn build:blue && FOUNDRY_PROFILE=test forge test",
"test:forge:local": "FOUNDRY_MATCH_CONTRACT=LocalTest yarn test:forge",
"test:forge:ethereum": "FOUNDRY_MATCH_CONTRACT=EthereumTest yarn test:forge",
"test:hardhat": "hardhat test",
"lint": "yarn lint:forge && yarn lint:ts",
"lint:ts": "prettier --check pkg",
"lint:forge": "forge fmt --check",
"lint:fix": "yarn lint:forge:fix && yarn lint:ts:fix",
"lint:forge:fix": "forge fmt",
"clean": "hardhat clean && forge clean"
},
"dependencies": {
"ethers": "^6.8.0",
"ethers-maths": "^5.0.0",
"lodash": "^4.17.21"
},
"devDependencies": {
"@commitlint/cli": "^17.8.0",
"@commitlint/config-conventional": "^17.8.0",
"@nomicfoundation/hardhat-chai-matchers": "^2.0.2",
"@nomicfoundation/hardhat-ethers": "^3.0.4",
"@nomicfoundation/hardhat-foundry": "^1.1.1",
"@nomicfoundation/hardhat-network-helpers": "^1.0.9",
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
"@typechain/ethers-v6": "^0.5.1",
"@typechain/hardhat": "^9.1.0",
"@types/chai": "^4.3.8",
"@types/lodash": "^4.14.199",
"@types/mocha": "^10.0.2",
"@types/node": "^20.8.6",
"chai": "^4.3.10",
"dotenv": "^16.3.1",
"hardhat": "^2.18.1",
"hardhat-gas-reporter": "^1.0.9",
"hardhat-tracer": "^2.6.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3",
"solidity-coverage": "^0.8.5",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typechain": "^8.3.2",
"typescript": "^5.2.2"
},
"lint-staged": {
"*.sol": "forge fmt",
"*.js": "prettier",
"*.ts": "prettier",
"*.json": "prettier",
"*.yml": "prettier"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"prettier": {
"printWidth": 120,
"plugins": [
"@trivago/prettier-plugin-sort-imports"
],
"importOrder": [
"^@",
"^\\.\\.",
"^\\."
],
"importOrderSeparation": true
}
}
Loading

0 comments on commit ca07082

Please sign in to comment.