[Docs] Declare @astrojs/mdx, move tooling to devDependencies, pin Node, drop unused deps

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

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript, node.js

Research direction

Start with docs/astro.config.mjs and docs/package.json, then check the docs lockfile and package scripts. Apply the listed dependency and Node version changes, including docs/.nvmrc; verify that npm ls @astrojs/mdx reports a direct dependency and that the docs build passes.

Written by the indexing model from the issue text.

Description

area: docs-site good first issue priority: P3 size: XS type: chore

Summary

astro.config.mjs imports @astrojs/mdx, which is not in package.json and only resolves because Starlight depends on it (phantom dependency). Type-checking/tooling packages are runtime dependencies, two declared packages are unused, and there is no Node version pin although Astro 6 requires Node >= 22.12.

Location

  • docs/astro.config.mjs:5
  • docs/package.json:11-38

Evidence

astro.config.mjs:5  import mdx from "@astrojs/mdx";
package.json: no "@astrojs/mdx"; lockfile has it only under @astrojs/starlight
grep -r 'starlight-tailwind\|tailwindcss-animate' docs/src docs/astro.config.mjs -> no matches
node_modules/astro/package.json engines: {"node": ">=22.12.0"}; docs has no .nvmrc / engines

Expected

All imported packages are declared; build-only tools are devDependencies; Node version is pinned for local dev, CI and Vercel.

Proposed fix

Add @astrojs/mdx explicitly; move @astrojs/check, typescript, @types/* to devDependencies; remove @astrojs/starlight-tailwind and tailwindcss-animate; add "engines": {"node": ">=22.12"} and docs/.nvmrc (22).

Acceptance criteria

  • npm ls @astrojs/mdx shows a direct dependency
  • Unused packages removed; build still passes
  • .nvmrc and engines present

Repository audit, November 2026 · Phase 7 · Docs platform · evidence: reproduced · ref platform-019


Generated by Claude Code

Dominant language
C++
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from ibra-kdbra/Math-Problems

All issues in ibra-kdbra/Math-Problems

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.