@forge/cli-shared 9.3.0-next.17-experimental-cf2ad4c → 9.3.0-next.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -30
- package/out/graphql/graphql-types.d.ts +101 -2
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +41 -5
- package/out/service/statsig-service.d.ts +1 -2
- package/out/service/statsig-service.d.ts.map +1 -1
- package/out/service/statsig-service.js +0 -3
- package/out/ui/log-color.d.ts +1 -0
- package/out/ui/log-color.d.ts.map +1 -1
- package/out/ui/log-color.js +1 -0
- package/out/ui/text.d.ts +12 -2
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +32 -14
- package/package.json +2 -2
|
@@ -47,11 +47,11 @@ exports.SandboxEventSource = exports.SandboxEventResult = exports.RollingSprintS
|
|
|
47
47
|
exports.ShardedGraphStoreServiceLinkedIncidentJiraServiceManagementIncidentStatus = exports.ShardedGraphStoreServiceLinkedIncidentJiraServiceManagementIncidentPriority = exports.ShardedGraphStoreProjectAssociatedVulnerabilityVulnerabilityType = exports.ShardedGraphStoreProjectAssociatedVulnerabilityVulnerabilityStatus = exports.ShardedGraphStoreProjectAssociatedVulnerabilityVulnerabilitySeverity = exports.ShardedGraphStoreProjectAssociatedPrReviewerReviewerStatus = exports.ShardedGraphStoreProjectAssociatedPrPullRequestStatus = exports.ShardedGraphStoreProjectAssociatedDeploymentEnvironmentType = exports.ShardedGraphStoreProjectAssociatedDeploymentDeploymentState = exports.ShardedGraphStoreProjectAssociatedBuildBuildState = exports.ShardedGraphStoreProjectAssociatedAutodevJobAutodevJobStatus = exports.ShardedGraphStoreJswProjectAssociatedIncidentJiraIncidentStatus = exports.ShardedGraphStoreJswProjectAssociatedIncidentJiraIncidentPriority = exports.ShardedGraphStoreJcsIssueAssociatedSupportEscalationEscalationStatus = exports.ShardedGraphStoreJcsIssueAssociatedSupportEscalationEscalationLinkType = exports.ShardedGraphStoreIssueHasAutodevJobAutodevJobStatus = exports.ShardedGraphStoreIssueAssociatedDeploymentEnvironmentType = exports.ShardedGraphStoreIssueAssociatedDeploymentDeploymentState = exports.ShardedGraphStoreCypherQueryV2VersionEnum = exports.ShardedGraphStoreCypherQueryV2BatchVersionEnum = exports.ShardedGraphStoreCreateVulnerabilityAssociatedIssueVulnerabilityTypeInput = exports.ShardedGraphStoreCreateVulnerabilityAssociatedIssueVulnerabilityStatusInput = exports.ShardedGraphStoreCreateVulnerabilityAssociatedIssueVulnerabilitySeverityInput = exports.ShardedGraphStoreCreateJcsIssueAssociatedSupportEscalationEscalationStatusInput = exports.ShardedGraphStoreCreateJcsIssueAssociatedSupportEscalationEscalationLinkTypeInput = exports.ShardedGraphStoreCreateComponentImpactedByIncidentJiraIncidentStatusInput = exports.ShardedGraphStoreCreateComponentImpactedByIncidentJiraIncidentPriorityInput = exports.ShardedGraphStoreAtlasHomeSourcesEnum = exports.ShardedGraphStoreAtlasHomeRankingCriteriaEnum = exports.SearchesByTermPeriod = exports.SearchesByTermColumns = exports.SearchThirdPartyRangeField = exports.SearchSortOrder = exports.SearchSalesforceAttributeFilterSource = exports.SearchSalesforceAttributeFilterOperator = exports.SearchResultType = exports.SearchProjectType = exports.SearchParticipantType = exports.SearchLinkedResultCategory = exports.SearchLinkedEntityGranularity = exports.SearchLinkedEntitiesType = exports.SearchIssueStatusCategory = exports.SearchContainerStatus = exports.SearchConfluenceRangeField = exports.SearchConfluenceDocumentStatus = exports.SearchCombinationType = exports.SearchBoardProductType = exports.Scope = exports.SandboxEventType = exports.SandboxEventStatus = void 0;
|
|
48
48
|
exports.SpaceRoleType = exports.SpacePermissionType = exports.SpaceManagerOwnerType = exports.SpaceManagerOrderDirection = exports.SpaceManagerOrderColumn = exports.SpaceManagerFilterType = exports.SpaceAssignmentType = exports.SortOrder = exports.SortDirection = exports.SoftwareCardsDestinationEnum = exports.SitePermissionTypeFilter = exports.SitePermissionType = exports.SitePermissionOperationType = exports.ShepherdWebhookSubscriptionCategory = exports.ShepherdWebhookDestinationType = exports.ShepherdSubscriptionStatus = exports.ShepherdSearchOrigin = exports.ShepherdRemediationActionType = exports.ShepherdRedactionStatus = exports.ShepherdRedactedContentStatus = exports.ShepherdRateThresholdValue = exports.ShepherdQueryErrorType = exports.ShepherdMutationErrorType = exports.ShepherdLoginDeviceType = exports.ShepherdDetectionScanningFrequency = exports.ShepherdCustomScanningMatchType = exports.ShepherdClassificationStatus = exports.ShepherdBulkRedactionJobStatus = exports.ShepherdBulkRedactionItemStatus = exports.ShepherdAttachmentRedactionAction = exports.ShepherdAtlassianProduct = exports.ShepherdAlertTemplateType = exports.ShepherdAlertStatus = exports.ShepherdAlertSnippetRedactionStatus = exports.ShepherdAlertSnippetRedactionFailureReason = exports.ShepherdAlertDetectionCategory = exports.ShepherdAlertAction = exports.ShepherdActorOrgStatus = exports.ShepherdActionType = exports.ShareType = exports.ShardedGraphStoreVersionAssociatedDesignDesignType = exports.ShardedGraphStoreVersionAssociatedDesignDesignStatus = exports.ShardedGraphStoreSprintContainsIssueStatusCategory = exports.ShardedGraphStoreSprintAssociatedVulnerabilityVulnerabilityStatus = exports.ShardedGraphStoreSprintAssociatedVulnerabilityVulnerabilitySeverity = exports.ShardedGraphStoreSprintAssociatedVulnerabilityStatusCategory = exports.ShardedGraphStoreSprintAssociatedPrReviewerReviewerStatus = exports.ShardedGraphStoreSprintAssociatedPrPullRequestStatus = exports.ShardedGraphStoreSprintAssociatedDeploymentEnvironmentType = exports.ShardedGraphStoreSprintAssociatedDeploymentDeploymentState = void 0;
|
|
49
49
|
exports.StakeholderCommsStakeholderStatus = exports.StakeholderCommsStakeholderGroupStatus = exports.StakeholderCommsSslStatus = exports.StakeholderCommsSearchFilterType = exports.StakeholderCommsSearchField = exports.StakeholderCommsPageType = exports.StakeholderCommsPageThemeMode = exports.StakeholderCommsPageTheme = exports.StakeholderCommsPageStatusFilter = exports.StakeholderCommsPageStatus = exports.StakeholderCommsOrderType = exports.StakeholderCommsOpsgenieRiskScore = exports.StakeholderCommsOpsgenieRiskCategoryType = exports.StakeholderCommsOpsgenieLoadingStatus = exports.StakeholderCommsIncidentStatus = exports.StakeholderCommsIncidentImpact = exports.StakeholderCommsExternalIncidentSource = exports.StakeholderCommsErrorType = exports.StakeholderCommsDraftEmailAudienceType = exports.StakeholderCommsDnsRecordStatus = exports.StakeholderCommsCustomDomainLifecycleStatus = exports.StakeholderCommsComponentUpdateStatus = exports.StakeholderCommsComponentType = exports.StakeholderCommsComponentSuppressionReason = exports.StakeholderCommsComponentStyle = exports.StakeholderCommsComponentStatus = exports.StakeholderCommsComponentImpactType = exports.StakeholderCommsAssignmentType = exports.StakeholderCommsAddedFromType = exports.SprintState = exports.SprintReportsEstimationStatisticType = exports.SpfPlanVisibility = exports.SpfPlanTimeframeGranularity = exports.SpfPlanStatus = exports.SpfPlanScenarioStatus = exports.SpfPlanScenarioInvestmentGroupType = exports.SpfPlanPortfolioAllowedTypeRuleType = exports.SpfPermissionRelationType = exports.SpfPermissionEntityType = exports.SpfMediaTokenUsageType = exports.SpfEntityPermissionPrincipalType = exports.SpfAskTargetDateType = exports.SpfAskStatus = exports.SpfAskPriority = exports.SpfAskActivityType = exports.SpfAskActivityAttribute = exports.SpcsUpdateScanStatusAction = exports.SpcsFullSiteScanStatus = exports.SpaceViewsPersistenceOption = exports.SpaceSidebarLinkType = void 0;
|
|
50
|
-
exports.
|
|
51
|
-
exports.
|
|
52
|
-
exports.
|
|
53
|
-
exports.
|
|
54
|
-
exports.SourceBillingType = exports.WorkSuggestionsVulnerabilityStatus = exports.WorkSuggestionsVersionCandidateIncludeReason = exports.WorkSuggestionsUserPersona = exports.WorkSuggestionsTargetAudience = exports.WorkSuggestionsEnvironmentType = exports.WorkSuggestionsAutoDevJobState = exports.WorkSuggestionsApprovalStatus = exports.WorkSuggestionsAction = exports.VirtualAgentIntentTemplateType = exports.VirtualAgentIntentStatus = void 0;
|
|
50
|
+
exports.TeamSearchField = exports.TeamRole = exports.TeamPermissions = exports.TeamPermission = exports.TeamNotificationType = exports.TeamNotificationChannel = exports.TeamMergeErrorCode = exports.TeamMembershipState = exports.TeamMembershipSettings = exports.TeamMembershipRole = exports.TeamMembershipProcessingStatus = exports.TeamHierarchyErrorCode = exports.TeamExternalSourceDiffError = exports.TeamCustomFieldType = exports.TeamCustomFieldCardinality = exports.TeamCalendarDayOfWeek = exports.TaskStatus = exports.TargetTransition = exports.SystemSpaceHomepageTemplate = exports.SwimlaneStrategy = exports.SupportRequestUserType = exports.SupportRequestStatusCategory = exports.SupportRequestQueryStatusCategory = exports.SupportRequestQueryOwnership = exports.SupportRequestNamedContactOperation = exports.SupportRequestFieldDataType = exports.SummaryType = exports.StudioTemplateType = exports.StudioTemplateSourceStatus = exports.StudioTemplateSourceDiagnosticCode = exports.StudioTemplateHowItWorksRole = exports.StudioTemplateCollection = exports.StudioPlanState = exports.StudioCategorySourceStatus = exports.StudioBuildType = exports.StudioBuildState = exports.StringUserInputType = exports.StalePagesSortingType = exports.StalePageStatus = exports.StakeholderCommsUptimeStyle = exports.StakeholderCommsSuggestionSuppressionReason = exports.StakeholderCommsSuggestionConfidence = exports.StakeholderCommsSuggestedStatus = exports.StakeholderCommsSuggestedImpact = exports.StakeholderCommsSubscriptionType = exports.StakeholderCommsSubscriptionChannel = exports.StakeholderCommsSubscriberStatus = exports.StakeholderCommsSubscriberOrderByType = exports.StakeholderCommsSubscriberItemType = exports.StakeholderCommsStakeholderType = void 0;
|
|
51
|
+
exports.TownsquareProjectAccessLevel = exports.TownsquareMsTeamsTeamVisibility = exports.TownsquareMilestoneStatus = exports.TownsquareMetricValueSortEnum = exports.TownsquareMetricType = exports.TownsquareMetricSortEnum = exports.TownsquareLinkType = exports.TownsquareHighlightType = exports.TownsquareHighlightSortEnum = exports.TownsquareGoalsAppPermission = exports.TownsquareGoalTypeState = exports.TownsquareGoalTypeKind = exports.TownsquareGoalStateValue = exports.TownsquareGoalSortEnum = exports.TownsquareGoalScoringMode = exports.TownsquareGoalProgressType = exports.TownsquareGoalIconKey = exports.TownsquareGoalIconAppearance = exports.TownsquareGoalAccessRoleInput = exports.TownsquareGoalAccessRole = exports.TownsquareGoalAccessLevel = exports.TownsquareDirectoryViewSortEnum = exports.TownsquareDirectoryViewEntityType = exports.TownsquareCustomFieldType = exports.TownsquareCustomFieldSortEnum = exports.TownsquareCustomFieldEntity = exports.TownsquareCapabilityContainer = exports.TownsquareCanCreateFusionResult = exports.TownsquareBundledUpdateNodeMissingReason = exports.TownsquareAppLevelEffectiveRole = exports.TownsquareActivityItemSortEnum = exports.TownsquareAccessControlCapability = exports.ToolchainWorkspaceConnectionErrorCode = exports.ToolchainProviderType = exports.ToolchainDisassociateEntitiesErrorCode = exports.ToolchainCreateContainerErrorCode = exports.ToolchainContainerConnectionErrorCode = exports.ToolchainCheckAuthErrorCode = exports.ToolchainAssociateEntitiesErrorCode = exports.TeamworkGraphUserViewedEntityType = exports.TeamTypeState = exports.TeamTypeLevelPermission = exports.TeamTypeDefaultPermissionEntity = exports.TeamTypeDefaultFor = exports.TeamStateV2 = exports.TeamState = exports.TeamSource = exports.TeamSortOrder = exports.TeamSortField = exports.TeamSearchStateV2 = void 0;
|
|
52
|
+
exports.TrelloChecklistMediaType = exports.TrelloChecklistCreationMethod = exports.TrelloCheckItemState = exports.TrelloCheckItemCreationMethod = exports.TrelloCardSummarySectionKind = exports.TrelloCardSummaryNullReason = exports.TrelloCardRole = exports.TrelloCardExternalSource = exports.TrelloCardCoverSize = exports.TrelloCardCoverColor = exports.TrelloCardCoverBrightness = exports.TrelloCardBatchStatus = exports.TrelloCardActionType = exports.TrelloBoardVotingPermissions = exports.TrelloBoardPrefsPermissionLevel = exports.TrelloBoardMembershipType = exports.TrelloBoardInvitePermissionsInput = exports.TrelloBoardInvitationPermissions = exports.TrelloBoardHistoryDueDateStatus = exports.TrelloBoardCreationMethod = exports.TrelloBoardCommentingPermissions = exports.TrelloBoardCommentPermissions = exports.TrelloBoardCardAgingModes = exports.TrelloBoardAiLoadingPhase = exports.TrelloAppCreatorAuthType = exports.TrelloAiRuleType = exports.TrelloAiReasoningEffort = exports.TrelloAiFeatureEntityAction = exports.TrelloAgenticIdentityStatus = exports.TrelloAgenticActivityTargetType = exports.TrelloAgenticActivityStatus = exports.TrelloAgentTaskState = exports.TownsquareViewObjectType = exports.TownsquareUpdateType = exports.TownsquareUpdateStateFilter = exports.TownsquareUnshardedCapabilityContainer = exports.TownsquareUnshardedAccessControlCapability = exports.TownsquareTargetDateType = exports.TownsquareTagSortEnum = exports.TownsquareSearchType = exports.TownsquareSearchEntity = exports.TownsquareRiskSortEnum = exports.TownsquareProjectsAppPermission = exports.TownsquareProjectStateValue = exports.TownsquareProjectSortEnum = exports.TownsquareProjectPhase = exports.TownsquareProjectFusionField = exports.TownsquareProjectDependencyRelationship = exports.TownsquareProjectAccessRoleInput = exports.TownsquareProjectAccessRole = void 0;
|
|
53
|
+
exports.UtsAllowanceExemptionStatus = exports.UtsAllowanceExemptionScopeType = exports.UtsAlertState = exports.UtsAlertRetriggerPolicy = exports.UserInstallationRuleValue = exports.UnifiedSortDirection = exports.UnifiedLearningCertificationType = exports.UnifiedLearningCertificationStatus = exports.UnifiedLearningCertificationSortField = exports.UnifiedGamificationBadgeCategory = exports.UnifiedAiPostType = exports.UnifiedAiPostSortField = exports.UnifiedAiLikeTargetType = exports.TrelloWorkspaceTier = exports.TrelloWorkspaceMembershipType = exports.TrelloWorkspaceBoardFilterValue = exports.TrelloWorkOverviewDashboardJobStatus = exports.TrelloUsageLimitKey = exports.TrelloUsageLimitInterval = exports.TrelloTokenFilter = exports.TrelloSupportedPlannerProviders = exports.TrelloSmartScheduleStatus = exports.TrelloRelativePosition = exports.TrelloProposedEventSource = exports.TrelloProposePlannerEventsJobStatus = exports.TrelloProposePlannerEventsJobOutcome = exports.TrelloPowerUpDataScope = exports.TrelloPowerUpDataAccess = exports.TrelloPlannerEventTimeFilter = exports.TrelloPlannerCalendarEventVisibility = exports.TrelloPlannerCalendarEventViewType = exports.TrelloPlannerCalendarEventType = exports.TrelloPlannerCalendarEventStatus = exports.TrelloPlannerCalendarColor = exports.TrelloPlannerBoardFilterMode = exports.TrelloMultiboardSortDirection = exports.TrelloMultiboardCardSortField = exports.TrelloMemberCardsSort = exports.TrelloMemberCardsDue = exports.TrelloMemberCardsActiveSince = exports.TrelloMemberBoardFilterValue = exports.TrelloListType = exports.TrelloListCreationMethod = exports.TrelloListColor = exports.TrelloListCardSortBy = exports.TrelloLabsFeatureStatus = exports.TrelloLabsFeature = exports.TrelloGenerateBoardBackgroundJobStatus = exports.TrelloDataSourceHandler = exports.TrelloCustomFieldType = void 0;
|
|
54
|
+
exports.SourceBillingType = exports.WorkSuggestionsVulnerabilityStatus = exports.WorkSuggestionsVersionCandidateIncludeReason = exports.WorkSuggestionsUserPersona = exports.WorkSuggestionsTargetAudience = exports.WorkSuggestionsEnvironmentType = exports.WorkSuggestionsAutoDevJobState = exports.WorkSuggestionsApprovalStatus = exports.WorkSuggestionsAction = exports.VirtualAgentIntentTemplateType = exports.VirtualAgentIntentStatus = exports.VirtualAgentConversationState = exports.VirtualAgentConversationCsatOptionType = exports.VirtualAgentConversationChannel = exports.VirtualAgentConversationActionType = exports.VendorType = exports.UtsLatestAllowanceEnforcementModeType = void 0;
|
|
55
55
|
var AiOpsActivityEntityType;
|
|
56
56
|
(function (AiOpsActivityEntityType) {
|
|
57
57
|
AiOpsActivityEntityType["Alert"] = "ALERT";
|
|
@@ -18313,6 +18313,11 @@ var StudioBuildType;
|
|
|
18313
18313
|
StudioBuildType["EcosystemApp"] = "ECOSYSTEM_APP";
|
|
18314
18314
|
StudioBuildType["RovoAgent"] = "ROVO_AGENT";
|
|
18315
18315
|
})(StudioBuildType || (exports.StudioBuildType = StudioBuildType = {}));
|
|
18316
|
+
var StudioCategorySourceStatus;
|
|
18317
|
+
(function (StudioCategorySourceStatus) {
|
|
18318
|
+
StudioCategorySourceStatus["Error"] = "ERROR";
|
|
18319
|
+
StudioCategorySourceStatus["Ok"] = "OK";
|
|
18320
|
+
})(StudioCategorySourceStatus || (exports.StudioCategorySourceStatus = StudioCategorySourceStatus = {}));
|
|
18316
18321
|
var StudioPlanState;
|
|
18317
18322
|
(function (StudioPlanState) {
|
|
18318
18323
|
StudioPlanState["Completed"] = "COMPLETED";
|
|
@@ -18321,6 +18326,37 @@ var StudioPlanState;
|
|
|
18321
18326
|
StudioPlanState["Failed"] = "FAILED";
|
|
18322
18327
|
StudioPlanState["InProgress"] = "IN_PROGRESS";
|
|
18323
18328
|
})(StudioPlanState || (exports.StudioPlanState = StudioPlanState = {}));
|
|
18329
|
+
var StudioTemplateCollection;
|
|
18330
|
+
(function (StudioTemplateCollection) {
|
|
18331
|
+
StudioTemplateCollection["Product"] = "PRODUCT";
|
|
18332
|
+
StudioTemplateCollection["Service"] = "SERVICE";
|
|
18333
|
+
StudioTemplateCollection["Software"] = "SOFTWARE";
|
|
18334
|
+
StudioTemplateCollection["Strategy"] = "STRATEGY";
|
|
18335
|
+
StudioTemplateCollection["Teamwork"] = "TEAMWORK";
|
|
18336
|
+
})(StudioTemplateCollection || (exports.StudioTemplateCollection = StudioTemplateCollection = {}));
|
|
18337
|
+
var StudioTemplateHowItWorksRole;
|
|
18338
|
+
(function (StudioTemplateHowItWorksRole) {
|
|
18339
|
+
StudioTemplateHowItWorksRole["Action"] = "ACTION";
|
|
18340
|
+
StudioTemplateHowItWorksRole["Knowledge"] = "KNOWLEDGE";
|
|
18341
|
+
StudioTemplateHowItWorksRole["Reasoning"] = "REASONING";
|
|
18342
|
+
})(StudioTemplateHowItWorksRole || (exports.StudioTemplateHowItWorksRole = StudioTemplateHowItWorksRole = {}));
|
|
18343
|
+
var StudioTemplateSourceDiagnosticCode;
|
|
18344
|
+
(function (StudioTemplateSourceDiagnosticCode) {
|
|
18345
|
+
StudioTemplateSourceDiagnosticCode["CategorySourceError"] = "CATEGORY_SOURCE_ERROR";
|
|
18346
|
+
StudioTemplateSourceDiagnosticCode["ConfigInvalid"] = "CONFIG_INVALID";
|
|
18347
|
+
StudioTemplateSourceDiagnosticCode["ConfigSourceUnavailable"] = "CONFIG_SOURCE_UNAVAILABLE";
|
|
18348
|
+
StudioTemplateSourceDiagnosticCode["DuplicateTemplateId"] = "DUPLICATE_TEMPLATE_ID";
|
|
18349
|
+
StudioTemplateSourceDiagnosticCode["MetadataParseFailed"] = "METADATA_PARSE_FAILED";
|
|
18350
|
+
})(StudioTemplateSourceDiagnosticCode || (exports.StudioTemplateSourceDiagnosticCode = StudioTemplateSourceDiagnosticCode = {}));
|
|
18351
|
+
var StudioTemplateSourceStatus;
|
|
18352
|
+
(function (StudioTemplateSourceStatus) {
|
|
18353
|
+
StudioTemplateSourceStatus["Error"] = "ERROR";
|
|
18354
|
+
})(StudioTemplateSourceStatus || (exports.StudioTemplateSourceStatus = StudioTemplateSourceStatus = {}));
|
|
18355
|
+
var StudioTemplateType;
|
|
18356
|
+
(function (StudioTemplateType) {
|
|
18357
|
+
StudioTemplateType["Agent"] = "AGENT";
|
|
18358
|
+
StudioTemplateType["Automation"] = "AUTOMATION";
|
|
18359
|
+
})(StudioTemplateType || (exports.StudioTemplateType = StudioTemplateType = {}));
|
|
18324
18360
|
var SummaryType;
|
|
18325
18361
|
(function (SummaryType) {
|
|
18326
18362
|
SummaryType["Blogpost"] = "BLOGPOST";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AppEnvironmentType } from '../graphql/graphql-types';
|
|
2
2
|
import { CLIDetails, ConfigSectionReader, CredentialGetter, getEnvironmentConfig, Logger } from '../index';
|
|
3
|
-
export type FeatureGate = 'forge-cli-test-gate' | 'is-logs-v-2-api-enabled' | 'forge-cli-bundle-runtime-loader' | 'forge-cli-enable-teamwork-graph-product-support' | 'forge-cli-enable-developer-space-enforcement-flow' | 'forge-cli-enable-typescript-bundler' | 'forge-cli-enable-self-managed-tunnel' | '
|
|
3
|
+
export type FeatureGate = 'forge-cli-test-gate' | 'is-logs-v-2-api-enabled' | 'forge-cli-bundle-runtime-loader' | 'forge-cli-enable-teamwork-graph-product-support' | 'forge-cli-enable-developer-space-enforcement-flow' | 'forge-cli-enable-typescript-bundler' | 'forge-cli-enable-self-managed-tunnel' | 'fg-forge-cli-enable-combined-artifact-upload';
|
|
4
4
|
export type DynamicConfig = {
|
|
5
5
|
'forge-cli-test-dynamic-configs': string[];
|
|
6
6
|
'xls-forge-cli-deprecated-runtimes': string[];
|
|
@@ -14,7 +14,6 @@ export declare abstract class StatsigReader {
|
|
|
14
14
|
getForgeCliTestDynamicConfig(): Promise<string[]>;
|
|
15
15
|
isLogsV2ApiEnabled(): Promise<boolean>;
|
|
16
16
|
isTeamworkGraphProductSupported(): Promise<boolean>;
|
|
17
|
-
isShipyardManifestSchemaValidationEnabled(): Promise<boolean>;
|
|
18
17
|
testForgeCliBundleRuntimeLoaderGate(): Promise<boolean>;
|
|
19
18
|
getDeprecatedRuntimes(): Promise<string[]>;
|
|
20
19
|
isDevSpaceSelectionEnabled(): Promise<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statsig-service.d.ts","sourceRoot":"","sources":["../../src/service/statsig-service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EAEpB,MAAM,EAEP,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,WAAW,GACnB,qBAAqB,GACrB,yBAAyB,GACzB,iCAAiC,GACjC,iDAAiD,GACjD,mDAAmD,GACnD,qCAAqC,GACrC,sCAAsC,GACtC,
|
|
1
|
+
{"version":3,"file":"statsig-service.d.ts","sourceRoot":"","sources":["../../src/service/statsig-service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,gBAAgB,EAChB,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G,IAAI,CAAC;IAYpB,gBAAgB,CAAC,CAAC,SAAS,gBAAgB,EAC/C,aAAa,EAAE,CAAC,EAChB,QAAQ,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,GACpC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;CAWpC"}
|
|
@@ -18,9 +18,6 @@ class StatsigReader {
|
|
|
18
18
|
async isTeamworkGraphProductSupported() {
|
|
19
19
|
return (await this.checkGate('forge-cli-enable-teamwork-graph-product-support')) ?? false;
|
|
20
20
|
}
|
|
21
|
-
async isShipyardManifestSchemaValidationEnabled() {
|
|
22
|
-
return (await this.checkGate('should-use-manifest-schema-for-validation')) ?? true;
|
|
23
|
-
}
|
|
24
21
|
async testForgeCliBundleRuntimeLoaderGate() {
|
|
25
22
|
return (await this.checkGate('forge-cli-bundle-runtime-loader')) ?? false;
|
|
26
23
|
}
|
package/out/ui/log-color.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log-color.d.ts","sourceRoot":"","sources":["../../src/ui/log-color.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;qBACF,MAAM,KAAG,MAAM;qBACf,MAAM,KAAG,MAAM;oBAChB,MAAM,KAAG,MAAM;qBACd,MAAM,KAAG,MAAM;;
|
|
1
|
+
{"version":3,"file":"log-color.d.ts","sourceRoot":"","sources":["../../src/ui/log-color.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;qBACF,MAAM,KAAG,MAAM;qBACf,MAAM,KAAG,MAAM;oBAChB,MAAM,KAAG,MAAM;qBACd,MAAM,KAAG,MAAM;wBACZ,MAAM,KAAG,MAAM;;CAGpC,CAAC;AAKF,eAAO,MAAM,eAAe;;;;;;;CAO3B,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;CAkBtB,CAAC"}
|
package/out/ui/log-color.js
CHANGED
|
@@ -8,6 +8,7 @@ exports.LogColor = {
|
|
|
8
8
|
debug: (message) => chalk_1.default.gray(message),
|
|
9
9
|
warn: (message) => chalk_1.default.yellow(message),
|
|
10
10
|
error: (message) => chalk_1.default.red(message),
|
|
11
|
+
approval: (message) => chalk_1.default.cyan(message),
|
|
11
12
|
errorPrefix: chalk_1.default.red.bold('Error: ')
|
|
12
13
|
};
|
|
13
14
|
const withPadding = (input) => input.padEnd(7);
|
package/out/ui/text.d.ts
CHANGED
|
@@ -432,6 +432,7 @@ export declare const Text: {
|
|
|
432
432
|
error: {
|
|
433
433
|
noDeployUrl: string;
|
|
434
434
|
noPresignedUrls: string;
|
|
435
|
+
noManifestUrl: string;
|
|
435
436
|
noUploadId: string;
|
|
436
437
|
noManifestInZip: (manifestFilename: string) => string;
|
|
437
438
|
noManifestAtPath: (path: string) => string;
|
|
@@ -668,12 +669,14 @@ export declare const Text: {
|
|
|
668
669
|
start1: (envKey: string, envType: AppEnvironmentType, buildTag?: string) => string;
|
|
669
670
|
start2: (appName: string, envKey: string, envType: AppEnvironmentType, buildTag?: string) => string;
|
|
670
671
|
success: string;
|
|
671
|
-
successDetails: (appName: string, envKey: string, envType: AppEnvironmentType, buildTag?: string) => string;
|
|
672
|
+
successDetails: (appName: string, envKey: string, envType: AppEnvironmentType, buildTag?: string, numApprovals?: number) => string;
|
|
672
673
|
distributePageLink: (appId: string) => string;
|
|
673
674
|
};
|
|
674
675
|
taskLint: {
|
|
675
676
|
lintError: string;
|
|
676
677
|
lintWarning: (numWarnings: number) => string;
|
|
678
|
+
lintApproval: (numApprovals: number, ruleNames?: string[]) => string;
|
|
679
|
+
lintErrorsWithApprovals: string;
|
|
677
680
|
};
|
|
678
681
|
hasNoAppInstallationsForEnv: {
|
|
679
682
|
hasNoAppInstallationsForEnvError: string;
|
|
@@ -693,6 +696,9 @@ export declare const Text: {
|
|
|
693
696
|
skipRollout: {
|
|
694
697
|
description: string;
|
|
695
698
|
};
|
|
699
|
+
approveRule: {
|
|
700
|
+
description: string;
|
|
701
|
+
};
|
|
696
702
|
connectKeyChange: {
|
|
697
703
|
continueChange: string;
|
|
698
704
|
continueDelete: string;
|
|
@@ -1032,16 +1038,20 @@ export declare const Text: {
|
|
|
1032
1038
|
cmd: string;
|
|
1033
1039
|
running: string;
|
|
1034
1040
|
noProblems: string;
|
|
1041
|
+
approvalRequired: string;
|
|
1035
1042
|
noFixableProblem: string;
|
|
1036
1043
|
noFixableProblems: string;
|
|
1037
1044
|
filename: chalk.Chalk;
|
|
1045
|
+
errorMissingManifest: string;
|
|
1046
|
+
errorInvalidManifest: string;
|
|
1038
1047
|
linterFailed: (linterClass: string, failure: string) => string;
|
|
1039
1048
|
fixed: (numFixableErrors: number, numFixableWarnings: number) => string;
|
|
1040
1049
|
fixFollowUp: string;
|
|
1041
1050
|
error: (line: number, column: number, message: string, reference: string) => string;
|
|
1042
|
-
summary: (numErrors: number, numWarnings: number, numFixableErrors: number, numFixableWarnings: number) => string;
|
|
1051
|
+
summary: (numErrors: number, numWarnings: number, numApprovals: number, numFixableErrors: number, numFixableWarnings: number) => string;
|
|
1043
1052
|
fixSummary: (numErrors: number, numFixableErrors: number, numFixableWarnings: number) => string;
|
|
1044
1053
|
warning: (line: number, column: number, message: string, reference: string) => string;
|
|
1054
|
+
approval: (line: number, column: number, message: string, reference: string) => string;
|
|
1045
1055
|
};
|
|
1046
1056
|
repositories: {
|
|
1047
1057
|
cmd: {
|
package/out/ui/text.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/ui/text.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AAErC,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAO9D,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,0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MAAM;+CAEpC,MAAM,UAAU,MAAM,cAAc,MAAM;wCAEjD,MAAM;0CAEJ,MAAM;0CAEN,MAAM;kCAEd,MAAM;;;;;;;CAOjC,CAAC"}
|
package/out/ui/text.js
CHANGED
|
@@ -33,10 +33,11 @@ const keytarAccessErrorBase = (message) => `Keytar error detected: ${message}`;
|
|
|
33
33
|
const capitalise = (word) => word.charAt(0).toUpperCase() + word.slice(1);
|
|
34
34
|
exports.capitalise = capitalise;
|
|
35
35
|
const getLintMessage = (line, column, message, level, colourFunction, reference) => `${chalk_1.default.dim(`${line}:${column}`.padEnd(7))} ${colourFunction(level.padEnd(8))} ${message} ${chalk_1.default.dim(reference)}\n`;
|
|
36
|
-
const checkLintTotalPlurals = (numErrors, numWarnings, numFixableErrors, numFixableWarnings) => ({
|
|
36
|
+
const checkLintTotalPlurals = (numErrors, numWarnings, numApprovals, numFixableErrors, numFixableWarnings) => ({
|
|
37
37
|
pluralCheckedErrors: `${numErrors} ${numErrors === 1 ? 'error' : 'errors'}`,
|
|
38
38
|
pluralCheckedWarnings: `${numWarnings} ${numWarnings === 1 ? 'warning' : 'warnings'}`,
|
|
39
|
-
|
|
39
|
+
pluralCheckedApprovals: `${numApprovals} ${numApprovals === 1 ? 'approval' : 'approvals'}`,
|
|
40
|
+
pluralCheckedTotal: `${numErrors + numWarnings + numApprovals} ${numErrors + numWarnings + numApprovals === 1 ? 'issue' : 'issues'}`,
|
|
40
41
|
pluralCheckedFixableErrors: `${numFixableErrors} ${numFixableErrors === 1 ? 'error' : 'errors'}`,
|
|
41
42
|
pluralCheckedFixableWarnings: `${numFixableWarnings} ${numFixableWarnings === 1 ? 'warning' : 'warnings'}`
|
|
42
43
|
});
|
|
@@ -519,6 +520,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
519
520
|
error: {
|
|
520
521
|
noDeployUrl: "Couldn't find deployment URL",
|
|
521
522
|
noPresignedUrls: "Couldn't find presigned URLs",
|
|
523
|
+
noManifestUrl: "Couldn't find manifest URL",
|
|
522
524
|
noUploadId: "Couldn't find uploadId",
|
|
523
525
|
noManifestInZip: (manifestFilename) => `Couldn't find ${manifestFilename} file in the zip archive. Add one.`,
|
|
524
526
|
noManifestAtPath: (path) => `We couldn't find the artifact file ${path}.`,
|
|
@@ -833,7 +835,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
833
835
|
taskLint: {
|
|
834
836
|
lintError: log_color_1.LogColor.error(`Error: The build failed due to errors in the app code. Fix the errors before rerunning ${forge('build')}, or run ${forge('build', '--no-verify')} to skip the linter.\n`),
|
|
835
837
|
lintWarning: (numWarnings) => {
|
|
836
|
-
const { pluralCheckedTotal } = checkLintTotalPlurals(0, numWarnings, 0, 0);
|
|
838
|
+
const { pluralCheckedTotal } = checkLintTotalPlurals(0, numWarnings, 0, 0, 0);
|
|
837
839
|
return log_color_1.LogColor.warn(`${pluralCheckedTotal} found. Run ${forge('lint')} to review the warnings.`);
|
|
838
840
|
}
|
|
839
841
|
},
|
|
@@ -864,9 +866,12 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
864
866
|
return `Deploying ${appName}${buildTagText} to ${exports.Text.env.displayEnvironment(envKey, envType)}...`;
|
|
865
867
|
},
|
|
866
868
|
success: 'Deployed\n',
|
|
867
|
-
successDetails: (appName, envKey, envType, buildTag) => {
|
|
869
|
+
successDetails: (appName, envKey, envType, buildTag, numApprovals) => {
|
|
868
870
|
const buildTagText = buildTag ? ` using build with tag ${buildTag}` : '';
|
|
869
|
-
|
|
871
|
+
const approvalsText = numApprovals && numApprovals > 0
|
|
872
|
+
? ` with ${numApprovals} ${numApprovals === 1 ? 'approval' : 'approvals'} acknowledged`
|
|
873
|
+
: '';
|
|
874
|
+
return `Deployed ${appName}${buildTagText} to the ${exports.Text.env.displayEnvironment(envKey, envType)} environment${approvalsText}.`;
|
|
870
875
|
},
|
|
871
876
|
distributePageLink: (appId) => `To install on a site that you're an admin of, run ${forge('install')}.\n` +
|
|
872
877
|
'To install on any other site, generate an installation link in the developer console and share it with the site admin: ' +
|
|
@@ -875,9 +880,15 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
875
880
|
taskLint: {
|
|
876
881
|
lintError: log_color_1.LogColor.error(`Error: The deploy failed due to errors in the app code. Fix the errors before rerunning ${forge('deploy')}, or run ${forge('deploy', '--no-verify')} to skip the linter.\n`),
|
|
877
882
|
lintWarning: (numWarnings) => {
|
|
878
|
-
const { pluralCheckedTotal } = checkLintTotalPlurals(0, numWarnings, 0, 0);
|
|
883
|
+
const { pluralCheckedTotal } = checkLintTotalPlurals(0, numWarnings, 0, 0, 0);
|
|
879
884
|
return log_color_1.LogColor.warn(`${pluralCheckedTotal} found. Run ${forge('lint')} to review the warnings.`);
|
|
880
|
-
}
|
|
885
|
+
},
|
|
886
|
+
lintApproval: (numApprovals, ruleNames) => {
|
|
887
|
+
const { pluralCheckedApprovals } = checkLintTotalPlurals(0, 0, numApprovals, 0, 0);
|
|
888
|
+
const rulesArg = ruleNames && ruleNames.length > 0 ? ruleNames.join(' ') : '[ruleName]';
|
|
889
|
+
return log_color_1.LogColor.approval(`The deploy failed due to ${pluralCheckedApprovals} requested. Run ${forge('deploy', `--approve ${rulesArg}`)} to acknowledge and proceed.\n`);
|
|
890
|
+
},
|
|
891
|
+
lintErrorsWithApprovals: log_color_1.LogColor.error(`Fix the error above before approving deployment rules.\n`)
|
|
881
892
|
},
|
|
882
893
|
hasNoAppInstallationsForEnv: {
|
|
883
894
|
hasNoAppInstallationsForEnvError: log_color_1.LogColor.error(`Error: The deployment failed due to errors while trying to determine if the app has any installations for the deployed environment.`)
|
|
@@ -897,6 +908,9 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
897
908
|
skipRollout: {
|
|
898
909
|
description: 'Skip rolling release rollout after deployment'
|
|
899
910
|
},
|
|
911
|
+
approveRule: {
|
|
912
|
+
description: 'list of validation rules to approve'
|
|
913
|
+
},
|
|
900
914
|
connectKeyChange: {
|
|
901
915
|
continueChange: `Do you wish to continue with changing the Connect key?`,
|
|
902
916
|
continueDelete: `Do you wish to continue with deleting the Connect key?`,
|
|
@@ -1297,28 +1311,32 @@ ${buildTerminalLink(link)}\n`,
|
|
|
1297
1311
|
cmd: 'check the source files for common errors',
|
|
1298
1312
|
running: `Running ${forge('lint')}...`,
|
|
1299
1313
|
noProblems: 'No issues found.',
|
|
1314
|
+
approvalRequired: chalk_1.default.cyan(` Approval required, fixable with ${forge('deploy', '--approve <ruleName..>')}.`),
|
|
1300
1315
|
noFixableProblem: chalk_1.default.red(` Issue found is not automatically fixable with ${forge('lint')}.`),
|
|
1301
1316
|
noFixableProblems: chalk_1.default.red(` Issues found are not automatically fixable with ${forge('lint')}.`),
|
|
1302
1317
|
filename: chalk_1.default.underline,
|
|
1318
|
+
errorMissingManifest: `Missing manifest`,
|
|
1319
|
+
errorInvalidManifest: `Invalid manifest`,
|
|
1303
1320
|
linterFailed: (linterClass, failure) => chalk_1.default.yellow(`${chalk_1.default.bold('Warning:')} Could not perform some linting actions for ${chalk_1.default.bold(linterClass)} due to unhandled error "${failure}".\n`),
|
|
1304
1321
|
fixed: (numFixableErrors, numFixableWarnings) => {
|
|
1305
|
-
const { pluralCheckedFixableErrors, pluralCheckedFixableWarnings } = checkLintTotalPlurals(0, 0, numFixableErrors, numFixableWarnings);
|
|
1322
|
+
const { pluralCheckedFixableErrors, pluralCheckedFixableWarnings } = checkLintTotalPlurals(0, 0, 0, numFixableErrors, numFixableWarnings);
|
|
1306
1323
|
return `${greenTick} Fixed ${pluralCheckedFixableErrors} and ${pluralCheckedFixableWarnings}`;
|
|
1307
1324
|
},
|
|
1308
1325
|
fixFollowUp: `Run ${forge('lint')} to review outstanding errors and warnings`,
|
|
1309
1326
|
error: (line, column, message, reference) => getLintMessage(line, column, message, 'error', log_color_1.LogColor.error, reference),
|
|
1310
|
-
summary: (numErrors, numWarnings, numFixableErrors, numFixableWarnings) => {
|
|
1311
|
-
const { pluralCheckedErrors, pluralCheckedWarnings, pluralCheckedTotal } = checkLintTotalPlurals(numErrors, numWarnings, numFixableErrors, numFixableWarnings);
|
|
1312
|
-
const colourFunction = numErrors ? log_color_1.LogColor.error : log_color_1.LogColor.warn;
|
|
1327
|
+
summary: (numErrors, numWarnings, numApprovals, numFixableErrors, numFixableWarnings) => {
|
|
1328
|
+
const { pluralCheckedErrors, pluralCheckedWarnings, pluralCheckedApprovals, pluralCheckedTotal } = checkLintTotalPlurals(numErrors, numWarnings, numApprovals, numFixableErrors, numFixableWarnings);
|
|
1329
|
+
const colourFunction = numErrors ? log_color_1.LogColor.error : numWarnings ? log_color_1.LogColor.warn : log_color_1.LogColor.approval;
|
|
1313
1330
|
const warningCharacter = numErrors ? 'X' : '⚠';
|
|
1314
|
-
return colourFunction(`${warningCharacter} ${pluralCheckedTotal} (${pluralCheckedErrors}, ${pluralCheckedWarnings})`);
|
|
1331
|
+
return colourFunction(`${warningCharacter} ${pluralCheckedTotal} (${pluralCheckedErrors}, ${pluralCheckedWarnings}, ${pluralCheckedApprovals})`);
|
|
1315
1332
|
},
|
|
1316
1333
|
fixSummary: (numErrors, numFixableErrors, numFixableWarnings) => {
|
|
1317
|
-
const { pluralCheckedFixableErrors, pluralCheckedFixableWarnings } = checkLintTotalPlurals(0, 0, numFixableErrors, numFixableWarnings);
|
|
1334
|
+
const { pluralCheckedFixableErrors, pluralCheckedFixableWarnings } = checkLintTotalPlurals(0, 0, 0, numFixableErrors, numFixableWarnings);
|
|
1318
1335
|
const colourFunction = numErrors ? log_color_1.LogColor.error : log_color_1.LogColor.warn;
|
|
1319
1336
|
return colourFunction(` Run ${forge('lint', '--fix')} to automatically fix ${pluralCheckedFixableErrors} and ${pluralCheckedFixableWarnings}.\n`);
|
|
1320
1337
|
},
|
|
1321
|
-
warning: (line, column, message, reference) => getLintMessage(line, column, message, 'warning', log_color_1.LogColor.warn, reference)
|
|
1338
|
+
warning: (line, column, message, reference) => getLintMessage(line, column, message, 'warning', log_color_1.LogColor.warn, reference),
|
|
1339
|
+
approval: (line, column, message, reference) => getLintMessage(line, column, message, 'approval', log_color_1.LogColor.approval, reference)
|
|
1322
1340
|
},
|
|
1323
1341
|
repositories: {
|
|
1324
1342
|
cmd: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/cli-shared",
|
|
3
|
-
"version": "9.3.0-next.
|
|
3
|
+
"version": "9.3.0-next.19",
|
|
4
4
|
"description": "Common functionality for Forge CLI",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"generate-graphql-types": "graphql-codegen --config src/graphql/codegen.yml"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@forge/manifest": "13.3.0-next.
|
|
15
|
+
"@forge/manifest": "13.3.0-next.10",
|
|
16
16
|
"@forge/util": "3.0.0",
|
|
17
17
|
"@forge/i18n": "1.0.0",
|
|
18
18
|
"@sentry/node": "7.106.0",
|