This document describes at a high level some the key tools used across near-js
.
Package Manager - PNPM
PNPM is a package manager focused on fast installations while still being disk efficient. It manages dependency installations across the monorepo as well as linking interdependent packages. Unlike other package managers, PNPM creates a non-flat node_modules
structure which ensures packages only have access to dependencies defined in their package.json
.
Build System - Turborepo
Turborepo provides tooling for orchestrating commands across the monorepo. Similar to Yarn Workspaces, Turborepo can run tasks within each project via a single command, but rather than executing serially, Turborepo has various performance enhancing features such as task parallelization and local/remote caching.
Automation - GitHub Actions
Github Actions is used to automate various tasks including PR checks (linting, type checks, and tests).