From 00326836cdfd9dc91132ce8f69d366f9aedf0d05 Mon Sep 17 00:00:00 2001 From: Luc Date: Wed, 4 Sep 2024 22:15:32 +0000 Subject: [PATCH] Cleanup package.json --- packages/react/package.json | 52 +--------------- pnpm-lock.yaml | 114 ++---------------------------------- 2 files changed, 9 insertions(+), 157 deletions(-) diff --git a/packages/react/package.json b/packages/react/package.json index 0ba54ebc..b60628a9 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -38,69 +38,23 @@ "author": "Lucemans ", "license": "MIT", "scripts": { - "tenv": "ens-test-env -c ./ens-test-env.config.cjs -a", - "denv": "pnpm tenv start -ns -nb --extra-time 11368000 --verbosity 1", - "anvil": "pnpm denv --no-graph", - "start": "ts-node --files src/index.test.ts", - "test": "vitest --no-file-parallelism", - "test:watch": "vitest --watch --no-file-parallelism", - "clean": "rm -rf ./dist ./README.md ./LICENSE", + "clean": "rm -rf ./dist", "lint": "eslint ./src/* --no-error-on-unmatched-pattern", "build:cjs": "tsc --project tsconfig.build.json --module commonjs --outDir ./dist/cjs --removeComments --verbatimModuleSyntax false && echo > ./dist/cjs/package.json '{\"type\":\"commonjs\"}'", "build:esm": "tsc --project tsconfig.build.json --module es2022 --outDir ./dist/esm && echo > ./dist/esm/package.json '{\"type\":\"module\",\"sideEffects\":false}'", "build:types": "tsc --project tsconfig.build.json --module esnext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap", - "build": "pnpm run clean && pnpm run build:cjs && pnpm run build:esm && pnpm run build:types", - "tsn": "TS_NODE_PROJECT=tsconfig.node.json node --loader ts-node/esm", - "prepublish": "pnpm build && cp ../../README.md ../../LICENSE ./", - "prepack": "pnpm tsn ./scripts/prepack.ts", - "ver": "pnpm tsn ./scripts/updateVersion.ts", - "generateDocs": "pnpm tsn ./scripts/generateDocs.ts", - "rcBranchVersion": "pnpm tsn ./scripts/rcBranchVersion.ts" + "build": "pnpm run clean && pnpm run build:cjs && pnpm run build:esm && pnpm run build:types" }, "dependencies": { - "@adraffy/ens-normalize": "1.10.1", - "@ensdomains/address-encoder": "1.1.1", - "@ensdomains/content-hash": "3.1.0-rc.1", - "@ensdomains/dnsprovejs": "^0.5.1", - "@ensdomains/ensjs": "workspace:*", - "abitype": "^1.0.0", - "dns-packet": "^5.3.1", - "graphql": "^16.3.0", - "graphql-request": "6.1.0", - "pako": "^2.1.0" + "@ensdomains/ensjs": "workspace:*" }, "devDependencies": { "@ensdomains/buffer": "^0.0.13", "@ensdomains/ens-contracts": "1.0.0", "@ensdomains/ens-test-env": "workspace:*", - "@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers", - "@openzeppelin/contracts": "^4.5.0", - "@openzeppelin/test-helpers": "^0.5.16", - "@swc/core": "^1.3.61", - "@types/bn.js": "^5.1.0", - "@types/jsonfile": "^6.1.4", - "@types/node": "^20.3.3", - "@types/pako": "^2.0.0", - "@vitest/coverage-v8": "^1.3.1", - "cbor": "^8.1.0", - "dotenv": "^16.0.0", - "esbuild": "^0.15.6", - "ethers": "^5.7.2", - "glob": "^8.0.3", - "happy-dom": "^13.3.8", - "hardhat": "2.16.1", - "hardhat-abi-exporter": "^2.8.0", - "hardhat-deploy": "^0.11.12", - "jsonfile": "^6.1.0", - "multiformats": "^12.0.1", - "solc": "^0.8.13", "ts-node": "^10.9.2", - "typedoc": "^0.24.8", - "typedoc-plugin-markdown": "^4.0.0-next.16", "typescript": "5.3.2", "viem": "2.9.2", - "vitest": "^1.3.1", - "wait-on": "^6.0.1", "tslib": "^2.7.0" }, "peerDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6ef41526..1de04649 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -250,42 +250,12 @@ importers: packages/react: dependencies: - '@adraffy/ens-normalize': - specifier: 1.10.1 - version: 1.10.1 - '@ensdomains/address-encoder': - specifier: 1.1.1 - version: 1.1.1 - '@ensdomains/content-hash': - specifier: 3.1.0-rc.1 - version: 3.1.0-rc.1 - '@ensdomains/dnsprovejs': - specifier: ^0.5.1 - version: 0.5.1 '@ensdomains/ensjs': specifier: workspace:* version: link:../ensjs '@tanstack/react-query': specifier: ^5.54 version: 5.54.1(react@18.3.1) - abitype: - specifier: ^1.0.0 - version: 1.0.5(typescript@5.3.2) - dns-packet: - specifier: ^5.3.1 - version: 5.6.1 - graphql: - specifier: ^16.3.0 - version: 16.9.0 - graphql-request: - specifier: 6.1.0 - version: 6.1.0(graphql@16.9.0) - pako: - specifier: ^2.1.0 - version: 2.1.0 - tslib: - specifier: ^2.7.0 - version: 2.7.0 wagmi: specifier: '2' version: 2.12.8(@tanstack/query-core@5.54.1)(@tanstack/react-query@5.54.1(react@18.3.1))(bufferutil@4.0.8)(react-native@0.75.2(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(bufferutil@4.0.8)(react@18.3.1)(typescript@5.3.2)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@4.19.2)(typescript@5.3.2)(utf-8-validate@5.0.10)(viem@2.9.2(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10)) @@ -299,90 +269,18 @@ importers: '@ensdomains/ens-test-env': specifier: workspace:* version: link:../ens-test-env - '@nomiclabs/hardhat-ethers': - specifier: npm:hardhat-deploy-ethers@0.3.0-beta.13 - version: hardhat-deploy-ethers@0.3.0-beta.13(ethers@5.7.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(hardhat@2.16.1(bufferutil@4.0.8)(ts-node@10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.3.2))(typescript@5.3.2)(utf-8-validate@5.0.10)) - '@openzeppelin/contracts': - specifier: ^4.5.0 - version: 4.9.6 - '@openzeppelin/test-helpers': - specifier: ^0.5.16 - version: 0.5.16(bn.js@5.2.1)(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@swc/core': - specifier: ^1.3.61 - version: 1.7.5 - '@types/bn.js': - specifier: ^5.1.0 - version: 5.1.5 - '@types/jsonfile': - specifier: ^6.1.4 - version: 6.1.4 - '@types/node': - specifier: ^20.3.3 - version: 20.14.14 - '@types/pako': - specifier: ^2.0.0 - version: 2.0.3 - '@vitest/coverage-v8': - specifier: ^1.3.1 - version: 1.6.0(vitest@1.6.0(@types/node@20.14.14)(happy-dom@13.10.1)(terser@5.31.6)) - cbor: - specifier: ^8.1.0 - version: 8.1.0 - dotenv: - specifier: ^16.0.0 - version: 16.4.5 - esbuild: - specifier: ^0.15.6 - version: 0.15.18 - ethers: - specifier: ^5.7.2 - version: 5.7.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) - glob: - specifier: ^8.0.3 - version: 8.1.0 - happy-dom: - specifier: ^13.3.8 - version: 13.10.1 - hardhat: - specifier: 2.16.1 - version: 2.16.1(bufferutil@4.0.8)(ts-node@10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.3.2))(typescript@5.3.2)(utf-8-validate@5.0.10) - hardhat-abi-exporter: - specifier: ^2.8.0 - version: 2.10.1(hardhat@2.16.1(bufferutil@4.0.8)(ts-node@10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.3.2))(typescript@5.3.2)(utf-8-validate@5.0.10)) - hardhat-deploy: - specifier: ^0.11.12 - version: 0.11.45(bufferutil@4.0.8)(utf-8-validate@5.0.10) - jsonfile: - specifier: ^6.1.0 - version: 6.1.0 - multiformats: - specifier: ^12.0.1 - version: 12.1.3 - solc: - specifier: ^0.8.13 - version: 0.8.26 ts-node: specifier: ^10.9.2 version: 10.9.2(@swc/core@1.7.5)(@types/node@20.14.14)(typescript@5.3.2) - typedoc: - specifier: ^0.24.8 - version: 0.24.8(typescript@5.3.2) - typedoc-plugin-markdown: - specifier: ^4.0.0-next.16 - version: 4.2.3(typedoc@0.24.8(typescript@5.3.2)) + tslib: + specifier: ^2.7.0 + version: 2.7.0 typescript: specifier: 5.3.2 version: 5.3.2 viem: specifier: 2.9.2 version: 2.9.2(bufferutil@4.0.8)(typescript@5.3.2)(utf-8-validate@5.0.10) - vitest: - specifier: ^1.3.1 - version: 1.6.0(@types/node@20.14.14)(happy-dom@13.10.1)(terser@5.31.6) - wait-on: - specifier: ^6.0.1 - version: 6.0.1 packages: @@ -11315,7 +11213,7 @@ snapshots: ast-types@0.15.2: dependencies: - tslib: 2.6.3 + tslib: 2.7.0 astral-regex@1.0.0: {} @@ -11323,7 +11221,7 @@ snapshots: async-mutex@0.2.6: dependencies: - tslib: 2.6.3 + tslib: 2.7.0 asynckit@0.4.0: {} @@ -15359,7 +15257,7 @@ snapshots: ast-types: 0.15.2 esprima: 4.0.1 source-map: 0.6.1 - tslib: 2.6.3 + tslib: 2.7.0 reflect.getprototypeof@1.0.6: dependencies: