gg_lang
Shared language definitions for the gg toolchain.
gg_lang provides:
ProjectTypeanddetectProjectType— detect whether a directory holds a Dart, Flutter or TypeScript project.LanguageCatalog— the catalog of all language-specific commands (install, analyze, format, test, publish, ...) and package metadata, loaded from a bundledlanguages.jsonasset.
It lives in its own package so that gg_one, gg_test and gg_publish can all
share the same catalog without creating circular dependencies.
Extending to a new language
Add an entry to lib/src/assets/languages.json describing the language's
commands and manifest, then add the matching ProjectType value.
Libraries
- gg_lang
- Shared language catalog and project-type detection for the gg toolchain.