Skip to content

docs: fix outdated run instructions in CONTRIBUTING.md#717

Open
hariantara wants to merge 1 commit into
firstcontributions:mainfrom
hariantara:fix-contributing-run-instructions
Open

docs: fix outdated run instructions in CONTRIBUTING.md#717
hariantara wants to merge 1 commit into
firstcontributions:mainfrom
hariantara:fix-contributing-run-instructions

Conversation

@hariantara

Copy link
Copy Markdown

What

CONTRIBUTING.md still instructs new contributors to run yarn install and yarn start, but the project has migrated to Astro and uses npm/pnpm.

Why this is a problem

  • There is no start script in package.json (the scripts are dev, build, preview), so yarn start fails on a fresh clone — the first thing a new contributor tries.
  • The docs point to http://localhost:3000/, but Astro's dev server runs on 4321.

Changes

  • Install: yarn installnpm install
  • Run: yarn startnpm run dev
  • Local URL: localhost:3000localhost:4321
  • Dropped the now-unnecessary yarn prerequisite.

This matches the current package.json and README.md, so new contributors can get the project running on their first try.

The project migrated to Astro (npm/pnpm), but CONTRIBUTING.md still
told contributors to run `yarn install` and `yarn start`. There is no
`start` script in package.json, so new contributors hit an error on
their first run. Updated to use npm + the actual `dev` script and the
correct Astro dev port (4321).
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