From 5f927a7243452faf910e777e70936380d1ad3d40 Mon Sep 17 00:00:00 2001 From: jacques metevier Date: Thu, 8 Jun 2023 11:52:27 -0700 Subject: [PATCH 1/3] chore: rm extra packages --- package-lock.json | 232 +++-------------------- package.json | 12 +- packages/build-utils/package.json | 11 +- packages/core/package.json | 10 +- packages/dns-discovery/package.json | 8 - packages/enr/package.json | 8 - packages/interfaces/package.json | 8 - packages/message-encryption/package.json | 8 - packages/message-hash/package.json | 8 - packages/peer-exchange/package.json | 8 - packages/proto/package.json | 2 - packages/relay/package.json | 6 - packages/sdk/package.json | 8 - packages/tests/package.json | 8 - packages/utils/package.json | 8 - 15 files changed, 41 insertions(+), 304 deletions(-) diff --git a/package-lock.json b/package-lock.json index 48ff3c2a42..c5de31d045 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,6 +22,14 @@ ], "devDependencies": { "@size-limit/preset-big-lib": "^8.2.4", + "@typescript-eslint/eslint-plugin": "^5.57.0", + "@typescript-eslint/parser": "^5.59.8", + "eslint": "^8.41.0", + "eslint-config-prettier": "^8.6.0", + "eslint-plugin-eslint-comments": "^3.2.0", + "eslint-plugin-functional": "^5.0.4", + "eslint-plugin-import": "^2.27.5", + "eslint-plugin-prettier": "^4.2.1", "gh-pages": "^5.0.0", "husky": "^8.0.3", "lint-staged": "^13.2.2", @@ -13254,9 +13262,9 @@ "dev": true }, "node_modules/fast-diff": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz", - "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz", + "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", "dev": true }, "node_modules/fast-equals": { @@ -14934,13 +14942,15 @@ } }, "node_modules/is-immutable-type": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/is-immutable-type/-/is-immutable-type-1.2.5.tgz", - "integrity": "sha512-g4jIDuO6GniCVCQy+ypA9BD9L7SplQJtGjr4QjF1DfxnMn9S5vBj9xuMjfhBkTCKuctw2ErM/ZRJn+NBRMLQHQ==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/is-immutable-type/-/is-immutable-type-1.2.9.tgz", + "integrity": "sha512-DDx04RjLpGNT4vtF49vGW5CECP6lAx8SL2keq99ogIxwLvJPBvgThdhb43ED5uYO4nq0kZ51tMj7VdCCQgdZ5Q==", "dev": true, + "dependencies": { + "@typescript-eslint/type-utils": "^5.55.0" + }, "peerDependencies": { - "@typescript-eslint/type-utils": ">=5.30.5", - "@typescript-eslint/utils": ">=5.30.5", + "eslint": "*", "typescript": ">=4.7.4" } }, @@ -30893,16 +30903,7 @@ "packages/build-utils": { "name": "@waku/build-utils", "version": "1.0.0", - "license": "MIT OR Apache-2.0", - "devDependencies": { - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", - "prettier": "^2.8.8" - } + "license": "MIT OR Apache-2.0" }, "packages/core": { "name": "@waku/core", @@ -30940,12 +30941,6 @@ "@waku/build-utils": "*", "chai": "^4.3.7", "cspell": "^6.31.1", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "fast-check": "^3.8.1", "ignore-loader": "^0.1.2", "isomorphic-fetch": "^3.0.0", @@ -31060,18 +31055,10 @@ "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.2", "@types/chai": "^4.3.4", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "@waku/interfaces": "0.0.14", "chai": "^4.3.7", "cspell": "^6.31.1", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "karma": "^6.4.1", "karma-chrome-launcher": "^3.1.1", "karma-mocha": "^2.0.1", @@ -31110,18 +31097,10 @@ "@rollup/plugin-node-resolve": "^15.0.2", "@types/chai": "^4.3.4", "@types/mocha": "^10.0.1", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "@waku/interfaces": "0.0.14", "chai": "^4.3.7", "cspell": "^6.31.1", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "karma": "^6.4.1", "karma-chrome-launcher": "^3.1.1", "karma-mocha": "^2.0.1", @@ -31154,15 +31133,7 @@ "@libp2p/interface-peer-store": "^1.2.8", "@libp2p/interface-registrar": "^2.0.8", "@multiformats/multiaddr": "^12.0.0", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "cspell": "^6.31.1", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "npm-run-all": "^4.1.5", "prettier": "^2.8.8", "typescript": "^5.0.4" @@ -31196,17 +31167,9 @@ "@rollup/plugin-node-resolve": "^15.0.2", "@types/chai": "^4.3.4", "@types/mocha": "^10.0.1", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "chai": "^4.3.7", "cspell": "^6.31.1", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "fast-check": "^3.8.1", "karma": "^6.4.1", "karma-chrome-launcher": "^3.1.1", @@ -31240,18 +31203,10 @@ "@types/chai": "^4.3.4", "@types/debug": "^4.1.7", "@types/mocha": "^10.0.1", - "@typescript-eslint/eslint-plugin": "^5.54.1", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "@waku/interfaces": "0.0.14", "chai": "^4.3.7", "cspell": "^6.28.0", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "fast-check": "^3.7.0", "ignore-loader": "^0.1.2", "isomorphic-fetch": "^3.0.0", @@ -31298,18 +31253,10 @@ "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.2", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "@waku/interfaces": "0.0.14", "chai": "^4.3.7", "cspell": "^6.31.1", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "npm-run-all": "^4.1.5", "prettier": "^2.8.8", "rollup": "^3.21.3", @@ -31408,12 +31355,6 @@ "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.2", "@waku/build-utils": "*", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.8.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.8", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "rollup": "^3.15.0", "ts-loader": "^9.4.2", "ts-node": "^10.9.1", @@ -31455,17 +31396,9 @@ "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.2", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "@waku/interfaces": "0.0.14", "cspell": "^6.31.1", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "interface-datastore": "^7.0.4", "npm-run-all": "^4.1.5", "prettier": "^2.8.8", @@ -31533,8 +31466,6 @@ "@types/dockerode": "^3.3.17", "@types/mocha": "^10.0.1", "@types/tail": "^2.2.1", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/dns-discovery": "*", "@waku/message-encryption": "*", "@waku/peer-exchange": "*", @@ -31542,12 +31473,6 @@ "chai": "^4.3.7", "cspell": "^6.31.1", "debug": "^4.3.4", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "prettier": "^2.8.8", @@ -31572,17 +31497,9 @@ "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.2", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "@waku/interfaces": "0.0.14", "cspell": "^6.31.1", - "eslint": "^8.35.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "npm-run-all": "^4.1.5", "prettier": "^2.8.8", "rollup": "^3.21.3", @@ -36945,16 +36862,7 @@ "dev": true }, "@waku/build-utils": { - "version": "file:packages/build-utils", - "requires": { - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", - "prettier": "^2.8.8" - } + "version": "file:packages/build-utils" }, "@waku/core": { "version": "file:packages/core", @@ -36982,12 +36890,6 @@ "chai": "^4.3.7", "cspell": "^6.31.1", "debug": "^4.3.4", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "fast-check": "^3.8.1", "ignore-loader": "^0.1.2", "isomorphic-fetch": "^3.0.0", @@ -37031,8 +36933,6 @@ "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.2", "@types/chai": "^4.3.4", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "@waku/enr": "0.0.13", "@waku/interfaces": "0.0.14", @@ -37041,12 +36941,6 @@ "cspell": "^6.31.1", "debug": "^4.3.4", "dns-query": "^0.11.2", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "hi-base32": "^0.5.1", "karma": "^6.4.1", "karma-chrome-launcher": "^3.1.1", @@ -37077,20 +36971,12 @@ "@rollup/plugin-node-resolve": "^15.0.2", "@types/chai": "^4.3.4", "@types/mocha": "^10.0.1", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "@waku/interfaces": "0.0.14", "@waku/utils": "0.0.7", "chai": "^4.3.7", "cspell": "^6.31.1", "debug": "^4.3.4", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "js-sha3": "^0.8.0", "karma": "^6.4.1", "karma-chrome-launcher": "^3.1.1", @@ -37119,15 +37005,7 @@ "@libp2p/interface-peer-store": "^1.2.8", "@libp2p/interface-registrar": "^2.0.8", "@multiformats/multiaddr": "^12.0.0", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "cspell": "^6.31.1", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "npm-run-all": "^4.1.5", "prettier": "^2.8.8", "typescript": "^5.0.4" @@ -37148,8 +37026,6 @@ "@rollup/plugin-node-resolve": "^15.0.2", "@types/chai": "^4.3.4", "@types/mocha": "^10.0.1", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "@waku/core": "0.0.19", "@waku/interfaces": "0.0.14", @@ -37158,12 +37034,6 @@ "chai": "^4.3.7", "cspell": "^6.31.1", "debug": "^4.3.4", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "fast-check": "^3.8.1", "js-sha3": "^0.8.0", "karma": "^6.4.1", @@ -37190,19 +37060,11 @@ "@types/chai": "^4.3.4", "@types/debug": "^4.1.7", "@types/mocha": "^10.0.1", - "@typescript-eslint/eslint-plugin": "^5.54.1", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "@waku/interfaces": "0.0.14", "@waku/utils": "0.0.7", "chai": "^4.3.7", "cspell": "^6.28.0", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "fast-check": "^3.7.0", "ignore-loader": "^0.1.2", "isomorphic-fetch": "^3.0.0", @@ -37234,8 +37096,6 @@ "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.2", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "@waku/core": "0.0.19", "@waku/enr": "0.0.13", @@ -37245,12 +37105,6 @@ "chai": "^4.3.7", "cspell": "^6.31.1", "debug": "^4.3.4", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "it-all": "^3.0.2", "it-length-prefixed": "^9.0.1", "it-pipe": "^3.0.1", @@ -37325,12 +37179,6 @@ "@waku/utils": "0.0.7", "chai": "^4.3.7", "debug": "^4.3.4", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.8.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.8", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "fast-check": "^3.8.1", "rollup": "^3.15.0", "ts-loader": "^9.4.2", @@ -37361,8 +37209,6 @@ "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.2", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "@waku/core": "0.0.19", "@waku/dns-discovery": "0.0.13", @@ -37370,12 +37216,6 @@ "@waku/relay": "0.0.2", "@waku/utils": "*", "cspell": "^6.31.1", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "interface-datastore": "^7.0.4", "libp2p": "^0.42.2", "npm-run-all": "^4.1.5", @@ -37423,8 +37263,6 @@ "@types/dockerode": "^3.3.17", "@types/mocha": "^10.0.1", "@types/tail": "^2.2.1", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/core": "*", "@waku/dns-discovery": "*", "@waku/enr": "*", @@ -37438,12 +37276,6 @@ "cspell": "^6.31.1", "debug": "^4.3.4", "dockerode": "^3.3.5", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "p-timeout": "^6.1.0", @@ -37462,18 +37294,10 @@ "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.2", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "@waku/interfaces": "0.0.14", "cspell": "^6.31.1", "debug": "^4.3.4", - "eslint": "^8.35.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "npm-run-all": "^4.1.5", "prettier": "^2.8.8", "rollup": "^3.21.3", @@ -41902,9 +41726,9 @@ "dev": true }, "fast-diff": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz", - "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz", + "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", "dev": true }, "fast-equals": { @@ -43139,11 +42963,13 @@ } }, "is-immutable-type": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/is-immutable-type/-/is-immutable-type-1.2.5.tgz", - "integrity": "sha512-g4jIDuO6GniCVCQy+ypA9BD9L7SplQJtGjr4QjF1DfxnMn9S5vBj9xuMjfhBkTCKuctw2ErM/ZRJn+NBRMLQHQ==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/is-immutable-type/-/is-immutable-type-1.2.9.tgz", + "integrity": "sha512-DDx04RjLpGNT4vtF49vGW5CECP6lAx8SL2keq99ogIxwLvJPBvgThdhb43ED5uYO4nq0kZ51tMj7VdCCQgdZ5Q==", "dev": true, - "requires": {} + "requires": { + "@typescript-eslint/type-utils": "^5.55.0" + } }, "is-installed-globally": { "version": "0.4.0", diff --git a/package.json b/package.json index 514868454c..281a01f9d6 100644 --- a/package.json +++ b/package.json @@ -27,8 +27,8 @@ "fix:prettier": "prettier ./packages --write", "check": "run-s check:*", "check:workspaces": "npm run check --workspaces --if-present", + "install:workspaces": "npm install --workspaces", "check:prettier": "prettier ./packages --list-different", - "check:ws": "[ $(ls -1 ./packages|wc -l) -eq $(cat package.json | jq '.workspaces | length') ] || exit 1 # check no packages left behind", "test": "npm run test --workspaces --if-present", "test:browser": "npm run test:browser --workspaces --if-present", "test:node": "npm run test:node --workspaces --if-present", @@ -46,7 +46,15 @@ "lint-staged": "^13.2.2", "size-limit": "^8.1.2", "typedoc": "^0.23.26", - "typedoc-plugin-resolve-crossmodule-references": "^0.3.3" + "typedoc-plugin-resolve-crossmodule-references": "^0.3.3", + "@typescript-eslint/eslint-plugin": "^5.57.0", + "@typescript-eslint/parser": "^5.59.8", + "eslint": "^8.41.0", + "eslint-config-prettier": "^8.6.0", + "eslint-plugin-eslint-comments": "^3.2.0", + "eslint-plugin-functional": "^5.0.4", + "eslint-plugin-import": "^2.27.5", + "eslint-plugin-prettier": "^4.2.1" }, "lint-staged": { "*.{ts,js}": [ diff --git a/packages/build-utils/package.json b/packages/build-utils/package.json index e79cdd2cfc..14b1dd8b4c 100644 --- a/packages/build-utils/package.json +++ b/packages/build-utils/package.json @@ -21,14 +21,5 @@ "bugs": { "url": "https://github.com/waku-org/js-waku/issues" }, - "homepage": "https://github.com/waku-org/js-waku#readme", - "devDependencies": { - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", - "prettier": "^2.8.8" - } + "homepage": "https://github.com/waku-org/js-waku#readme" } diff --git a/packages/core/package.json b/packages/core/package.json index adba6db6e1..fb7e980aa8 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -58,7 +58,7 @@ "fix:lint": "eslint src *.js --fix", "check": "run-s check:*", "check:tsc": "tsc -p tsconfig.dev.json", - "check:lint": "eslint src *.js", + "check:lint": "eslint src", "check:spelling": "cspell \"{README.md,src/**/*.ts}\"", "test": "run-s test:*", "test:node": "TS_NODE_PROJECT=./tsconfig.dev.json mocha", @@ -98,17 +98,9 @@ "@types/debug": "^4.1.7", "@types/mocha": "^10.0.1", "@types/uuid": "^9.0.1", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "chai": "^4.3.7", "cspell": "^6.31.1", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "fast-check": "^3.8.1", "ignore-loader": "^0.1.2", "isomorphic-fetch": "^3.0.0", diff --git a/packages/dns-discovery/package.json b/packages/dns-discovery/package.json index 0be423d6f0..f318267845 100644 --- a/packages/dns-discovery/package.json +++ b/packages/dns-discovery/package.json @@ -70,18 +70,10 @@ "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.2", "@types/chai": "^4.3.4", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "@waku/interfaces": "0.0.14", "chai": "^4.3.7", "cspell": "^6.31.1", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "karma": "^6.4.1", "karma-chrome-launcher": "^3.1.1", "karma-mocha": "^2.0.1", diff --git a/packages/enr/package.json b/packages/enr/package.json index 366847c0dd..7d7e33d437 100644 --- a/packages/enr/package.json +++ b/packages/enr/package.json @@ -69,18 +69,10 @@ "@rollup/plugin-node-resolve": "^15.0.2", "@types/chai": "^4.3.4", "@types/mocha": "^10.0.1", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "@waku/interfaces": "0.0.14", "chai": "^4.3.7", "cspell": "^6.31.1", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "karma": "^6.4.1", "karma-chrome-launcher": "^3.1.1", "karma-mocha": "^2.0.1", diff --git a/packages/interfaces/package.json b/packages/interfaces/package.json index 6f0bda41a1..8286aedc39 100644 --- a/packages/interfaces/package.json +++ b/packages/interfaces/package.json @@ -56,15 +56,7 @@ "@libp2p/interface-peer-store": "^1.2.8", "@libp2p/interface-registrar": "^2.0.8", "@multiformats/multiaddr": "^12.0.0", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "cspell": "^6.31.1", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "npm-run-all": "^4.1.5", "prettier": "^2.8.8", "typescript": "^5.0.4" diff --git a/packages/message-encryption/package.json b/packages/message-encryption/package.json index b702c17c9d..c341b992b0 100644 --- a/packages/message-encryption/package.json +++ b/packages/message-encryption/package.json @@ -91,17 +91,9 @@ "@rollup/plugin-node-resolve": "^15.0.2", "@types/chai": "^4.3.4", "@types/mocha": "^10.0.1", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "chai": "^4.3.7", "cspell": "^6.31.1", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "fast-check": "^3.8.1", "karma": "^6.4.1", "karma-chrome-launcher": "^3.1.1", diff --git a/packages/message-hash/package.json b/packages/message-hash/package.json index f605937d19..c9ef3331c4 100644 --- a/packages/message-hash/package.json +++ b/packages/message-hash/package.json @@ -62,18 +62,10 @@ "@types/chai": "^4.3.4", "@types/debug": "^4.1.7", "@types/mocha": "^10.0.1", - "@typescript-eslint/eslint-plugin": "^5.54.1", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "@waku/interfaces": "0.0.14", "chai": "^4.3.7", "cspell": "^6.28.0", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "fast-check": "^3.7.0", "ignore-loader": "^0.1.2", "isomorphic-fetch": "^3.0.0", diff --git a/packages/peer-exchange/package.json b/packages/peer-exchange/package.json index d068e5a52b..f088372fe8 100644 --- a/packages/peer-exchange/package.json +++ b/packages/peer-exchange/package.json @@ -68,18 +68,10 @@ "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.2", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "@waku/interfaces": "0.0.14", "chai": "^4.3.7", "cspell": "^6.31.1", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "npm-run-all": "^4.1.5", "prettier": "^2.8.8", "rollup": "^3.21.3", diff --git a/packages/proto/package.json b/packages/proto/package.json index dd7ffbdfc1..3eaa6ac76e 100644 --- a/packages/proto/package.json +++ b/packages/proto/package.json @@ -50,8 +50,6 @@ "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.2", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "cspell": "^6.31.1", "npm-run-all": "^4.1.5", diff --git a/packages/relay/package.json b/packages/relay/package.json index 6bd90e68f0..ba3c3606db 100644 --- a/packages/relay/package.json +++ b/packages/relay/package.json @@ -64,12 +64,6 @@ "@waku/build-utils": "*", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.2", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.8.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.8", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "rollup": "^3.15.0", "ts-loader": "^9.4.2", "ts-node": "^10.9.1", diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 9e024f4dbf..c4bd76be8e 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -75,17 +75,9 @@ "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.2", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "@waku/interfaces": "0.0.14", "cspell": "^6.31.1", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "interface-datastore": "^7.0.4", "npm-run-all": "^4.1.5", "prettier": "^2.8.8", diff --git a/packages/tests/package.json b/packages/tests/package.json index b4f1c21ad4..31f9880c4d 100644 --- a/packages/tests/package.json +++ b/packages/tests/package.json @@ -70,8 +70,6 @@ "@types/dockerode": "^3.3.17", "@types/mocha": "^10.0.1", "@types/tail": "^2.2.1", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/sdk": "*", "@waku/dns-discovery": "*", "@waku/message-encryption": "*", @@ -79,12 +77,6 @@ "chai": "^4.3.7", "cspell": "^6.31.1", "debug": "^4.3.4", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "prettier": "^2.8.8", diff --git a/packages/utils/package.json b/packages/utils/package.json index 254ddb0a07..21f2249304 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -75,17 +75,9 @@ "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.2", - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.59.8", "@waku/build-utils": "*", "@waku/interfaces": "0.0.14", "cspell": "^6.31.1", - "eslint": "^8.35.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-functional": "^5.0.4", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", "npm-run-all": "^4.1.5", "prettier": "^2.8.8", "rollup": "^3.21.3", From 0d0b25ae75af6c8183a45f4c5718d66822f97c7b Mon Sep 17 00:00:00 2001 From: jacques metevier Date: Thu, 8 Jun 2023 12:05:22 -0700 Subject: [PATCH 2/3] chore(deps): revert temp --- package.json | 4 +++- packages/core/package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 281a01f9d6..42dc35d6ca 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "check:workspaces": "npm run check --workspaces --if-present", "install:workspaces": "npm install --workspaces", "check:prettier": "prettier ./packages --list-different", + "check:ws": "[ $(ls -1 ./packages|wc -l) -eq $(cat package.json | jq '.workspaces | length') ] || exit 1 # check no packages left behind", "test": "npm run test --workspaces --if-present", "test:browser": "npm run test:browser --workspaces --if-present", "test:node": "npm run test:node --workspaces --if-present", @@ -54,7 +55,8 @@ "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-functional": "^5.0.4", "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1" + "eslint-plugin-prettier": "^4.2.1", + "prettier": "^2.8.8" }, "lint-staged": { "*.{ts,js}": [ diff --git a/packages/core/package.json b/packages/core/package.json index fb7e980aa8..24789086d8 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -58,7 +58,7 @@ "fix:lint": "eslint src *.js --fix", "check": "run-s check:*", "check:tsc": "tsc -p tsconfig.dev.json", - "check:lint": "eslint src", + "check:lint": "eslint src *.js", "check:spelling": "cspell \"{README.md,src/**/*.ts}\"", "test": "run-s test:*", "test:node": "TS_NODE_PROJECT=./tsconfig.dev.json mocha", From e04e9d5a9efa31c60be2d2ad1bd62cea2de9f6e9 Mon Sep 17 00:00:00 2001 From: jacques metevier Date: Thu, 8 Jun 2023 12:06:38 -0700 Subject: [PATCH 3/3] chore(deps): revert temp --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 42dc35d6ca..39cca7dc7b 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,6 @@ "fix:prettier": "prettier ./packages --write", "check": "run-s check:*", "check:workspaces": "npm run check --workspaces --if-present", - "install:workspaces": "npm install --workspaces", "check:prettier": "prettier ./packages --list-different", "check:ws": "[ $(ls -1 ./packages|wc -l) -eq $(cat package.json | jq '.workspaces | length') ] || exit 1 # check no packages left behind", "test": "npm run test --workspaces --if-present",