In line run-command.ts:31 you resort to a hard coded hexo command:
const cmd = 'hexo ' + args.join(' ');
Maybe you consider to make it possible to use a project-local hexo installation that uses npx to run hexo from node_modules/.bin/. This would require a configuration option (let's call it npx) to prefix the cmd somewhat like that:
const cmd = ((cfg.npx)? 'npx': '') + 'hexo ' + args.join(' ');
In line
run-command.ts:31you resort to a hard coded hexo command:Maybe you consider to make it possible to use a project-local hexo installation that uses
npxto run hexo fromnode_modules/.bin/. This would require a configuration option (let's call itnpx) to prefix thecmdsomewhat like that: