Skip to content

Commit 1ad7127

Browse files
committed
* chore(.gitignore): add new line at the end of .gitignore file
* chore(.npmignore): add .npmignore file with default content
1 parent 165e693 commit 1ad7127

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ yarn-error.log*
77
lerna-debug.log*
88
.pnpm-debug.log*
99

10+
1011
# Diagnostic reports (https://nodejs.org/api/report.html)
1112
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
1213

.npmignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# keep default behavior (includes almost everything)
2+
**
3+
4+
# Exclude test files
5+
*.test.js
6+
*.tests.js
7+
*.spec.js
8+
*.specs.js
9+
10+
# Exclude __tests__ directory (as before)
11+
__tests__/**
12+
13+
# # Explicitly include essential files (this is important!)
14+
# !package.json
15+
# !README.md # Or README, README.txt, etc.
16+
# !LICENSE # If you have one
17+
# !index.js # Or your main entry point file as defined in package.json
18+
# # ... other essential files
19+
20+
# # Exclude other files as per default npm behavior
21+
# /node_modules/
22+
23+

0 commit comments

Comments
 (0)