This repository is a template for creating a new web component project.
Follow the setup process in scripts/setup.js and SETUP.md when preparing a generated repository. The setup process should:
- Replace
COMPONENT-NAMEwith the actual component name everywhere it appears. - Replace
ComponentNameElementwith the generated PascalCase class name. - Replace
COMPONENT_DESCRIPTIONwith the component description. - Rename template files to match the chosen component name.
- Remove template-only files from the generated repository.
Template-only files that should not remain in the final repository include:
AGENTS.mdSETUP.mdREADME.tplscripts/setup.js
When changing the setup process, keep the script, setup instructions, and placeholder files in sync. The setup process should cover the source, tests, demo pages, package metadata, and GitHub workflow files that still contain template placeholders.
After changing the setup workflow, run the repository checks that apply to the edited files. npm run lint is the minimum validation for setup-script changes.
- Treat this repository as a template, not a finished component package.
- Keep changes minimal and focused on template generation behavior.
- If you add a new template-only file, update the cleanup list in the setup script too.