Skip to content

Commit 6c67736

Browse files
committed
fix: npm package publishing fix
1 parent 9f9d8b8 commit 6c67736

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.npmignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.github
22
.idea
33
.node-version
4-
.editorconfig
4+
.editorconfig
5+
*.tsbuildinfo

package.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
77
"exports": {
8-
"./*": "./dist/*.js"
8+
"./*": {
9+
"require": "./dist/*.js"
10+
}
911
},
1012
"scripts": {
1113
"build": "tsc",
@@ -52,6 +54,8 @@
5254
"access": "restricted"
5355
},
5456
"release": {
55-
"branches": ["main"]
57+
"branches": [
58+
"main"
59+
]
5660
}
5761
}

0 commit comments

Comments
 (0)