Thanks for contributing to @knighted/develop.
This project is a CDN-first UI component workbench for showcasing @knighted/jsx
and @knighted/css, so local workflows should preserve browser execution
behavior and avoid bundler-only assumptions in src/ runtime code.
- Type checking notes:
docs/type-checking.md - Build and deploy notes:
docs/build-and-deploy.md - CodeMirror integration notes:
docs/code-mirror.md - Roadmap:
docs/next-steps.md - Article draft:
docs/article.md
- Node.js
>= 22.22.1 - npm
npm installStart the local app:
npm run devThe local server opens src/index.html.
Build prep + CSS + import map generation:
npm run buildBuild with explicit primary CDN modes:
npm run build:esm
npm run build:jspm
npm run build:importmap-modePreview generated dist output:
npm run previewLint source and Playwright files:
npm run lintType check TS tooling files:
npm run check-typesInstall browser binaries once:
npx playwright installIf your environment also needs system deps (for example CI-like Linux containers):
npx playwright install --with-depsRun preview-mode E2E suite:
npm run test:e2eRun dev-mode E2E suite:
npm run test:e2e:devRun preview-mode suite headed:
npm run test:e2e:headedBefore opening a PR:
- Run
npm run lint. - Run
npm run build:esmfor runtime/build changes. - Run relevant Playwright tests for UI/runtime changes.
- Update docs when user-facing behavior or workflows change.
- Keep changes focused to
@knighted/develop. - Preserve CDN-first loading and fallback behavior.
- Avoid editing generated output unless explicitly required.