From 8205a5be6a70d965e702765d4dd88dc609045d80 Mon Sep 17 00:00:00 2001 From: Sanaei Date: Sun, 29 Nov 2026 17:05:44 +0330 Subject: [PATCH] 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. --- .gitignore | 2 +- frontend/.gitignore | 2 +- frontend/node_modules | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) delete mode 120000 frontend/node_modules diff --git a/.gitignore b/.gitignore index 3883a1adf..dc327b6fb 100644 --- a/.gitignore +++ b/.gitignore @@ -20,7 +20,7 @@ bin/ x-ui/ dist/ release/ -node_modules/ +node_modules # Ignore compiled binaries main diff --git a/frontend/.gitignore b/frontend/.gitignore index 52c12c13c..04dcc20d5 100644 --- a/frontend/.gitignore +++ b/frontend/.gitignore @@ -1,4 +1,4 @@ -node_modules/ +node_modules .vite/ *.log *.tsbuildinfo diff --git a/frontend/node_modules b/frontend/node_modules deleted file mode 120000 index 7cfb5dda8..000000000 --- a/frontend/node_modules +++ /dev/null @@ -1 +0,0 @@ -/Users/sanaei/Documents/GitHub/3x-ui/frontend/node_modules \ No newline at end of file