mirror of
https://github.com/flarum/core.git
synced 2025-07-29 20:50:28 +02:00
chore: monorepo local development improvements (#3523)
* chore: centralize editorconfig * chore: tweak tsconfigs for local development * revert src path change * fix: akismet type checking requires flag ext `@types` * fix: make tags route optional to avoid typescript typing error
This commit is contained in:
@@ -4,13 +4,13 @@
|
||||
// This will match all .ts, .tsx, .d.ts, .js, .jsx files in your `src` folder
|
||||
// and also tells your Typescript server to read core's global typings for
|
||||
// access to `dayjs` and `$` in the global namespace.
|
||||
"include": ["src/**/*", "../vendor/flarum/core/js/dist-typings/@types/**/*", "@types/**/*"],
|
||||
"include": ["src/**/*", "../../../framework/core/js/src/**/*", "@types/**/*"],
|
||||
"compilerOptions": {
|
||||
// This will output typings to `dist-typings`
|
||||
"declarationDir": "./dist-typings",
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"]
|
||||
"flarum/*": ["../../../framework/core/js/src/*"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user