chore(repo): untrack the node_modules link that #7263 carried in

The squash of #7263 included frontend/node_modules as a symlink to a local
path. It was a worktree link that the node_modules/ rule does not ignore: a
trailing slash matches only a real directory. Pulling that commit replaced an
installed, ignored frontend/node_modules directory with the dangling link.

Remove the link and ignore node_modules whether it is a directory or a link.
Anyone who pulled main in between needs npm ci in frontend/ again.
This commit is contained in:
Sanaei
2026-11-29 17:05:44 +03:30
parent 783e0c5438
commit 8205a5be6a
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ bin/
x-ui/
dist/
release/
node_modules/
node_modules
# Ignore compiled binaries
main
+1 -1
View File
@@ -1,4 +1,4 @@
node_modules/
node_modules
.vite/
*.log
*.tsbuildinfo
-1
View File
@@ -1 +0,0 @@
/Users/sanaei/Documents/GitHub/3x-ui/frontend/node_modules