dna_ggdna 0.1.0 copy "dna_ggdna: ^0.1.0" to clipboard
dna_ggdna: ^0.1.0 copied to clipboard

DNA of all ggdna repos: everything needed to author a DNA layer

dna_ggdna #

The DNA of every ggdna repo — everything needed to author a DNA layer.

It pulls in the whole set of topic layers and adds the one topic that is ours: how a DNA layer itself is built, configured and published.

Layers #

Layer What it brings
dna_readme README structure and templates
dna_guides developer and AI guides
dna_translate multi-language docs, de and en in sync
dna_index index and navigation files
dna_blog blog format, templates, layout
dna_install install guides: editor, node, Azure, tooling
dna_vscode shared editor settings and extensions
dna_clean_code how code is written and tested, per language
dna_gg the gg workflow, and the scripts it calls

Guides #

  • dna/doc/guides/dna-guide.md — how a DNA layer is built here: the dna/ layout and the dot- escape, _dna.json and _vars.json, the override mechanisms, and publishing the same layer to both registries

Skills #

  • /dna — checks this layer against the DNA guide and reports what would break for a consumer

Variables #

  • dnaCopyrightHolder — the name in the license header of every file, set to ggdna here

Usage #

Declare it as a dev-dependency and initialize once:

pnpm add -D @ggdna/dna-ggdna   # TypeScript projects
dart pub add dev:dna_ggdna     # Dart projects
gg dna init

The placed test instantiates and verifies the DNA on every test run.

Development #

The dna/ folder is hand-authored source and is 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
0
points
323
downloads

Publisher

verified publisherinlavigo.com

Weekly Downloads

DNA of all ggdna repos: everything needed to author a DNA layer

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dna_blog, dna_clean_code, dna_gg, dna_guides, dna_index, dna_install, dna_readme, dna_translate, dna_vscode

More

Packages that depend on dna_ggdna