Skip to content

Commit

Permalink
fix(create): exclude tests in package.template.json (#9584)
Browse files Browse the repository at this point in the history
* fix(create): exclude tests in package.template.json

* fix: tweak package.template.json

* chore: add changeset

* chore: fix changeset

* Update .changeset/large-pandas-swim.md

---------

Co-authored-by: Simon H <[email protected]>
  • Loading branch information
stordahl and dummdidumm authored Apr 5, 2023
1 parent a3fc44f commit 23d8327
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/large-pandas-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-svelte': minor
---

feat: ignore test files in library skeleton package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"svelte": "./dist/index.js"
}
},
"files": ["dist"],
"files": ["dist", "!dist/**/*.test.*", "!dist/**/*.spec.*"],
"peerDependencies": {
"svelte": "^3.54.0"
},
Expand Down

0 comments on commit 23d8327

Please sign in to comment.