Skip to content

Commit

Permalink
ignore dist test files
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanatkn committed Jul 7, 2024
1 parent 71e68bb commit 4faa34e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-worms-wonder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ryanatkn/gro": patch
---

ignore dist test files
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@
"files": [
"dist",
"src/lib/**/*.ts",
"!src/lib/**/*.test.*"
"!src/lib/**/*.test.*",
"!dist/**/*.test.*"
],
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const package_json = {
overrides: [{files: 'package.json', options: {useTabs: false}}],
},
sideEffects: ['**/*.css'],
files: ['dist', 'src/lib/**/*.ts', '!src/lib/**/*.test.*'],
files: ['dist', 'src/lib/**/*.ts', '!src/lib/**/*.test.*', '!dist/**/*.test.*'],
exports: {
'.': {types: './dist/index.d.ts', default: './dist/index.js'},
'./package.json': './package.json',
Expand Down

0 comments on commit 4faa34e

Please sign in to comment.