@reddoorla/maintenance 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/dist/cli/bin.js +327 -96
- package/dist/cli/bin.js.map +1 -1
- package/dist/cli/commands/audit.d.ts +6 -0
- package/dist/cli/commands/audit.js +223 -5
- package/dist/cli/commands/audit.js.map +1 -1
- package/dist/index.d.ts +35 -9
- package/dist/index.js +156 -79
- package/dist/index.js.map +1 -1
- package/dist/reports/maintenance-email/assets/blurredTests.jpg +0 -0
- package/dist/reports/maintenance-email/assets/check.png +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -258,7 +258,13 @@ RESEND_WEBHOOK_SECRET=whsec_XXXX # only for the deployed webhook
|
|
|
258
258
|
|
|
259
259
|
### Operator flow
|
|
260
260
|
|
|
261
|
-
0. **Prereq:
|
|
261
|
+
0. **Prereq: refresh Lighthouse scores on each Websites row.** From each site's checkout:
|
|
262
|
+
|
|
263
|
+
```bash
|
|
264
|
+
reddoor-maint audit lighthouse --write-airtable
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
This runs Lighthouse and writes the 4 scores directly to the matching Websites row (slug auto-derived from `package.json#name`; pass `--write-airtable=<slug>` to override), along with a `Last lighthouse audit at` timestamp. The report orchestrator copies these into the new Reports row — drafting a report for a site missing scores fails with a clear error.
|
|
262
268
|
|
|
263
269
|
1. **Draft overdue reports**
|
|
264
270
|
|