@proappstore/compliance
v0.2.6
Published
Compliance checks for apps published on proappstore.online — used by the CLI for local feedback and by CI for gating.
Maintainers
Readme
@proappstore/compliance
Compliance checks for apps published on proappstore.online. Same checks the CLI runs locally and the template's CI runs on every push.
import { runChecks } from '@proappstore/compliance';
const results = await runChecks(process.cwd());
for (const r of results) {
console.log(`${r.status} ${r.name} ${r.detail}`);
for (const s of r.suggestions ?? []) console.log(` → ${s}`);
}Checks
| Name | What it checks | Status on fail |
|---|---|---|
| Accessibility static | Source-level baseline: image alt text, accessible button names, form control labels | fail |
| No template placeholders | No file still contains APPNAME | fail |
| No tracking SDKs | No reference to google-analytics / gtag / amplitude / mixpanel / segment / hotjar / plausible / posthog | fail |
| Brand fonts present | Manrope + Fraunces referenced in CSS or HTML | fail |
| PWA manifest | web/public/manifest.json exists and has name / short_name / start_url / display | warn |
| Bundle size | Largest JS in web/dist/assets/ is ≤ 300 KB gzipped | fail if too big; warn if not built yet |
License
MIT.
