Skip to content

Commit

Permalink
chore(deps): update all non-major dependencies (#304)
Browse files Browse the repository at this point in the history
* chore(deps): update all non-major dependencies

* fix

* wip

* wip

* fix: lint

* fix: lint

* wip

* wip

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hayden Fan <haosong0323@gmail.com>
  • Loading branch information
renovate[bot] and Hayden0323 authored Feb 7, 2025
1 parent 256f718 commit 2a7cc0b
Show file tree
Hide file tree
Showing 228 changed files with 4,307 additions and 3,820 deletions.
1 change: 0 additions & 1 deletion apis/path-finder/.eslintrc.js

This file was deleted.

3 changes: 3 additions & 0 deletions apis/path-finder/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import eslintConfig from '@zenlink-interface/eslint-config/index.mjs'

export default eslintConfig
10 changes: 5 additions & 5 deletions apis/path-finder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@
"lint": "TIMING=1 eslint . --fix"
},
"dependencies": {
"@vercel/node": "^5.0.0",
"@vercel/node": "^5.1.2",
"@zenlink-interface/chain": "workspace:*",
"@zenlink-interface/currency": "workspace:*",
"@zenlink-interface/smart-router": "workspace:*",
"@zenlink-interface/token-lists": "workspace:*",
"@zenlink-interface/wagmi-config": "workspace:*",
"ethers": "^5.7.2",
"fast-json-stable-stringify": "^2.1.0",
"ioredis": "^5.4.1",
"viem": "2.21.55",
"ioredis": "^5.4.2",
"viem": "2.22.22",
"zod": "^3.24.1"
},
"devDependencies": {
"@zenlink-interface/eslint-config": "workspace:*",
"@zenlink-interface/typescript-config": "workspace:*",
"dotenv": "^16.4.7",
"eslint": "^9.17.0",
"eslint": "^9.19.0",
"ts-node": "^10.9.2",
"typescript": "5.7.2"
"typescript": "5.7.3"
}
}
8 changes: 4 additions & 4 deletions apis/token-price/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
"lint": "TIMING=1 eslint --fix ."
},
"dependencies": {
"@vercel/node": "^5.0.0",
"@vercel/node": "^5.1.2",
"@zenlink-interface/chain": "workspace:*",
"@zenlink-interface/graph-client": "workspace:*",
"date-fns": "^4.1.0",
"fast-json-stable-stringify": "^2.1.0",
"ioredis": "^5.4.1"
"ioredis": "^5.4.2"
},
"devDependencies": {
"@zenlink-interface/eslint-config": "workspace:*",
"@zenlink-interface/typescript-config": "workspace:*",
"eslint": "^9.17.0",
"typescript": "5.7.2"
"eslint": "^9.19.0",
"typescript": "5.7.3"
}
}
3 changes: 2 additions & 1 deletion apis/zenlink-stats/api/jobs/broadcaster/moonbeam.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { type Address, createWalletClient, fallback, http } from 'viem'
import type { Address } from 'viem'
import { createWalletClient, fallback, http } from 'viem'
import { privateKeyToAccount } from 'viem/accounts'
import { moonbeam } from 'viem/chains'
import { broadcaster } from '../../../abis'
Expand Down
8 changes: 4 additions & 4 deletions apis/zenlink-stats/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"@polkadot/api": "^12.3.1",
"@vercel/node": "^5.0.0",
"@vercel/node": "^5.1.2",
"@wagmi/core": "1.1.1-cjs",
"@zenlink-interface/chain": "workspace:*",
"@zenlink-interface/currency": "workspace:*",
Expand All @@ -21,12 +21,12 @@
"esno": "^4.8.0",
"ethers": "^5.7.2",
"fast-json-stable-stringify": "^2.1.0",
"ioredis": "^5.4.1",
"viem": "2.21.55"
"ioredis": "^5.4.2",
"viem": "2.22.22"
},
"devDependencies": {
"@zenlink-interface/eslint-config": "workspace:*",
"@zenlink-interface/typescript-config": "workspace:*",
"eslint": "^9.17.0"
"eslint": "^9.19.0"
}
}
1 change: 0 additions & 1 deletion apps/analytics/eslint.config.js

This file was deleted.

3 changes: 3 additions & 0 deletions apps/analytics/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import eslintConfig from '@zenlink-interface/eslint-config/nextjs/index.mjs'

export default eslintConfig
30 changes: 15 additions & 15 deletions apps/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"@ethersproject/solidity": "^5.7.0",
"@headlessui/react": "2.2.0",
"@heroicons/react": "2.2.0",
"@lingui/core": "5.1.1",
"@lingui/macro": "5.1.1",
"@lingui/react": "5.1.1",
"@lingui/core": "5.2.0",
"@lingui/macro": "5.2.0",
"@lingui/react": "5.2.0",
"@reduxjs/toolkit": "^1.9.7",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-query": "^5.66.0",
"@tanstack/react-table": "8.20.6",
"@vercel/analytics": "^1.4.1",
"@zenlink-interface/amm": "workspace:*",
Expand All @@ -45,7 +45,7 @@
"@zenlink-interface/ui": "workspace:*",
"@zenlink-interface/wagmi": "workspace:*",
"date-fns": "^4.1.0",
"echarts": "^5.5.1",
"echarts": "^5.6.0",
"echarts-for-react": "^3.0.2",
"ethers": "^5.7.2",
"fast-json-stable-stringify": "^2.1.0",
Expand All @@ -58,25 +58,25 @@
"react": "19.0.0",
"react-dom": "19.0.0",
"react-redux": "^9.2.0",
"viem": "2.21.55",
"wagmi": "2.14.3",
"viem": "2.22.22",
"wagmi": "2.14.10",
"zod": "^3.24.1"
},
"devDependencies": {
"@types/node": "^22.10.2",
"@types/node": "^22.13.1",
"@types/numeral": "^2.0.5",
"@types/react": "19.0.1",
"@types/react-dom": "^19.0.2",
"@types/react": "19.0.8",
"@types/react-dom": "^19.0.3",
"@zenlink-interface/eslint-config": "workspace:*",
"@zenlink-interface/nextjs-config": "workspace:*",
"@zenlink-interface/typescript-config": "workspace:*",
"autoprefixer": "^10.4.20",
"eslint": "^9.17.0",
"eslint": "^9.19.0",
"graphql": "16.10.0",
"postcss": "^8.4.49",
"swr": "^2.2.5",
"tailwindcss": "^3.4.16",
"typescript": "5.7.2"
"postcss": "^8.5.1",
"swr": "^2.3.2",
"tailwindcss": "^3.4.17",
"typescript": "5.7.3"
},
"nextBundleAnalysis": {
"budget": 460800,
Expand Down
1 change: 0 additions & 1 deletion apps/app/eslint.config.js

This file was deleted.

3 changes: 3 additions & 0 deletions apps/app/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import eslintConfig from '@zenlink-interface/eslint-config/nextjs/index.mjs'

export default eslintConfig
12 changes: 6 additions & 6 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
"react-dom": "19.0.0"
},
"devDependencies": {
"@types/node": "^22.10.2",
"@types/react": "19.0.1",
"@types/node": "^22.13.1",
"@types/react": "19.0.8",
"@zenlink-interface/eslint-config": "workspace:*",
"@zenlink-interface/nextjs-config": "workspace:*",
"@zenlink-interface/typescript-config": "workspace:*",
"autoprefixer": "^10.4.20",
"eslint": "^9.17.0",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.16",
"typescript": "5.7.2"
"eslint": "^9.19.0",
"postcss": "^8.5.1",
"tailwindcss": "^3.4.17",
"typescript": "5.7.3"
}
}
3 changes: 2 additions & 1 deletion apps/gauge/components/GaugesChart/GaugesChart.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import type { FC } from 'react'
import { Tab } from '@headlessui/react'
import { Trans } from '@lingui/macro'
import { classNames, Typography } from '@zenlink-interface/ui'
import { ChartMode, useGaugeVotes } from 'components'
import { TAB_DEFAULT_CLASS, TAB_NOT_SELECTED_CLASS, TAB_SELECTED_CLASS } from 'lib/constants'
import { type FC, useEffect, useState } from 'react'
import { useEffect, useState } from 'react'

import { VotePercentChart } from './VotePercentChart'

Expand Down
3 changes: 2 additions & 1 deletion apps/gauge/components/GaugesChart/VotePercentChart.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import type { EChartsOption } from 'echarts-for-react'
import type { FC } from 'react'
import { getMaturityFormatDate } from '@zenlink-interface/market'
import { Percent } from '@zenlink-interface/math'
import { Typography } from '@zenlink-interface/ui'
import { ChartMode, useGaugeVotes } from 'components'
import ReactECharts from 'echarts-for-react'
import { useTheme } from 'next-themes'
import { type FC, useMemo } from 'react'
import { useMemo } from 'react'
import resolveConfig from 'tailwindcss/resolveConfig'

import tailwindConfig from '../../tailwind.config.js'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import type { PaginationState, SortingState } from '@tanstack/react-table'
import type { Gauge } from '@zenlink-interface/market'
import type { FC } from 'react'
import { getCoreRowModel, getSortedRowModel, useReactTable } from '@tanstack/react-table'
import { Percent } from '@zenlink-interface/math'
import { GenericTable, Table, useBreakpoint } from '@zenlink-interface/ui'
import { useGaugeVotes } from 'components'
import { type FC, useEffect, useMemo, useState } from 'react'
import { useEffect, useMemo, useState } from 'react'
import { PAGE_SIZE } from '../constants'
import { COMMUNITY_VOTE_COLUMN, MY_VOTE_COLUMN, NAME_COLUMN } from './Cells/columns'

Expand Down
3 changes: 2 additions & 1 deletion apps/gauge/components/VeDashboard.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { FC } from 'react'
import { BuildingLibraryIcon, HandRaisedIcon, InformationCircleIcon, WalletIcon } from '@heroicons/react/24/outline'
import { Trans } from '@lingui/macro'
import { ParachainId } from '@zenlink-interface/chain'
Expand All @@ -8,7 +9,7 @@ import { ZERO } from '@zenlink-interface/math'
import { Button, Currency, Dots, Tooltip, Typography } from '@zenlink-interface/ui'
import { useClaimVotingRewardsReview, useVotingEscrow } from '@zenlink-interface/wagmi'
import { useVotingRewards } from 'lib/hooks'
import { type FC, useMemo } from 'react'
import { useMemo } from 'react'

export const VeDashboard: FC = () => {
const { address } = useAccount()
Expand Down
1 change: 0 additions & 1 deletion apps/gauge/eslint.config.js

This file was deleted.

3 changes: 3 additions & 0 deletions apps/gauge/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import eslintConfig from '@zenlink-interface/eslint-config/nextjs/index.mjs'

export default eslintConfig
3 changes: 2 additions & 1 deletion apps/gauge/lib/hooks/useIncreaseLockPosition.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import type { Token } from '@zenlink-interface/currency'
import type { VotingEscrow } from '@zenlink-interface/market'
import type { Duration } from 'lib/types'
import { Amount } from '@zenlink-interface/currency'
import { getWeekStartUnixTime, type VotingEscrow } from '@zenlink-interface/market'
import { getWeekStartUnixTime } from '@zenlink-interface/market'
import { JSBI, ZERO } from '@zenlink-interface/math'
import { addWeeks, fromUnixTime, getUnixTime } from 'date-fns'
import { useMemo } from 'react'
Expand Down
30 changes: 15 additions & 15 deletions apps/gauge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"dependencies": {
"@headlessui/react": "2.2.0",
"@heroicons/react": "2.2.0",
"@lingui/core": "5.1.1",
"@lingui/macro": "5.1.1",
"@lingui/react": "5.1.1",
"@lingui/core": "5.2.0",
"@lingui/macro": "5.2.0",
"@lingui/react": "5.2.0",
"@reduxjs/toolkit": "^1.9.7",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-query": "^5.66.0",
"@tanstack/react-table": "8.20.6",
"@vercel/analytics": "^1.4.1",
"@zenlink-interface/amm": "workspace:*",
Expand All @@ -36,7 +36,7 @@
"@zenlink-interface/ui": "workspace:*",
"@zenlink-interface/wagmi": "workspace:*",
"date-fns": "^4.1.0",
"echarts": "^5.5.1",
"echarts": "^5.6.0",
"echarts-for-react": "^3.0.2",
"fast-json-stable-stringify": "^2.1.0",
"next": "15.1.0",
Expand All @@ -48,25 +48,25 @@
"react": "19.0.0",
"react-dom": "19.0.0",
"react-redux": "^9.2.0",
"viem": "2.21.55",
"wagmi": "2.14.3",
"viem": "2.22.22",
"wagmi": "2.14.10",
"zod": "^3.24.1"
},
"devDependencies": {
"@types/node": "^22.10.2",
"@types/node": "^22.13.1",
"@types/numeral": "^2.0.5",
"@types/react": "19.0.1",
"@types/react-dom": "^19.0.2",
"@types/react": "19.0.8",
"@types/react-dom": "^19.0.3",
"@zenlink-interface/eslint-config": "workspace:*",
"@zenlink-interface/nextjs-config": "workspace:*",
"@zenlink-interface/typescript-config": "workspace:*",
"autoprefixer": "^10.4.20",
"eslint": "^9.17.0",
"eslint": "^9.19.0",
"graphql": "16.10.0",
"postcss": "^8.4.49",
"swr": "^2.2.5",
"tailwindcss": "^3.4.16",
"typescript": "5.7.2"
"postcss": "^8.5.1",
"swr": "^2.3.2",
"tailwindcss": "^3.4.17",
"typescript": "5.7.3"
},
"nextBundleAnalysis": {
"budget": 460800,
Expand Down
3 changes: 2 additions & 1 deletion apps/gauge/pages/lock.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import type { BreadcrumbLink } from '@zenlink-interface/ui'
import { Tab } from '@headlessui/react'
import { Trans } from '@lingui/macro'
import { ParachainId } from '@zenlink-interface/chain'
import { Approve, Checker, CurrencyInput, useAccount } from '@zenlink-interface/compat'
import { Amount, tryParseAmount, ZLK } from '@zenlink-interface/currency'
import { JSBI, ZERO } from '@zenlink-interface/math'
import { useNotifications } from '@zenlink-interface/shared'
import { type BreadcrumbLink, Button, classNames, Dots, Typography, Widget } from '@zenlink-interface/ui'
import { Button, classNames, Dots, Typography, Widget } from '@zenlink-interface/ui'
import { useLockVeReview, useRedeemVeReview, useVotingEscrow } from '@zenlink-interface/wagmi'
import { Layout } from 'components'
import { format } from 'date-fns'
Expand Down
3 changes: 2 additions & 1 deletion apps/market/components/MarketSection/MarketAPY.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { MarketGraphData } from '@zenlink-interface/graph-client'
import type { Market } from '@zenlink-interface/market'
import type { FC } from 'react'
import { InformationCircleIcon } from '@heroicons/react/24/outline'
import { Trans } from '@lingui/macro'
import { Amount, ZLK } from '@zenlink-interface/currency'
Expand All @@ -8,7 +9,7 @@ import { JSBI, Percent, ZERO } from '@zenlink-interface/math'
import { usePrices } from '@zenlink-interface/shared'
import { AppearOnMount, Tooltip, Typography } from '@zenlink-interface/ui'
import { useRewardData } from '@zenlink-interface/wagmi'
import { type FC, useMemo } from 'react'
import { useMemo } from 'react'

interface MarketAPYProps {
market: Market
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
import type { Token } from '@zenlink-interface/currency'
import type { Market } from '@zenlink-interface/market'
import type { FC, ReactNode } from 'react'
import { ChevronDownIcon, PlusIcon } from '@heroicons/react/24/solid'
import { Trans } from '@lingui/macro'
import { Checker, Web3Input } from '@zenlink-interface/compat'
import { Amount, type Token, tryParseAmount } from '@zenlink-interface/currency'
import { getMaturityFormatDate, type Market } from '@zenlink-interface/market'
import { Amount, tryParseAmount } from '@zenlink-interface/currency'
import { getMaturityFormatDate } from '@zenlink-interface/market'
import { Percent, ZERO } from '@zenlink-interface/math'
import { Button, Currency, Dots, Typography } from '@zenlink-interface/ui'
import { PricePanel } from 'components'
import { type FC, type ReactNode, useCallback, useMemo, useState } from 'react'
import { useCallback, useMemo, useState } from 'react'
import { MarketAddManualReviewModal } from './MarketAddManualReviewModal'
import { MaxBoostTable } from './MaxBoostTable'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import type { Amount, Token } from '@zenlink-interface/currency'
import type { Market } from '@zenlink-interface/market'
import type { FC, ReactNode } from 'react'
import { Trans } from '@lingui/macro'
import { Approve, useAccount } from '@zenlink-interface/compat'
import { useNotifications } from '@zenlink-interface/shared'
import { Button, Dialog, Dots } from '@zenlink-interface/ui'
import { useAddManualReview } from '@zenlink-interface/wagmi'
import { type FC, type ReactNode, useState } from 'react'
import { useState } from 'react'
import { MarketAddManualWidget } from './MarketAddManual'

interface MarketAddManualReviewModalProps {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
import type { Type } from '@zenlink-interface/currency'
import type { Market } from '@zenlink-interface/market'
import type { FC, ReactNode } from 'react'
import { Transition } from '@headlessui/react'
import { InformationCircleIcon } from '@heroicons/react/24/outline'
import { CheckIcon, ChevronDownIcon, PlusIcon, XMarkIcon } from '@heroicons/react/24/solid'
import { Trans } from '@lingui/macro'
import { Checker, Web3Input } from '@zenlink-interface/compat'
import { tryParseAmount, type Type } from '@zenlink-interface/currency'
import { getMaturityFormatDate, type Market } from '@zenlink-interface/market'
import { tryParseAmount } from '@zenlink-interface/currency'
import { getMaturityFormatDate } from '@zenlink-interface/market'
import { Button, Currency, Dots, Switch, Tooltip, Typography } from '@zenlink-interface/ui'
import { PricePanel } from 'components'
import { useUsdPctChange } from 'lib/hooks'
import { useTokens } from 'lib/state/token-lists'
import { type FC, type ReactNode, useCallback, useMemo, useState } from 'react'
import { useCallback, useMemo, useState } from 'react'
import { MarketAddZapReviewModal } from './MarketAddZapReviewModal'
import { MaxBoostTable } from './MaxBoostTable'
import { TradeProvider, useTrade } from './TradeProvider'
Expand Down
Loading

0 comments on commit 2a7cc0b

Please sign in to comment.