Skip to content

Commit 9e422d6

Browse files
committed
fix(reporters): exclude test-data files from npm packages
Remove test-data files from published packages to reduce size and avoid shipping test fixtures. Also bump vitest reporter version to 0.1.3.
1 parent 9881c2e commit 9e422d6

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

reporters/jest/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"types": "dist/index.d.ts",
1414
"files": [
1515
"dist",
16-
"!dist/*.tsbuildinfo"
16+
"!dist/*.tsbuildinfo",
17+
"!dist/*.test-data.*"
1718
],
1819
"scripts": {
1920
"build": "tsc --build",

reporters/vitest/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tdd-guard-vitest",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Vitest reporter for TDD Guard",
55
"author": "Nizar Selander",
66
"license": "MIT",
@@ -13,7 +13,8 @@
1313
"types": "dist/index.d.ts",
1414
"files": [
1515
"dist",
16-
"!dist/*.tsbuildinfo"
16+
"!dist/*.tsbuildinfo",
17+
"!dist/*.test-data.*"
1718
],
1819
"scripts": {
1920
"build": "tsc --build",

0 commit comments

Comments
 (0)