Repository navigation
Commit cd6a2e6
chore(package): shrink published archive 3 MB -> 1 MB (-67%)
Two related cleanups against `flutter pub publish` bloat:
1. Delete unreferenced duplicate GIFs at repo root.
`1.gif` (472 KB) and `2.gif` (1 MB) sat at the repo root alongside
their canonical copies in `assets/`. The README has always pointed
at `assets/1.gif` / `assets/2.gif`, so the root files were never
referenced anywhere — just dead weight in every published archive.
2. Add `.pubignore` to drop internal maintenance files from the bundle.
`CLAUDE.md`, `SPECS.md`, `tool/`, and `doc/` are roadmap notes,
generator scripts, and the auto-generated font preview. They're
tracked in git for the autonomous /loop workflow but ship zero
value to package consumers, so they don't belong in the published
tarball.
Because `.pubignore` fully overrides `.gitignore` for pub bundling,
the file also replicates the existing `.gitignore` patterns that
should still apply (build artifacts, IntelliJ files, Claude Code
session state, etc.).
The `doc/font_preview.md` drift test still passes — it reads the file
from the working tree, not the published archive.
Verified:
flutter analyze # No issues found
flutter test # 31 of 31 passed
dart format --set-exit-if-changed # clean
flutter pub publish --dry-run # 1 MB archive (was 3 MB)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 56b2918 commit cd6a2e6
5 files changed
Lines changed: 57 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
3 | 12 | | |
4 | 13 | | |
5 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
| |||
90 | 96 | | |
91 | 97 | | |
92 | 98 | | |
93 | | - | |
94 | 99 | | |
95 | 100 | | |
96 | 101 | | |
| |||
0 commit comments