Skip to content

Commit

Permalink
Exclude test files from package (#266)
Browse files Browse the repository at this point in the history
Test files are now excluded from each package. They have been included
in recent releases.
  • Loading branch information
Gudahtt committed Dec 13, 2022
1 parent 946d12e commit 4ff88e8
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
3 changes: 2 additions & 1 deletion packages/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"license": "MIT",
"main": "src/index.js",
"files": [
"src/"
"src/",
"!src/**/*.test.js"
],
"scripts": {
"lint:changelog": "auto-changelog validate",
Expand Down
3 changes: 2 additions & 1 deletion packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"license": "MIT",
"main": "src/index.js",
"files": [
"src/"
"src/",
"!src/**/*.test.js"
],
"scripts": {
"lint:changelog": "auto-changelog validate",
Expand Down
3 changes: 2 additions & 1 deletion packages/jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"license": "MIT",
"main": "src/index.js",
"files": [
"src/"
"src/",
"!src/**/*.test.js"
],
"scripts": {
"lint:changelog": "auto-changelog validate",
Expand Down
3 changes: 2 additions & 1 deletion packages/mocha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"license": "MIT",
"main": "src/index.js",
"files": [
"src/"
"src/",
"!src/**/*.test.js"
],
"scripts": {
"lint:changelog": "auto-changelog validate",
Expand Down
3 changes: 2 additions & 1 deletion packages/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"license": "MIT",
"main": "src/index.js",
"files": [
"src/"
"src/",
"!src/**/*.test.js"
],
"scripts": {
"lint:changelog": "auto-changelog validate",
Expand Down
4 changes: 3 additions & 1 deletion packages/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"license": "MIT",
"main": "src/index.js",
"files": [
"src/"
"src/",
"!src/**/*.test.js",
"!src/**/__test__"
],
"scripts": {
"lint:changelog": "auto-changelog validate",
Expand Down

0 comments on commit 4ff88e8

Please sign in to comment.