Skip to content

Commit d919dd7

Browse files
tujoworkerarcanis
andauthored
fix(essentials): accept --network-timeout as a legacy flag (#3523)
* fix(plugin-essentials): add missing legacy install flag --network-timeout to be accepted * Versions Co-authored-by: Maël Nison <[email protected]>
1 parent 5e53473 commit d919dd7

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.yarn/versions/301df8df.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
releases:
2+
"@yarnpkg/cli": patch
3+
"@yarnpkg/plugin-essentials": patch
4+
5+
declined:
6+
- "@yarnpkg/plugin-compat"
7+
- "@yarnpkg/plugin-constraints"
8+
- "@yarnpkg/plugin-dlx"
9+
- "@yarnpkg/plugin-init"
10+
- "@yarnpkg/plugin-interactive-tools"
11+
- "@yarnpkg/plugin-nm"
12+
- "@yarnpkg/plugin-npm-cli"
13+
- "@yarnpkg/plugin-pack"
14+
- "@yarnpkg/plugin-patch"
15+
- "@yarnpkg/plugin-pnp"
16+
- "@yarnpkg/plugin-pnpm"
17+
- "@yarnpkg/plugin-stage"
18+
- "@yarnpkg/plugin-typescript"
19+
- "@yarnpkg/plugin-version"
20+
- "@yarnpkg/plugin-workspace-tools"
21+
- "@yarnpkg/builder"
22+
- "@yarnpkg/core"
23+
- "@yarnpkg/doctor"

packages/plugin-essentials/sources/commands/install.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export default class YarnCommand extends BaseCommand {
8888
production = Option.Boolean(`--production`, {hidden: true});
8989
registry = Option.String(`--registry`, {hidden: true});
9090
silent = Option.Boolean(`--silent`, {hidden: true});
91+
networkTimeout = Option.String(`--network-timeout`, {hidden: true});
9192

9293
async execute() {
9394
const configuration = await Configuration.find(this.context.cwd, this.context.plugins);

0 commit comments

Comments
 (0)