diff --git a/package.json b/package.json index 5e178c1..3ae7212 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "npmize", - "version": "1.1.2", + "version": "1.1.3", "description": "Let's create an npm package without worrying about anything.", "bin": "./dist/index.js", "scripts": { diff --git a/src/scripts/tsc.ts b/src/scripts/tsc.ts index 9e15bde..4b4b8c8 100644 --- a/src/scripts/tsc.ts +++ b/src/scripts/tsc.ts @@ -8,8 +8,7 @@ export default function ( ) { const runner = options.async ? crossSpawn : crossSpawn.sync runner('npx', ['tsc', ...args], { - // stdio: options.stdio || 'inherit', - stdio: 'ignore', + stdio: options.stdio || 'inherit', cwd, }) } diff --git a/src/scripts/tsconfig.ts b/src/scripts/tsconfig.ts index 0c74f9c..f16ceda 100644 --- a/src/scripts/tsconfig.ts +++ b/src/scripts/tsconfig.ts @@ -110,10 +110,7 @@ export function resolveImportPath( importPath, baseUrl, { baseUrl, paths }, - moduleResolutionHost, - undefined, - undefined, - ModuleKind.CommonJS + moduleResolutionHost ) if (resolved.resolvedModule?.packageId) return