mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
pterm's cursor package writes hide/show ANSI codes (\x1b[?25l/h) directly to os.Stdout, bypassing WithWriter(). The previous fix (SetProgressWriter to stderr) was insufficient because pterm still created progress bar objects that triggered cursor.Hide()/Show(). Add SuppressProgressToStderr() which both redirects ProgressWriter and forces isProgressTTY() to return false, preventing pterm components from being instantiated at all. Extract assertNoANSI test helper and cover all three structured formats (JSON, SARIF, Markdown). Also update pre-commit E2E runbook with steps 10-11 (framework integration tests) and add pre-commit-hook recipe to sidebar.
Website
Documentation site for skillshare, built with Docusaurus.
Install
npm install
Local Development
npm start
Quality Checks
npm run typecheck
npm run clear
Build and Preview
npm run build
npm run serve
Deployment
npm run deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.