Skip to content

Commit f4729ec

Browse files
committed
re-update package.json
1 parent 0c643ec commit f4729ec

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

packages/toolkit/package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,27 +1208,27 @@
12081208
},
12091209
{
12101210
"command": "aws.ec2.openRemoteConnection",
1211-
"when": "aws.isDevMode"
1211+
"when": "config.aws.experiments.ec2RemoteConnect"
12121212
},
12131213
{
12141214
"command": "aws.ec2.openTerminal",
1215-
"when": "aws.isDevMode"
1215+
"when": "config.aws.experiments.ec2RemoteConnect"
12161216
},
12171217
{
12181218
"command": "aws.ec2.linkToLaunch",
1219-
"when": "aws.isDevMode"
1219+
"when": "config.aws.experiments.ec2RemoteConnect"
12201220
},
12211221
{
12221222
"command": "aws.ec2.startInstance",
1223-
"when": "aws.isDevMode"
1223+
"when": "config.aws.experiments.ec2RemoteConnect"
12241224
},
12251225
{
12261226
"command": "aws.ec2.stopInstance",
1227-
"when": "aws.isDevMode"
1227+
"when": "config.aws.experiments.ec2RemoteConnect"
12281228
},
12291229
{
12301230
"command": "aws.ec2.rebootInstance",
1231-
"when": "aws.isDevMode"
1231+
"when": "config.aws.experiments.ec2RemoteConnect"
12321232
},
12331233
{
12341234
"command": "aws.dev.openMenu",
@@ -1453,62 +1453,62 @@
14531453
{
14541454
"command": "aws.ec2.openTerminal",
14551455
"group": "0@1",
1456-
"when": "viewItem =~ /^(awsEc2(Parent|Running)Node)$/"
1456+
"when": "viewItem =~ /^(awsEc2(Parent|Running)Node)$/ && config.aws.experiments.ec2RemoteConnect"
14571457
},
14581458
{
14591459
"command": "aws.ec2.openTerminal",
14601460
"group": "inline@1",
1461-
"when": "viewItem =~ /^(awsEc2(Parent|Running)Node)$/"
1461+
"when": "viewItem =~ /^(awsEc2(Parent|Running)Node)$/ && config.aws.experiments.ec2RemoteConnect"
14621462
},
14631463
{
14641464
"command": "aws.ec2.linkToLaunch",
14651465
"group": "0@1",
1466-
"when": "viewItem =~ /^(awsEc2ParentNode)$/"
1466+
"when": "viewItem =~ /^(awsEc2ParentNode)$/ && config.aws.experiments.ec2RemoteConnect"
14671467
},
14681468
{
14691469
"command": "aws.ec2.linkToLaunch",
14701470
"group": "inline@1",
1471-
"when": "viewItem =~ /^(awsEc2ParentNode)$/"
1471+
"when": "viewItem =~ /^(awsEc2ParentNode)$/ && config.aws.experiments.ec2RemoteConnect"
14721472
},
14731473
{
14741474
"command": "aws.ec2.openRemoteConnection",
14751475
"group": "0@1",
1476-
"when": "viewItem =~ /^(awsEc2(Parent|Running)Node)$/"
1476+
"when": "viewItem =~ /^(awsEc2(Parent|Running)Node)$/ && config.aws.experiments.ec2RemoteConnect"
14771477
},
14781478
{
14791479
"command": "aws.ec2.openRemoteConnection",
14801480
"group": "inline@1",
1481-
"when": "viewItem =~ /^(awsEc2(Parent|Running)Node)$/"
1481+
"when": "viewItem =~ /^(awsEc2(Parent|Running)Node)$/ && config.aws.experiments.ec2RemoteConnect"
14821482
},
14831483
{
14841484
"command": "aws.ec2.startInstance",
14851485
"group": "0@1",
1486-
"when": "viewItem == awsEc2StoppedNode"
1486+
"when": "viewItem == awsEc2StoppedNode && config.aws.experiments.ec2RemoteConnect"
14871487
},
14881488
{
14891489
"command": "aws.ec2.startInstance",
14901490
"group": "inline@1",
1491-
"when": "viewItem == awsEc2StoppedNode"
1491+
"when": "viewItem == awsEc2StoppedNode && config.aws.experiments.ec2RemoteConnect"
14921492
},
14931493
{
14941494
"command": "aws.ec2.stopInstance",
14951495
"group": "0@1",
1496-
"when": "viewItem == awsEc2RunningNode"
1496+
"when": "viewItem == awsEc2RunningNode && config.aws.experiments.ec2RemoteConnect"
14971497
},
14981498
{
14991499
"command": "aws.ec2.stopInstance",
15001500
"group": "inline@1",
1501-
"when": "viewItem == awsEc2RunningNode"
1501+
"when": "viewItem == awsEc2RunningNode && config.aws.experiments.ec2RemoteConnect"
15021502
},
15031503
{
15041504
"command": "aws.ec2.rebootInstance",
15051505
"group": "0@1",
1506-
"when": "viewItem == awsEc2RunningNode"
1506+
"when": "viewItem == awsEc2RunningNode && config.aws.experiments.ec2RemoteConnect"
15071507
},
15081508
{
15091509
"command": "aws.ec2.rebootInstance",
15101510
"group": "inline@1",
1511-
"when": "viewItem == awsEc2RunningNode"
1511+
"when": "viewItem == awsEc2RunningNode && config.aws.experiments.ec2RemoteConnect"
15121512
},
15131513
{
15141514
"command": "aws.ecr.createRepository",
@@ -1612,7 +1612,7 @@
16121612
},
16131613
{
16141614
"command": "aws.ec2.copyInstanceId",
1615-
"when": "view == aws.explorer && viewItem =~ /^(awsEc2(Running|Stopped|Pending)Node)$/",
1615+
"when": "view == aws.explorer && viewItem =~ /^(awsEc2(Running|Stopped|Pending)Node)$/ && config.aws.experiments.ec2RemoteConnect",
16161616
"group": "2@0"
16171617
},
16181618
{

0 commit comments

Comments
 (0)