add configuration to determine devDependencies, move them in package

This commit is contained in:
weboko 2023-01-19 22:49:11 +01:00
parent 011ec8f1e9
commit 5a56b6432f
No known key found for this signature in database
7 changed files with 17 additions and 14 deletions

View File

@ -28,7 +28,10 @@
{ "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": ["error"], "import/no-extraneous-dependencies": [
"error",
{ "devDependencies": ["**/*.test.ts", "**/*.spec.ts", "**/tests/**"] }
],
"sort-imports": [ "sort-imports": [
"error", "error",
{ "ignoreDeclarationSort": true, "ignoreCase": true } { "ignoreDeclarationSort": true, "ignoreCase": true }

12
package-lock.json generated
View File

@ -26319,6 +26319,7 @@
"@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",
@ -26344,7 +26345,6 @@
"app-root-path": "^3.0.0", "app-root-path": "^3.0.0",
"chai": "^4.3.4", "chai": "^4.3.4",
"cspell": "^6.17.0", "cspell": "^6.17.0",
"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",
@ -26454,6 +26454,7 @@
"@waku/byte-utils": "*", "@waku/byte-utils": "*",
"@waku/enr": "*", "@waku/enr": "*",
"@waku/libp2p-utils": "*", "@waku/libp2p-utils": "*",
"debug": "^4.3.4",
"dns-query": "^0.11.2", "dns-query": "^0.11.2",
"hi-base32": "^0.5.1", "hi-base32": "^0.5.1",
"uint8arrays": "^4.0.2" "uint8arrays": "^4.0.2"
@ -26470,7 +26471,6 @@
"@waku/interfaces": "*", "@waku/interfaces": "*",
"chai": "^4.3.4", "chai": "^4.3.4",
"cspell": "^6.17.0", "cspell": "^6.17.0",
"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",
@ -26498,6 +26498,7 @@
"@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": "*",
"debug": "^4.3.4",
"js-sha3": "^0.8.0" "js-sha3": "^0.8.0"
}, },
"devDependencies": { "devDependencies": {
@ -26510,7 +26511,6 @@
"@waku/interfaces": "*", "@waku/interfaces": "*",
"chai": "^4.3.6", "chai": "^4.3.6",
"cspell": "^6.17.0", "cspell": "^6.17.0",
"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",
@ -26568,7 +26568,8 @@
"@libp2p/interface-peer-info": "^1.0.1", "@libp2p/interface-peer-info": "^1.0.1",
"@libp2p/interface-peer-store": "^1.2.3", "@libp2p/interface-peer-store": "^1.2.3",
"@libp2p/peer-id": "^1.1.10", "@libp2p/peer-id": "^1.1.10",
"@multiformats/multiaddr": "^11.0.6" "@multiformats/multiaddr": "^11.0.6",
"debug": "^4.3.4"
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^22.0.0", "@rollup/plugin-commonjs": "^22.0.0",
@ -26577,7 +26578,6 @@
"@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",
"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",
@ -26603,6 +26603,7 @@
"@waku/core": "*", "@waku/core": "*",
"@waku/interfaces": "*", "@waku/interfaces": "*",
"@waku/proto": "*", "@waku/proto": "*",
"debug": "^4.3.4",
"js-sha3": "^0.8.0" "js-sha3": "^0.8.0"
}, },
"devDependencies": { "devDependencies": {
@ -26613,7 +26614,6 @@
"@typescript-eslint/parser": "^5.8.1", "@typescript-eslint/parser": "^5.8.1",
"chai": "^4.3.6", "chai": "^4.3.6",
"cspell": "^6.17.0", "cspell": "^6.17.0",
"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

@ -93,6 +93,7 @@
"@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",
@ -133,7 +134,6 @@
"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", "chai": "^4.3.4",
"fast-check": "^2.14.0", "fast-check": "^2.14.0",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",

View File

@ -61,6 +61,7 @@
"@waku/byte-utils": "*", "@waku/byte-utils": "*",
"@waku/libp2p-utils": "*", "@waku/libp2p-utils": "*",
"hi-base32": "^0.5.1", "hi-base32": "^0.5.1",
"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",
@ -79,7 +80,6 @@
"@typescript-eslint/parser": "^5.8.1", "@typescript-eslint/parser": "^5.8.1",
"cspell": "^6.17.0", "cspell": "^6.17.0",
"chai": "^4.3.4", "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,6 +60,7 @@
"@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": "*",
"debug": "^4.3.4",
"js-sha3": "^0.8.0" "js-sha3": "^0.8.0"
}, },
"devDependencies": { "devDependencies": {
@ -73,7 +74,6 @@
"@typescript-eslint/parser": "^5.8.1", "@typescript-eslint/parser": "^5.8.1",
"cspell": "^6.17.0", "cspell": "^6.17.0",
"chai": "^4.3.6", "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,7 +55,8 @@
"@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",
@ -73,8 +74,7 @@
"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,6 +78,7 @@
"@waku/core": "*", "@waku/core": "*",
"@waku/interfaces": "*", "@waku/interfaces": "*",
"@waku/proto": "*", "@waku/proto": "*",
"debug": "^4.3.4",
"js-sha3": "^0.8.0" "js-sha3": "^0.8.0"
}, },
"devDependencies": { "devDependencies": {
@ -99,7 +100,6 @@
"ts-loader": "^9.4.1", "ts-loader": "^9.4.1",
"typescript": "^4.6.3", "typescript": "^4.6.3",
"chai": "^4.3.6", "chai": "^4.3.6",
"debug": "^4.3.4",
"fast-check": "^2.14.0" "fast-check": "^2.14.0"
}, },
"typedoc": { "typedoc": {