Skip to content

Commit

Permalink
chore: move common devDependencies to top-level package.json (#1098)
Browse files Browse the repository at this point in the history
* chore: move common devDependencies to top-level package.json

* chore(core): change position of devDependencies field

* fixup! chore: move common devDependencies to top-level package.json

* fixup! chore: move common devDependencies to top-level package.json

* chore: fix devDependency redundancy check

* chore: simplify fixed version consistency check
  • Loading branch information
JKRhb authored Sep 26, 2023
1 parent bd247a0 commit ab1e20a
Show file tree
Hide file tree
Showing 17 changed files with 574 additions and 3,048 deletions.
3,280 changes: 538 additions & 2,742 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"@testdeck/mocha": "^0.1.2",
"@types/chai": "^4.2.18",
"@types/chai-as-promised": "^7.1.4",
"@types/chai-spies": "^1.0.4",
"@types/mocha": "^9.0.0",
"@types/node": "16.18.35",
"@types/readable-stream": "^2.3.13",
Expand Down Expand Up @@ -75,6 +76,7 @@
"ts-node": "^10.9.1",
"tslint": "5.12.1",
"typescript": "4.7.4",
"typescript-standard": "^0.3.36"
"typescript-standard": "^0.3.36",
"wot-typescript-definitions": "0.8.0-SNAPSHOT.26"
}
}
21 changes: 0 additions & 21 deletions packages/binding-coap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,6 @@
],
"main": "dist/coap.js",
"types": "dist/coap.d.ts",
"devDependencies": {
"@testdeck/mocha": "^0.1.2",
"@types/chai": "^4.2.18",
"@types/multicast-dns": "^7.2.1",
"@types/node": "16.18.35",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"chai": "^4.3.4",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-unused-imports": "^1.1.4",
"mocha": "^9.2.2",
"prettier": "^2.3.2",
"ts-node": "^10.9.1",
"typescript": "4.7.4",
"typescript-standard": "^0.3.36"
},
"dependencies": {
"@node-wot/core": "0.8.9",
"@node-wot/td-tools": "0.8.9",
Expand Down
16 changes: 1 addition & 15 deletions packages/binding-file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,7 @@
"main": "dist/file.js",
"types": "dist/file.d.ts",
"devDependencies": {
"@node-wot/td-tools": "0.8.9",
"@types/node": "16.18.35",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-unused-imports": "^1.1.4",
"prettier": "^2.3.2",
"typescript": "4.7.4",
"typescript-standard": "^0.3.36",
"wot-typescript-definitions": "0.8.0-SNAPSHOT.26"
"@node-wot/td-tools": "0.8.9"
},
"dependencies": {
"@node-wot/core": "0.8.9"
Expand Down
27 changes: 1 addition & 26 deletions packages/binding-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,37 +20,12 @@
"devDependencies": {
"@node-oauth/express-oauth-server": "^3.0.1",
"@node-oauth/oauth2-server": "^4.3.0",
"@sinonjs/fake-timers": "^10.0.2",
"@testdeck/mocha": "^0.1.2",
"@types/accept-language-parser": "^1.5.2",
"@types/basic-auth": "1.1.3",
"@types/chai": "^4.2.18",
"@types/chai-as-promised": "^7.1.4",
"@types/express": "^4.17.3",
"@types/mocha": "^9.0.0",
"@types/node": "16.18.35",
"@types/node-fetch": "^2.5.10",
"@types/request-promise": "4.1.45",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"chai-spies": "^1.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-unused-imports": "^1.1.4",
"mocha": "^9.2.2",
"prettier": "^2.3.2",
"ssestream": "^1.1.0",
"timekeeper": "^2.2.0",
"ts-node": "^10.9.1",
"typescript": "4.7.4",
"typescript-standard": "^0.3.36",
"wot-typescript-definitions": "0.8.0-SNAPSHOT.26"
"timekeeper": "^2.2.0"
},
"dependencies": {
"@node-wot/core": "0.8.9",
Expand Down
23 changes: 0 additions & 23 deletions packages/binding-mbus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,6 @@
],
"main": "dist/mbus.js",
"types": "dist/mbus.d.ts",
"devDependencies": {
"@types/chai": "^4.2.18",
"@types/chai-as-promised": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "16.18.35",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"chai-spies": "^1.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-unused-imports": "^1.1.4",
"mocha": "^9.2.2",
"prettier": "^2.3.2",
"ts-node": "^10.9.1",
"typescript": "4.7.4",
"typescript-standard": "^0.3.36"
},
"dependencies": {
"@node-wot/core": "0.8.9",
"@node-wot/td-tools": "0.8.9",
Expand Down
23 changes: 0 additions & 23 deletions packages/binding-modbus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,6 @@
],
"main": "dist/modbus.js",
"types": "dist/modbus.d.ts",
"devDependencies": {
"@types/chai": "^4.2.18",
"@types/chai-as-promised": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "16.18.35",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"chai-spies": "^1.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-unused-imports": "^1.1.4",
"mocha": "^9.2.2",
"prettier": "^2.3.2",
"ts-node": "^10.9.1",
"typescript": "4.7.4",
"typescript-standard": "^0.3.36"
},
"dependencies": {
"@node-wot/core": "0.8.9",
"@node-wot/td-tools": "0.8.9",
Expand Down
21 changes: 0 additions & 21 deletions packages/binding-mqtt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,6 @@
],
"main": "dist/mqtt.js",
"types": "dist/mqtt.d.ts",
"devDependencies": {
"@testdeck/mocha": "^0.1.2",
"@types/chai": "^4.2.18",
"@types/node": "16.18.35",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"chai": "^4.3.4",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-unused-imports": "^1.1.4",
"mocha": "^9.2.2",
"prettier": "^2.3.2",
"ts-node": "^10.9.1",
"typescript": "4.7.4",
"typescript-standard": "^0.3.36",
"wot-typescript-definitions": "0.8.0-SNAPSHOT.26"
},
"dependencies": {
"@node-wot/core": "0.8.9",
"@node-wot/td-tools": "0.8.9",
Expand Down
22 changes: 0 additions & 22 deletions packages/binding-netconf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,6 @@
],
"main": "dist/netconf.js",
"types": "dist/netconf.d.ts",
"devDependencies": {
"@types/chai": "^4.2.18",
"@types/mocha": "^9.0.0",
"@types/node": "16.18.35",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"chai": "^4.3.4",
"chai-spies": "^1.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-unused-imports": "^1.1.4",
"mocha": "^9.2.2",
"prettier": "^2.3.2",
"ts-node": "^10.9.1",
"typescript": "4.7.4",
"typescript-standard": "^0.3.36",
"wot-typescript-definitions": "0.8.0-SNAPSHOT.26"
},
"dependencies": {
"@node-wot/core": "0.8.9",
"@node-wot/td-tools": "0.8.9",
Expand Down
22 changes: 1 addition & 21 deletions packages/binding-opcua/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"devDependencies": {
"@types/chai": "^4.2.18",
"@types/mocha": "^9.0.0",
"@types/node": "16.18.35",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"chai": "^4.3.4",
"chai-spies": "^1.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-unused-imports": "^1.1.4",
"mocha": "^9.2.2",
"prettier": "^2.3.2",
"should": "^13.2.3",
"ts-node": "^10.9.1",
"typescript": "4.7.4",
"typescript-standard": "^0.3.36",
"wot-typescript-definitions": "0.8.0-SNAPSHOT.26"
"should": "^13.2.3"
},
"dependencies": {
"@node-wot/core": "0.8.9",
Expand Down
22 changes: 0 additions & 22 deletions packages/binding-websockets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,6 @@
"main": "dist/ws.js",
"types": "dist/ws.d.ts",
"browser": "dist/ws-browser.js",
"devDependencies": {
"@testdeck/mocha": "^0.1.2",
"@types/chai": "^4.2.18",
"@types/node": "16.18.35",
"@types/ws": "7.2.1",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"chai": "^4.3.4",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-unused-imports": "^1.1.4",
"mocha": "^9.2.2",
"prettier": "^2.3.2",
"ts-node": "^10.9.1",
"typescript": "4.7.4",
"typescript-standard": "^0.3.36",
"wot-typescript-definitions": "0.8.0-SNAPSHOT.26"
},
"dependencies": {
"@node-wot/binding-http": "0.8.9",
"@node-wot/core": "0.8.9",
Expand Down
5 changes: 1 addition & 4 deletions packages/browser-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@
"@node-wot/core": "0.8.9",
"@node-wot/td-tools": "0.8.9",
"browserify": "^17.0.0",
"readable-stream4": "npm:readable-stream@^4.0.0",
"tinyify": "2.5.2",
"typescript": "4.7.4",
"wot-typescript-definitions": "0.8.0-SNAPSHOT.26"
"readable-stream4": "npm:readable-stream@^4.0.0"
},
"scripts": {
"build": "node build.js",
Expand Down
19 changes: 0 additions & 19 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,6 @@
"bin": {
"wot-servient": "bin/index.js"
},
"devDependencies": {
"@testdeck/mocha": "^0.1.2",
"@types/node": "16.18.35",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-unused-imports": "^1.1.4",
"mocha": "^9.2.2",
"prettier": "^2.3.2",
"ts-node": "^10.9.1",
"typescript": "4.7.4",
"typescript-standard": "^0.3.36",
"wot-typescript-definitions": "0.8.0-SNAPSHOT.26"
},
"optionalDependencies": {
"ts-node": "10.1.0"
},
Expand Down
25 changes: 1 addition & 24 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,9 @@
"main": "dist/core.js",
"types": "dist/core.d.ts",
"devDependencies": {
"@testdeck/mocha": "^0.1.2",
"@types/chai": "^4.2.18",
"@types/chai-as-promised": "^7.1.4",
"@types/chai-spies": "^1.0.3",
"@types/debug": "^4.1.7",
"@types/node": "16.18.35",
"@types/uritemplate": "^0.3.4",
"@types/uuid": "^8.3.1",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"chai-spies": "^1.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-unused-imports": "^1.1.4",
"mocha": "^9.2.2",
"prettier": "^2.3.2",
"ts-node": "^10.9.1",
"typescript": "4.7.4",
"typescript-standard": "^0.3.36",
"wot-typescript-definitions": "0.8.0-SNAPSHOT.26"
"@types/uuid": "^8.3.1"
},
"dependencies": {
"@node-wot/td-tools": "0.8.9",
Expand Down
18 changes: 0 additions & 18 deletions packages/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,6 @@
"author": "Eclipse Thingweb <[email protected]> (https://thingweb.io/)",
"license": "EPL-2.0 OR W3C-20150513",
"repository": "https://github.com/eclipse-thingweb/node-wot/tree/master/packages/examples",
"devDependencies": {
"@node-oauth/express-oauth-server": "^3.0.1",
"@types/node": "16.18.35",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-unused-imports": "^1.1.4",
"prettier": "^2.3.2",
"ts-node": "^10.9.1",
"typescript": "4.7.4",
"typescript-standard": "^0.3.36",
"wot-typescript-definitions": "0.8.0-SNAPSHOT.26"
},
"dependencies": {
"@node-wot/binding-coap": "0.8.9",
"@node-wot/binding-file": "0.8.9",
Expand Down
Loading

0 comments on commit ab1e20a

Please sign in to comment.