mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 03:34:15 -06:00
f4353bbbc4
* chore(typescript): remove sanitize_url.d.ts in favour of npm package types * chore(toolkit): bump all webpack related deps inline with grafana core * refactor(toolkit): prefer webpack types and use from imports for bundling * feat(toolkit): bundle plugins using webpack 5 and babel * chore(toolkit): but all eslint deps inline with grafana core * refactor(toolkit): rewrite linting step to use new eslint node api * chore(toolkit): bump jest dependencies inline with grafana core * refactor(toolkit): update jest config for jest 27 * fix(toolkit): resolve toolkit if using yarn berry * docs(toolkit): update instructions for developing with yarn berry * chore(toolkit): remove yarnlink code as won't work with yarn berry * chore(toolkit): bump remaining dependencies * chore(toolkit): remove unused core.start task * feat(toolkit): use browserlist when building plugins * chore(toolkit): add browserslist dependency * refactor(toolkit): resolve style loaders, update postcss options for webpack5 * chore(toolkit): put back grafana/data and grafana/ui * docs(toolkit): improve instructions for developing toolkit locally * chore(toolkit): clean up webpack debug and warnings * chore(input-datasource): remove pnpwebpack plugin and update browserslist to solve failing build * chore(renovatebot): remove toolkit package.json from ignorePaths * revert(renovate): put back toolkit package.json in ignorePaths * feat(toolkit): introduce babel plugins * refactor(toolkit): remove runtime automatic from preset-react for earlier versions of react * refactor(toolkit): add missing fallbacks to webpack config * fix(toolkit): remove spaces from copy webpack glob so files are copied * refactor(toolkit): fix up babel typescript support and copy browserlist on build * chore(yarn): refresh lock file * revert(toolkit): remove browsers list so plugins compile to ES5 * revert(toolkit): remove copying .browserslistrc
16 lines
375 B
JSON
16 lines
375 B
JSON
{
|
|
"compilerOptions": {
|
|
"declarationDir": "dist/src",
|
|
"module": "commonjs",
|
|
"outDir": "dist/src",
|
|
"rootDirs": ["."],
|
|
"paths": {
|
|
"@grafana/toolkit": ["."]
|
|
},
|
|
"useUnknownInCatchVariables": false
|
|
},
|
|
"exclude": ["dist", "node_modules"],
|
|
"extends": "@grafana/tsconfig",
|
|
"include": ["src/**/*.ts", "../../public/app/types/jquery/*.ts"]
|
|
}
|