Skip to content

Commit fac8630

Browse files
authoredMar 26, 2024··
chore: up deps (#743)
* chore: up deps * chore: rm ps-tree types from dts bundle
1 parent c2cda4a commit fac8630

File tree

6 files changed

+653
-302
lines changed

6 files changed

+653
-302
lines changed
 

‎package-lock.json

+636-284
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+8-7
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
},
5656
"optionalDependencies": {
5757
"@types/fs-extra": "^11.0.4",
58-
"@types/node": ">=20.11.28"
58+
"@types/node": ">=20.11.30"
5959
},
6060
"devDependencies": {
6161
"@stryker-mutator/core": "^6.4.2",
@@ -64,7 +64,7 @@
6464
"@types/node": ">=20.11.19",
6565
"@types/which": "^3.0.3",
6666
"@webpod/ps": "^0.0.0-beta.2",
67-
"c8": "^7.13.0",
67+
"c8": "^9.1.0",
6868
"chalk": "^5.3.0",
6969
"dts-bundle-generator": "^9.3.1",
7070
"esbuild": "^0.20.2",
@@ -75,12 +75,12 @@
7575
"globby": "^14.0.1",
7676
"madge": "^6.1.0",
7777
"minimist": "^1.2.8",
78-
"node-fetch-native": "^1.6.2",
79-
"prettier": "^2.8.8",
78+
"node-fetch-native": "^1.6.4",
79+
"prettier": "^3.2.5",
8080
"tsd": "^0.30.7",
8181
"typescript": "^5.4.3",
82-
"webpod": "^0",
83-
"which": "^3.0.0",
82+
"webpod": "^1",
83+
"which": "^4.0.0",
8484
"yaml": "^2.4.1",
8585
"zurk": "^0.0.32"
8686
},
@@ -94,7 +94,8 @@
9494
"prettier": {
9595
"semi": false,
9696
"singleQuote": true,
97-
"endOfLine": "lf"
97+
"endOfLine": "lf",
98+
"trailingComma": "es5"
9899
},
99100
"repository": "google/zx",
100101
"author": "Anton Medvedev <anton@medv.io>",

‎scripts/build-dts.mjs

+1-2
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,10 @@ const entry = {
3333
'chalk',
3434
'globby',
3535
'webpod',
36-
'@types/fs-extra',
3736
'@types/minimist',
38-
'@types/ps-tree',
3937
'@types/which',
4038
'zurk',
39+
'@webpod/ps',
4140
], // args['external-inlines'],
4241
},
4342
output: {

‎src/core.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -547,10 +547,10 @@ export class ProcessOutput extends Error {
547547
stderr: ${stringify(this.stderr, chalk.red)},
548548
signal: ${inspect(this.signal)},
549549
exitCode: ${(this.exitCode === 0 ? chalk.green : chalk.red)(this.exitCode)}${
550-
exitCodeInfo(this.exitCode)
551-
? chalk.grey(' (' + exitCodeInfo(this.exitCode) + ')')
552-
: ''
553-
}
550+
exitCodeInfo(this.exitCode)
551+
? chalk.grey(' (' + exitCodeInfo(this.exitCode) + ')')
552+
: ''
553+
}
554554
}`
555555
}
556556
}

‎src/goods.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ export const globby = Object.assign(function globby(
4040
options?: GlobbyOptions
4141
) {
4242
return globbyModule.globby(patterns, options)
43-
},
44-
globbyModule) as (typeof globbyModule)['globby'] & typeof globbyModule
43+
}, globbyModule) as (typeof globbyModule)['globby'] & typeof globbyModule
4544
export const glob = globby
4645

4746
export function sleep(duration: Duration) {

‎test/fixtures/no-extension

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#!/usr/bin/env zx
22

33
// Copyright 2021 Google LLC
4-
//
4+
//
55
// Licensed under the Apache License, Version 2.0 (the "License");
66
// you may not use this file except in compliance with the License.
77
// You may obtain a copy of the License at
8-
//
8+
//
99
// https://www.apache.org/licenses/LICENSE-2.0
10-
//
10+
//
1111
// Unless required by applicable law or agreed to in writing, software
1212
// distributed under the License is distributed on an "AS IS" BASIS,
1313
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

0 commit comments

Comments
 (0)
Please sign in to comment.