Skip to content

Commit

Permalink
fix: ignore test files from release
Browse files Browse the repository at this point in the history
  • Loading branch information
0x1NotMe committed Oct 14, 2024
1 parent 9bf8b99 commit 46d0c94
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion typescript/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
src/

tsconfig.json
.gitignore
.gitignore

# Ignore all test files
**/__tests__/
*.test.ts
*.spec.ts
4 changes: 2 additions & 2 deletions typescript/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"*": ["../../configs/*"]
}
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "test/**/*"]
"include": ["src/**/*.ts"],
"exclude": ["**/*.test.ts", "**/*.spec.ts", "**/__tests__/**"]
}

0 comments on commit 46d0c94

Please sign in to comment.