Skip to content

Commit

Permalink
add .npmignore and include src/lib
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanatkn committed Jul 6, 2024
1 parent d921ecf commit 85a627a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/rich-carpets-shave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ryanatkn/gro": patch
---

add .npmignore and include src/lib
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.test.ts
test/
fixtures/
docs/
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@
"**/*.css"
],
"files": [
"dist"
"dist",
"src/lib"
],
"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'],
files: ['dist', 'src/lib'],
exports: {
'.': {types: './dist/index.d.ts', default: './dist/index.js'},
'./package.json': './package.json',
Expand Down

0 comments on commit 85a627a

Please sign in to comment.