This document tracks compliance with the AOSSIE Best Practices Guidelines for the SupportUsButton project.
- Licensing & Copyright: Includes GNU General Public License v3.0 in
LICENSE. - Project Branding: Complete SVG logo, favicon, color palette, and typography documented in
brand/Brand.md. - Maintainers List: Listed in
MAINTAINERS.md. - Clean Documentation:
README.mdandCONTRIBUTING.mdcontain no broken links or TODOs left. - Build & Run Instructions:
README.mdcontains clear installation, development, testing, and build instructions. - Type Safety: Written in 100% strict TypeScript with type definitions exported.
- No Magic Constants: Styling tokens and default properties are configured cleanly in types and CSS variables.
- Zero Build Warnings:
npm run buildcompiles cleanly with zero warnings or errors. - AI Agent Directives: Context and operational guidelines provided in
AGENTS.md. - CodeRabbit Configuration: Customized in
.coderabbit.yaml.
- Automatic Host Style Adaptation: Package inherits host page
font-family,background-color, andcolornatively. - Contrast Fail-Safes: Dynamic relative luminance contrast calculation (
isDarkColor) for logo and button visibility on light/dark host themes. - Automated Testing & CI: Unit testing and GitHub Actions workflow configured for PR validation.
- Micro-Animations: GPU-accelerated CSS keyframe transitions (
animate-sub-fade-in,animate-sub-scale-in). - Zero Third-Party UI Dependencies: Ultra-lightweight package architecture (only standard
tslibhelper; zero external UI framework dependencies) producing ~12 KB minified JS output (dist/index.esm.js) and ~4 KB minified CSS (dist/style.css). - Multi-Bundle Formats: Exports ESM (
dist/index.esm.js), CommonJS (dist/index.cjs.js), and UMD (dist/index.umd.js).
- Interactive online playground demo deployed to GitHub Pages.
- Automated npm release workflow via GitHub Actions on tagged releases.
- TypeScript Validation (
npx tsc --noEmit): ✅ Passed (0 errors) - Bundle Build (
npm run build): ✅ Passed (0 warnings)