Skip to content

Commit

Permalink
Update deps, refactor APR import, minor fixes (#546)
Browse files Browse the repository at this point in the history
* tools-apr: stop using caching based on vercel/kv

* update dependencies

* apr: add delete: cascade to references

* apr: remove LBPs

* apr: use total liquidity instead of approximating the staked amount

* apr: refactor etl scripts

* run formatting/fix lint

* run get-pool-data script

---------

Co-authored-by: luizakp <[email protected]>
  • Loading branch information
ribeirojose and luizakp authored Dec 22, 2023
1 parent 7d4614b commit d5a1b71
Show file tree
Hide file tree
Showing 43 changed files with 21,577 additions and 17,065 deletions.
29 changes: 14 additions & 15 deletions apps/balancer-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,11 @@
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-toast": "^1.1.5",
"@radix-ui/react-tooltip": "1.0.7",
"@rainbow-me/rainbowkit": "1.3.0",
"@sentry/nextjs": "^7.83.0",
"@sentry/profiling-node": "^1.2.6",
"@vercel/kv": "^1.0.0",
"@rainbow-me/rainbowkit": "1.3.1",
"@sentry/nextjs": "^7.88.0",
"@sentry/profiling-node": "^1.3.2",
"@wagmi/cli": "1.5.2",
"@wagmi/core": "^1.4.7",
"@wagmi/core": "^1.4.12",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"copy-to-clipboard": "^3.3.3",
Expand All @@ -57,7 +56,7 @@
"graphql-request": "6.1.0",
"lodash": "^4.17.21",
"lodash.merge": "^4.6.2",
"next": "^13.5.6",
"next": "^14.0.4",
"postgres": "^3.4.3",
"plotly.js": "^2.27.1",
"react": "^18.2.0",
Expand All @@ -70,7 +69,7 @@
"tailwind-merge": "^1.14.0",
"tailwindcss-animate": "^1.0.7",
"tiny-invariant": "^1.3.1",
"viem": "^1.19.15",
"viem": "^1.20.2",
"wagmi": "^1.4.12",
"zod": "^3.22.4"
},
Expand All @@ -80,24 +79,24 @@
"@testing-library/jest-dom": "6.1.5",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "14.5.1",
"@types/jest": "^29.5.10",
"@types/jest": "^29.5.11",
"@types/lodash": "^4.14.202",
"@types/lodash.merge": "^4.6.9",
"@types/node": "^18.18.5",
"@types/plotly.js": "^2.12.30",
"@types/react": "^18.2.42",
"@types/react-dom": "^18.2.17",
"@types/plotly.js": "^2.12.31",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@types/react-plotly.js": "^2.6.3",
"autoprefixer": "^10.4.16",
"drizzle-kit": "^0.20.6",
"drizzle-kit": "^0.20.7",
"esbuild-register": "^3.5.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "29.7.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.31",
"postcss": "^8.4.32",
"tailwind-scrollbar": "^3.0.5",
"tailwindcss": "^3.3.5",
"tailwindcss": "^3.3.7",
"ts-jest": "^29.1.1",
"typescript": "5.3.2"
"typescript": "5.3.3"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default function HistoricalChartWrapper({
}}
/>
<div className="text-center text-gray-400 text-sm">
Historical data is only available since pool creation date{" "}
Historical data is only available after the pool was created in{" "}
{formatDate(createdAt)}
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default async function PoolOverviewCards({
return (
<div className="border border-blue6 bg-blue3 rounded p-4 w-full flex items-center flex-col">
<span>
Looks like you tried a date range before the pool creation date
Looks like the range you selected extends before the pool was created
</span>
<span>
Please select a date range after {formatDate(poolCreationDate)}
Expand Down
27 changes: 13 additions & 14 deletions apps/cow-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,11 @@
"@safe-global/api-kit": "^2.0.0",
"@safe-global/protocol-kit": "^2.0.0",
"@safe-global/safe-core-sdk-types": "^2.3.0",
"@safe-global/safe-gateway-typescript-sdk": "^3.13.2",
"@sentry/nextjs": "^7.83.0",
"@sentry/profiling-node": "^1.2.6",
"@vercel/kv": "^0.2.3",
"@safe-global/safe-gateway-typescript-sdk": "^3.13.3",
"@sentry/nextjs": "^7.88.0",
"@sentry/profiling-node": "^1.3.2",
"@wagmi/cli": "1.5.2",
"@wagmi/core": "^1.4.7",
"@wagmi/core": "^1.4.12",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"copy-to-clipboard": "^3.3.3",
Expand All @@ -69,33 +68,33 @@
"tailwind-merge": "^1.14.0",
"tailwindcss-animate": "^1.0.7",
"tiny-invariant": "^1.3.1",
"viem": "^1.19.15",
"viem": "^1.20.2",
"zod": "^3.22.4"
},
"devDependencies": {
"@bleu-fi/eslint-config": "workspace:^",
"@bleu-fi/utils": "workspace:^",
"@graphql-codegen/cli": "5.0.0",
"@graphql-codegen/typescript-graphql-request": "6.0.1",
"@graphql-codegen/typescript-graphql-request": "6.1.0",
"@testing-library/jest-dom": "6.1.5",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "14.5.1",
"@types/jest": "^29.5.10",
"@types/jest": "^29.5.11",
"@types/lodash": "^4.14.202",
"@types/lodash.merge": "^4.6.9",
"@types/node": "^18.18.5",
"@types/plotly.js": "^2.12.30",
"@types/react": "^18.2.42",
"@types/react-dom": "^18.2.17",
"@types/plotly.js": "^2.12.31",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@types/react-plotly.js": "^2.6.3",
"autoprefixer": "^10.4.16",
"jest": "^29.7.0",
"jest-environment-jsdom": "29.7.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.31",
"postcss": "^8.4.32",
"tailwind-scrollbar": "^3.0.5",
"tailwindcss": "^3.3.5",
"tailwindcss": "^3.3.7",
"ts-jest": "^29.1.1",
"typescript": "5.3.2"
"typescript": "5.3.3"
}
}
2 changes: 1 addition & 1 deletion apps/pool-metadata/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"devDependencies": {
"@bleu-fi/utils": "workspace:^",
"@bleu-fi/tsconfig": "workspace:*",
"typescript": "^5.3.2"
"typescript": "^5.3.3"
}
}
6 changes: 3 additions & 3 deletions apps/pool-metadata/subgraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
"devDependencies": {
"@bleu-fi/utils": "workspace:^",
"@bleu-fi/tsconfig": "workspace:*",
"@graphprotocol/graph-cli": "0.62.0",
"@graphprotocol/graph-ts": "0.31.0",
"@graphprotocol/graph-cli": "0.64.0",
"@graphprotocol/graph-ts": "0.32.0",
"@types/fs-extra": "^11.0.4",
"@types/js-yaml": "^4.0.9",
"handlebars": "^4.7.8",
"js-yaml": "^4.1.0",
"matchstick-as": "0.6.0",
"ts-node": "^10.9.1"
"ts-node": "^10.9.2"
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
"@types/node": "^18.18.5",
"concurrently": "^8.2.2",
"ghooks": "^2.0.4",
"lint-staged": "^15.1.0",
"prettier": "^3.1.0",
"typescript": "^5.3.2"
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"typescript": "^5.3.3"
},
"pnpm": {
"overrides": {
Expand Down
8 changes: 4 additions & 4 deletions packages/balancer-apr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"@bleu-fi/tsconfig": "workspace:*",
"@bleu-fi/utils": "workspace:^",
"@types/node": "18.18.5",
"drizzle-kit": "^0.20.6",
"drizzle-kit": "^0.20.7",
"esbuild-register": "^3.5.0",
"graphql": "16.8.1",
"micromatch": "4.0.5",
"typescript": "5.3.2"
"typescript": "5.3.3"
},
"peerDependencies": {
"@types/react": ">=18",
Expand All @@ -37,9 +37,9 @@
"dependencies": {
"@vercel/postgres": "^0.5.1",
"drizzle-orm": "^0.29.1",
"p-throttle": "^6.0.0",
"p-throttle": "^6.1.0",
"postgres": "^3.4.3",
"tiny-invariant": "^1.3.1",
"viem": "^1.19.15"
"viem": "^1.20.2"
}
}
Loading

0 comments on commit d5a1b71

Please sign in to comment.