diff --git a/apps/dao/.env.sample b/apps/dao/.env.sample deleted file mode 100644 index db83186aa..000000000 --- a/apps/dao/.env.sample +++ /dev/null @@ -1,8 +0,0 @@ -# -# Curve dApp Environment Variables -# -# App environment variable -NEXT_PUBLIC_MAINTENANCE_MESSAGE= - -# Networks -NEXT_PUBLIC_ETHEREUM_DEV_RPC_URL= diff --git a/apps/dao/.eslintrc.js b/apps/dao/.eslintrc.js deleted file mode 100644 index 88c70329c..000000000 --- a/apps/dao/.eslintrc.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - root: true, - extends: ['eslint-config-custom'], -} diff --git a/apps/dao/.gitignore b/apps/dao/.gitignore deleted file mode 100644 index f69b7eba0..000000000 --- a/apps/dao/.gitignore +++ /dev/null @@ -1,53 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. -# - -# dependencies -/node_modules -/.pnp -.pnp.js - -# testing -/coverage -cypress/videos -cypress/screenshots - -# next.js -/.next/ -/out/ - -# production -/build - -# misc -.DS_Store -*.pem - -# debug -npm-debug.log* -yarn-debug.log* -yarn-error.log* - -# local env files -.env.local -.env.development.local -.env.test.local -.env.production.local - -# IDE config -.idea/ -.vscode/ - -# husky -.husky - -# vercel -.vercel - -# lingui compiled translation files -src/locales - -# TypeChain generated files -src/sdk/types/ethers-contracts - -# crash report -report.*.json diff --git a/apps/dao/.gitkeep b/apps/dao/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/apps/dao/.huskyrc.json b/apps/dao/.huskyrc.json deleted file mode 100644 index 6ffa65e43..000000000 --- a/apps/dao/.huskyrc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "hooks": { - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", - "pre-commit": "lint-staged" - } -} \ No newline at end of file diff --git a/apps/dao/.lintstagedrc.json b/apps/dao/.lintstagedrc.json deleted file mode 100644 index 6b0146d27..000000000 --- a/apps/dao/.lintstagedrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "*.{ts,tsx,js,jsx,json,css,md}": [ - "prettier --write" - ] -} \ No newline at end of file diff --git a/apps/dao/.prettierignore b/apps/dao/.prettierignore deleted file mode 100644 index 825f81b1d..000000000 --- a/apps/dao/.prettierignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules -next.config.js diff --git a/apps/dao/lingui.config.ts b/apps/dao/lingui.config.ts deleted file mode 100644 index b6c0e4aa9..000000000 --- a/apps/dao/lingui.config.ts +++ /dev/null @@ -1 +0,0 @@ -export { config as default } from '../../lingui.config' diff --git a/apps/dao/next-env.d.ts b/apps/dao/next-env.d.ts deleted file mode 100644 index 4f11a03dc..000000000 --- a/apps/dao/next-env.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/// -/// - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/apps/dao/next.config.js b/apps/dao/next.config.js deleted file mode 100644 index b73545a38..000000000 --- a/apps/dao/next.config.js +++ /dev/null @@ -1,58 +0,0 @@ -/** @type {import('next').NextConfig} */ -const nextConfiguration = { - output: 'export', - compiler: { - styledComponents: true - }, - experimental: { - swcPlugins: [ - ['@lingui/swc-plugin', { - // Optional - // Unlike the JS version this option must be passed as object only. - // Docs https://lingui.dev/ref/conf#runtimeconfigmodule - "runtimeModules": { - "i18n": ["@lingui/core", "i18n"], - "trans": ["@lingui/react", "Trans"] - } - }], - ] - }, - images: { - remotePatterns: [ - { - protocol: 'https', - hostname: 'cdn.jsdelivr.net', - }, - ], - unoptimized: true, - }, - trailingSlash: true, - transpilePackages: ['curve-ui-kit'], - webpack(config) { - config.module.rules.push({ - test: /\.svg$/, - use: ['@svgr/webpack', 'url-loader'] - }) - - return config - }, - eslint: { - // Warning: This allows production builds to successfully complete even if - // your project has ESLint errors. - // ignoreDuringBuilds: true, - }, - typescript: { - // !! WARN !! - // Dangerously allow production builds to successfully complete even if - // your project has type errors. - // !! WARN !! - // ignoreBuildErrors: true, - }, -} - -const withBundleAnalyzer = require('@next/bundle-analyzer')({ - openAnalyzer: false, - enabled: process.env.ANALYZE === 'true' -}) - -module.exports = withBundleAnalyzer(nextConfiguration) diff --git a/apps/dao/package.json b/apps/dao/package.json deleted file mode 100644 index c34b66735..000000000 --- a/apps/dao/package.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "name": "dao", - "version": "0.1.0", - "private": true, - "engines": { - "node": "20" - }, - "scripts": { - "dev": "yarn i18n:compile && next dev -p 3002", - "build": "yarn i18n:extract && yarn i18n:compile && next build", - "start": "next start", - "lint": "next lint", - "typecheck": "tsc --noEmit", - "commit": "commit", - "prepublishOnly": "pinst --disable", - "postpublish": "pinst --enable", - "i18n:extract": "lingui extract", - "i18n:compile": "lingui compile", - "analyze": "ANALYZE=true next build" - }, - "peerDependencies": { - "eslint-config-custom": "*", - "react": "*", - "react-dom": "*", - "tsconfig": "*", - "typescript": "*" - }, - "dependencies": { - "@curvefi/api": "^2.65.28", - "@hookform/error-message": "^2.0.1", - "@hookform/resolvers": "^3.9.0", - "@supercharge/promise-pool": "^2.3.2", - "bignumber.js": "^9.1.2", - "curve-ui-kit": "*", - "ethers": "^6.13.4", - "focus-visible": "5.2.0", - "fuse.js": "^6.6.2", - "immer": "^9.0.12", - "intersection-observer": "^0.12.0", - "lightweight-charts": "4.1.2", - "lodash": "4.17.21", - "memoizee": "^0.4.17", - "next": "^13.5.6", - "next-images": "^1.8.5", - "react": "*", - "react-aria": "3.22.0", - "react-dom": "*", - "react-hook-form": "^7.53.0", - "react-is": "16.13.1", - "react-router-dom": "^6.3.0", - "react-stately": "3.18.0", - "recharts": "^2.12.6", - "sharp": "^0.32.6", - "styled-components": "5.3.11", - "swr": "^2.2.2", - "ui": "*", - "zustand": "^4.5.5" - }, - "devDependencies": { - "@lingui/cli": "^4.6.0", - "@lingui/loader": "^4.6.0", - "@lingui/macro": "^4.6.0", - "@lingui/swc-plugin": "^4.0.4", - "@next/bundle-analyzer": "^13.5.6", - "@svgr/webpack": "^8.1.0", - "@types/lodash": "^4.14.182", - "@types/node": "17.0.24", - "@types/react": "*", - "@types/react-dom": "*", - "@types/styled-components": "5.1.14", - "@types/validator": "^13.12.1", - "eslint-config-custom": "*", - "pinst": "^2.1.4", - "start-server-and-test": "2.0.0", - "tsconfig": "*", - "typescript": "*", - "webpack": "^5.83.1" - }, - "resolutions": { - "styled-components": "^5" - } -} diff --git a/apps/dao/public/android-chrome-192x192.png b/apps/dao/public/android-chrome-192x192.png deleted file mode 100644 index f0df21c88..000000000 Binary files a/apps/dao/public/android-chrome-192x192.png and /dev/null differ diff --git a/apps/dao/public/android-chrome-512x512.png b/apps/dao/public/android-chrome-512x512.png deleted file mode 100644 index 39cb98756..000000000 Binary files a/apps/dao/public/android-chrome-512x512.png and /dev/null differ diff --git a/apps/dao/public/apple-touch-icon.png b/apps/dao/public/apple-touch-icon.png deleted file mode 100644 index 7d9762db8..000000000 Binary files a/apps/dao/public/apple-touch-icon.png and /dev/null differ diff --git a/apps/dao/public/browserconfig.xml b/apps/dao/public/browserconfig.xml deleted file mode 100644 index d416bc536..000000000 --- a/apps/dao/public/browserconfig.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - #ffffff - - - diff --git a/apps/dao/public/favicon-16x16.png b/apps/dao/public/favicon-16x16.png deleted file mode 100644 index 193be9f04..000000000 Binary files a/apps/dao/public/favicon-16x16.png and /dev/null differ diff --git a/apps/dao/public/favicon-32x32.png b/apps/dao/public/favicon-32x32.png deleted file mode 100644 index 0bd32716e..000000000 Binary files a/apps/dao/public/favicon-32x32.png and /dev/null differ diff --git a/apps/dao/public/favicon.ico b/apps/dao/public/favicon.ico deleted file mode 100644 index ce502d7db..000000000 Binary files a/apps/dao/public/favicon.ico and /dev/null differ diff --git a/apps/dao/public/logo-square.svg b/apps/dao/public/logo-square.svg deleted file mode 100644 index d33af6336..000000000 --- a/apps/dao/public/logo-square.svg +++ /dev/null @@ -1,1535 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/apps/dao/public/manifest.json b/apps/dao/public/manifest.json deleted file mode 100644 index f81487cbc..000000000 --- a/apps/dao/public/manifest.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "short_name": "Curve", - "name": "Curve", - "description": "Decentralized exchange liquidity pool designed for extremely efficient stablecoin trading and low-risk income for liquidity providers", - "iconPath": "logo-square.svg", - "icons": [ - { - "src": "favicon.ico", - "sizes": "64x64 32x32 24x24 16x16", - "type": "image/x-icon" - }, - { - "src": "android-chrome-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "android-chrome-512x512.png", - "type": "image/png", - "sizes": "512x512" - } - ], - "start_url": ".", - "theme_color": "#ffffff", - "background_color": "#ffffff", - "display": "standalone" -} diff --git a/apps/dao/public/mstile-150x150.png b/apps/dao/public/mstile-150x150.png deleted file mode 100644 index 06a5e1831..000000000 Binary files a/apps/dao/public/mstile-150x150.png and /dev/null differ diff --git a/apps/dao/public/safari-pinned-tab.svg b/apps/dao/public/safari-pinned-tab.svg deleted file mode 100644 index 3136ec8e3..000000000 --- a/apps/dao/public/safari-pinned-tab.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - -Created by potrace 1.14, written by Peter Selinger 2001-2017 - - - - - diff --git a/apps/dao/src/pages/index.tsx b/apps/dao/src/pages/index.tsx deleted file mode 100644 index 7faab26d7..000000000 --- a/apps/dao/src/pages/index.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { useEffect } from 'react' -import { getAppRoot } from '@ui-kit/shared/routes' - -export default function Index() { - useEffect(() => { - location.href = `${getAppRoot('dao')}${location.search}${location.hash}` - }, []) - return null -} diff --git a/apps/dao/tsconfig.json b/apps/dao/tsconfig.json deleted file mode 100644 index 1c69510b1..000000000 --- a/apps/dao/tsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "tsconfig/nextjs.json", - "compilerOptions": { - "baseUrl": "./src", - "paths": { - "@dao/*": ["*"], - "@ui": ["../../../packages/ui/src/index.ts"], - "@ui/*": ["../../../packages/ui/src/*"], - "@ui-kit/*": ["../../../packages/curve-ui-kit/src/*"], - "@external-rewards": ["../../../packages/external-rewards/src/index.ts"] - } - }, - "exclude": ["node_modules", "cypress"], - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "../../packages/curve-ui-kit/**/*.d.ts"] -} diff --git a/apps/lend/.browserslistrc b/apps/lend/.browserslistrc deleted file mode 100644 index 6dc1b32ad..000000000 --- a/apps/lend/.browserslistrc +++ /dev/null @@ -1,2 +0,0 @@ -last 2 chrome version -last 2 firefox version \ No newline at end of file diff --git a/apps/lend/.env.sample b/apps/lend/.env.sample deleted file mode 100644 index 670c1d95a..000000000 --- a/apps/lend/.env.sample +++ /dev/null @@ -1,22 +0,0 @@ -# -# Curve dApp Environment Variables -# -# App environment variable -NEXT_PUBLIC_MAINTENANCE_MESSAGE= - -# Networks -NEXT_PUBLIC_ETHEREUM_DEV_RPC_URL= -NEXT_PUBLIC_OPTIMISM_DEV_RPC_URL= -NEXT_PUBLIC_GNOSIS_DEV_RPC_URL= -NEXT_PUBLIC_MOONBEAM_DEV_RPC_URL= -NEXT_PUBLIC_POLYGON_DEV_RPC_URL= -NEXT_PUBLIC_KAVA_DEV_RPC_URL= -NEXT_PUBLIC_FANTOM_DEV_RPC_URL= -NEXT_PUBLIC_ARBITRUM_DEV_RPC_URL= -NEXT_PUBLIC_AVALANCHE_DEV_RPC_URL= -NEXT_PUBLIC_CELO_DEV_RPC_URL= -NEXT_PUBLIC_AURORA_DEV_RPC_URL= -NEXT_PUBLIC_ZKSYNC_DEV_RPC_URL= -NEXT_PUBLIC_BASE_DEV_RPC_URL= -NEXT_PUBLIC_BSC_DEV_RPC_URL= -NEXT_PUBLIC_FRONTEND_DRPC_KEY= diff --git a/apps/lend/.gitignore b/apps/lend/.gitignore deleted file mode 100644 index 6d1e364e4..000000000 --- a/apps/lend/.gitignore +++ /dev/null @@ -1,50 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -/node_modules -/.pnp -.pnp.js - -# testing -/coverage - -# next.js -/.next/ -/out/ - -# production -/build - -# misc -.DS_Store -*.pem - -# debug -npm-debug.log* -yarn-debug.log* -yarn-error.log* - -# local env files -.env.local -.env.development.local -.env.test.local -.env.production.local - -# IDE config -.idea/ -.vscode/ - -# husky -.husky - -# vercel -.vercel - -# lingui compiled translation files -src/locales - -# TypeChain generated files -src/sdk/types/ethers-contracts - -# crash report -report.*.json diff --git a/apps/lend/.huskyrc.json b/apps/lend/.huskyrc.json deleted file mode 100644 index 5a1b2a8cb..000000000 --- a/apps/lend/.huskyrc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "hooks": { - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", - "pre-commit": "lint-staged" - } -} diff --git a/apps/lend/.lintstagedrc.json b/apps/lend/.lintstagedrc.json deleted file mode 100644 index e903b669c..000000000 --- a/apps/lend/.lintstagedrc.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "*.{ts,tsx,js,jsx,json,css,md}": ["prettier --write"] -} diff --git a/apps/lend/.prettierignore b/apps/lend/.prettierignore deleted file mode 100644 index 825f81b1d..000000000 --- a/apps/lend/.prettierignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules -next.config.js diff --git a/apps/lend/lingui.config.ts b/apps/lend/lingui.config.ts deleted file mode 100644 index b6c0e4aa9..000000000 --- a/apps/lend/lingui.config.ts +++ /dev/null @@ -1 +0,0 @@ -export { config as default } from '../../lingui.config' diff --git a/apps/lend/next-env.d.ts b/apps/lend/next-env.d.ts deleted file mode 100644 index 4f11a03dc..000000000 --- a/apps/lend/next-env.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/// -/// - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/apps/lend/next.config.js b/apps/lend/next.config.js deleted file mode 100644 index b73545a38..000000000 --- a/apps/lend/next.config.js +++ /dev/null @@ -1,58 +0,0 @@ -/** @type {import('next').NextConfig} */ -const nextConfiguration = { - output: 'export', - compiler: { - styledComponents: true - }, - experimental: { - swcPlugins: [ - ['@lingui/swc-plugin', { - // Optional - // Unlike the JS version this option must be passed as object only. - // Docs https://lingui.dev/ref/conf#runtimeconfigmodule - "runtimeModules": { - "i18n": ["@lingui/core", "i18n"], - "trans": ["@lingui/react", "Trans"] - } - }], - ] - }, - images: { - remotePatterns: [ - { - protocol: 'https', - hostname: 'cdn.jsdelivr.net', - }, - ], - unoptimized: true, - }, - trailingSlash: true, - transpilePackages: ['curve-ui-kit'], - webpack(config) { - config.module.rules.push({ - test: /\.svg$/, - use: ['@svgr/webpack', 'url-loader'] - }) - - return config - }, - eslint: { - // Warning: This allows production builds to successfully complete even if - // your project has ESLint errors. - // ignoreDuringBuilds: true, - }, - typescript: { - // !! WARN !! - // Dangerously allow production builds to successfully complete even if - // your project has type errors. - // !! WARN !! - // ignoreBuildErrors: true, - }, -} - -const withBundleAnalyzer = require('@next/bundle-analyzer')({ - openAnalyzer: false, - enabled: process.env.ANALYZE === 'true' -}) - -module.exports = withBundleAnalyzer(nextConfiguration) diff --git a/apps/lend/package.json b/apps/lend/package.json deleted file mode 100644 index 38bb5357c..000000000 --- a/apps/lend/package.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "name": "lend", - "version": "0.1.0", - "private": true, - "engines": { - "node": "20" - }, - "scripts": { - "dev": "yarn i18n:compile && next dev -p 3003", - "build": "yarn i18n:extract && yarn i18n:compile && next build", - "start": "next start", - "lint": "next lint", - "typecheck": "tsc --noEmit", - "commit": "commit", - "prepublishOnly": "pinst --disable", - "postpublish": "pinst --enable", - "i18n:extract": "lingui extract", - "i18n:compile": "lingui compile", - "analyze": "ANALYZE=true next build" - }, - "peerDependencies": { - "eslint-config-custom": "*", - "react": "*", - "react-dom": "*", - "tsconfig": "*", - "typescript": "*" - }, - "dependencies": { - "@curvefi/lending-api": "^2.4.0", - "@supercharge/promise-pool": "^2.3.2", - "bignumber.js": "^9.1.2", - "cross-fetch": "^3.1.5", - "curve-ui-kit": "*", - "ethers": "^6.13.4", - "external-rewards": "*", - "focus-visible": "5.2.0", - "fuse.js": "^6.6.2", - "immer": "^9.0.12", - "intersection-observer": "^0.12.0", - "lodash": "4.17.21", - "memoizee": "^0.4.17", - "next": "^13.5.6", - "next-images": "^1.8.5", - "react": "*", - "react-aria": "3.22.0", - "react-dom": "*", - "react-is": "16.13.1", - "react-router-dom": "^6.3.0", - "react-stately": "3.18.0", - "recharts": "2.4.1", - "sharp": "^0.32.6", - "styled-components": "5.3.11", - "swr": "^1.3.0", - "ui": "*", - "zustand": "^4.5.5" - }, - "devDependencies": { - "@lingui/cli": "^4.6.0", - "@lingui/loader": "^4.6.0", - "@lingui/macro": "^4.6.0", - "@lingui/swc-plugin": "^4.0.4", - "@next/bundle-analyzer": "^13.5.6", - "@svgr/webpack": "^8.1.0", - "@types/lodash": "^4.14.182", - "@types/node": "17.0.24", - "@types/react": "*", - "@types/react-dom": "*", - "@types/styled-components": "5.1.14", - "eslint-config-custom": "*", - "pinst": "^2.1.4", - "prop-types": "^15.6.0", - "tsconfig": "*", - "typescript": "*", - "webpack": "^5.83.1" - }, - "resolutions": { - "styled-components": "^5" - } -} diff --git a/apps/lend/public/android-chrome-192x192.png b/apps/lend/public/android-chrome-192x192.png deleted file mode 100644 index f0df21c88..000000000 Binary files a/apps/lend/public/android-chrome-192x192.png and /dev/null differ diff --git a/apps/lend/public/android-chrome-512x512.png b/apps/lend/public/android-chrome-512x512.png deleted file mode 100644 index 39cb98756..000000000 Binary files a/apps/lend/public/android-chrome-512x512.png and /dev/null differ diff --git a/apps/lend/public/apple-touch-icon.png b/apps/lend/public/apple-touch-icon.png deleted file mode 100644 index 7d9762db8..000000000 Binary files a/apps/lend/public/apple-touch-icon.png and /dev/null differ diff --git a/apps/lend/public/browserconfig.xml b/apps/lend/public/browserconfig.xml deleted file mode 100644 index d416bc536..000000000 --- a/apps/lend/public/browserconfig.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - #ffffff - - - diff --git a/apps/lend/public/favicon-16x16.png b/apps/lend/public/favicon-16x16.png deleted file mode 100644 index 193be9f04..000000000 Binary files a/apps/lend/public/favicon-16x16.png and /dev/null differ diff --git a/apps/lend/public/favicon-32x32.png b/apps/lend/public/favicon-32x32.png deleted file mode 100644 index 0bd32716e..000000000 Binary files a/apps/lend/public/favicon-32x32.png and /dev/null differ diff --git a/apps/lend/public/favicon.ico b/apps/lend/public/favicon.ico deleted file mode 100644 index ce502d7db..000000000 Binary files a/apps/lend/public/favicon.ico and /dev/null differ diff --git a/apps/lend/public/logo-square.svg b/apps/lend/public/logo-square.svg deleted file mode 100644 index d33af6336..000000000 --- a/apps/lend/public/logo-square.svg +++ /dev/null @@ -1,1535 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/apps/lend/public/manifest.json b/apps/lend/public/manifest.json deleted file mode 100644 index f81487cbc..000000000 --- a/apps/lend/public/manifest.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "short_name": "Curve", - "name": "Curve", - "description": "Decentralized exchange liquidity pool designed for extremely efficient stablecoin trading and low-risk income for liquidity providers", - "iconPath": "logo-square.svg", - "icons": [ - { - "src": "favicon.ico", - "sizes": "64x64 32x32 24x24 16x16", - "type": "image/x-icon" - }, - { - "src": "android-chrome-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "android-chrome-512x512.png", - "type": "image/png", - "sizes": "512x512" - } - ], - "start_url": ".", - "theme_color": "#ffffff", - "background_color": "#ffffff", - "display": "standalone" -} diff --git a/apps/lend/public/mstile-150x150.png b/apps/lend/public/mstile-150x150.png deleted file mode 100644 index 06a5e1831..000000000 Binary files a/apps/lend/public/mstile-150x150.png and /dev/null differ diff --git a/apps/lend/public/safari-pinned-tab.svg b/apps/lend/public/safari-pinned-tab.svg deleted file mode 100644 index 3136ec8e3..000000000 --- a/apps/lend/public/safari-pinned-tab.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - -Created by potrace 1.14, written by Peter Selinger 2001-2017 - - - - - diff --git a/apps/lend/sitemap.js b/apps/lend/sitemap.js deleted file mode 100644 index f4cbcb09e..000000000 --- a/apps/lend/sitemap.js +++ /dev/null @@ -1,11 +0,0 @@ -import { MAIN_ROUTE } from '@lend/constants' - -export default function sitemap() { - const BASE_URL = 'https://lend.curve.fi' - return Object.entries(MAIN_ROUTE).map(([_, route]) => ({ - url: `${BASE_URL}${route}`, - lastModified: new Date(), - changeFrequency: 'monthly', - priority: 0.8, - })) -} diff --git a/apps/lend/src/pages/index.tsx b/apps/lend/src/pages/index.tsx deleted file mode 100644 index d61c96767..000000000 --- a/apps/lend/src/pages/index.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { useEffect } from 'react' -import { getAppRoot } from '@ui-kit/shared/routes' - -export default function Index() { - useEffect(() => { - location.href = `${getAppRoot('lend')}${location.search}${location.hash}` - }, []) - return null -} diff --git a/apps/lend/tsconfig.json b/apps/lend/tsconfig.json deleted file mode 100644 index 0e2ef44c4..000000000 --- a/apps/lend/tsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "tsconfig/nextjs.json", - "compilerOptions": { - "baseUrl": "./src", - "paths": { - "@lend/*": ["*"], - "@ui": ["../../../packages/ui/src/index.ts"], - "@ui/*": ["../../../packages/ui/src/*"], - "@ui-kit/*": ["../../../packages/curve-ui-kit/src/*"], - "@external-rewards": ["../../../packages/external-rewards/src/index.ts"] - } - }, - "exclude": ["node_modules", "cypress"], - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "../../packages/curve-ui-kit/**/*.d.ts"] -} diff --git a/apps/loan/.browserslistrc b/apps/loan/.browserslistrc deleted file mode 100644 index 6dc1b32ad..000000000 --- a/apps/loan/.browserslistrc +++ /dev/null @@ -1,2 +0,0 @@ -last 2 chrome version -last 2 firefox version \ No newline at end of file diff --git a/apps/loan/.env.sample b/apps/loan/.env.sample deleted file mode 100644 index 22294fcb1..000000000 --- a/apps/loan/.env.sample +++ /dev/null @@ -1,6 +0,0 @@ -# -# crvusd dApp Environment Variables -# -# Networks -NEXT_PUBLIC_ETHEREUM_DEV_RPC_URL= -NEXT_PUBLIC_FRONTEND_DRPC_KEY= diff --git a/apps/loan/.gitignore b/apps/loan/.gitignore deleted file mode 100644 index 6d1e364e4..000000000 --- a/apps/loan/.gitignore +++ /dev/null @@ -1,50 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -/node_modules -/.pnp -.pnp.js - -# testing -/coverage - -# next.js -/.next/ -/out/ - -# production -/build - -# misc -.DS_Store -*.pem - -# debug -npm-debug.log* -yarn-debug.log* -yarn-error.log* - -# local env files -.env.local -.env.development.local -.env.test.local -.env.production.local - -# IDE config -.idea/ -.vscode/ - -# husky -.husky - -# vercel -.vercel - -# lingui compiled translation files -src/locales - -# TypeChain generated files -src/sdk/types/ethers-contracts - -# crash report -report.*.json diff --git a/apps/loan/.huskyrc.json b/apps/loan/.huskyrc.json deleted file mode 100644 index 5a1b2a8cb..000000000 --- a/apps/loan/.huskyrc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "hooks": { - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", - "pre-commit": "lint-staged" - } -} diff --git a/apps/loan/.lintstagedrc.json b/apps/loan/.lintstagedrc.json deleted file mode 100644 index e903b669c..000000000 --- a/apps/loan/.lintstagedrc.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "*.{ts,tsx,js,jsx,json,css,md}": ["prettier --write"] -} diff --git a/apps/loan/.prettierignore b/apps/loan/.prettierignore deleted file mode 100644 index 825f81b1d..000000000 --- a/apps/loan/.prettierignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules -next.config.js diff --git a/apps/loan/lingui.config.ts b/apps/loan/lingui.config.ts deleted file mode 100644 index b6c0e4aa9..000000000 --- a/apps/loan/lingui.config.ts +++ /dev/null @@ -1 +0,0 @@ -export { config as default } from '../../lingui.config' diff --git a/apps/loan/next-env.d.ts b/apps/loan/next-env.d.ts deleted file mode 100644 index 4f11a03dc..000000000 --- a/apps/loan/next-env.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/// -/// - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/apps/loan/next.config.js b/apps/loan/next.config.js deleted file mode 100644 index b73545a38..000000000 --- a/apps/loan/next.config.js +++ /dev/null @@ -1,58 +0,0 @@ -/** @type {import('next').NextConfig} */ -const nextConfiguration = { - output: 'export', - compiler: { - styledComponents: true - }, - experimental: { - swcPlugins: [ - ['@lingui/swc-plugin', { - // Optional - // Unlike the JS version this option must be passed as object only. - // Docs https://lingui.dev/ref/conf#runtimeconfigmodule - "runtimeModules": { - "i18n": ["@lingui/core", "i18n"], - "trans": ["@lingui/react", "Trans"] - } - }], - ] - }, - images: { - remotePatterns: [ - { - protocol: 'https', - hostname: 'cdn.jsdelivr.net', - }, - ], - unoptimized: true, - }, - trailingSlash: true, - transpilePackages: ['curve-ui-kit'], - webpack(config) { - config.module.rules.push({ - test: /\.svg$/, - use: ['@svgr/webpack', 'url-loader'] - }) - - return config - }, - eslint: { - // Warning: This allows production builds to successfully complete even if - // your project has ESLint errors. - // ignoreDuringBuilds: true, - }, - typescript: { - // !! WARN !! - // Dangerously allow production builds to successfully complete even if - // your project has type errors. - // !! WARN !! - // ignoreBuildErrors: true, - }, -} - -const withBundleAnalyzer = require('@next/bundle-analyzer')({ - openAnalyzer: false, - enabled: process.env.ANALYZE === 'true' -}) - -module.exports = withBundleAnalyzer(nextConfiguration) diff --git a/apps/loan/package.json b/apps/loan/package.json deleted file mode 100644 index 55368be48..000000000 --- a/apps/loan/package.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "name": "loan", - "version": "0.1.0", - "private": true, - "engines": { - "node": "20" - }, - "scripts": { - "dev": "yarn i18n:compile && next dev -p 3001", - "build": "yarn i18n:extract && yarn i18n:compile && next build", - "start": "next start", - "lint": "next lint", - "typecheck": "tsc --noEmit", - "commit": "commit", - "prepublishOnly": "pinst --disable", - "postpublish": "pinst --enable", - "i18n:extract": "lingui extract", - "i18n:compile": "lingui compile", - "analyze": "ANALYZE=true next build" - }, - "peerDependencies": { - "eslint-config-custom": "*", - "react": "*", - "react-dom": "*", - "tsconfig": "*", - "typescript": "*" - }, - "dependencies": { - "@curvefi/lending-api": "^2.4.0", - "@curvefi/stablecoin-api": "^1.5.8", - "@supercharge/promise-pool": "^2.3.2", - "@tanstack/react-table": "^8.20.6", - "bignumber.js": "^9.1.2", - "cross-fetch": "^3.1.5", - "curve-ui-kit": "*", - "ethers": "^6.13.4", - "focus-visible": "5.2.0", - "fuse.js": "^6.6.2", - "immer": "^9.0.12", - "intersection-observer": "^0.12.0", - "lodash": "4.17.21", - "memoizee": "^0.4.17", - "next": "^13.5.6", - "next-images": "^1.8.5", - "react": "*", - "react-aria": "3.22.0", - "react-dom": "*", - "react-is": "16.13.1", - "react-router-dom": "^6.3.0", - "react-stately": "3.18.0", - "recharts": "2.4.1", - "sharp": "^0.32.6", - "styled-components": "5.3.11", - "swr": "^1.3.0", - "ui": "*", - "zustand": "^4.5.5" - }, - "devDependencies": { - "@lingui/cli": "^4.6.0", - "@lingui/loader": "^4.6.0", - "@lingui/macro": "^4.6.0", - "@lingui/swc-plugin": "^4.0.4", - "@next/bundle-analyzer": "^13.5.6", - "@svgr/webpack": "^8.1.0", - "@types/lodash": "^4.14.182", - "@types/node": "17.0.24", - "@types/react": "*", - "@types/react-dom": "*", - "@types/styled-components": "5.1.14", - "eslint-config-custom": "*", - "pinst": "^2.1.4", - "prop-types": "^15.6.0", - "tsconfig": "*", - "typescript": "*", - "webpack": "^5.83.1" - }, - "resolutions": { - "styled-components": "^5" - } -} diff --git a/apps/loan/public/android-chrome-192x192.png b/apps/loan/public/android-chrome-192x192.png deleted file mode 100644 index f0df21c88..000000000 Binary files a/apps/loan/public/android-chrome-192x192.png and /dev/null differ diff --git a/apps/loan/public/android-chrome-512x512.png b/apps/loan/public/android-chrome-512x512.png deleted file mode 100644 index 39cb98756..000000000 Binary files a/apps/loan/public/android-chrome-512x512.png and /dev/null differ diff --git a/apps/loan/public/apple-touch-icon.png b/apps/loan/public/apple-touch-icon.png deleted file mode 100644 index 7d9762db8..000000000 Binary files a/apps/loan/public/apple-touch-icon.png and /dev/null differ diff --git a/apps/loan/public/browserconfig.xml b/apps/loan/public/browserconfig.xml deleted file mode 100644 index d416bc536..000000000 --- a/apps/loan/public/browserconfig.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - #ffffff - - - diff --git a/apps/loan/public/favicon-16x16.png b/apps/loan/public/favicon-16x16.png deleted file mode 100644 index 193be9f04..000000000 Binary files a/apps/loan/public/favicon-16x16.png and /dev/null differ diff --git a/apps/loan/public/favicon-32x32.png b/apps/loan/public/favicon-32x32.png deleted file mode 100644 index 0bd32716e..000000000 Binary files a/apps/loan/public/favicon-32x32.png and /dev/null differ diff --git a/apps/loan/public/favicon.ico b/apps/loan/public/favicon.ico deleted file mode 100644 index ce502d7db..000000000 Binary files a/apps/loan/public/favicon.ico and /dev/null differ diff --git a/apps/loan/public/logo-square.svg b/apps/loan/public/logo-square.svg deleted file mode 100644 index d33af6336..000000000 --- a/apps/loan/public/logo-square.svg +++ /dev/null @@ -1,1535 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/apps/loan/public/manifest.json b/apps/loan/public/manifest.json deleted file mode 100644 index f81487cbc..000000000 --- a/apps/loan/public/manifest.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "short_name": "Curve", - "name": "Curve", - "description": "Decentralized exchange liquidity pool designed for extremely efficient stablecoin trading and low-risk income for liquidity providers", - "iconPath": "logo-square.svg", - "icons": [ - { - "src": "favicon.ico", - "sizes": "64x64 32x32 24x24 16x16", - "type": "image/x-icon" - }, - { - "src": "android-chrome-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "android-chrome-512x512.png", - "type": "image/png", - "sizes": "512x512" - } - ], - "start_url": ".", - "theme_color": "#ffffff", - "background_color": "#ffffff", - "display": "standalone" -} diff --git a/apps/loan/public/mstile-150x150.png b/apps/loan/public/mstile-150x150.png deleted file mode 100644 index 06a5e1831..000000000 Binary files a/apps/loan/public/mstile-150x150.png and /dev/null differ diff --git a/apps/loan/public/safari-pinned-tab.svg b/apps/loan/public/safari-pinned-tab.svg deleted file mode 100644 index 3136ec8e3..000000000 --- a/apps/loan/public/safari-pinned-tab.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - -Created by potrace 1.14, written by Peter Selinger 2001-2017 - - - - - diff --git a/apps/loan/sitemap.js b/apps/loan/sitemap.js deleted file mode 100644 index c87be615f..000000000 --- a/apps/loan/sitemap.js +++ /dev/null @@ -1,11 +0,0 @@ -import { MAIN_ROUTE } from '@loan/constants' - -export default function sitemap() { - const BASE_URL = 'https://crvusd.curve.fi' - return Object.entries(MAIN_ROUTE).map(([_, route]) => ({ - url: `${BASE_URL}${route}`, - lastModified: new Date(), - changeFrequency: 'monthly', - priority: 0.8, - })) -} diff --git a/apps/loan/src/pages/index.tsx b/apps/loan/src/pages/index.tsx deleted file mode 100644 index 2340af240..000000000 --- a/apps/loan/src/pages/index.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { useEffect } from 'react' -import { getAppRoot } from '@ui-kit/shared/routes' - -export default function Index() { - useEffect(() => { - location.href = `${getAppRoot('crvusd')}${location.search}${location.hash}` - }, []) - return null -} diff --git a/apps/loan/tsconfig.json b/apps/loan/tsconfig.json deleted file mode 100644 index f6eff0a13..000000000 --- a/apps/loan/tsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "tsconfig/nextjs.json", - "compilerOptions": { - "baseUrl": "./src", - "paths": { - "@loan/*": ["*"], - "@ui": ["../../../packages/ui/src/index.ts"], - "@ui/*": ["../../../packages/ui/src/*"], - "@ui-kit/*": ["../../../packages/curve-ui-kit/src/*"], - "@external-rewards": ["../../../packages/external-rewards/src/index.ts"] - } - }, - "exclude": ["node_modules", "cypress"], - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "../../packages/curve-ui-kit/**/*.d.ts"] -} diff --git a/apps/main/src/pages/crvusd.tsx b/apps/main/src/pages/crvusd.tsx index 292ed6b8e..712203b36 100644 --- a/apps/main/src/pages/crvusd.tsx +++ b/apps/main/src/pages/crvusd.tsx @@ -3,7 +3,6 @@ import dynamic from 'next/dynamic' import { Navigate, Route, Routes } from 'react-router' import { REFRESH_INTERVAL, ROUTE } from '@/loan/constants' import { i18n } from '@lingui/core' -import 'intersection-observer' import 'focus-visible' import { I18nProvider } from '@lingui/react' import { OverlayProvider } from '@react-aria/overlays' diff --git a/apps/main/src/pages/dao.tsx b/apps/main/src/pages/dao.tsx index aad38d8b6..bb97c5588 100644 --- a/apps/main/src/pages/dao.tsx +++ b/apps/main/src/pages/dao.tsx @@ -9,7 +9,6 @@ import { I18nProvider } from '@lingui/react' import { I18nProvider as AriaI18nProvider } from 'react-aria' import { OverlayProvider } from '@react-aria/overlays' import delay from 'lodash/delay' -import 'intersection-observer' import 'focus-visible' import { ThemeProvider } from '@ui-kit/shared/ui/ThemeProvider' import { dynamicActivate, initTranslation, updateAppLocale } from '@ui-kit/lib/i18n' diff --git a/apps/main/src/pages/dex.tsx b/apps/main/src/pages/dex.tsx index 679ece89d..0131b444e 100644 --- a/apps/main/src/pages/dex.tsx +++ b/apps/main/src/pages/dex.tsx @@ -3,7 +3,6 @@ import dynamic from 'next/dynamic' import { Navigate, Route, Routes } from 'react-router' import { REFRESH_INTERVAL, ROUTE } from '@/dex/constants' import 'focus-visible' -import 'intersection-observer' import { i18n } from '@lingui/core' import { I18nProvider } from '@lingui/react' import { OverlayProvider } from '@react-aria/overlays' diff --git a/apps/main/src/pages/lend.tsx b/apps/main/src/pages/lend.tsx index c56ab7b61..5b620ffbc 100644 --- a/apps/main/src/pages/lend.tsx +++ b/apps/main/src/pages/lend.tsx @@ -7,7 +7,6 @@ import { I18nProvider } from '@lingui/react' import { OverlayProvider } from '@react-aria/overlays' import delay from 'lodash/delay' import { useCallback, useEffect, useState } from 'react' -import 'intersection-observer' import 'focus-visible' import { HashRouter } from 'react-router-dom' import { connectWalletLocales, initOnboard } from '@ui-kit/features/connect-wallet' diff --git a/yarn.lock b/yarn.lock index 7ed54a5d3..b88db35d0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3328,19 +3328,6 @@ __metadata: languageName: node linkType: hard -"@curvefi/api@npm:^2.65.28": - version: 2.65.28 - resolution: "@curvefi/api@npm:2.65.28" - dependencies: - "@curvefi/ethcall": "npm:6.0.7" - axios: "npm:^0.21.1" - bignumber.js: "npm:^9.0.1" - ethers: "npm:^6.11.0" - memoizee: "npm:^0.4.15" - checksum: 10c0/588ed69b6b100f4ee4b4db2d9f05c9bb98bac1f77814d4ae4e047b9191bad6a662f3a36cee4a1c93a9ddd881fcdd1778b5429e8737c2f0fd7a71e7c2d74c6829 - languageName: node - linkType: hard - "@curvefi/api@npm:^2.66.1": version: 2.66.1 resolution: "@curvefi/api@npm:2.66.1" @@ -3365,19 +3352,6 @@ __metadata: languageName: node linkType: hard -"@curvefi/lending-api@npm:^2.4.0": - version: 2.4.0 - resolution: "@curvefi/lending-api@npm:2.4.0" - dependencies: - axios: "npm:^0.21.1" - bignumber.js: "npm:^9.0.1" - ethcall: "npm:^6.0.2" - ethers: "npm:^6.10.0" - memoizee: "npm:^0.4.15" - checksum: 10c0/5cfb6b6c0043dc0d6e37cadbb0f3d39b4bdff2464a8c4e28c514b2c5f52caf5c55fb3beed570601825fd3b0def78ff6b534f720b3700e4f863fd3e998eff67ea - languageName: node - linkType: hard - "@curvefi/lending-api@npm:^2.4.1": version: 2.4.1 resolution: "@curvefi/lending-api@npm:2.4.1" @@ -12768,13 +12742,6 @@ __metadata: languageName: node linkType: hard -"arg@npm:^5.0.2": - version: 5.0.2 - resolution: "arg@npm:5.0.2" - checksum: 10c0/ccaf86f4e05d342af6666c569f844bec426595c567d32a8289715087825c2ca7edd8a3d204e4d2fb2aa4602e09a57d0c13ea8c9eea75aac3dbb4af5514e6800e - languageName: node - linkType: hard - "argparse@npm:^2.0.1": version: 2.0.1 resolution: "argparse@npm:2.0.1" @@ -13112,16 +13079,6 @@ __metadata: languageName: node linkType: hard -"axios@npm:^0.27.2": - version: 0.27.2 - resolution: "axios@npm:0.27.2" - dependencies: - follow-redirects: "npm:^1.14.9" - form-data: "npm:^4.0.0" - checksum: 10c0/76d673d2a90629944b44d6f345f01e58e9174690f635115d5ffd4aca495d99bcd8f95c590d5ccb473513f5ebc1d1a6e8934580d0c57cdd0498c3a101313ef771 - languageName: node - linkType: hard - "axios@npm:^1.7.7": version: 1.7.7 resolution: "axios@npm:1.7.7" @@ -13455,7 +13412,7 @@ __metadata: languageName: node linkType: hard -"bluebird@npm:3.7.2, bluebird@npm:^3.7.2": +"bluebird@npm:^3.7.2": version: 3.7.2 resolution: "bluebird@npm:3.7.2" checksum: 10c0/680de03adc54ff925eaa6c7bb9a47a0690e8b5de60f4792604aae8ed618c65e6b63a7893b57ca924beaf53eee69c5af4f8314148c08124c550fe1df1add897d2 @@ -14113,7 +14070,7 @@ __metadata: languageName: node linkType: hard -"check-more-types@npm:2.24.0, check-more-types@npm:^2.24.0": +"check-more-types@npm:^2.24.0": version: 2.24.0 resolution: "check-more-types@npm:2.24.0" checksum: 10c0/93fda2c32eb5f6cd1161a84a2f4107c0e00b40a851748516791dd9a0992b91bdf504e3bf6bf7673ce603ae620042e11ed4084d16d6d92b36818abc9c2e725520 @@ -14423,7 +14380,7 @@ __metadata: languageName: node linkType: hard -"clsx@npm:^2.0.0, clsx@npm:^2.1.1": +"clsx@npm:^2.1.1": version: 2.1.1 resolution: "clsx@npm:2.1.1" checksum: 10c0/c4c8eb865f8c82baab07e71bfa8897c73454881c4f99d6bc81585aecd7c441746c1399d08363dc096c550cceaf97bd4ce1e8854e1771e9998d9f94c4fe075839 @@ -15368,66 +15325,6 @@ __metadata: languageName: node linkType: hard -"dao@workspace:apps/dao": - version: 0.0.0-use.local - resolution: "dao@workspace:apps/dao" - dependencies: - "@curvefi/api": "npm:^2.65.28" - "@hookform/error-message": "npm:^2.0.1" - "@hookform/resolvers": "npm:^3.9.0" - "@lingui/cli": "npm:^4.6.0" - "@lingui/loader": "npm:^4.6.0" - "@lingui/macro": "npm:^4.6.0" - "@lingui/swc-plugin": "npm:^4.0.4" - "@next/bundle-analyzer": "npm:^13.5.6" - "@supercharge/promise-pool": "npm:^2.3.2" - "@svgr/webpack": "npm:^8.1.0" - "@types/lodash": "npm:^4.14.182" - "@types/node": "npm:17.0.24" - "@types/react": "npm:*" - "@types/react-dom": "npm:*" - "@types/styled-components": "npm:5.1.14" - "@types/validator": "npm:^13.12.1" - bignumber.js: "npm:^9.1.2" - curve-ui-kit: "npm:*" - eslint-config-custom: "npm:*" - ethers: "npm:^6.13.4" - focus-visible: "npm:5.2.0" - fuse.js: "npm:^6.6.2" - immer: "npm:^9.0.12" - intersection-observer: "npm:^0.12.0" - lightweight-charts: "npm:4.1.2" - lodash: "npm:4.17.21" - memoizee: "npm:^0.4.17" - next: "npm:^13.5.6" - next-images: "npm:^1.8.5" - pinst: "npm:^2.1.4" - react: "npm:*" - react-aria: "npm:3.22.0" - react-dom: "npm:*" - react-hook-form: "npm:^7.53.0" - react-is: "npm:16.13.1" - react-router-dom: "npm:^6.3.0" - react-stately: "npm:3.18.0" - recharts: "npm:^2.12.6" - sharp: "npm:^0.32.6" - start-server-and-test: "npm:2.0.0" - styled-components: "npm:5.3.11" - swr: "npm:^2.2.2" - tsconfig: "npm:*" - typescript: "npm:*" - ui: "npm:*" - webpack: "npm:^5.83.1" - zustand: "npm:^4.5.5" - peerDependencies: - eslint-config-custom: "*" - react: "*" - react-dom: "*" - tsconfig: "*" - typescript: "*" - languageName: unknown - linkType: soft - "dargs@npm:^8.0.0": version: 8.1.0 resolution: "dargs@npm:8.1.0" @@ -16021,7 +15918,7 @@ __metadata: languageName: node linkType: hard -"duplexer@npm:^0.1.2, duplexer@npm:~0.1.1": +"duplexer@npm:^0.1.2": version: 0.1.2 resolution: "duplexer@npm:0.1.2" checksum: 10c0/c57bcd4bdf7e623abab2df43a7b5b23d18152154529d166c1e0da6bee341d84c432d157d7e97b32fecb1bf3a8b8857dd85ed81a915789f550637ed25b8e64fc2 @@ -17622,7 +17519,7 @@ __metadata: languageName: node linkType: hard -"ethers@npm:^6.11.0, ethers@npm:^6.13.4": +"ethers@npm:^6.13.4": version: 6.13.4 resolution: "ethers@npm:6.13.4" dependencies: @@ -17657,21 +17554,6 @@ __metadata: languageName: node linkType: hard -"event-stream@npm:=3.3.4": - version: 3.3.4 - resolution: "event-stream@npm:3.3.4" - dependencies: - duplexer: "npm:~0.1.1" - from: "npm:~0" - map-stream: "npm:~0.1.0" - pause-stream: "npm:0.0.11" - split: "npm:0.3" - stream-combiner: "npm:~0.0.4" - through: "npm:~2.3.1" - checksum: 10c0/c3ec4e1efc27ab3e73a98923f0a2fa9a19051b87068fea2f3d53d2e4e8c5cfdadf8c8a115b17f3d90b16a46432d396bad91b6e8d0cceb3e449be717a03b75209 - languageName: node - linkType: hard - "event-target-shim@npm:^5.0.0": version: 5.0.1 resolution: "event-target-shim@npm:5.0.1" @@ -17742,7 +17624,7 @@ __metadata: languageName: node linkType: hard -"execa@npm:5.1.1, execa@npm:^5.1.1": +"execa@npm:^5.1.1": version: 5.1.1 resolution: "execa@npm:5.1.1" dependencies: @@ -17964,13 +17846,6 @@ __metadata: languageName: node linkType: hard -"fast-equals@npm:^5.0.1": - version: 5.0.1 - resolution: "fast-equals@npm:5.0.1" - checksum: 10c0/d7077b8b681036c2840ed9860a3048e44fc268fad2b525b8f25b43458be0c8ad976152eb4b475de9617170423c5b802121ebb61ed6641c3ac035fadaf805c8c0 - languageName: node - linkType: hard - "fast-fifo@npm:^1.1.0, fast-fifo@npm:^1.2.0": version: 1.3.2 resolution: "fast-fifo@npm:1.3.2" @@ -18302,16 +18177,6 @@ __metadata: languageName: node linkType: hard -"follow-redirects@npm:^1.14.9": - version: 1.15.9 - resolution: "follow-redirects@npm:1.15.9" - peerDependenciesMeta: - debug: - optional: true - checksum: 10c0/5829165bd112c3c0e82be6c15b1a58fa9dcfaede3b3c54697a82fe4a62dd5ae5e8222956b448d2f98e331525f05d00404aba7d696de9e761ef6e42fdc780244f - languageName: node - linkType: hard - "for-each@npm:^0.3.3": version: 0.3.3 resolution: "for-each@npm:0.3.3" @@ -18418,13 +18283,6 @@ __metadata: languageName: node linkType: hard -"from@npm:~0": - version: 0.1.7 - resolution: "from@npm:0.1.7" - checksum: 10c0/3aab5aea8fe8e1f12a5dee7f390d46a93431ce691b6222dcd5701c5d34378e51ca59b44967da1105a0f90fcdf5d7629d963d51e7ccd79827d19693bdcfb688d4 - languageName: node - linkType: hard - "fromentries@npm:^1.3.2": version: 1.3.2 resolution: "fromentries@npm:1.3.2" @@ -19663,13 +19521,6 @@ __metadata: languageName: node linkType: hard -"intersection-observer@npm:^0.12.0": - version: 0.12.0 - resolution: "intersection-observer@npm:0.12.0" - checksum: 10c0/e23d2d3c1a3eddfda9ff1b4c249976fb871dac0b4c3d7d92a680f51982bafdd6ec7b25f05397c0618b48310f8604beba323def131ca76ac9014b2010f4f3c784 - languageName: node - linkType: hard - "intl-messageformat@npm:^10.1.0": version: 10.2.1 resolution: "intl-messageformat@npm:10.2.1" @@ -20405,7 +20256,7 @@ __metadata: languageName: node linkType: hard -"joi@npm:^17.13.3, joi@npm:^17.7.0": +"joi@npm:^17.13.3": version: 17.13.3 resolution: "joi@npm:17.13.3" dependencies: @@ -20719,70 +20570,13 @@ __metadata: languageName: node linkType: hard -"lazy-ass@npm:1.6.0, lazy-ass@npm:^1.6.0": +"lazy-ass@npm:^1.6.0": version: 1.6.0 resolution: "lazy-ass@npm:1.6.0" checksum: 10c0/4af6cb9a333fbc811268c745f9173fba0f99ecb817cc9c0fae5dbf986b797b730ff525504128f6623b91aba32b02124553a34b0d14de3762b637b74d7233f3bd languageName: node linkType: hard -"lend@workspace:apps/lend": - version: 0.0.0-use.local - resolution: "lend@workspace:apps/lend" - dependencies: - "@curvefi/lending-api": "npm:^2.4.0" - "@lingui/cli": "npm:^4.6.0" - "@lingui/loader": "npm:^4.6.0" - "@lingui/macro": "npm:^4.6.0" - "@lingui/swc-plugin": "npm:^4.0.4" - "@next/bundle-analyzer": "npm:^13.5.6" - "@supercharge/promise-pool": "npm:^2.3.2" - "@svgr/webpack": "npm:^8.1.0" - "@types/lodash": "npm:^4.14.182" - "@types/node": "npm:17.0.24" - "@types/react": "npm:*" - "@types/react-dom": "npm:*" - "@types/styled-components": "npm:5.1.14" - bignumber.js: "npm:^9.1.2" - cross-fetch: "npm:^3.1.5" - curve-ui-kit: "npm:*" - eslint-config-custom: "npm:*" - ethers: "npm:^6.13.4" - external-rewards: "npm:*" - focus-visible: "npm:5.2.0" - fuse.js: "npm:^6.6.2" - immer: "npm:^9.0.12" - intersection-observer: "npm:^0.12.0" - lodash: "npm:4.17.21" - memoizee: "npm:^0.4.17" - next: "npm:^13.5.6" - next-images: "npm:^1.8.5" - pinst: "npm:^2.1.4" - prop-types: "npm:^15.6.0" - react: "npm:*" - react-aria: "npm:3.22.0" - react-dom: "npm:*" - react-is: "npm:16.13.1" - react-router-dom: "npm:^6.3.0" - react-stately: "npm:3.18.0" - recharts: "npm:2.4.1" - sharp: "npm:^0.32.6" - styled-components: "npm:5.3.11" - swr: "npm:^1.3.0" - tsconfig: "npm:*" - typescript: "npm:*" - ui: "npm:*" - webpack: "npm:^5.83.1" - zustand: "npm:^4.5.5" - peerDependencies: - eslint-config-custom: "*" - react: "*" - react-dom: "*" - tsconfig: "*" - typescript: "*" - languageName: unknown - linkType: soft - "leven@npm:^3.1.0": version: 3.1.0 resolution: "leven@npm:3.1.0" @@ -20993,64 +20787,6 @@ __metadata: languageName: node linkType: hard -"loan@workspace:apps/loan": - version: 0.0.0-use.local - resolution: "loan@workspace:apps/loan" - dependencies: - "@curvefi/lending-api": "npm:^2.4.0" - "@curvefi/stablecoin-api": "npm:^1.5.8" - "@lingui/cli": "npm:^4.6.0" - "@lingui/loader": "npm:^4.6.0" - "@lingui/macro": "npm:^4.6.0" - "@lingui/swc-plugin": "npm:^4.0.4" - "@next/bundle-analyzer": "npm:^13.5.6" - "@supercharge/promise-pool": "npm:^2.3.2" - "@svgr/webpack": "npm:^8.1.0" - "@tanstack/react-table": "npm:^8.20.6" - "@types/lodash": "npm:^4.14.182" - "@types/node": "npm:17.0.24" - "@types/react": "npm:*" - "@types/react-dom": "npm:*" - "@types/styled-components": "npm:5.1.14" - bignumber.js: "npm:^9.1.2" - cross-fetch: "npm:^3.1.5" - curve-ui-kit: "npm:*" - eslint-config-custom: "npm:*" - ethers: "npm:^6.13.4" - focus-visible: "npm:5.2.0" - fuse.js: "npm:^6.6.2" - immer: "npm:^9.0.12" - intersection-observer: "npm:^0.12.0" - lodash: "npm:4.17.21" - memoizee: "npm:^0.4.17" - next: "npm:^13.5.6" - next-images: "npm:^1.8.5" - pinst: "npm:^2.1.4" - prop-types: "npm:^15.6.0" - react: "npm:*" - react-aria: "npm:3.22.0" - react-dom: "npm:*" - react-is: "npm:16.13.1" - react-router-dom: "npm:^6.3.0" - react-stately: "npm:3.18.0" - recharts: "npm:2.4.1" - sharp: "npm:^0.32.6" - styled-components: "npm:5.3.11" - swr: "npm:^1.3.0" - tsconfig: "npm:*" - typescript: "npm:*" - ui: "npm:*" - webpack: "npm:^5.83.1" - zustand: "npm:^4.5.5" - peerDependencies: - eslint-config-custom: "*" - react: "*" - react-dom: "*" - tsconfig: "*" - typescript: "*" - languageName: unknown - linkType: soft - "locate-path@npm:^2.0.0": version: 2.0.0 resolution: "locate-path@npm:2.0.0" @@ -21531,13 +21267,6 @@ __metadata: languageName: node linkType: hard -"map-stream@npm:~0.1.0": - version: 0.1.0 - resolution: "map-stream@npm:0.1.0" - checksum: 10c0/7dd6debe511c1b55d9da75e1efa65a28b1252a2d8357938d2e49b412713c478efbaefb0cdf0ee0533540c3bf733e8f9f71e1a15aa0fe74bf71b64e75bf1576bd - languageName: node - linkType: hard - "markdown-to-jsx@npm:^7.4.5": version: 7.5.0 resolution: "markdown-to-jsx@npm:7.5.0" @@ -21867,7 +21596,7 @@ __metadata: languageName: node linkType: hard -"minimist@npm:^1.2.0, minimist@npm:^1.2.3, minimist@npm:^1.2.6, minimist@npm:^1.2.7, minimist@npm:^1.2.8": +"minimist@npm:^1.2.0, minimist@npm:^1.2.3, minimist@npm:^1.2.6, minimist@npm:^1.2.8": version: 1.2.8 resolution: "minimist@npm:1.2.8" checksum: 10c0/19d3fcdca050087b84c2029841a093691a91259a47def2f18222f41e7645a0b7c44ef4b40e88a1e58a40c84d2ef0ee6047c55594d298146d0eb3f6b737c20ce6 @@ -23077,15 +22806,6 @@ __metadata: languageName: node linkType: hard -"pause-stream@npm:0.0.11": - version: 0.0.11 - resolution: "pause-stream@npm:0.0.11" - dependencies: - through: "npm:~2.3" - checksum: 10c0/86f12c64cdaaa8e45ebaca4e39a478e1442db8b4beabc280b545bfaf79c0e2f33c51efb554aace5c069cc441c7b924ba484837b345eaa4ba6fc940d62f826802 - languageName: node - linkType: hard - "pbkdf2@npm:^3.0.17, pbkdf2@npm:^3.0.3, pbkdf2@npm:^3.1.2": version: 3.1.2 resolution: "pbkdf2@npm:3.1.2" @@ -23568,7 +23288,7 @@ __metadata: languageName: node linkType: hard -"prop-types@npm:^15.6.0, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1": +"prop-types@npm:^15.6.2, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1": version: 15.8.1 resolution: "prop-types@npm:15.8.1" dependencies: @@ -23630,17 +23350,6 @@ __metadata: languageName: node linkType: hard -"ps-tree@npm:1.2.0": - version: 1.2.0 - resolution: "ps-tree@npm:1.2.0" - dependencies: - event-stream: "npm:=3.3.4" - bin: - ps-tree: ./bin/ps-tree.js - checksum: 10c0/9d1c159e0890db5aa05f84d125193c2190a6c4ecd457596fd25e7611f8f747292a846459dcc0244e27d45529d4cea6d1010c3a2a087fad02624d12fdb7d97c22 - languageName: node - linkType: hard - "pseudolocale@npm:^2.0.0": version: 2.0.0 resolution: "pseudolocale@npm:2.0.0" @@ -24136,20 +23845,6 @@ __metadata: languageName: node linkType: hard -"react-smooth@npm:^4.0.0": - version: 4.0.1 - resolution: "react-smooth@npm:4.0.1" - dependencies: - fast-equals: "npm:^5.0.1" - prop-types: "npm:^15.8.1" - react-transition-group: "npm:^4.4.5" - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 10c0/5c19a2c147798c3de1329d442b1a371139c01113cc108c38c201b63502c329f943ede505c44089d26a6563eaa72a67b845d538d956f34a389b37fd3961308834 - languageName: node - linkType: hard - "react-stately@npm:3.18.0": version: 3.18.0 resolution: "react-stately@npm:3.18.0" @@ -24347,25 +24042,6 @@ __metadata: languageName: node linkType: hard -"recharts@npm:^2.12.6": - version: 2.13.3 - resolution: "recharts@npm:2.13.3" - dependencies: - clsx: "npm:^2.0.0" - eventemitter3: "npm:^4.0.1" - lodash: "npm:^4.17.21" - react-is: "npm:^18.3.1" - react-smooth: "npm:^4.0.0" - recharts-scale: "npm:^0.4.4" - tiny-invariant: "npm:^1.3.1" - victory-vendor: "npm:^36.6.8" - peerDependencies: - react: ^16.0.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.0.0 || ^17.0.0 || ^18.0.0 - checksum: 10c0/67c516cd142da0e5968cf9b723c1bc08c2324ff4c41952d623dfce06e8c13751e1ef885b2e39aaeb5e32595566c8d91633328850adee70ad53bc8685adff456d - languageName: node - linkType: hard - "redent@npm:^3.0.0": version: 3.0.0 resolution: "redent@npm:3.0.0" @@ -24994,7 +24670,7 @@ __metadata: languageName: node linkType: hard -"rxjs@npm:^7.5.1, rxjs@npm:^7.5.2, rxjs@npm:^7.5.5, rxjs@npm:^7.8.0, rxjs@npm:^7.8.1": +"rxjs@npm:^7.5.1, rxjs@npm:^7.5.2, rxjs@npm:^7.5.5, rxjs@npm:^7.8.1": version: 7.8.1 resolution: "rxjs@npm:7.8.1" dependencies: @@ -25770,15 +25446,6 @@ __metadata: languageName: node linkType: hard -"split@npm:0.3": - version: 0.3.3 - resolution: "split@npm:0.3.3" - dependencies: - through: "npm:2" - checksum: 10c0/88c09b1b4de84953bf5d6c153123a1fbb20addfea9381f70d27b4eb6b2bfbadf25d313f8f5d3fd727d5679b97bfe54da04766b91010f131635bf49e51d5db3fc - languageName: node - linkType: hard - "sprintf-js@npm:^1.1.3": version: 1.1.3 resolution: "sprintf-js@npm:1.1.3" @@ -25839,26 +25506,6 @@ __metadata: languageName: node linkType: hard -"start-server-and-test@npm:2.0.0": - version: 2.0.0 - resolution: "start-server-and-test@npm:2.0.0" - dependencies: - arg: "npm:^5.0.2" - bluebird: "npm:3.7.2" - check-more-types: "npm:2.24.0" - debug: "npm:4.3.4" - execa: "npm:5.1.1" - lazy-ass: "npm:1.6.0" - ps-tree: "npm:1.2.0" - wait-on: "npm:7.0.1" - bin: - server-test: src/bin/start.js - start-server-and-test: src/bin/start.js - start-test: src/bin/start.js - checksum: 10c0/b8eba7e98bced3a896040cf1d1372526aba0d65cf6ee3a22aa64a2c74ece01b90489e4e670070c47e4527589af17541c03f50c3b3df2b714605f0302f9008e6b - languageName: node - linkType: hard - "statuses@npm:2.0.1": version: 2.0.1 resolution: "statuses@npm:2.0.1" @@ -25896,15 +25543,6 @@ __metadata: languageName: node linkType: hard -"stream-combiner@npm:~0.0.4": - version: 0.0.4 - resolution: "stream-combiner@npm:0.0.4" - dependencies: - duplexer: "npm:~0.1.1" - checksum: 10c0/8075a94c0eb0f20450a8236cb99d4ce3ea6e6a4b36d8baa7440b1a08cde6ffd227debadffaecd80993bd334282875d0e927ab5b88484625e01970dd251004ff5 - languageName: node - linkType: hard - "stream-http@npm:^3.2.0": version: 3.2.0 resolution: "stream-http@npm:3.2.0" @@ -26372,15 +26010,6 @@ __metadata: languageName: node linkType: hard -"swr@npm:^1.3.0": - version: 1.3.0 - resolution: "swr@npm:1.3.0" - peerDependencies: - react: ^16.11.0 || ^17.0.0 || ^18.0.0 - checksum: 10c0/a02b3dd621e5117320ad45788fb407f60301985edb5fa4197f1b95e28cbe8b3bd093e3cb9a6002102f8c12b40a85941ee525f2b47273366870435aecd61d0e7b - languageName: node - linkType: hard - "swr@npm:^2.2.2": version: 2.2.2 resolution: "swr@npm:2.2.2" @@ -26595,7 +26224,7 @@ __metadata: languageName: node linkType: hard -"through@npm:2, through@npm:>=2.2.7 <3, through@npm:^2.3.6, through@npm:^2.3.8, through@npm:~2.3, through@npm:~2.3.1": +"through@npm:>=2.2.7 <3, through@npm:^2.3.6, through@npm:^2.3.8": version: 2.3.8 resolution: "through@npm:2.3.8" checksum: 10c0/4b09f3774099de0d4df26d95c5821a62faee32c7e96fb1f4ebd54a2d7c11c57fe88b0a0d49cf375de5fee5ae6bf4eb56dbbf29d07366864e2ee805349970d3cc @@ -27873,21 +27502,6 @@ __metadata: languageName: node linkType: hard -"wait-on@npm:7.0.1": - version: 7.0.1 - resolution: "wait-on@npm:7.0.1" - dependencies: - axios: "npm:^0.27.2" - joi: "npm:^17.7.0" - lodash: "npm:^4.17.21" - minimist: "npm:^1.2.7" - rxjs: "npm:^7.8.0" - bin: - wait-on: bin/wait-on - checksum: 10c0/2a9c56d26dac573e6bfd36e85d99f072021c23dc2c0faab900a411460b58e16982b96b018d9168c366040f56196314fa46f3d79ef19e3dc38f55824d5035f2ec - languageName: node - linkType: hard - "wait-on@npm:^8.0.1": version: 8.0.1 resolution: "wait-on@npm:8.0.1"