From 7584d2d7a7110aef0331ebfa178b2295842c59fa Mon Sep 17 00:00:00 2001 From: MCMXC <16797721+mcmxcdev@users.noreply.github.com> Date: Sat, 10 Feb 2024 18:19:14 -0700 Subject: refactor: project maintenance - work in progress --- tsconfig.json | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) (limited to 'tsconfig.json') diff --git a/tsconfig.json b/tsconfig.json index aee7acd..54d4a5e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "./node_modules/adonis-preset-ts/tsconfig.json", + "extends": "@adonisjs/tsconfig/tsconfig.app.json", "include": ["**/*"], "exclude": ["node_modules", "build", "recipes"], "compilerOptions": { @@ -8,25 +8,21 @@ "strict": true, "incremental": true, "paths": { - "App/*": ["./app/*"], - "Config/*": ["./config/*"], - "Contracts/*": ["./contracts/*"], - "Database/*": ["./database/*"] + "#controllers/*": ["./app/controllers/*.js"], + "#exceptions/*": ["./app/exceptions/*.js"], + "#models/*": ["./app/models/*.js"], + "#services/*": ["./app/services/*.js"], + "#listeners/*": ["./app/listeners/*.js"], + "#events/*": ["./app/events/*.js"], + "#middleware/*": ["./app/middleware/*.js"], + "#validators/*": ["./app/validators/*.js"], + "#start/*": ["./start/*.js"], + "#config/*": ["./config/*.js"], + "#app/*": ["./app/*.js"], + "#database/*": ["./database/*.js"], + "#types/*": ["./types/*.js"] }, - "types": [ - "@adonisjs/core", - "@adonisjs/repl", - "@japa/preset-adonis/build/adonis-typings", - "@adonisjs/view", - "@adonisjs/lucid", - "@adonisjs/auth", - "@adonisjs/shield", - "@adonisjs/session", - "@adonisjs/mail", - "fs-extra", - "adonis5-jwt" - ], - "sourceMap": true, + "types": ["fs-extra", "adonis5-jwt"], "noFallthroughCasesInSwitch": true, "resolveJsonModule": true, "forceConsistentCasingInFileNames": true, -- cgit v1.2.3-70-g09d2