fix(core): update
This commit is contained in:
		| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@git.zone/tsbuild', | ||||
|   version: '2.1.75', | ||||
|   version: '2.1.76', | ||||
|   description: 'TypeScript nightly to easily make use of latest features' | ||||
| } | ||||
|   | ||||
| @@ -36,7 +36,14 @@ export const runCli = async () => { | ||||
|    * the custom command compiles any customDir to dist_customDir | ||||
|    */ | ||||
|   tsbuildCli.addCommand('tsfolders').subscribe(async (argvArg) => { | ||||
|     const tsFolders = await plugins.smartfile.fs.listFolders(paths.cwd, /^ts/) | ||||
|     const tsFolders = await plugins.smartfile.fs.listFolders(paths.cwd, /^ts/); | ||||
|  | ||||
|     // lets make sure interfaces are always transpiled first | ||||
|     const index = tsFolders.indexOf('ts_interfaces'); | ||||
|     if (index > -1) { | ||||
|       tsFolders.splice(index, 1); | ||||
|       tsFolders.unshift('ts_interfaces'); | ||||
|     } | ||||
|     const compilationCommandObject: { [key: string]: string } = {}; | ||||
|     for (const tsFolder of tsFolders) { | ||||
|       compilationCommandObject[`./${tsFolder}/**/*.ts`] = `./dist_${tsFolder}`; | ||||
| @@ -48,7 +55,7 @@ export const runCli = async () => { | ||||
|    * the custom command compiles any customDir to dist_customDir | ||||
|    */ | ||||
|   tsbuildCli.addCommand('interfaces').subscribe(async (argvArg) => { | ||||
|     const tsFolders = ['ts_interfaces'] | ||||
|     const tsFolders = ['ts_interfaces']; | ||||
|     const compilationCommandObject: { [key: string]: string } = {}; | ||||
|     for (const tsFolder of tsFolders) { | ||||
|       compilationCommandObject[`./${tsFolder}/**/*.ts`] = `./dist_${tsFolder}`; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user