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

Commit 1ac15b4

Browse files
committed
Export built files
1 parent 863cde6 commit 1ac15b4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

packages/api/package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
"version": "2.3.0",
44
"description": "The common API used by all github-version-checker modules.",
55
"exports": {
6-
".": "./src/index.ts"
6+
".": "./dist/index.d.ts"
77
},
8+
"main": "./dist/index.js",
9+
"types": "./dist/index.d.ts",
810
"keywords": [
911
"version-checker",
1012
"github-api"
@@ -27,5 +29,8 @@
2729
"scripts": {
2830
"clean": "rm -rf dist",
2931
"build": "tsc"
30-
}
32+
},
33+
"files": [
34+
"dist/"
35+
]
3136
}

0 commit comments

Comments
 (0)