flake8
passed.
JSHint
passed.
Review Request #14147 — Created Sept. 6, 2024 and submitted
If there's a
node_modulesunintentionally created anywhere but at the
top of the tree, it's possible for this to interfere with consumers of
Ink. For example, Vite (used by Storybook) will consider it a candidate
for module lookup, and could find stale modules.To make this problem more obvious, we no longer ignore
node_modules
anywhere but the top of the tree.git statuswill then report any
stray copies, helping address the problem.
Installed packages in a subdirectory and ran
git status. Saw the
stray `node_modules.
| Summary | ID |
|---|---|
| f25250eb9a64190b6606ed0a95fa7c7f89fc5282 |
Added a comment explaining why we're ignoring only the top-level
node_modules.
| Summary | ID | |
|---|---|---|
| d417ee7080ade0f5511f52ed5b5a5b8adfc84fa5 | ||
| f25250eb9a64190b6606ed0a95fa7c7f89fc5282 |
Revision 2 (+10 -2)