posit-dev / posit-dev/open-source-website

Should `node_modules` be part of `.gitignore`?

Open Beginner friendly
#320 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
55
Forks
24
Avg merge
1d 21h
Merged PRs (30d)
17

Description

I'm following the local build instructions in https://github.com/posit-dev/open-source-website/blob/main/content/blog/_authoring-guide.md and just install resulted in this:

Image

It also resulted in some yarn.lock changes, but everything else was in node_modules/. I'm pretty sure we don't want to include these?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with content/blog/_authoring-guide.md and the repository’s .gitignore, then reproduce the reported result with just install. Check whether node_modules/ and the reported yarn.lock changes are expected to be tracked; done means the install instructions and ignore rules leave only intended changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, node.js
Domain
build-system, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.