Skip to content

Commit

Permalink
fix: npm ignore __tests__ & stories (#1161)
Browse files Browse the repository at this point in the history
* fix: cli dist babel ignore __tests__ & stories

When compiling `dist:transpile:cjs` or `dist:transpile:esm` the folders `__tests__` & `stories` were included.

* fix: stop stories files being published

* revert - we still want to type check those files

Co-authored-by: Cole Bemis <colebemis@github.com>
  • Loading branch information
andykenward and colebemis authored Jul 27, 2021
1 parent c1dffbb commit ddb2aed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
"lib-esm",
"index.d.ts",
"!lib/__tests__",
"!lib-esm/__tests__"
"!lib/stories",
"!lib-esm/__tests__",
"!lib-esm/stories"
],
"author": "GitHub, Inc.",
"license": "MIT",
Expand Down

0 comments on commit ddb2aed

Please # to comment.