Development Setup
How to set up the development environment for contributing to Connectum.
Requirements
- Node.js >= 26.0.0 for the framework repository
- pnpm >= 11; use the version pinned in the framework's
package.json
These are contributor requirements. Application runtime requirements are listed in Runtime Compatibility.
Quick Start
1. Clone Repositories
# Create root directory
mkdir Connectum && cd Connectum
# Clone all 3 repositories
git clone https://github.com/Connectum-Framework/connectum.git
git clone https://github.com/Connectum-Framework/docs.git
git clone https://github.com/Connectum-Framework/examples.git2. Install Dependencies
cd connectum
pnpm install3. Verify Environment
# Check Node.js
node --version # >= 26.0.0
# Check pnpm
pnpm --version # >= 11
# Build dependencies before checking package imports
pnpm build
# Type checking
pnpm typecheck
# Run tests
pnpm test
# Lint package source and the rest of the repository
pnpm lint
pnpm lint:repo4. Start Development
pnpm devThis runs the packages that define a dev script. It watches their entry points; it does not start an application service. To run a service, follow the Quickstart or a README in the examples repository.
Upgrading OpenTelemetry dependencies
The @connectum/otel package declares its OpenTelemetry dependencies through the workspace catalog in pnpm-workspace.yaml. Update the catalog entries together when the SDK or exporters require a coordinated version change; then review the package's public exports and run its tests. For changes to a serializer or exporter path, compare representative telemetry output and performance before and after the upgrade.
Further Resources
- CLI Commands -- contributor command reference
- About Connectum -- framework architecture