Comparing version 1.4.0 to 1.4.1
@@ -7,4 +7,4 @@ #! /usr/bin/env node | ||
const { version } = require('../../package.json'); | ||
const program = new commander_1.Command('tsc-alias'); | ||
program | ||
commander_1.program | ||
.name('tsc-alias') | ||
.version(version) | ||
@@ -17,9 +17,10 @@ .option('-p, --project <file>', 'path to tsconfig.json') | ||
.parseAsync(process.argv); | ||
const options = commander_1.program.opts(); | ||
(0, __1.replaceTscAliasPaths)({ | ||
configFile: program.project, | ||
watch: !!program.watch, | ||
outDir: program.directory, | ||
silent: !!program.silent, | ||
resolveFullPaths: !!program.resolveFullPaths | ||
configFile: options.project, | ||
watch: !!options.watch, | ||
outDir: options.directory, | ||
silent: !!options.silent, | ||
resolveFullPaths: !!options.resolveFullPaths | ||
}); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "tsc-alias", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"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
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
59528
479