fix(core): update
This commit is contained in:
		| @@ -32,5 +32,12 @@ export const run = async () => { | |||||||
|     } |     } | ||||||
|   }); |   }); | ||||||
|  |  | ||||||
|  |   tsdocCli.addCommand('test').subscribe(argvArg => { | ||||||
|  |     tsdocCli.trigger('typedoc'); | ||||||
|  |     process.on('exit', async () => { | ||||||
|  |       await plugins.smartfile.fs.remove(paths.publicDir); | ||||||
|  |     }); | ||||||
|  |   }); | ||||||
|  |  | ||||||
|   tsdocCli.startParse(); |   tsdocCli.startParse(); | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -3,3 +3,4 @@ import * as plugins from './tsdoc.plugins'; | |||||||
| export const packageDir = plugins.path.join(__dirname, '../'); | export const packageDir = plugins.path.join(__dirname, '../'); | ||||||
| export const cwd = process.cwd(); | export const cwd = process.cwd(); | ||||||
| export const binDir = plugins.path.join(packageDir, './node_modules/.bin'); | export const binDir = plugins.path.join(packageDir, './node_modules/.bin'); | ||||||
|  | export const publicDir = plugins.path.join(packageDir, './public'); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user