Skip to content

Commit 9fa67a0

Browse files
authored
fix(type): Mark exported types as dependencies in package.json (#359)
Move dependencies Signed-off-by: Shubham Sharma <[email protected]> Signed-off-by: Shubham Sharma <[email protected]>
1 parent 07e1547 commit 9fa67a0

File tree

2 files changed

+12
-23
lines changed

2 files changed

+12
-23
lines changed

package-lock.json

Lines changed: 7 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"name": "@dapr/dapr",
33
"version": "2.4.0",
44
"description": "The official Dapr (https://dapr.io) SDK for Node.js",
5-
"types": "http/index.d.ts",
5+
"main": "./build/index.js",
6+
"types": "./build/index.d.ts",
67
"scripts": {
78
"test": "npm run test:unit:all && npm run test:e2e:all",
89
"test:load": "jest --runInBand --detectOpenHandles",
@@ -33,6 +34,8 @@
3334
"dependencies": {
3435
"@grpc/grpc-js": "^1.3.7",
3536
"@js-temporal/polyfill": "^0.3.0",
37+
"@types/google-protobuf": "^3.15.5",
38+
"@types/node-fetch": "^2.5.8",
3639
"body-parser": "^1.19.0",
3740
"google-protobuf": "^3.18.0",
3841
"http-terminator": "^3.0.4",
@@ -42,15 +45,13 @@
4245
},
4346
"devDependencies": {
4447
"@types/body-parser": "^1.19.1",
45-
"@types/google-protobuf": "^3.15.5",
4648
"@types/jest": "^27.0.1",
4749
"@types/node": "^16.9.1",
48-
"@types/node-fetch": "^2.5.8",
4950
"@types/uuid": "^8.3.1",
5051
"@typescript-eslint/eslint-plugin": "^5.1.0",
5152
"@typescript-eslint/parser": "^5.1.0",
52-
"eslint": "^8.1.0",
5353
"eslint-plugin-header": "^3.1.1",
54+
"eslint": "^8.1.0",
5455
"grpc_tools_node_protoc_ts": "^5.3.2",
5556
"jest": "^27.2.0",
5657
"nodemon": "^2.0.12",

0 commit comments

Comments
 (0)