zuke.tools.tsc_alias
@zuke/tsc-alias 1.1.0: @zuke/tsc-alias — typed tsc-alias task wrappers for Zuke builds.
zuke on PyPI ↗ 2 symbols
Symbols
class TscAliasRunSettings(ToolSettings) Settings for a tsc-alias run.
-
project(path: str) -> SelfPath to the
tsconfig.jsonto read aliases from (-p/--project). -
watch() -> SelfRe-run on file changes (
--watch). -
out_dir(path: str) -> SelfOutput directory of the compiled files to rewrite (
--outDir). -
declaration_dir(path: str) -> SelfOutput directory of the emitted declaration files (
--declarationDir). -
resolve_full_paths() -> SelfAttempt to fully resolve alias paths, including extensions (
--resolveFullPaths). -
resolve_full_extension(ext: str) -> SelfExtension to append when resolving full paths, e.g.
.js(--resolveFullExtension). -
replacers(*files: str) -> SelfAdditional replacer module file(s); repeatable (
-f/--replacers). -
dir(path: str) -> SelfBase directory to resolve relative paths against (
--dir). -
file_extensions(list: str) -> SelfComma-separated list of file extensions to process (
--fileExtensions). -
verbose() -> SelfPrint verbose output (
--verbose). -
debug() -> SelfPrint debug output (
--debug). -
silent() -> SelfSuppress all output (
--silent).
class TscAliasTasks Typed task functions for the tsc-alias path-alias rewriter.
-
static async run(ctx: ServiceContext, configure: Callable[[TscAliasRunSettings], TscAliasRunSettings] | None=None) -> ExecResultRewrite TypeScript path aliases in compiled output with
tsc-alias.