Skip to content

Commit 6cfcebd

Browse files
authored
fix package.json entrypoint (#44)
* fix package.json entrypoint * Update package.json * Update package.json * Update package.json * Update package.json
1 parent 285ff80 commit 6cfcebd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "module",
44
"version": "1.0.3",
55
"description": "TypeScript client generator based on DigitalOcean's OpenAPI specification.",
6-
"main": "examples/index.js",
6+
"main": "src/dots/DigitalOceanClient.js",
77
"scripts": {
88
"test": "node --experimental-vm-modules node_modules/.bin/jest",
99
"test:mock": "node --experimental-vm-modules node_modules/.bin/jest --testPathPatterns=mock",
@@ -53,6 +53,7 @@
5353
"@azure/core-http": "^3.0.5",
5454
"@microsoft/kiota-authentication-azure": "^1.0.0-preview.61",
5555
"@microsoft/kiota-bundle": "^1.0.0-preview.9",
56+
"@microsoft/kiota-http-fetchlibrary": "^1.0.0-preview.97",
5657
"dotenv": "^17.2.0",
5758
"uuid": "^11.1.0"
5859
}

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,5 +110,6 @@
110110
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
111111
"skipLibCheck": true /* Skip type checking all .d.ts files. */
112112
},
113-
"include": ["src" , "tests"]
113+
"include": ["src"],
114+
"exclude": ["tests"]
114115
}

0 commit comments

Comments
 (0)