Skip to content

Ignore node_modules in .gitignore - #7

Merged
homeyong merged 1 commit into
masterfrom
chore/gitignore-node-modules
Aug 10, 2026
Merged

Ignore node_modules in .gitignore#7
homeyong merged 1 commit into
masterfrom
chore/gitignore-node-modules

Conversation

@homeyong

Copy link
Copy Markdown
Collaborator

What

Add /node_modules/ to .gitignore.

Why

The root package.json makes this repo an npm package (@etherscan/cli). Running npm install locally, or the package's postinstall step, creates a node_modules/ directory at the repo root that should never be committed.

Note

.gitignore currently lists /vendor/ twice (lines 4 and 23) — left as-is to keep this change focused, but worth a follow-up cleanup.

🤖 Generated with Claude Code

The root package.json makes this repo an npm package; local installs and
the postinstall step create node_modules/. Keep it out of version control.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@homeyong
homeyong merged commit eb2f5ec into master Aug 10, 2026
10 checks passed
@homeyong
homeyong deleted the chore/gitignore-node-modules branch August 10, 2026 08:11
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