Skip to content

Commit 7988ddb

Browse files
renovate[bot]renovate-botehmicky
authored
fix(deps): update dependency execa to v6 (#448)
* fix(deps): update dependency execa to v6 * chore: fix new version of `execa` Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: ehmicky <[email protected]> Co-authored-by: ehmicky <[email protected]>
1 parent 5b3f3c3 commit 7988ddb

File tree

6 files changed

+193
-30
lines changed

6 files changed

+193
-30
lines changed

bin/run_ci.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/usr/bin/env node
22
import { argv } from 'process'
33

4-
import execa from 'execa'
4+
import { execaCommand } from 'execa'
55
import isCI from 'is-ci'
66

77
const [, , command] = argv
88

99
const runCI = async function () {
1010
if (isCI) {
11-
await execa.command(command, { stdio: 'inherit' })
11+
await execaCommand(command, { stdio: 'inherit' })
1212
}
1313
}
1414

bin/run_e.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env node
22
import process, { argv } from 'process'
33

4-
import execa from 'execa'
4+
import { execaCommand } from 'execa'
55

66
const [, , npmScript, npmScriptOnError] = argv
77

@@ -20,7 +20,7 @@ const runOnError = async function () {
2020
}
2121

2222
const runNpmScript = function (npmScriptName) {
23-
return execa.command(`npm run ${npmScriptName}`, { stdio: 'inherit', reject: false })
23+
return execaCommand(`npm run ${npmScriptName}`, { stdio: 'inherit', reject: false })
2424
}
2525

2626
const DEFAULT_ERROR_EXIT_CODE = 1

bin/run_local.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/usr/bin/env node
22
import { argv } from 'process'
33

4-
import execa from 'execa'
4+
import { execaCommand } from 'execa'
55
import isCI from 'is-ci'
66

77
const [, , command] = argv
88

99
const runLocal = async function () {
1010
if (!isCI) {
11-
await execa.command(command, { stdio: 'inherit' })
11+
await execaCommand(command, { stdio: 'inherit' })
1212
}
1313
}
1414

package-lock.json

Lines changed: 185 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"eslint-plugin-react": "^7.21.5",
101101
"eslint-plugin-unicorn": "^40.0.0",
102102
"eslint-plugin-you-dont-need-lodash-underscore": "^6.10.0",
103-
"execa": "^5.0.0",
103+
"execa": "^6.0.0",
104104
"husky": "^7.0.4",
105105
"is-ci": "^3.0.0",
106106
"npm-run-all": "^4.1.5",

test/main.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { fileURLToPath } from 'url'
22

33
import test from 'ava'
4-
import execa from 'execa'
4+
import { execa } from 'execa'
55

66
const ESLINT_CONFIG = fileURLToPath(new URL('../.eslintrc.cjs', import.meta.url))
77
const TEST_FILE = fileURLToPath(new URL('fixtures/_valid.mjs', import.meta.url))

0 commit comments

Comments
 (0)