diff --git a/package.json b/package.json index 76ae9d4..164a140 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,19 @@ "lint": "eslint .", "lint:fix": "eslint . --fix" }, + "imports": { + "#application/*": "./src/application/*", + "#commands/*": "./src/commands/*", + "#entities/*": "./src/entities/*", + "#controllers/*": "./src/controllers/*", + "#jobs/*": "./src/jobs/*", + "#managers/*": "./src/managers/*", + "#middleware/*": "./src/middleware/*", + "#models/*": "./src/models/*", + "#repositories/*": "./src/repositories/*", + "#services/*": "./src/services/*", + "#events/*": "./src/events/*" + }, "dependencies": { "@mikro-orm/core": "^6.4.2", "@mikro-orm/mariadb": "^6.4.2", diff --git a/tsconfig.json b/tsconfig.json index da87c9e..cfa92e3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,9 +2,9 @@ "compilerOptions": { // Enable latest features "lib": ["ESNext"], - "target": "ES2022", - "module": "ES2022", - "moduleResolution": "node", + "target": "ESNext", + "module": "NodeNext", + "moduleResolution": "NodeNext", "moduleDetection": "force", "allowJs": true, "declaration": true,