Skip to content

Commit 519b970

Browse files
authored
Merge pull request #1 from code4rena-dev/nlf/gitignore-tweaks
feat: keep knexfile and migrations
2 parents c58bea9 + 100b3e8 commit 519b970

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,31 @@
1111
!/bin/
1212
!/CHANGELOG*
1313
!/docs/
14+
!/knexfile.ts
1415
!/lib/
16+
!/migrations/
1517
!/LICENSE*
1618
!/package.json
1719
!/README*
1820
!/scripts/
21+
!/seeds/
1922
!/tap-snapshots/
2023
!/test/
2124
!/tsconfig*.json
2225

2326
# re-ignore typescript output artifacts
27+
/knexfile.js
28+
/knexfile.d.ts
2429
/bin/**/*.js
2530
/bin/**/*.d.ts
2631
/lib/**/*.js
2732
/lib/**/*.d.ts
33+
/migrations/**/*.js
34+
/migrations/**/*.d.ts
2835
/scripts/**/*.js
2936
/scripts/**/*.d.ts
37+
/seeds/**/*.js
38+
/seeds/**/*.d.ts
3039
/test/**/*.js
3140
/test/**/*.d.ts
3241

lib/content/gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,31 @@
1111
!/bin/
1212
!/CHANGELOG*
1313
!/docs/
14+
!/knexfile.ts
1415
!/lib/
16+
!/migrations/
1517
!/LICENSE*
1618
!/package.json
1719
!/README*
1820
!/scripts/
21+
!/seeds/
1922
!/tap-snapshots/
2023
!/test/
2124
!/tsconfig*.json
2225

2326
# re-ignore typescript output artifacts
27+
/knexfile.js
28+
/knexfile.d.ts
2429
/bin/**/*.js
2530
/bin/**/*.d.ts
2631
/lib/**/*.js
2732
/lib/**/*.d.ts
33+
/migrations/**/*.js
34+
/migrations/**/*.d.ts
2835
/scripts/**/*.js
2936
/scripts/**/*.d.ts
37+
/seeds/**/*.js
38+
/seeds/**/*.d.ts
3039
/test/**/*.js
3140
/test/**/*.d.ts
3241

0 commit comments

Comments
 (0)