Skip to content

chore: gitignore UI node_modules and .svelte-kit build artifacts#110

Open
marksverdhei wants to merge 1 commit into
htfrom
chore/gitignore-webui-build-artifacts
Open

chore: gitignore UI node_modules and .svelte-kit build artifacts#110
marksverdhei wants to merge 1 commit into
htfrom
chore/gitignore-webui-build-artifacts

Conversation

@marksverdhei

Copy link
Copy Markdown

Summary

The tools/ui and legacy tools/server/webui workspaces leave machine-local npm / SvelteKit output untracked in the working tree:

?? tools/server/webui/        # node_modules only
?? tools/ui/.svelte-kit/
?? tools/ui/node_modules/

These are regenerated by npm and never committed — the UI ships as prebuilt assets fetched by scripts/ui-assets.cmake — but with no ignore rule they sit in git status and pollute grep/rg sweeps over the repo (e.g. a recent grep for jinja symbols got swamped by .svelte-kit/output/client bundles).

Change

Add node_modules/ and .svelte-kit/ to .gitignore (under the existing "Server Web UI temporary files" section).

Safety

  • git check-ignore confirms all three dirs are now ignored.
  • git ls-files | grep -E 'node_modules/|\.svelte-kit/'none tracked, so nothing is removed from version control.

The tools/ui and legacy tools/server/webui workspaces leave machine-local
npm/SvelteKit output (node_modules/, .svelte-kit/) untracked in the working
tree. These are regenerated by npm and never committed — the UI ships as
prebuilt assets fetched by scripts/ui-assets.cmake — but with no ignore rule
they show up in `git status` and pollute grep/ripgrep over the repo.

Add `node_modules/` and `.svelte-kit/` ignore rules. No tracked files match
either pattern, so nothing is removed from version control.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant