fix(core): update

This commit is contained in:
2024-02-09 18:21:33 +01:00
parent 9fc03e8504
commit 9a10f83bb6
8 changed files with 2127 additions and 1168 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/smartssh',
version: '2.0.1',
version: '2.0.2',
description: 'setups SSH quickly and in a painless manner'
}

View File

@ -7,7 +7,7 @@ export class SshKey {
private _hostVar: string;
private _authorized: boolean;
private _smarthshellInstance = new plugins.shelljs.Smartshell({
private _smarthshellInstance = new plugins.smartshell.Smartshell({
executor: 'bash',
});

View File

@ -1,10 +1,30 @@
// node native
import * as fs from 'fs-extra';
import * as minimatch from 'minimatch';
import * as path from 'path';
import * as smartpromise from '@push.rocks/smartpromise';
import * as shelljs from '@push.rocks/smartshell';
export { fs, path };
// @push.rocks scope
import * as smartjson from '@push.rocks/smartjson';
import * as smartfile from '@push.rocks/smartfile';
import * as smartcrypto from '@push.rocks/smartcrypto';
import * as smartpath from '@push.rocks/smartpath';
import * as smartpromise from '@push.rocks/smartpromise';
import * as smartshell from '@push.rocks/smartshell';
import * as smartstring from '@push.rocks/smartstring';
export { fs, minimatch, path, smartpromise, shelljs, smartfile, smartpath, smartstring };
export {
smartjson,
smartfile,
smartcrypto,
smartpath,
smartpromise,
smartshell,
smartstring,
};
// third party scope
import * as minimatch from 'minimatch';
import * as nodeSsh from 'node-ssh';
export { minimatch, nodeSsh };