From 75fc1a0da3422ef398f6fb43867abb531a2f65ff Mon Sep 17 00:00:00 2001 From: only-cli Date: Sat, 22 Aug 2026 15:32:02 -0400 Subject: [PATCH] fix: drop a node_modules symlink committed by the 0.3.0-beta.1 release The release commit was made from a scratch worktree whose node_modules was a symlink to another checkout, and .gitignore listed node_modules/ with a trailing slash, which matches a directory and not a symlink. So the link itself went into the tree, pointing at an absolute path on one machine. Anyone cloning main got a dangling node_modules before npm was ever run. The npm tarball is unaffected: the files whitelist decides what ships, and npm never packs node_modules, which the 0.3.0-beta.1 pack listing confirms. The ignore rule loses its trailing slash so it matches either shape. --- .gitignore | 2 +- node_modules | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 120000 node_modules diff --git a/.gitignore b/.gitignore index 015894a..3fbaff2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -node_modules/ +node_modules *.log .idea/ .env diff --git a/node_modules b/node_modules deleted file mode 120000 index 9836b9d..0000000 --- a/node_modules +++ /dev/null @@ -1 +0,0 @@ -/home/small/PycharmProjects/only-cli/node_modules \ No newline at end of file