Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Commit 2417b80

Browse files
authored
Move nodecg-types to normal dependencies for debug and nanoleaf service (#315)
The debug service exposes the `NodeCG` type with its constructor and nanoleaf with the `NanoleafUtils.retrieveAuthKey` method. Because of this the generated `.d.ts` files import `nodecg-types` and we need to make it a production dependency as it is needed to be able to use the typings when e.g. adding it as a dependency to a bundle once it has been released.
1 parent 5b51eb2 commit 2417b80

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

services/nodecg-io-debug/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"license": "MIT",
4747
"devDependencies": {
4848
"@types/node": "^16.11.7",
49-
"nodecg-types": "^1.8.3",
5049
"typescript": "^4.4.4",
5150
"webpack": "^5.64.0",
5251
"webpack-cli": "^4.9.1",
@@ -56,6 +55,7 @@
5655
},
5756
"dependencies": {
5857
"nodecg-io-core": "^0.2.0",
58+
"nodecg-types": "^1.8.3",
5959
"monaco-editor": "^0.30.1"
6060
}
6161
}

services/nodecg-io-nanoleaf/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131
"license": "MIT",
3232
"devDependencies": {
3333
"@types/node": "^16.11.7",
34-
"nodecg-types": "^1.8.3",
3534
"typescript": "^4.4.4"
3635
},
3736
"dependencies": {
3837
"@types/node-fetch": "^2.5.10",
3938
"node-fetch": "^2.6.5",
40-
"nodecg-io-core": "^0.2.0"
39+
"nodecg-io-core": "^0.2.0",
40+
"nodecg-types": "^1.8.3"
4141
}
4242
}

0 commit comments

Comments
 (0)