Skip to content

Commit 3e2213a

Browse files
committed
fix: Fixed TypeScript declaration files not being a module
1 parent 81b23b6 commit 3e2213a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.releaserc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}],
1010
"@semantic-release/npm",
1111
["@semantic-release/git", {
12-
"assets": ["CHANGELOG.md", "package.json", "coverage/coverage-final.json", "dist/**/*.{js,d.ts}"],
12+
"assets": ["CHANGELOG.md", "package.json", "coverage/coverage-final.json", "lib/**/*.{js,d.ts}"],
1313
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
1414
}]
1515
]

declaration.tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"declaration": true,
55
"noEmit": false,
66
"emitDeclarationOnly": true,
7-
"outFile": "./lib/types/index.d.ts"
7+
"outDir": "./lib/types"
88
},
99
"exclude": ["__tests__", "__mocks__"]
1010
}

0 commit comments

Comments
 (0)