fix(core): update

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

View File

@ -119,6 +119,6 @@ jobs:
run: | run: |
npmci node install stable npmci node install stable
npmci npm install npmci npm install
pnpm install -g @gitzone/tsdoc pnpm install -g @git.zone/tsdoc
npmci command tsdoc npmci command tsdoc
continue-on-error: true continue-on-error: true

View File

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2016 Lossless GmbH Copyright (c) 2016 Task Venture Capital GmbH
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@ -28,21 +28,24 @@
}, },
"homepage": "https://gitlab.com/pushrocks/smartssh#readme", "homepage": "https://gitlab.com/pushrocks/smartssh#readme",
"dependencies": { "dependencies": {
"@push.rocks/smartfile": "^10.0.28", "@push.rocks/smartcrypto": "^2.0.5",
"@push.rocks/smartfile": "^11.0.4",
"@push.rocks/smartjson": "^5.0.10",
"@push.rocks/smartpath": "^5.0.11", "@push.rocks/smartpath": "^5.0.11",
"@push.rocks/smartpromise": "^4.0.3", "@push.rocks/smartpromise": "^4.0.3",
"@push.rocks/smartshell": "^3.0.3", "@push.rocks/smartshell": "^3.0.3",
"@push.rocks/smartstring": "^4.0.7", "@push.rocks/smartstring": "^4.0.13",
"@types/fs-extra": "^11.0.1", "@types/fs-extra": "^11.0.4",
"fs-extra": "^11.1.1", "fs-extra": "^11.2.0",
"minimatch": "^9.0.3" "minimatch": "^9.0.3",
"node-ssh": "^13.1.0"
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.1.66", "@git.zone/tsbuild": "^2.1.72",
"@gitzone/tsrun": "^1.2.44", "@git.zone/tsrun": "^1.2.46",
"@gitzone/tstest": "^1.0.77", "@git.zone/tstest": "^1.0.86",
"@push.rocks/tapbundle": "^5.0.12", "@push.rocks/tapbundle": "^5.0.15",
"@types/node": "^20.4.5" "@types/node": "^20.11.17"
}, },
"files": [ "files": [
"ts/**/*", "ts/**/*",

File diff suppressed because it is too large Load Diff

View File

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

View File

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

View File

@ -1,10 +1,30 @@
// node native
import * as fs from 'fs-extra'; import * as fs from 'fs-extra';
import * as minimatch from 'minimatch';
import * as path from 'path'; 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 smartfile from '@push.rocks/smartfile';
import * as smartcrypto from '@push.rocks/smartcrypto';
import * as smartpath from '@push.rocks/smartpath'; 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'; 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 };

View File

@ -3,9 +3,12 @@
"experimentalDecorators": true, "experimentalDecorators": true,
"useDefineForClassFields": false, "useDefineForClassFields": false,
"target": "ES2022", "target": "ES2022",
"module": "ES2022", "module": "NodeNext",
"moduleResolution": "nodenext", "moduleResolution": "NodeNext",
"esModuleInterop": true, "esModuleInterop": true,
"verbatimModuleSyntax": true, "verbatimModuleSyntax": true
} },
"exclude": [
"dist_*/**/*.d.ts"
]
} }