Skip to content

Commit

Permalink
Merge pull request #879 from ensdomains/remove-all-unused-deps
Browse files Browse the repository at this point in the history
remove a bunch of unused deps
  • Loading branch information
talentlessguy authored Sep 20, 2024
2 parents 1fa176e + e74f31a commit 3c58874
Show file tree
Hide file tree
Showing 6 changed files with 127 additions and 179 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/knip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: 'pnpm'

- run: pnpm install --frozen-lockfile
Expand Down
1 change: 0 additions & 1 deletion deploy/00_deploy_multicall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { existsSync, mkdirSync } from 'fs'
import { readFile, writeFile } from 'fs/promises'
import { DeployFunction } from 'hardhat-deploy/types'
import { HardhatRuntimeEnvironment } from 'hardhat/types'
import fetch from 'node-fetch-commonjs'
import { resolve } from 'path'

const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
Expand Down
14 changes: 3 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,15 @@
"generate:coinMapper": "ts-node ./scripts/coin-mapper.ts",
"compose": "cp ./node_modules/@ensdomains/ens-test-env/src/docker-compose.yml ./docker-compose.yml",
"subgraph:update": "ens-test-env subgraph --var NEXT_PUBLIC_DEPLOYMENT_ADDRESSES",
"knip": "npx knip",
"knip:fix": "npx knip --fix --allow-remove-files"
"knip": "knip",
"knip:fix": "knip --fix --allow-remove-files"
},
"dependencies": {
"@ensdomains/address-encoder": "1.1.1",
"@ensdomains/content-hash": "^3.0.0-beta.5",
"@ensdomains/ens-contracts": "1.2.0-beta.0",
"@ensdomains/ensjs": "4.0.0",
"@ensdomains/thorin": "0.6.50",
"@metamask/mobile-provider": "^2.1.0",
"@metamask/post-message-stream": "^6.1.2",
"@metamask/providers": "^14.0.2",
"@noble/hashes": "^1.3.2",
Expand All @@ -70,7 +69,6 @@
"@walletconnect/modal": "^2.6.2",
"calendar-link": "^2.2.0",
"dns-packet": "^5.4.0",
"glob": "^8.0.3",
"graphql-request": "5.1.0",
"i18next": "^21.9.1",
"i18next-browser-languagedetector": "^6.1.5",
Expand All @@ -85,7 +83,6 @@
"react": "^18.2.0",
"react-confetti": "^6.1.0",
"react-dom": "^18.2.0",
"react-ga": "^3.3.1",
"react-hook-form": "7.51.0",
"react-i18next": "^11.18.5",
"react-is": "^17.0.2",
Expand All @@ -94,6 +91,7 @@
"react-use-error-boundary": "^3.0.0",
"react-use-intercom": "^5.1.4",
"styled-components": "^5.3.5",
"tinyglobby": "^0.2.6",
"ts-pattern": "^4.2.2",
"use-immer": "^0.7.0",
"viem": "2.19.4",
Expand All @@ -104,13 +102,11 @@
"react-dom": "*"
},
"devDependencies": {
"@adraffy/ens-normalize": "^1.10.1",
"@cloudflare/workers-types": "^3.14.1",
"@ensdomains/buffer": "^0.1.1",
"@ensdomains/ens-test-env": "^0.5.0-beta.1",
"@ensdomains/headless-web3-provider": "^1.0.8",
"@ethersproject/abi": "^5.4.0",
"@ethersproject/contracts": "^5.4.0",
"@ianvs/prettier-plugin-sort-imports": "^4.1.0",
"@next/bundle-analyzer": "^13.4.19",
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers@^0.3.0-beta.13",
Expand All @@ -121,7 +117,6 @@
"@testing-library/react": "^14.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/glob": "^7.2.0",
"@types/lodash": "^4.14.184",
"@types/node": "^18.7.13",
"@types/pako": "^2.0.0",
Expand Down Expand Up @@ -169,10 +164,7 @@
"next-dev-https": "^0.1.2",
"next-router-mock": "^0.9.10",
"next-transpile-modules": "^9.1.0",
"node-fetch": "2.6.1",
"node-fetch-commonjs": "^3.1.1",
"pako": "^2.1.0",
"polyfill-crypto.getrandomvalues": "^1.0.0",
"postcss-scss": "^4.0.4",
"prettier": "3.0.3",
"sitemap": "^7.1.1",
Expand Down
Loading

0 comments on commit 3c58874

Please sign in to comment.