forked from Automattic/jetpack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
63 lines (57 loc) · 2.76 KB
/
Copy path.gitattributes
File metadata and controls
63 lines (57 loc) · 2.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Have git convert crlf to lf for all text files by default.
* text=auto
# Flag some file extensions as binary. Git should already DTRT, but just in case.
*.enc binary
*.eot binary
*.gif binary
*.jpg binary
*.png binary
*.ttf binary
*.woff binary
*.woff2 binary
*.zip binary
# We never want .gitkeep in production mirrors. The deploy-to-svn.sh script strips out
# the kept directories anyway, so there's no point to keeping them in the first place.
.gitkeep production-exclude
# We don't need these files in any production mirror.
AGENTS.md production-exclude
babel.config.js production-exclude
babel.config.[cm]js production-exclude
.babelrc production-exclude
.c8rc.json production-exclude
CLAUDE.md production-exclude
composer.lock production-exclude
eslint.config.mjs production-exclude
.eslintignore production-exclude
.gitignore production-exclude
jest.config.js production-exclude
jest.config.[cm]js production-exclude
jsconfig.json production-exclude
.phpcs.dir.xml production-exclude
.phpcs.dir.phpcompatibility.xml production-exclude
.phpcsignore production-exclude
phpunit.*.xml.dist production-exclude
phpunit.xml.dist production-exclude
tsconfig.json production-exclude
webpack.config.js production-exclude
webpack.config.[cm]js production-exclude
**/changelog/** production-exclude
**/.phan/** production-exclude
**/.w.org-assets/** production-exclude
projects/*/*/tests/** production-exclude
# We only need package.json in js-packages.
projects/*/*/package.json production-exclude
projects/js-packages/*/package.json !production-exclude
# Plugins bundle vendor packages. There are some files we can trim from there.
projects/plugins/*/vendor/composer/installed.json production-exclude
projects/plugins/*/vendor/automattic/jetpack-autoloader/** production-exclude
projects/plugins/*/vendor/automattic/jetpack-composer-plugin/** production-exclude
# For our own packages, we can safely trim even more.
projects/plugins/*/vendor/automattic/*/composer.json production-exclude
projects/plugins/*/vendor/automattic/*/LICENSE.txt production-exclude
projects/plugins/*/vendor/automattic/*/SECURITY.md production-exclude
projects/plugins/*/vendor/automattic/*/**/README.md production-exclude
projects/plugins/*/jetpack_vendor/automattic/*/composer.json production-exclude
projects/plugins/*/jetpack_vendor/automattic/*/LICENSE.txt production-exclude
projects/plugins/*/jetpack_vendor/automattic/*/SECURITY.md production-exclude
projects/plugins/*/jetpack_vendor/automattic/*/**/README.md production-exclude