From 4ef5ffe94ca7a143a7a98fd423ef5d67505e40cb Mon Sep 17 00:00:00 2001 From: Dev Date: Sat, 18 May 2024 21:29:19 +0100 Subject: [PATCH] Updated example tsconfig.json --- TypeScript/10ScopesAndTypes/tsconfig.json | 14 +++++--------- TypeScript/11BundleLoadingSample/tsconfig.json | 14 +++++--------- TypeScript/12ClassExtensionOverride/tsconfig.json | 14 +++++--------- TypeScript/13AddTrader/tsconfig.json | 14 +++++--------- TypeScript/14AfterDBLoadHook/tsconfig.json | 14 +++++--------- TypeScript/15HttpListenerExample/tsconfig.json | 14 +++++--------- TypeScript/16ImporterUtil/tsconfig.json | 14 +++++--------- .../17AsyncImporterWithDependency1/tsconfig.json | 14 +++++--------- .../17AsyncImporterWithDependency2/tsconfig.json | 14 +++++--------- TypeScript/18CustomItemService/tsconfig.json | 14 +++++--------- TypeScript/19UseExternalLibraries/tsconfig.json | 14 +++++--------- TypeScript/1LogToConsole/tsconfig.json | 14 +++++--------- TypeScript/20CustomChatBot/tsconfig.json | 14 +++++--------- TypeScript/21CustomCommandoCommand/tsconfig.json | 14 +++++--------- TypeScript/22CustomAkiCommand/tsconfig.json | 14 +++++--------- TypeScript/23CustomAbstractChatBot/tsconfig.json | 14 +++++--------- TypeScript/24WebSocket/tsconfig.json | 14 +++++--------- TypeScript/2EditDatabase/tsconfig.json | 14 +++++--------- TypeScript/3GetSptConfigFile/tsconfig.json | 14 +++++--------- .../tsconfig.json | 14 +++++--------- TypeScript/4UseACustomConfigFile/tsconfig.json | 14 +++++--------- TypeScript/5ReplaceMethod/tsconfig.json | 14 +++++--------- TypeScript/6ReferenceAnotherClass/tsconfig.json | 14 +++++--------- TypeScript/7OnLoadHook/tsconfig.json | 14 +++++--------- TypeScript/8OnUpdateHook/tsconfig.json | 14 +++++--------- TypeScript/9RouterHooks/tsconfig.json | 14 +++++--------- 26 files changed, 130 insertions(+), 234 deletions(-) diff --git a/TypeScript/10ScopesAndTypes/tsconfig.json b/TypeScript/10ScopesAndTypes/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/10ScopesAndTypes/tsconfig.json +++ b/TypeScript/10ScopesAndTypes/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/11BundleLoadingSample/tsconfig.json b/TypeScript/11BundleLoadingSample/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/11BundleLoadingSample/tsconfig.json +++ b/TypeScript/11BundleLoadingSample/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/12ClassExtensionOverride/tsconfig.json b/TypeScript/12ClassExtensionOverride/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/12ClassExtensionOverride/tsconfig.json +++ b/TypeScript/12ClassExtensionOverride/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/13AddTrader/tsconfig.json b/TypeScript/13AddTrader/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/13AddTrader/tsconfig.json +++ b/TypeScript/13AddTrader/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/14AfterDBLoadHook/tsconfig.json b/TypeScript/14AfterDBLoadHook/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/14AfterDBLoadHook/tsconfig.json +++ b/TypeScript/14AfterDBLoadHook/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/15HttpListenerExample/tsconfig.json b/TypeScript/15HttpListenerExample/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/15HttpListenerExample/tsconfig.json +++ b/TypeScript/15HttpListenerExample/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/16ImporterUtil/tsconfig.json b/TypeScript/16ImporterUtil/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/16ImporterUtil/tsconfig.json +++ b/TypeScript/16ImporterUtil/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/17AsyncImporterWithDependency1/tsconfig.json b/TypeScript/17AsyncImporterWithDependency1/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/17AsyncImporterWithDependency1/tsconfig.json +++ b/TypeScript/17AsyncImporterWithDependency1/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/17AsyncImporterWithDependency2/tsconfig.json b/TypeScript/17AsyncImporterWithDependency2/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/17AsyncImporterWithDependency2/tsconfig.json +++ b/TypeScript/17AsyncImporterWithDependency2/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/18CustomItemService/tsconfig.json b/TypeScript/18CustomItemService/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/18CustomItemService/tsconfig.json +++ b/TypeScript/18CustomItemService/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/19UseExternalLibraries/tsconfig.json b/TypeScript/19UseExternalLibraries/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/19UseExternalLibraries/tsconfig.json +++ b/TypeScript/19UseExternalLibraries/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/1LogToConsole/tsconfig.json b/TypeScript/1LogToConsole/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/1LogToConsole/tsconfig.json +++ b/TypeScript/1LogToConsole/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/20CustomChatBot/tsconfig.json b/TypeScript/20CustomChatBot/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/20CustomChatBot/tsconfig.json +++ b/TypeScript/20CustomChatBot/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/21CustomCommandoCommand/tsconfig.json b/TypeScript/21CustomCommandoCommand/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/21CustomCommandoCommand/tsconfig.json +++ b/TypeScript/21CustomCommandoCommand/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/22CustomAkiCommand/tsconfig.json b/TypeScript/22CustomAkiCommand/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/22CustomAkiCommand/tsconfig.json +++ b/TypeScript/22CustomAkiCommand/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/23CustomAbstractChatBot/tsconfig.json b/TypeScript/23CustomAbstractChatBot/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/23CustomAbstractChatBot/tsconfig.json +++ b/TypeScript/23CustomAbstractChatBot/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/24WebSocket/tsconfig.json b/TypeScript/24WebSocket/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/24WebSocket/tsconfig.json +++ b/TypeScript/24WebSocket/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/2EditDatabase/tsconfig.json b/TypeScript/2EditDatabase/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/2EditDatabase/tsconfig.json +++ b/TypeScript/2EditDatabase/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/3GetSptConfigFile/tsconfig.json b/TypeScript/3GetSptConfigFile/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/3GetSptConfigFile/tsconfig.json +++ b/TypeScript/3GetSptConfigFile/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/tsconfig.json b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/tsconfig.json +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/4UseACustomConfigFile/tsconfig.json b/TypeScript/4UseACustomConfigFile/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/4UseACustomConfigFile/tsconfig.json +++ b/TypeScript/4UseACustomConfigFile/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/5ReplaceMethod/tsconfig.json b/TypeScript/5ReplaceMethod/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/5ReplaceMethod/tsconfig.json +++ b/TypeScript/5ReplaceMethod/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/6ReferenceAnotherClass/tsconfig.json b/TypeScript/6ReferenceAnotherClass/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/6ReferenceAnotherClass/tsconfig.json +++ b/TypeScript/6ReferenceAnotherClass/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/7OnLoadHook/tsconfig.json b/TypeScript/7OnLoadHook/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/7OnLoadHook/tsconfig.json +++ b/TypeScript/7OnLoadHook/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/8OnUpdateHook/tsconfig.json b/TypeScript/8OnUpdateHook/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/8OnUpdateHook/tsconfig.json +++ b/TypeScript/8OnUpdateHook/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file diff --git a/TypeScript/9RouterHooks/tsconfig.json b/TypeScript/9RouterHooks/tsconfig.json index b9985cc..eca7728 100644 --- a/TypeScript/9RouterHooks/tsconfig.json +++ b/TypeScript/9RouterHooks/tsconfig.json @@ -1,22 +1,18 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, "outDir": "tmp", - "baseUrl": ".", "paths": { - "@spt-aki/*": ["./types/*"] - } + "@spt-aki/*": [ "./types/*" ], + }, }, - "include": [ - "src/*", - "src/**/*" - ] + "exclude": [ "node_modules", "dist", "tmp" ], } \ No newline at end of file