This guide explains how to set up the development environment for the MapConductor React SDK monorepo.
- Node.js >= 18.0.0
- npm >= 9.0.0
This repository uses npm workspaces. Run installs from the repository root so local packages are linked automatically.
npm installBuild every workspace package that defines a build script:
npm run buildStart package watch builds and the web example from the repository root:
npm run devRun only package watch builds:
npm run dev:packagesRun only the web example:
npm run dev:examplesThe web example is available at http://localhost:3000.
cd examples/basic
npm run devnpm run lint
npm run testFor React Native Android changes, run the Gradle compile task from the repository root when configured:
./gradlew :android:app:compileDebugKotlinIf dependency resolution looks stale, remove installed dependencies and reinstall:
npm run clean
npm install
npm run buildIf TypeScript reports missing local packages, verify that dependencies were installed from the repository root, then rebuild the workspace packages.