From 9e3ed41d2b6711df7d908b4d06b794ef84a3ce91 Mon Sep 17 00:00:00 2001 From: Ali Hesari Date: Wed, 12 Aug 2026 20:21:11 +0200 Subject: [PATCH] fix(build): exclude dist, .svn-wp and .claude from the distributed package .distignore listed neither dist nor .svn-wp, and both `make build` and `make svn-sync` rsync from the repo root using only that file. The released 1.0.1 on WordPress.org therefore contains owlstack/dist/owlstack-1.0.0.zip: 1.15 MB of a 1.79 MB payload, a stale copy of the previous release nested inside the plugin. Left alone, 1.1.0 would have shipped the same way plus .svn-wp (the whole SVN working copy) and .claude (which now holds git worktrees, a second full copy of the plugin). Also adds phpcs.xml.dist. The list had .phpcs.xml.dist with a leading dot, which never matched the file the repo actually has. Rebuilt package: 678 KB across 205 files, down from 1.79 MB. --- .distignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.distignore b/.distignore index 95278b0..93ac448 100644 --- a/.distignore +++ b/.distignore @@ -1,10 +1,13 @@ # Directories .git .github +.claude tests node_modules .phpunit.cache wp-assets +dist +.svn-wp # Development & CI files .gitignore @@ -13,6 +16,7 @@ wp-assets .editorconfig .phpcs.xml .phpcs.xml.dist +phpcs.xml.dist phpunit.xml phpunit.xml.dist composer.lock