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": {
|
2024-05-22 10:07:50 -05:00
|
|
|
"inputs": [
|
|
|
|
"{workspaceRoot}/scripts/cli/generateSassVariableFiles.ts",
|
|
|
|
"{workspaceRoot}/packages/grafana-data/src/themes/**",
|
|
|
|
"{workspaceRoot}/packages/grafana-ui/src/themes/**"
|
|
|
|
],
|
2024-03-13 06:40:09 -05:00
|
|
|
"outputs": [
|
|
|
|
"{workspaceRoot}/public/sass/_variables.generated.scss",
|
|
|
|
"{workspaceRoot}/public/sass/_variables.dark.generated.scss",
|
|
|
|
"{workspaceRoot}/public/sass/_variables.light.generated.scss"
|
|
|
|
],
|
|
|
|
"cache": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|