Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: drop webpod ssh API #750

Merged
merged 1 commit into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
393 changes: 0 additions & 393 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
"prettier": "^3.2.5",
"tsd": "^0.30.7",
"typescript": "^5.4.3",
"webpod": "^1",
"which": "^4.0.0",
"yaml": "^2.4.1",
"zurk": "^0.0.32"
Expand Down
1 change: 0 additions & 1 deletion scripts/build-dts.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ const entry = {
'node-fetch-native',
'chalk',
'globby',
'webpod',
'@types/minimist',
'@types/which',
'zurk',
Expand Down
1 change: 0 additions & 1 deletion src/globals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ declare global {
var retry: typeof _.retry
var sleep: typeof _.sleep
var spinner: typeof _.spinner
var ssh: typeof _.ssh
var stdin: typeof _.stdin
var which: typeof _.which
var within: typeof _.within
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { ProcessPromise } from './core.js'

export * from './core.js'
export * from './goods.js'
export { minimist, chalk, fs, which, YAML, ssh, ps } from './vendor.js'
export { minimist, chalk, fs, which, YAML, ps } from './vendor.js'

export { type Duration, quote, quotePowerShell } from './util.js'

Expand Down
1 change: 0 additions & 1 deletion src/vendor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,3 @@ export { default as chalk, type ChalkInstance } from 'chalk'
export { default as which } from 'which'
export { default as minimist } from 'minimist'
export { default as ps } from '@webpod/ps'
export { ssh } from 'webpod'
1 change: 0 additions & 1 deletion test/fixtures/js-project/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import {
fs,
which,
YAML,
ssh,
ps,
quote,
quotePowerShell,
Expand Down Expand Up @@ -88,7 +87,6 @@ describe('index', () => {
assert(fs)
assert(which)
assert(YAML)
assert(ssh)
assert(ps)

// utils
Expand Down