From bc11d9922f3d2cab35fab3ad3d8fb4745f282d31 Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Thu, 13 Jun 2024 12:18:36 -0500 Subject: [PATCH] fix tsconfig for ioc --- .gitignore | 1 + packages/ioc/package.json | 2 +- packages/ioc/tsconfig.json | 7 ++++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 2d53da6..782f930 100644 --- a/.gitignore +++ b/.gitignore @@ -10,5 +10,6 @@ #.pnp.* node_modules/**/* packages/ioc/node_modules/* +packages/ioc/dist packages/poster/dts/discord.d.ts packages/**/node_modules diff --git a/packages/ioc/package.json b/packages/ioc/package.json index f11e8b0..c85d64b 100644 --- a/packages/ioc/package.json +++ b/packages/ioc/package.json @@ -1,6 +1,6 @@ { "name": "@sern/ioc", - "version": "1.0.1", + "version": "1.0.2", "description": "Dependency Injection system", "main": "dist/index.js", "scripts": { diff --git a/packages/ioc/tsconfig.json b/packages/ioc/tsconfig.json index 5f9427b..1208ce0 100644 --- a/packages/ioc/tsconfig.json +++ b/packages/ioc/tsconfig.json @@ -26,7 +26,7 @@ /* Modules */ "module": "ESNext", /* Specify what module code is generated. */ - // "rootDir": "./", /* Specify the root folder within your source files. */ + "rootDir": "./src", /* Specify the root folder within your source files. */ "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ @@ -52,7 +52,7 @@ "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ // "declarationMap": true, /* Create sourcemaps for d.ts files. */ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ - // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ + "sourceMap": true, /* Create source map files for emitted JavaScript files. */ // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ "outDir": "./dist", /* Specify an output folder for all emitted files. */ @@ -105,5 +105,6 @@ /* Completeness */ // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ "skipLibCheck": true /* Skip type checking all .d.ts files. */ - } + }, + "include": ["./src", "./src/**/*.d.ts"] }