grafana/packages/grafana-schema
sam boyer ced53a8dc2
plugins: Introduce generated, static core plugin registry (#54118)
* Refactor towards template/codegen framework

* Add templates for plugin gen

* Add Go codegen for plugins; overhaul framework, too

* Add new codegen output; assorted framework fixes

* Regenerate after merge

* Remove accidental commit file, update templates

* Export the pfs.Tree loader from plugin types

* Print details from cuetsy errors

* Generate loaders for all plugins and list in registry

* Use pfs_gen.go over lineage_gen.go

* Un-un-ignore main file

* Introduce simple List static registry for plugins

* Last tweaks to codegen

* remove unused tvars

* Ensure loop-local instances for both vars

* Generate pfs parsing in-place in registry

* Stop generating pfs_gen.go

* Move Tree into pfs, rename subdir

* Change package name to match dir

* Ignore gocyclo on HTTPServer.getNavTree
2022-09-14 10:15:09 -04:00
..
src plugins: Introduce generated, static core plugin registry (#54118) 2022-09-14 10:15:09 -04:00
.eslintrc Schema: create a new schema package for basic models (#38409) 2021-08-23 13:03:41 -07:00
CHANGELOG.md Schema: create a new schema package for basic models (#38409) 2021-08-23 13:03:41 -07:00
LICENSE_APACHE2 Schema: create a new schema package for basic models (#38409) 2021-08-23 13:03:41 -07:00
package.json Chore: Upgrade Typescript to 4.8.2 (#54901) 2022-09-09 16:17:58 +01:00
README.md Schema: create a new schema package for basic models (#38409) 2021-08-23 13:03:41 -07:00
rollup.config.ts Build: Introduce ESM and Treeshaking to NPM package builds (#51517) 2022-08-03 15:47:09 +02:00
tsconfig.build.json Build: Introduce ESM and Treeshaking to NPM package builds (#51517) 2022-08-03 15:47:09 +02:00
tsconfig.json plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00

Grafana Schema Library

@grafana/schema is currently in ALPHA.

This package holds the definitions for objects that should be stored in JSON configuration files