Chore: move cache dir for plugins to the root (#76680)

This commit is contained in:
Andres Martinez Gotor
2023-10-19 10:45:11 +02:00
committed by GitHub
parent d4b6fc31ff
commit 52394a1b81
2 changed files with 8 additions and 0 deletions

1
.github/CODEOWNERS vendored
View File

@@ -329,6 +329,7 @@
/packages/grafana-schema/src/**/*tempo* @grafana/observability-traces-and-profiling
/packages/grafana-flamegraph/ @grafana/observability-traces-and-profiling
/plugins-bundled/ @grafana/plugins-platform-frontend
/packages/grafana-plugin-configs/ @grafana/plugins-platform-frontend
# root files, mostly frontend

View File

@@ -28,6 +28,13 @@ const config = async (env: any): Promise<Configuration> => {
buildDependencies: {
config: [__filename],
},
cacheDirectory: path.resolve(__dirname, '../../.yarn/.cache/webpack', path.basename(process.cwd())),
cacheLocation: path.resolve(
__dirname,
'../../.yarn/.cache/eslint-webpack-plugin',
path.basename(process.cwd()),
'.eslintcache'
),
},
context: process.cwd(),