Skip to content

Commit 1684c98

Browse files
committed
build: move zurk to vendor bundle
1 parent be163fd commit 1684c98

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

package.json

+3-5
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@
8282
"typescript": "^5.0.4",
8383
"webpod": "^0",
8484
"which": "^3.0.0",
85-
"yaml": "^2.3.4"
85+
"yaml": "^2.3.4",
86+
"zurk": "^0.0.11"
8687
},
8788
"publishConfig": {
8889
"registry": "https://wombat-dressing-room.appspot.com"
@@ -98,8 +99,5 @@
9899
},
99100
"repository": "google/zx",
100101
"author": "Anton Medvedev <anton@medv.io>",
101-
"license": "Apache-2.0",
102-
"dependencies": {
103-
"zurk": "^0.0.11"
104-
}
102+
"license": "Apache-2.0"
105103
}

src/core.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@ import { AsyncLocalStorage, createHook } from 'node:async_hooks'
1818
import { Readable, Writable } from 'node:stream'
1919
import { inspect } from 'node:util'
2020
import {
21-
$ as zurk$,
21+
TZurkShellResponse,
22+
zurk$,
2223
buildCmd,
23-
TShellResponse as TZurkShellResponse,
24-
} from 'zurk'
25-
import {
2624
chalk,
2725
which,
2826
type ChalkInstance,

src/vendor.ts

+6
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ import * as yaml from 'yaml'
2626
import * as _fs from 'fs-extra'
2727
import type { fetch } from 'node-fetch-native'
2828

29+
export {
30+
$ as zurk$,
31+
buildCmd,
32+
TShellResponse as TZurkShellResponse,
33+
} from 'zurk'
34+
2935
export { fetch as nodeFetch } from 'node-fetch-native'
3036
export type RequestInfo = Parameters<typeof fetch>[0]
3137
export type RequestInit = Parameters<typeof fetch>[1]

0 commit comments

Comments
 (0)