remove no-extraneous-dependencies lint options, move packages to devDep section

This commit is contained in:
weboko 2023-01-19 22:14:17 +01:00
parent 828f8b40e5
commit 913573a25a
No known key found for this signature in database
8 changed files with 3030 additions and 10200 deletions

View File

@ -28,10 +28,7 @@
{ "newlines-between": "always", "alphabetize": { "order": "asc" } } { "newlines-between": "always", "alphabetize": { "order": "asc" } }
], ],
"no-constant-condition": ["error", { "checkLoops": false }], "no-constant-condition": ["error", { "checkLoops": false }],
"import/no-extraneous-dependencies": [ "import/no-extraneous-dependencies": ["error"],
"error",
{ "devDependencies": false }
],
"sort-imports": [ "sort-imports": [
"error", "error",
{ "ignoreDeclarationSort": true, "ignoreCase": true } { "ignoreDeclarationSort": true, "ignoreCase": true }

13189
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -93,13 +93,10 @@
"@waku/libp2p-utils": "*", "@waku/libp2p-utils": "*",
"@waku/peer-exchange": "*", "@waku/peer-exchange": "*",
"@waku/proto": "*", "@waku/proto": "*",
"debug": "^4.3.4",
"it-all": "^1.0.6", "it-all": "^1.0.6",
"it-length-prefixed": "^8.0.2", "it-length-prefixed": "^8.0.2",
"it-pipe": "^2.0.4", "it-pipe": "^2.0.4",
"libp2p": "0.40.0", "libp2p": "0.40.0",
"chai": "^4.3.4",
"fast-check": "^2.14.0",
"p-event": "^5.0.1", "p-event": "^5.0.1",
"uint8arraylist": "^2.3.2", "uint8arraylist": "^2.3.2",
"uint8arrays": "^4.0.2", "uint8arrays": "^4.0.2",
@ -136,6 +133,9 @@
"karma-mocha": "^2.0.1", "karma-mocha": "^2.0.1",
"karma-webpack": "^5.0.0", "karma-webpack": "^5.0.0",
"mocha": "^9.1.3", "mocha": "^9.1.3",
"debug": "^4.3.4",
"chai": "^4.3.4",
"fast-check": "^2.14.0",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"p-timeout": "^6.0.0", "p-timeout": "^6.0.0",
"portfinder": "^1.0.28", "portfinder": "^1.0.28",

View File

@ -61,8 +61,6 @@
"@waku/byte-utils": "*", "@waku/byte-utils": "*",
"@waku/libp2p-utils": "*", "@waku/libp2p-utils": "*",
"hi-base32": "^0.5.1", "hi-base32": "^0.5.1",
"chai": "^4.3.4",
"debug": "^4.3.4",
"dns-query": "^0.11.2", "dns-query": "^0.11.2",
"uint8arrays": "^4.0.2", "uint8arrays": "^4.0.2",
"@libp2p/interface-peer-discovery": "^1.0.0", "@libp2p/interface-peer-discovery": "^1.0.0",
@ -80,6 +78,8 @@
"@typescript-eslint/eslint-plugin": "^5.8.1", "@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1", "@typescript-eslint/parser": "^5.8.1",
"cspell": "^6.17.0", "cspell": "^6.17.0",
"chai": "^4.3.4",
"debug": "^4.3.4",
"eslint": "^8.6.0", "eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"@libp2p/interface-peer-discovery-compliance-tests": "^2.0.4", "@libp2p/interface-peer-discovery-compliance-tests": "^2.0.4",

View File

@ -60,8 +60,6 @@
"@multiformats/multiaddr": "^11.0.6", "@multiformats/multiaddr": "^11.0.6",
"@noble/secp256k1": "^1.3.4", "@noble/secp256k1": "^1.3.4",
"@waku/byte-utils": "*", "@waku/byte-utils": "*",
"chai": "^4.3.6",
"debug": "^4.3.4",
"js-sha3": "^0.8.0" "js-sha3": "^0.8.0"
}, },
"devDependencies": { "devDependencies": {
@ -74,6 +72,8 @@
"@typescript-eslint/eslint-plugin": "^5.8.1", "@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1", "@typescript-eslint/parser": "^5.8.1",
"cspell": "^6.17.0", "cspell": "^6.17.0",
"chai": "^4.3.6",
"debug": "^4.3.4",
"eslint": "^8.6.0", "eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-eslint-comments": "^3.2.0",

View File

@ -55,8 +55,7 @@
"@libp2p/peer-id": "^1.1.10", "@libp2p/peer-id": "^1.1.10",
"@libp2p/interface-connection": "^3.0.3", "@libp2p/interface-connection": "^3.0.3",
"@libp2p/interface-peer-id": "^1.0.6", "@libp2p/interface-peer-id": "^1.0.6",
"@libp2p/interface-peer-store": "^1.2.3", "@libp2p/interface-peer-store": "^1.2.3"
"debug": "^4.3.4"
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^22.0.0", "@rollup/plugin-commonjs": "^22.0.0",
@ -74,7 +73,8 @@
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"prettier": "^2.1.1", "prettier": "^2.1.1",
"rollup": "^2.75.0", "rollup": "^2.75.0",
"typescript": "^4.6.3" "typescript": "^4.6.3",
"debug": "^4.3.4"
}, },
"typedoc": { "typedoc": {
"entryPoint": "./src/index.ts" "entryPoint": "./src/index.ts"

View File

@ -78,10 +78,7 @@
"@waku/core": "*", "@waku/core": "*",
"@waku/interfaces": "*", "@waku/interfaces": "*",
"@waku/proto": "*", "@waku/proto": "*",
"js-sha3": "^0.8.0", "js-sha3": "^0.8.0"
"chai": "^4.3.6",
"debug": "^4.3.4",
"fast-check": "^2.14.0"
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^22.0.0", "@rollup/plugin-commonjs": "^22.0.0",
@ -100,7 +97,10 @@
"prettier": "^2.1.1", "prettier": "^2.1.1",
"rollup": "^2.75.0", "rollup": "^2.75.0",
"ts-loader": "^9.4.1", "ts-loader": "^9.4.1",
"typescript": "^4.6.3" "typescript": "^4.6.3",
"chai": "^4.3.6",
"debug": "^4.3.4",
"fast-check": "^2.14.0"
}, },
"typedoc": { "typedoc": {
"entryPoint": "./src/index.ts" "entryPoint": "./src/index.ts"

View File

@ -55,11 +55,8 @@
"node": ">=16" "node": ">=16"
}, },
"dependencies": { "dependencies": {
"chai": "^4.3.6",
"debug": "^4.3.4",
"app-root-path": "^3.0.0", "app-root-path": "^3.0.0",
"portfinder": "^1.0.28", "portfinder": "^1.0.28",
"mocha": "^9.1.3",
"p-timeout": "^6.0.0", "p-timeout": "^6.0.0",
"tail": "^2.2.0", "tail": "^2.2.0",
"@waku/byte-utils": "*", "@waku/byte-utils": "*",
@ -72,6 +69,9 @@
"@waku/dns-discovery": "*" "@waku/dns-discovery": "*"
}, },
"devDependencies": { "devDependencies": {
"mocha": "^9.1.3",
"chai": "^4.3.6",
"debug": "^4.3.4",
"@libp2p/bootstrap": "^5.0.0", "@libp2p/bootstrap": "^5.0.0",
"@typescript-eslint/eslint-plugin": "^5.8.1", "@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1", "@typescript-eslint/parser": "^5.8.1",