Skip to content

Commit 0fe966b

Browse files
committed
Updated codes
1 parent 5fb3479 commit 0fe966b

4 files changed

Lines changed: 9 additions & 0 deletions

File tree

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,12 @@
477477
"title": "Toggle Network View",
478478
"category": "React Native",
479479
"enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted"
480+
},
481+
{
482+
"command": "reactNative.runEasBuild",
483+
"title": "Run EAS Build",
484+
"category": "React Native",
485+
"enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted"
480486
}
481487
],
482488
"menus": {

src/common/error/errorStrings.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,4 +425,5 @@ export const ERROR_STRINGS = {
425425
[InternalErrorCode.FailedToKillPort]: "Failed to kill port",
426426
[InternalErrorCode.FaiedToSetNewArch]: "Failed to set New Architecture",
427427
[InternalErrorCode.FailedToToggleNetworkView]: "Failed to config network view",
428+
[InternalErrorCode.FailedToRunEasBuild]: "Failed to run eas build",
428429
};

src/common/error/internalErrorCode.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export enum InternalErrorCode {
3838
FailedToKillPort = 133,
3939
FaiedToSetNewArch = 134,
4040
FailedToToggleNetworkView = 135,
41+
FailedToRunEasBuild = 136,
4142

4243
// Device Deployer errors
4344
IOSDeployNotFound = 201,

src/extension/commands/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@ export * from "./openExpoUpgradeHelper";
3737
export * from "./killPort";
3838
export * from "./setNewArch";
3939
export * from "./networkView";
40+
export * from "./runEasBuild";

0 commit comments

Comments
 (0)