Skip to content

chore: fix yargs call in release script #8221

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

Merged
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
"@types/node": "^20.0.0",
"@types/semver": "^7.5.0",
"@types/tmp": "^0.2.3",
"@types/yargs": "^17.0.32",
"console-fail-test": "^0.2.3",
"cross-fetch": "^4.0.0",
"cspell": "^7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion tools/release/release.mts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
} from 'nx/src/command-line/release';
import yargs from 'yargs';

const options = await yargs
const options = await yargs(process.argv.slice(2))
.version(false)
.option('version', {
description:
Expand Down
9 changes: 5 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5185,12 +5185,12 @@ __metadata:
languageName: node
linkType: hard

"@types/yargs@npm:^17.0.8":
version: 17.0.24
resolution: "@types/yargs@npm:17.0.24"
"@types/yargs@npm:^17.0.32, @types/yargs@npm:^17.0.8":
version: 17.0.32
resolution: "@types/yargs@npm:17.0.32"
dependencies:
"@types/yargs-parser": "*"
checksum: 5f3ac4dc4f6e211c1627340160fbe2fd247ceba002190da6cf9155af1798450501d628c9165a183f30a224fc68fa5e700490d740ff4c73e2cdef95bc4e8ba7bf
checksum: 4505bdebe8716ff383640c6e928f855b5d337cb3c68c81f7249fc6b983d0aa48de3eee26062b84f37e0d75a5797bc745e0c6e76f42f81771252a758c638f36ba
languageName: node
linkType: hard

Expand Down Expand Up @@ -5472,6 +5472,7 @@ __metadata:
"@types/node": ^20.0.0
"@types/semver": ^7.5.0
"@types/tmp": ^0.2.3
"@types/yargs": ^17.0.32
console-fail-test: ^0.2.3
cross-fetch: ^4.0.0
cspell: ^7.0.0
Expand Down