RepoPilot

leonardomso / 33-js-concepts

Search leonardomso/33-js-concepts

GitHub

Code

How leonardomso/33-js-concepts is laid out, and where to start for common changes.

Imports between files were not traced, so there is no architecture grade.

Where to start reading

  1. Repository root
  2. Repository root
  3. Declared package entry
  4. Suggested starting pointAI
  5. Suggested starting pointAI
  6. Suggested starting pointAI
  7. Suggested starting pointAI

Find files for a task

AI

Add a New JavaScript Concept

  • Update docs/docs.json to include the new concept in the navigation hierarchy under the appropriate category.
  • Add entry to README.md under the relevant section (Fundamentals, Async, Functional, OOP, etc.) with a link to the concept.

Add Interactive DOM or Browser API Tests

  • Use vitest with jsdom environment to simulate DOM interactions and validate browser API examples.
  • Ensure DOM tests are included in the CI pipeline by referencing them in .github/workflows/tests.yml.

Support a New Language Translation

  • Add a new language entry in TRANSLATIONS.md with repository link and maintainer information.
  • Update docs/docs.json to include language-specific documentation paths and navigation.

Change the public API

  • Declared by package.json (main). Follow its exports or calls to find the implementation.

Add or update tests

Change build or automation

RepoPilot lists up to 500 files, so a file missing here may still exist.

Code quality and hotspots

Largest source files

  • Branch points34 per file on average
  • Code issues8 errors, 112 warnings
  • Largest file1,491 lines
  • Hotspot load0 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CIGitHub Actions1 workflow
  • Tests66 test filesJest/Vitest · 22 test files per source file (file count, not coverage)
  • Dependency updatesNo config detected

Test folders: tests/async-javascript/callbacks · tests/beyond/browser-storage/cookies · tests/beyond/browser-storage/localstorage-sessionstorage

Hotspots

Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.