fix(core): update
This commit is contained in:
parent
651a06ff7b
commit
05738a5c94
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@git.zone/tsbuild',
|
||||
version: '2.1.73',
|
||||
version: '2.1.74',
|
||||
description: 'TypeScript nightly to easily make use of latest features'
|
||||
}
|
||||
|
@ -44,5 +44,17 @@ export const runCli = async () => {
|
||||
await tsbuild.compileGlobStringObject(compilationCommandObject, {}, process.cwd(), argvArg);
|
||||
});
|
||||
|
||||
/**
|
||||
* the custom command compiles any customDir to dist_customDir
|
||||
*/
|
||||
tsbuildCli.addCommand('interfaces').subscribe(async (argvArg) => {
|
||||
const tsFolders = ['ts_interfaces']
|
||||
const compilationCommandObject: { [key: string]: string } = {};
|
||||
for (const tsFolder of tsFolders) {
|
||||
compilationCommandObject[`./${tsFolder}/**/*.ts`] = `./dist_${tsFolder}`;
|
||||
}
|
||||
await tsbuild.compileGlobStringObject(compilationCommandObject, {}, process.cwd(), argvArg);
|
||||
});
|
||||
|
||||
tsbuildCli.startParse();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user