Skip to content

Commit 9c17cd4

Browse files
committedFeb 24, 2024
fix: use vendor chunk for repl
1 parent 793f6ef commit 9c17cd4

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed
 

‎src/repl.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
import chalk from 'chalk'
1615
import os from 'node:os'
1716
import path from 'node:path'
1817
import repl from 'node:repl'
1918
import { inspect } from 'node:util'
2019
import { ProcessOutput, defaults } from './core.js'
20+
import { chalk } from './vendor.js'
2121

2222
export function startRepl() {
2323
defaults.verbose = false

‎src/vendor.ts

+2-8
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
declare module 'fast-glob' {
16-
namespace FastGlob {
17-
export type Entry = any
18-
}
19-
}
20-
2115
import {
2216
globby,
2317
globbySync,
@@ -36,6 +30,7 @@ export {
3630
type RequestInfo,
3731
type RequestInit,
3832
} from 'node-fetch'
33+
3934
export const globbyModule = {
4035
globby,
4136
globbySync,
@@ -58,6 +53,5 @@ export { type Options as GlobbyOptions } from 'globby'
5853
export { default as chalk, type ChalkInstance } from 'chalk'
5954
export { default as which } from 'which'
6055
export { default as minimist } from 'minimist'
61-
62-
export { ssh } from 'webpod'
6356
export { default as psTreeModule } from 'ps-tree'
57+
export { ssh } from 'webpod'

0 commit comments

Comments
 (0)