Comments (10)
I think yarn could/should call mage, but not the other way around
Any backend linting etc should be in mage -- frontend can handle the whole process
from grafana-plugin-sdk-go.
closing since this belongs in toolkit (and is mostly there)
from grafana-plugin-sdk-go.
I think it does make sense!
from grafana-plugin-sdk-go.
Maybe would make sense to add it to @grafana/toolkit instead since both frontend and backend would find it useful?
from grafana-plugin-sdk-go.
@marefr Possibly? Not sure.
from grafana-plugin-sdk-go.
My assumption is that frontend-only plugins would use the build part of the SDK as well for publishing etc. We should have one user-facing way to package, publish, lint etc plugins imo.
from grafana-plugin-sdk-go.
My assumption is that frontend-only plugins would use the build part of the SDK as well for publishing etc. We should have one user-facing way to package, publish, lint etc plugins imo.
Currently scaffolding, building, testing, linting and packaging is implemented in toolkit. I guess the question here is if mage should call yarn tasks from @grafana/toolkit
to manage frontend tasks as well? And/or if mage should be required for developing frontend plugins.
Does @ryantxu or @dprokop have any input here?
from grafana-plugin-sdk-go.
My assumption is that frontend-only plugins would use the build part of the SDK as well for publishing etc. We should have one user-facing way to package, publish, lint etc plugins imo.
Toolkit does most of this quite nicely. GEL is the only exception because it has no frontend... it likely makes sense to use yarn
to build/package it anyway so that it is not a special flower.
from grafana-plugin-sdk-go.
Toolkit does most of this quite nicely. GEL is the only exception because it has no frontend... it likely makes sense to use yarn to build/package it anyway so that it is not a special flower.
Yes! We should stick to one process.
I didn't know the toolkit did all this work already. But given that I think we should try to hide mage as much as possible from the user.
from grafana-plugin-sdk-go.
Sounds sensible enough for me also to have yarn or grafana-toolkit call Mage.
from grafana-plugin-sdk-go.
Related Issues (20)
- An error occurred when executing mage - v HOT 9
- Add a way to get the Grafana instance URL from backend plugins HOT 2
- Darwin ARM64 not built for build:debug mage target HOT 3
- Debug mode not working in LLM plugin HOT 7
- Frame incorrectly parses Uint64 values HOT 1
- Support building plugins for FreeBSD amd64 HOT 1
- sqlutil.FrameFromRows: multiple results sets with different columns fail
- Allow to set the same header multiple time in Prometheus Datascources HOT 1
- Fix flaky test
- Errorsource's RoundTripper returns custom error alongside response HOT 3
- Supports "Host" custom header for DataSources HOT 2
- Update functionality brought in from sqlds
- Macros can consume too much of a query containing parentheses
- getMacroMatches panics if given a macro arg string missing its close bracket HOT 1
- Standalone not erroring when required files are missing
- PDC request values should be handled as file contents instead of file paths
- Internal Data Links: Go & Typescript mismatch
- Support for executing queries in parallel
- Support build tags in Magefile
- Improve building of nested plugins
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grafana-plugin-sdk-go.