Skip to content

Commit 6600d3b

Browse files
committed
chore: update gitignore
1 parent 557f4b8 commit 6600d3b

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

.gitignore

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,6 @@ public/
129129
# Ignore all local history of files
130130
.history
131131

132-
docs/**
133-
!docs/.gitkeep
134-
dist/**
135-
!dist/.gitkeep
132+
docs/
133+
dist/
136134
# End of https://www.gitignore.io/api/node,macos,visualstudiocode

dist/.gitkeep

Whitespace-only changes.

docs/.gitkeep

Whitespace-only changes.

tools/init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function modifyGitignoreFile(): void {
8282
const files = ['.gitignore'].map(f => resolve(__dirname, '..', f));
8383
replace({
8484
files,
85-
from: ['dist/**', 'docs/**', '!docs/.gitkeep', '!dist/.gitkeep'],
85+
from: ['dist/', 'docs/'],
8686
to: '',
8787
});
8888
}

0 commit comments

Comments
 (0)