Skip to content

Commit 6216eda

Browse files
committed
Update .distignore and .gitignore files
Updated the .distignore and .gitignore files to include more files and directories that should be ignored. The changes will ensure that unnecessary files and directories like IDE configurations, vendor directories, and cache directories are not included in the repository or distribution.
1 parent 2825858 commit 6216eda

File tree

2 files changed

+20
-7
lines changed

2 files changed

+20
-7
lines changed

.distignore

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
1-
.git
2-
.github
3-
.wordpress-org
4-
node_modules
1+
/.git
2+
.gitignore
3+
4+
/node_modules
5+
/.idea
6+
/.github
7+
/.storybook
8+
/.phpstan
9+
/.wordpress-org
10+
/vendor/bin
11+
/vendor/composer/installers
12+
/vendor/**/*.phar
13+
514
src/*.js
6-
src/**/*.js
715

16+
.phpstorm.meta.php
817
.editorconfig
9-
.gitignore
18+
1019
.prettierignore
1120
.prettierrc.json
1221
composer.json

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.idea/
2+
.vscode/
3+
.DS_Store
4+
15
# Logs
26
logs
37
*.log
@@ -14,7 +18,7 @@ build/Release
1418
/src/Strauss
1519

1620
# Dependency directories
17-
node_modules/
21+
node_modules
1822

1923
# Optional npm cache directory
2024
.npm

0 commit comments

Comments
 (0)