base_dna 1.1.2 copy "base_dna: ^1.1.2" to clipboard
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 recommendations
  • dna/LICENSE — the MIT license template (dnaCopyrightHolder, dnaCopyrightYear variables)
  • dna/doc/ — the canonical developer guides (ticket workflow develop.md, install guides, org guides)
  • dna/scripts/ — repo-management node scripts
  • dna/_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).

0
likes
150
points
373
downloads

Documentation

API reference

Publisher

verified publisherinlavigo.com

Weekly Downloads

The base DNA of our projects - shared configs, docs, scripts and agent skills inherited by every repository via gg_dna.

License

MIT (license)

More

Packages that depend on base_dna