Guide for contributors working in the DNA monorepo.
- Node.js 20+
- pnpm 9+
git clone https://github.com/superhumaan/DNA.git
cd DNA
pnpm install
pnpm buildLink the CLI globally (optional):
pnpm dna:link| Command | Description |
|---|---|
pnpm build |
Build all packages |
pnpm test |
Run Vitest (all packages) |
pnpm typecheck |
TypeScript check all packages |
pnpm lint |
ESLint |
pnpm dna |
Run CLI from source |
pnpm dna:link |
Build + global link |
pnpm dna:setup |
Team setup script |
pnpm publish:npm |
Publish all @superhumaan/* packages |
pnpm gdpr:ingest |
Ingest GDPR .docx templates into bundled assets |
pnpm gdpr:scrub |
Scrub vendor branding from GDPR templates |
packages/
dna-cli/ CLI entry (`dna` command)
dna-core/ Scanner, wizard, generators, marketplace
dna-config/ Typed config schemas, validators, constants
dna-runtime/ Runtime observer + adapters
dna-immune/ Issue classifier + DNA platform detection
dna-feedback/ Upstream feedback (sanitize, queue, ingest)
dna-github/ GitHub API
dna-ai/ AI repair orchestrator
dna-templates/ Install snippets
dna-docs/ Doc utilities
apps/
examples/ Express + Vite demos
marketplace/ Standalone marketplace API (local dev)
# Public web surface: dna.humaan.app
# Landing highlights portfolio install — sync copy from docs/product/portfolio-install.md
| Variable | Purpose |
|---|---|
DNA_REFERENCE_ROOT |
Parent dir of reference repos for dna platform projects |
DNA_GDPR_SOURCE_DOCS |
Source .docx folder for pnpm gdpr:ingest |
DNA_MARKETPLACE_URL |
Override remote marketplace URL |
DNA_FEEDBACK_URL |
Override upstream feedback API (dna feedback report, runtime auto-report) |
DNA_FEEDBACK_TOKEN |
Maintainer token for dna feedback ingest (never commit) |
NPM_TOKEN |
Required for pnpm publish:npm |
Full list for end users: Integrations.
Public on npm:
@superhumaan/dna-by-humaan— bundled CLI +/runtimeexport
Internal packages are private in the monorepo.
export NPM_TOKEN=<token>
pnpm publish:npmGitHub Actions runs on push/PR to main:
pnpm installpnpm buildpnpm testpnpm typecheck
- Add pack definition under
packages/dna-core/src/marketplace/. - Register in
bundled-catalog.tsif it belongs in the core bundle. - Rebuild and test:
pnpm build
pnpm testFor retired pack IDs, add aliases in marketplace/aliases.ts.
See CONTRIBUTING.md.