Commit 0d3b984
chore(deploy): exclude dev tooling and repo docs from testes deploy (#392)
User reported finding dev-only files on the testes server after the
first successful deploy. Categories cleaned up:
Repo metadata:
- .githooks/, .distignore
Build / dependency manifests:
- composer.json, composer.lock, package.json, package-lock.json
Static analysis / testing tools:
- phpstan-stubs.php, patchwork.json
Lint configs (the existing `.eslintrc*` pattern doesn't match ESLint v9
flat config naming `eslint.config.{js,mjs,cjs}` — added the flat
pattern explicitly):
- eslint.config.*
Repo docs (live on GitHub, not in plugin runtime):
- CONTRIBUTING.md, SECURITY.md
Intentionally kept (per user preference): CHANGELOG.md — useful for
historical lookup via SSH; not surfaced to end users (WP.org parses
`readme.txt`'s own changelog section).
The previous "composer.json e package.json são intencionalmente
enviados" rationale was hand-wavy (managed hosting admins might
inspect them) and the user disagreed in practice. Comment block
rewritten to reflect the new policy.
Next push to develop triggers a redeploy; rsync `--delete` will remove
the listed files from the testes server in the same pass.
Co-authored-by: Claude <noreply@anthropic.com>1 parent bc4370f commit 0d3b984
1 file changed
Lines changed: 17 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
69 | 74 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
| 82 | + | |
80 | 83 | | |
81 | 84 | | |
| 85 | + | |
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
| |||
91 | 95 | | |
92 | 96 | | |
93 | 97 | | |
| 98 | + | |
94 | 99 | | |
95 | 100 | | |
| 101 | + | |
96 | 102 | | |
| 103 | + | |
97 | 104 | | |
98 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
99 | 110 | | |
| 111 | + | |
| 112 | + | |
100 | 113 | | |
101 | 114 | | |
102 | 115 | | |
| |||
0 commit comments