Jest
This is the pnpm package manager — a fast, disk-space-efficient alternative to npm and yarn for managing Node.js dependencies. It uses a content-addressable file store with hard links to avoid duplicating packages across projects, and enforces a strict, non-flat node_modules structure that prevents phantom dependency access.
Tech Stack
JestTypeScriptExpress.js
Key Features
- Content-Addressable Store
- Dependency Resolution
- Lockfile Management
- Install/Add/Remove/Update Commands
- Headless Install
- Workspace & Monorepo Support
- Catalogs
- Security Audit
- Store Management Commands
- Binary Linking
- Hoisting
- Self-Update
- Package Fetching
Coding Conventions
Standards and patterns used in this codebase
api-patterns
API routes are organized in routes/ directory
New endpoints go in cache/api/src/cacheDelete.ts/routes/cache/api/src/cacheDelete.tscache/api/src/index.ts
naming
File naming uses: kebab-case, camelCase
commitlint.config.cjs, eslint.config.mjs, index.d.ts, typed.d.ts, bundle.tscommitlint.config.cjseslint.config.mjs__typings__/index.d.ts
code-style
TypeScript is the primary language
All new files should be .ts or .tsx__typings__/index.d.ts__typings__/typed.d.tspnpm/bundle.ts
configuration
Configuration is centralized in config files
Config files: commitlint.config.cjs, eslint.config.mjscommitlint.config.cjseslint.config.mjs__utils__/eslint-config/index.js
module-exports
Use index.ts barrel files to export module public API
Each module has index.ts that re-exports public functions__utils__/eslint-config/index.jsworker/src/index.tsbuilder/policy/src/index.ts
typescript
Types are defined in dedicated type files
Type files: __typings__/index.d.ts, __typings__/typed.d.ts__typings__/index.d.ts__typings__/typed.d.tspnpm/src/types.ts