Skip to content

Commit 0fa0dc4

Browse files
fix: wrong entrypoint after migration to single tsconfig file
1 parent 75e2cc3 commit 0fa0dc4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
"url": "git+https://github.com/christiangalsterer/node-postgres-prometheus-exporter.git"
88
},
99
"files": [
10-
"/dist"
10+
"/dist/src"
1111
],
12-
"main": "dist/index.js",
13-
"types": "dist/index.d.ts",
12+
"main": "dist/src/index.js",
13+
"types": "dist/src/index.d.ts",
1414
"scripts": {
1515
"build": "tsc",
1616
"ci": "npm i --save-dev && npm run format && npm run lint && npm run build && npm run test && npm run renovate:config",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
"sourceMap": true
1010
},
1111
"include": ["**/*.ts"],
12-
"exclude": ["node_modules", "dist/**/*.d.ts"]
12+
"exclude": ["node_modules", "dist/test", "dist/**/*.d.ts"]
1313
}

0 commit comments

Comments
 (0)