mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
filepath.Walk/WalkDir silently skip symlinked root directories because os.Lstat sees the root as a non-directory symlink and never enters it. This affected update, uninstall, reconcile, and server handlers when the source directory was a symlink (common with dotfiles managers). Extract ResolveSymlink() from sync.go into internal/utils/path.go and apply it at every filepath.Walk/WalkDir callsite on source/target dirs. Also add containment guards to resolveGroupSkills (uninstall) and resolveGroupUpdatable (update) to reject group directories that are symlinks pointing outside the source tree.
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.