You've already forked wc-tier-and-package-prices
Update v1.3.1 session learnings with release package fixes
- Document vendor .git exclusion requirement for release packages - Update package size to 775KB (650 files) after proper exclusions - Add correct zip parent directory path for release creation - Document .claude/settings.json addition to .gitignore Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
15
CLAUDE.md
15
CLAUDE.md
@@ -1200,8 +1200,8 @@ The plugin architecture is solid and well-tested. Most bugs arise from:
|
||||
- All 7 language files updated and compiled
|
||||
|
||||
6. Created release package:
|
||||
- Package size: 745KB
|
||||
- 642 files included
|
||||
- Package size: 775KB (after proper exclusions)
|
||||
- 650 files included
|
||||
- SHA256 checksum generated
|
||||
|
||||
7. Updated README.md:
|
||||
@@ -1209,6 +1209,10 @@ The plugin architecture is solid and well-tested. Most bugs arise from:
|
||||
- Updated PHP requirement to 8.3
|
||||
- Added v1.3.0 and v1.3.1 changelog entries
|
||||
|
||||
8. Re-released v1.3.1:
|
||||
- Fixed release package exclusions (vendor .git dirs were included)
|
||||
- Added `.claude/settings.json` to .gitignore
|
||||
|
||||
**Key Learnings:**
|
||||
|
||||
- `SecureLicenseClient` requires `serverSecret` parameter for HMAC verification
|
||||
@@ -1216,6 +1220,13 @@ The plugin architecture is solid and well-tested. Most bugs arise from:
|
||||
- `RateLimitExceededException` has a `retryAfter` property (int seconds)
|
||||
- Always check library documentation in `docs/server-implementation.md` for implementation requirements
|
||||
|
||||
**Release Package Learnings (CRITICAL):**
|
||||
|
||||
- Vendor directories installed via Composer (dev-main) contain their own `.git/` folders
|
||||
- Release exclusion patterns must include `'wc-tier-and-package-prices/vendor/*/.git/*'` and `'wc-tier-and-package-prices/vendor/*/CLAUDE.md'`
|
||||
- Run zip from `/home/magdev/workspaces/php/wordpress/wp-content/plugins/` (NOT `/home/magdev/workspaces/php/`)
|
||||
- Always verify exclusions with: `unzip -l package.zip | grep -E "\.git/|CLAUDE\.md"`
|
||||
|
||||
---
|
||||
|
||||
Always refer to this document when starting work on this project. Good luck!
|
||||
|
||||
Reference in New Issue
Block a user