fix(core): update
This commit is contained in:
		@@ -3,6 +3,6 @@
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
export const commitinfo = {
 | 
					export const commitinfo = {
 | 
				
			||||||
  name: '@git.zone/tsbuild',
 | 
					  name: '@git.zone/tsbuild',
 | 
				
			||||||
  version: '2.1.73',
 | 
					  version: '2.1.74',
 | 
				
			||||||
  description: 'TypeScript nightly to easily make use of latest features'
 | 
					  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);
 | 
					    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();
 | 
					  tsbuildCli.startParse();
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user