Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies Aug 24 #917

Closed
wants to merge 13 commits into from
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged --verbose
541 changes: 541 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ nodeLinker: node-modules
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: "@yarnpkg/plugin-typescript"
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-3.2.3.cjs
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

Before you begin, you need to install the following tools:

- [Node (>= v18.17)](https://nodejs.org/en/download/)
- [Node (>= v18.18)](https://nodejs.org/en/download/)
- Yarn ([v1](https://classic.yarnpkg.com/en/docs/install/) or [v2+](https://yarnpkg.com/getting-started/install))
- [Git](https://git-scm.com/downloads)

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@
"next:check-types": "yarn workspace @se-2/nextjs check-types",
"next:build": "yarn workspace @se-2/nextjs build",
"next:serve": "yarn workspace @se-2/nextjs serve",
"postinstall": "husky install",
"postinstall": "husky",
"precommit": "lint-staged",
"vercel": "yarn workspace @se-2/nextjs vercel",
"vercel:yolo": "yarn workspace @se-2/nextjs vercel:yolo"
},
"packageManager": "yarn@3.2.3",
"devDependencies": {
"husky": "^8.0.1",
"lint-staged": "^13.0.3"
"husky": "^9.1.5",
"lint-staged": "^15.2.10"
},
"engines": {
"node": ">=18.17.0"
"node": ">=18.18.0"
}
}
58 changes: 29 additions & 29 deletions packages/hardhat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,39 +18,39 @@
},
"devDependencies": {
"@ethersproject/abi": "^5.7.0",
"@ethersproject/providers": "^5.7.1",
"@nomicfoundation/hardhat-chai-matchers": "^2.0.3",
"@nomicfoundation/hardhat-ethers": "^3.0.5",
"@nomicfoundation/hardhat-network-helpers": "^1.0.6",
"@nomicfoundation/hardhat-verify": "^2.0.3",
"@typechain/ethers-v5": "^10.1.0",
"@ethersproject/providers": "^5.7.2",
"@nomicfoundation/hardhat-chai-matchers": "^2.0.7",
"@nomicfoundation/hardhat-ethers": "^3.0.8",
"@nomicfoundation/hardhat-network-helpers": "^1.0.11",
"@nomicfoundation/hardhat-verify": "^2.0.10",
"@typechain/ethers-v5": "^11.1.2",
"@typechain/hardhat": "^9.1.0",
"@types/eslint": "^8",
"@types/mocha": "^9.1.1",
"@types/prettier": "^2",
"@types/qrcode": "^1",
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "latest",
"chai": "^4.3.6",
"eslint": "^8.26.0",
"eslint-config-prettier": "^8.5.0",
"@types/eslint": "^8.56.12",
"@types/mocha": "^10.0.7",
"@types/prettier": "^2.7.3",
"@types/qrcode": "^1.5.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"chai": "^4.5.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^4.2.1",
"ethers": "^6.10.0",
"hardhat": "^2.19.4",
"hardhat-deploy": "^0.11.45",
"hardhat-deploy-ethers": "^0.4.1",
"hardhat-gas-reporter": "^1.0.9",
"prettier": "^2.8.4",
"solidity-coverage": "^0.8.5",
"ts-node": "^10.9.1",
"typechain": "^8.1.0",
"typescript": "^5.1.6"
"ethers": "^6.13.2",
"hardhat": "^2.22.10",
"hardhat-deploy": "^0.12.4",
"hardhat-deploy-ethers": "^0.4.2",
"hardhat-gas-reporter": "^2.2.1",
"prettier": "^2.8.8",
"solidity-coverage": "^0.8.13",
"ts-node": "^10.9.2",
"typechain": "^8.3.2",
"typescript": "^5.5.4"
},
"dependencies": {
"@openzeppelin/contracts": "^4.8.1",
"@openzeppelin/contracts": "^5.0.2",
"@typechain/ethers-v6": "^0.5.1",
"dotenv": "^16.0.3",
"envfile": "^6.18.0",
"qrcode": "^1.5.1"
"dotenv": "^16.4.5",
"envfile": "^7.1.0",
"qrcode": "^1.5.4"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { useState } from "react";
import Link from "next/link";
import { CopyToClipboard } from "react-copy-to-clipboard";
import CopyToClipboard from "react-copy-to-clipboard";
import { CheckCircleIcon, DocumentDuplicateIcon } from "@heroicons/react/24/outline";

export const TransactionHash = ({ hash }: { hash: string }) => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useState } from "react";
import { CopyToClipboard } from "react-copy-to-clipboard";
import CopyToClipboard from "react-copy-to-clipboard";
import { TransactionReceipt } from "viem";
import { CheckCircleIcon, DocumentDuplicateIcon } from "@heroicons/react/24/outline";
import { ObjectFieldDisplay } from "~~/app/debug/_components/contract";
Expand Down
1 change: 1 addition & 0 deletions packages/nextjs/components/ScaffoldEthAppWithProviders.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export const queryClient = new QueryClient({
defaultOptions: {
queries: {
refetchOnWindowFocus: false,
structuralSharing: false,
},
},
});
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/components/scaffold-eth/Address.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { useEffect, useState } from "react";
import Link from "next/link";
import { CopyToClipboard } from "react-copy-to-clipboard";
import CopyToClipboard from "react-copy-to-clipboard";
import { Address as AddressType, getAddress, isAddress } from "viem";
import { hardhat } from "viem/chains";
import { normalize } from "viem/ens";
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
68 changes: 33 additions & 35 deletions packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,52 +8,50 @@
"build": "next build",
"serve": "next start",
"lint": "next lint",
"format": "prettier --write . '!(node_modules|.next|contracts)/**/*'",
"format": "prettier --write . '!(node_modules|.next|contracts|out)/**/*'",
"check-types": "tsc --noEmit --incremental",
"vercel": "vercel",
"vercel:yolo": "vercel --build-env NEXT_PUBLIC_IGNORE_BUILD_ERROR=true"
},
"dependencies": {
"@heroicons/react": "^2.0.11",
"@rainbow-me/rainbowkit": "2.1.2",
"@tanstack/react-query": "^5.28.6",
"@uniswap/sdk-core": "^4.0.1",
"@uniswap/v2-sdk": "^3.0.1",
"blo": "^1.0.1",
"@heroicons/react": "^2.1.5",
"@rainbow-me/rainbowkit": "2.1.5",
"@tanstack/react-query": "^5.54.1",
"@uniswap/sdk-core": "^5.3.1",
"@uniswap/v2-sdk": "^4.4.1",
"blo": "^1.2.0",
"burner-connector": "^0.0.8",
"daisyui": "4.5.0",
"next": "^14.0.4",
"next-themes": "^0.2.1",
"daisyui": "4.12.10",
"next": "^14.2.8",
"next-themes": "^0.3.0",
"nprogress": "^0.2.0",
"qrcode.react": "^3.1.0",
"react": "^18.2.0",
"qrcode.react": "^3.2.0",
"react": "^18.3.1",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "^18.2.0",
"react-hot-toast": "^2.4.0",
"use-debounce": "^8.0.4",
"usehooks-ts": "^2.13.0",
"viem": "2.17.4",
"wagmi": "2.10.10",
"zustand": "^4.1.2"
"react-dom": "^18.3.1",
"react-hot-toast": "^2.4.1",
"usehooks-ts": "^3.1.0",
"viem": "2.21.2",
"wagmi": "2.12.8",
"zustand": "^4.5.5"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/node": "^17.0.35",
"@types/nprogress": "^0",
"@types/react": "^18.0.9",
"@types/react-copy-to-clipboard": "^5.0.4",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/node": "^18.19.50",
"@types/nprogress": "^0.2.3",
"@types/react": "^18.3.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"abitype": "1.0.5",
"autoprefixer": "^10.4.12",
"eslint": "^8.15.0",
"eslint-config-next": "^14.0.4",
"eslint-config-prettier": "^8.5.0",
"autoprefixer": "^10.4.20",
"eslint": "^8.57.0",
"eslint-config-next": "^14.2.8",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^4.2.1",
"postcss": "^8.4.16",
"prettier": "^2.8.4",
"tailwindcss": "^3.4.3",
"type-fest": "^4.6.0",
"typescript": "5.5.3",
"vercel": "^32.4.1"
"postcss": "^8.4.45",
"prettier": "^2.8.8",
"tailwindcss": "^3.4.10",
"type-fest": "^4.26.0",
"typescript": "5.5.4",
"vercel": "^37.3.0"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/25414#issuecomment-1180518151
declare module "react-copy-to-clipboard" {
import React from "react";

interface Options {
debug: boolean;
message: string;
}

interface Props {
text: string;
onCopy?(a: string, b: boolean): void;
options?: Options;
}

class CopyToClipboard extends React.Component<PropsWithChildren<Props>, unknown> {}
export default CopyToClipboard;
}
Loading
Loading