Skip to content

Commit

Permalink
Update .npmignore to exclude source code from NPM package
Browse files Browse the repository at this point in the history
  • Loading branch information
s-vamshi committed Oct 9, 2024
1 parent c385a14 commit 6f0d380
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
src/
!/dist/types/src
3 changes: 2 additions & 1 deletion lib/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"suppressImplicitAnyIndexErrors": true,
"experimentalDecorators": true,
"declaration": true,
"declarationDir": "./dist/types",
"composite": true,
"declarationMap": true,
"baseUrl": "src",
Expand All @@ -23,4 +24,4 @@
},
"compileOnSave": false,
"exclude": ["node_modules", "test-configs", "src/**/tests/*", "**/*.test.ts", "**/node_modules"]
}
}

0 comments on commit 6f0d380

Please sign in to comment.