mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
InstallOptions.Force carried two meanings: "overwrite what is already there" and "proceed despite audit findings". Update paths set Force unconditionally to overwrite a staged temp dir, so they had to leave it off to keep the audit gate alive -- which swallowed the caller's --force and made the gate impossible to override from either the CLI or the web UI. Split the audit intent into InstallOptions.AuditOverride and route every gate through it alone. Entry points translate --force explicitly, so a missed one degrades to "force has no effect" rather than "audit is bypassed". Scan failures stay fail-closed regardless: accepting known findings is not the same as being unable to learn any. This also closes two paths that bypassed the gate outright, since both inherited Force for overwrite reasons alone: install --json and grouped batch updates. In the web UI, Force Retry now appears only on failures force can actually resolve -- a permission-denied unlink previously offered a button that could never succeed -- and CLI-only flag hints are stripped from messages rendered there. Behaviour change: a --force at install time no longer exempts later updates from the audit gate; it is a one-off decision per command.
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.