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

Shared language catalog and project-type detection for the gg toolchain.

gg_lang #

Shared language definitions for the gg toolchain.

gg_lang provides:

  • ProjectType and detectProjectType — 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 bundled languages.json asset.

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.

0
likes
160
points
132
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Shared language catalog and project-type detection for the gg toolchain.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

gg_process, http, mocktail, path, pub_semver, yaml, yaml_edit

More

Packages that depend on gg_lang