Skip to content

Commit b076f0f

Browse files
committed
Include files when publishing
1 parent a7c44fd commit b076f0f

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
coverage/
22
dist/
33
node_modules/
4+
types/
45
*.log
56
*.tsbuildinfo
67
*.tgz

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717
"sideEffects": false,
1818
"type": "module",
1919
"exports": "./lib/eslint-formatter-codeclimate.js",
20-
"files": [],
20+
"files": [
21+
"lib",
22+
"types"
23+
],
2124
"scripts": {
2225
"prepack": "tsc --build",
2326
"test": "c8 node --test"

tsconfig.build.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"include": ["lib"],
33
"compilerOptions": {
44
"checkJs": true,
5+
"composite": true,
56
"declaration": true,
67
"declarationMap": true,
78
"emitDeclarationOnly": true,

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"exclude": ["lib", "**/fatal.js"],
3+
"references": [{ "path": "./tsconfig.build.json" }],
34
"compilerOptions": {
45
"checkJs": true,
56
"lib": ["es2022"],

0 commit comments

Comments
 (0)