base_dna 1.1.2
base_dna: ^1.1.2 copied to clipboard
The base DNA of our projects - shared configs, docs, scripts and agent skills inherited by every repository via gg_dna.
base_dna #
The base DNA used by many of our projects (ggsuite, rljson, tssuite, ds_cdm, …). It ships the ecosystem-neutral foundation every repo inherits via gg_dna:
dna/.vscode/— shared editor settings and extension recommendationsdna/LICENSE— the MIT license template (dnaCopyrightHolder,dnaCopyrightYearvariables)dna/doc/— the canonical developer guides (ticket workflowdevelop.md, install guides, org guides)dna/scripts/— repo-management node scriptsdna/_vars.json— the base variable defaults (company,copyrightHolder,gitOrgUrl,projectName, …)
Usage #
Declare it as a dev-dependency and initialize once:
pnpm add -D base_dna # TypeScript projects
dart pub add dev:base_dna # Dart projects
gg_dna init
The placed test instantiates and verifies the DNA on every test run. Ecosystem layers (dna_dart, dna-ts) build on top of this package — consumers usually depend on those instead of base_dna directly.
Development #
This repo has role: "dna" in .gg/dna.json: the dna/ folder is
authored by hand, never generated. The repo instantiates its own DNA —
run dart test after changes; commit first (a file the DNA would
overwrite must not carry uncommitted work).