-
Notifications
You must be signed in to change notification settings - Fork 154
Expand file tree
/
Copy path.distignore
More file actions
72 lines (66 loc) · 1.53 KB
/
Copy path.distignore
File metadata and controls
72 lines (66 loc) · 1.53 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
64
65
66
67
68
69
70
71
72
# Files and directories that must NOT ship to wp.org (applied by the 10up
# deploy action and by the release zip step). Built assets under assets/ ARE
# shipped — generated outputs are untracked (gitignored) and rebuilt fresh in CI.
#
# IMPORTANT: generic dir names (src, bin, tests, build) are ANCHORED with a
# leading slash so they only match the PLUGIN's own top-level dirs. Without the
# anchor, rsync/10up match them at any depth and would strip required vendor
# paths like vendor/wedevs/wp-utils/src (SingletonTrait) -> fatal on activation.
# Plugin-local source / tooling dirs (root-anchored)
/.git
/.github
/.claude
/.wordpress-org
/src
/bin
/tests
/build
/node_modules
# Nested build inputs for the user-directory module (keep its built output)
modules/user-directory/src
modules/user-directory/node_modules
# Dotfiles / dev config (root-anchored)
/.babelrc
/.editorconfig
/.eslintrc
/.eslintrc.js
/.eslintrc.json
/.jshintrc
/.prettierrc
/.gitignore
/.gitattributes
/.distignore
/.svnignore
/.nvmrc
/.travis.yml
/.php_cs.dist
/phpcs.xml
/phpcs.xml.dist
/phpunit.xml
/phpunit.xml.dist
/state.json
# Build / tooling config (root-anchored)
/Gruntfile.js
/gruntfile.js
/vite.config.mjs
/vite.config.js
/tailwind.config.js
/postcss.config.js
/postcss.user-directory.config.js
/package.json
/package-lock.json
/composer.json
/composer.lock
/appsero.json
/plugin-deploy.sh
# Docs (root-anchored)
/readme.md
/README.md
/CHANGELOG.md
/CLAUDE.md
/docs.md
/docs
# Match anywhere (safe — these never appear inside required vendor paths)
.DS_Store
*.zip
*.log