Comparing version 1.8.4 to 1.8.5
@@ -12,3 +12,3 @@ #! /usr/bin/env node | ||
.option('-w, --watch', 'Observe file changes') | ||
.option('--outDir, --dir, --directory <dir>', 'Run in a folder leaving the "outDir" of the tsconfig.json (relative path to tsconfig)') | ||
.option('--outDir, --dir <dir>', 'Run in a folder leaving the "outDir" of the tsconfig.json (relative path to tsconfig)') | ||
.option('-f, --resolve-full-paths', 'Attempt to fully resolve import paths if the corresponding .js file can be found') | ||
@@ -26,3 +26,3 @@ .option('-s, --silent', 'Reduced terminal output (default: true) [deprecated]') | ||
watch: !!options.watch, | ||
outDir: options.directory, | ||
outDir: options.dir, | ||
verbose: !!options.verbose, | ||
@@ -29,0 +29,0 @@ debug: !!options.debug, |
@@ -29,3 +29,3 @@ "use strict"; | ||
output.assert((0, fs_1.existsSync)(configFile), `Invalid file path => ${configFile}`); | ||
const { baseUrl = './', outDir, declarationDir, paths, replacers, resolveFullPaths, verbose, fileExtensions } = (0, exports.loadConfig)(configFile, output); | ||
const { baseUrl = '', outDir, declarationDir, paths, replacers, resolveFullPaths, verbose, fileExtensions } = (0, exports.loadConfig)(configFile, output); | ||
if ((_b = options === null || options === void 0 ? void 0 : options.fileExtensions) === null || _b === void 0 ? void 0 : _b.inputGlob) { | ||
@@ -32,0 +32,0 @@ fileExtensions.inputGlob = options.fileExtensions.inputGlob; |
@@ -38,3 +38,3 @@ "use strict"; | ||
'base-url': { | ||
enabled: true | ||
enabled: !!config.baseUrl | ||
} | ||
@@ -41,0 +41,0 @@ }; |
{ | ||
"name": "tsc-alias", | ||
"version": "1.8.4", | ||
"version": "1.8.5", | ||
"description": "Replace alias paths with relative paths after typescript compilation.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
127260