mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Use yarn node-modules linker (#79947)
* Chore: Use yarn node-modules linker * fix react-router types resolution * temp skip failing tests * remove yarn-links for internal path aliases to fix some webpack errors * transpile all .ts files, even those in node_modules (usually our internal workspace packages * fix transformers mock * import react router type directly * remove old resolution * more cleanup * remove preserveSymlinks: true from tsconfig to make Go To Definition resolve grafana ui to the original location * developer guide * update dev guide * remove sdks * reenable tests * fix tsconfig trailing commas (where did they come from)
This commit is contained in:
@@ -25,7 +25,7 @@ module.exports = {
|
||||
transformIgnorePatterns: [
|
||||
`/node_modules/(?!${esModules})`, // exclude es modules to prevent TS complaining
|
||||
],
|
||||
moduleDirectories: ['public'],
|
||||
moduleDirectories: ['public', 'node_modules'],
|
||||
roots: ['<rootDir>/public/app', '<rootDir>/public/test', '<rootDir>/packages'],
|
||||
testRegex: '(\\.|/)(test)\\.(jsx?|tsx?)$',
|
||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json'],
|
||||
|
||||
Reference in New Issue
Block a user