fix: shorten manifest description to 116 chars to meet Chrome Web Store limit
This commit is contained in:
@@ -29,7 +29,11 @@ jobs:
|
||||
console.error('Error: Manifest version must be 3');
|
||||
process.exit(1);
|
||||
}
|
||||
console.log('✅ manifest.json is valid (v' + manifest.version + ')');
|
||||
if (manifest.description && manifest.description.length > 132) {
|
||||
console.error('Error: Description is too long (' + manifest.description.length + ' > 132 chars)');
|
||||
process.exit(1);
|
||||
}
|
||||
console.log('✅ manifest.json is valid (v' + manifest.version + ', description: ' + manifest.description.length + '/132 chars)');
|
||||
"
|
||||
|
||||
- name: Verify Referenced Assets & Files
|
||||
|
||||
@@ -24,7 +24,7 @@ help:
|
||||
## check: Verify JavaScript syntax and manifest validity
|
||||
check:
|
||||
@echo "🔍 Validating manifest.json and JavaScript files..."
|
||||
@node -e "const m = JSON.parse(require('fs').readFileSync('manifest.json')); if (m.manifest_version !== 3) process.exit(1); console.log('✅ Manifest v' + m.version + ' OK');"
|
||||
@node -e "const m = JSON.parse(require('fs').readFileSync('manifest.json')); if (m.manifest_version !== 3) process.exit(1); if (m.description.length > 132) { console.error('❌ Description too long: ' + m.description.length + ' > 132'); process.exit(1); } console.log('✅ Manifest v' + m.version + ' OK (Description: ' + m.description.length + '/132 chars)');"
|
||||
@find scripts dashboard popup -name "*.js" | while read -r jsfile; do \
|
||||
node --check "$$jsfile" && echo " ✓ $$jsfile valid"; \
|
||||
done
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
"manifest_version": 3,
|
||||
"name": "Brightwheel Memories & Reports Exporter",
|
||||
"version": "1.0.0",
|
||||
"description": "Export all your children's memories, high-res photos, videos, daily care reports, milestones, and activity manifests from Brightwheel.",
|
||||
"description": "Export all your child's high-res photos, videos, daily care logs, milestones, and activity reports from Brightwheel.",
|
||||
"icons": {
|
||||
"16": "icons/icon16.png",
|
||||
"48": "icons/icon48.png",
|
||||
|
||||
Reference in New Issue
Block a user