fix(ssh): modernize filesystem handling and package exports for NodeNext compatibility

This commit is contained in:
2026-05-01 18:44:22 +00:00
parent a9820a9e98
commit d8ab8a8d73
14 changed files with 7100 additions and 4960 deletions
+21 -20
View File
@@ -3,13 +3,16 @@
"version": "2.0.2",
"private": false,
"description": "A library for setting up SSH configuration quickly and painlessly.",
"exports": {
".": "./dist_ts/index.js"
},
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",
"type": "module",
"scripts": {
"test": "(tstest test/)",
"test": "tstest test/",
"testDocker": "tsdocker",
"build": "(tsbuild --allowimplicitany)",
"build": "tsbuild",
"buildDocs": "tsdoc"
},
"repository": {
@@ -26,31 +29,27 @@
"security",
"server management"
],
"author": "Lossless GmbH",
"author": "Task Venture Capital GmbH <hello@task.vc>",
"license": "MIT",
"bugs": {
"url": "https://gitlab.com/pushrocks/smartssh/issues"
"url": "https://code.foss.global/push.rocks/smartssh/issues"
},
"homepage": "https://code.foss.global/push.rocks/smartssh",
"dependencies": {
"@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/smartpromise": "^4.0.3",
"@push.rocks/smartshell": "^3.0.3",
"@push.rocks/smartstring": "^4.0.13",
"@push.rocks/smartcrypto": "^2.0.4",
"@push.rocks/smartjson": "^6.0.1",
"@push.rocks/smartpath": "^6.0.0",
"@push.rocks/smartstring": "^4.1.1",
"@types/fs-extra": "^11.0.4",
"fs-extra": "^11.2.0",
"minimatch": "^9.0.3",
"node-ssh": "^13.1.0"
"@types/ssh2": "^1.15.5",
"fs-extra": "^11.3.4",
"minimatch": "^10.2.5",
"node-ssh": "^13.2.1"
},
"devDependencies": {
"@git.zone/tsbuild": "^2.1.72",
"@git.zone/tsrun": "^1.2.46",
"@git.zone/tstest": "^1.0.86",
"@push.rocks/tapbundle": "^5.0.15",
"@types/node": "^20.11.17"
"@git.zone/tsbuild": "^4.4.0",
"@git.zone/tstest": "^3.6.3",
"@types/node": "^25.6.0"
},
"files": [
"ts/**/*",
@@ -61,10 +60,12 @@
"dist_ts_web/**/*",
"assets/**/*",
"cli.js",
".smartconfig.json",
"LICENSE",
"npmextra.json",
"readme.md"
],
"browserslist": [
"last 1 chrome versions"
]
}
}