mirror of
https://github.com/flarum/core.git
synced 2025-07-25 10:41:24 +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,14 +4,14 @@
|
||||
// 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/*/*/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/tags/*": ["../vendor/flarum/tags/js/dist-typings/*"]
|
||||
"flarum/*": ["../../../framework/core/js/src/*"],
|
||||
"flarum/tags/*": ["../../tags/js/src/*"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user