grafana/project.json

36 lines
838 B
JSON
Raw Normal View History

Plugins: Always load decoupled frontend assets from builds (#81873) * Wip * Wip * Adapt to load external module * build: remove cloudmonitoring from built_in_plugins, clean up webpack output * chore(plugins): remove decoupled plugins from package.json deps * chore(codeowners): update file for nx.json * revert(webpack): put back path in config * build(frontend): use nx to run prod builds of decoupled plugins with yarn build * style(prometheus): run prettier-write to fix tsconfig.json * style(backend): remove unused subFile.isDistDir * revert(locales): remove formatting changes adding new line at end of files * chore(webpack): clean up dev output * build(nx): make grafana an nx project, bump lerna and nx * build(plugin-configs): move cache directory to node_modules * style(datasource-plugins): add eslint ignore for .gen.ts files * chore(codeowners): add frontend-ops as owner of project.json * build(webpack): add getDecoupledPlugins to automatically ignore when watching * ci(drone): skip nx cache when building frontend packages * style(ci): fix missing trailing comma * Revert "style(ci): fix missing trailing comma" This reverts commit 7520d41576e08c1f44c9bf04117250f7e52bdec5. * Revert "ci(drone): skip nx cache when building frontend packages" This reverts commit 46938883acaefb74d189e8c622eb2a13fd45cdfb. * feat(zipkin): remove from grafana core bundle * chore(npm): bump nx package to latest 18.0.8 * docs(dev-guide): add a note about what yarn start now builds --------- Co-authored-by: Andres Martinez <andres.martinez@grafana.com>
2024-03-13 06:40:09 -05:00
{
"name": "grafana",
"$schema": "node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"targets": {
"start": {
"dependsOn": [
"themes-generate",
{
"projects": ["@grafana-plugins/**"],
"target": "build"
}
]
},
"build": {
"dependsOn": [
"themes-generate",
{
"projects": ["@grafana-plugins/**"],
"target": "build"
}
],
"outputs": ["{workspaceRoot}/public/build"],
"cache": true
},
"themes-generate": {
"outputs": [
"{workspaceRoot}/public/sass/_variables.generated.scss",
"{workspaceRoot}/public/sass/_variables.dark.generated.scss",
"{workspaceRoot}/public/sass/_variables.light.generated.scss"
],
"cache": true
}
}
}