mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
Replace the naive string matcher (~40 lines) with a proper gitignore implementation (~200 lines, no external deps) supporting **, ?, [abc], !negation, /anchored, pattern/ (dir-only), and \#/\! escapes. New Matcher API (Compile, ReadMatcher, Match, CanSkipDir, HasRules) replaces the old Match/ReadPatterns functions (kept as deprecated wrappers). Call sites in sync.go and install_discovery.go updated. Also fixes isDir=true for install discovery (skill paths are dirs). 100% test coverage on skillignore package (~150 table-driven cases). Added 7 sync discovery tests and 5 install integration tests covering **, !negation, pattern/, [Tt] char class, and combined patterns.
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.