@forge/cli-shared 6.4.0-next.7 → 6.4.0-next.9
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 +14 -0
- package/out/graphql/graphql-types.d.ts +98 -30
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +3 -0
- package/out/service/statsig-service.js +1 -1
- package/out/ui/text.d.ts +15 -0
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +15 -0
- package/package.json +2 -2
|
@@ -2026,6 +2026,7 @@ var DevAiIssueScopingLabel;
|
|
|
2026
2026
|
(function (DevAiIssueScopingLabel) {
|
|
2027
2027
|
DevAiIssueScopingLabel["Complex"] = "COMPLEX";
|
|
2028
2028
|
DevAiIssueScopingLabel["InScope"] = "IN_SCOPE";
|
|
2029
|
+
DevAiIssueScopingLabel["Optimal"] = "OPTIMAL";
|
|
2029
2030
|
DevAiIssueScopingLabel["Recoverable"] = "RECOVERABLE";
|
|
2030
2031
|
DevAiIssueScopingLabel["Unsolvable"] = "UNSOLVABLE";
|
|
2031
2032
|
})(DevAiIssueScopingLabel = exports.DevAiIssueScopingLabel || (exports.DevAiIssueScopingLabel = {}));
|
|
@@ -3691,12 +3692,14 @@ var GrowthUnifiedProfileJtbd;
|
|
|
3691
3692
|
GrowthUnifiedProfileJtbd["ProjectPlanning"] = "PROJECT_PLANNING";
|
|
3692
3693
|
GrowthUnifiedProfileJtbd["ProjectPlanningAndCoordination"] = "PROJECT_PLANNING_AND_COORDINATION";
|
|
3693
3694
|
GrowthUnifiedProfileJtbd["ProjectProgress"] = "PROJECT_PROGRESS";
|
|
3695
|
+
GrowthUnifiedProfileJtbd["RunSprints"] = "RUN_SPRINTS";
|
|
3694
3696
|
GrowthUnifiedProfileJtbd["Stakeholders"] = "STAKEHOLDERS";
|
|
3695
3697
|
GrowthUnifiedProfileJtbd["StrategiesAndGoals"] = "STRATEGIES_AND_GOALS";
|
|
3696
3698
|
GrowthUnifiedProfileJtbd["SystemAndToolEvaluations"] = "SYSTEM_AND_TOOL_EVALUATIONS";
|
|
3697
3699
|
GrowthUnifiedProfileJtbd["TrackingRprtng"] = "TRACKING_RPRTNG";
|
|
3698
3700
|
GrowthUnifiedProfileJtbd["TrackBugs"] = "TRACK_BUGS";
|
|
3699
3701
|
GrowthUnifiedProfileJtbd["UseKanbanBoard"] = "USE_KANBAN_BOARD";
|
|
3702
|
+
GrowthUnifiedProfileJtbd["WorkInScrum"] = "WORK_IN_SCRUM";
|
|
3700
3703
|
})(GrowthUnifiedProfileJtbd = exports.GrowthUnifiedProfileJtbd || (exports.GrowthUnifiedProfileJtbd = {}));
|
|
3701
3704
|
var GrowthUnifiedProfileJiraFamiliarity;
|
|
3702
3705
|
(function (GrowthUnifiedProfileJiraFamiliarity) {
|
|
@@ -16,7 +16,7 @@ class StatsigReader {
|
|
|
16
16
|
return (await this.checkGate('is-logs-v-2-api-enabled')) ?? true;
|
|
17
17
|
}
|
|
18
18
|
async isAtlasProductSupported() {
|
|
19
|
-
return (await this.checkGate('forge-cli-enable-atlas-product-support')) ??
|
|
19
|
+
return (await this.checkGate('forge-cli-enable-atlas-product-support')) ?? false;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
exports.StatsigReader = StatsigReader;
|
package/out/ui/text.d.ts
CHANGED
|
@@ -35,6 +35,18 @@ export declare const Text: {
|
|
|
35
35
|
invalid: string;
|
|
36
36
|
empty: string;
|
|
37
37
|
};
|
|
38
|
+
licenseModesOverrideErrors: {
|
|
39
|
+
prodEnvNotSupported: string;
|
|
40
|
+
empty: string;
|
|
41
|
+
invalid: string;
|
|
42
|
+
userWithAccessRequired: string;
|
|
43
|
+
};
|
|
44
|
+
userWithAccessOverrideErrors: {
|
|
45
|
+
prodEnvNotSupported: string;
|
|
46
|
+
empty: string;
|
|
47
|
+
countSize: (maxSizeOfUsersWithAccess: number) => string;
|
|
48
|
+
licenseModeRequired: string;
|
|
49
|
+
};
|
|
38
50
|
};
|
|
39
51
|
warning: {
|
|
40
52
|
plaintextCredentialsFound: (url: string) => string;
|
|
@@ -42,6 +54,7 @@ export declare const Text: {
|
|
|
42
54
|
plaintextCredentialsNotMigrated: string;
|
|
43
55
|
unsupportedNodeVersion: (_userNodeVersion: string, supportedNodeVersions: string) => string;
|
|
44
56
|
};
|
|
57
|
+
maxSizeOfUsersWithAccess: number;
|
|
45
58
|
installationContext: {
|
|
46
59
|
overviewProduct: string;
|
|
47
60
|
promptProduct: string;
|
|
@@ -422,6 +435,8 @@ export declare const Text: {
|
|
|
422
435
|
optionConfirmScopes: string;
|
|
423
436
|
optionUpgrade: string;
|
|
424
437
|
optionLicense: string;
|
|
438
|
+
optionLicenseModes: string;
|
|
439
|
+
optionUsersWithAccess: string;
|
|
425
440
|
listScopes: (scopes: AddedScope[]) => string;
|
|
426
441
|
listEgressAddresses: (egressAddresses: string[]) => string;
|
|
427
442
|
permissionsMismatch: (environment: string) => string;
|
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":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAI1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAK9D,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACtC;AA2BD,eAAO,MAAM,UAAU,SAAU,MAAM,KAAG,MAAsD,CAAC;AAoDjG,eAAO,MAAM,IAAI;;;;;6BAiBM,MAAM;2BACR,MAAM;6BAGJ,MAAM;+BAEJ,MAAM;;wCAIK,MAAM,UAAU,MAAM;qDAOT,MAAM,sBAAsB,MAAM;;;;;6CAa1C,MAAM,YAAY,MAAM,YAAY,MAAM;;;kDAQrC,MAAM,EAAE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AGT,MAAM;8BACN,MAAM;;oCAGF,MAAM;;;;;qDAOa,MAAM;0CAGjB,MAAM,aAAa,OAAO;;iDAInB,MAAM;;oCAInB,MAAM,GAAG,IAAI;;;;;;;uCAWV,MAAM;;;;;;;+BAQd,OAAO;;;;;;;;wBAQZ,MAAM,UAAU,MAAM,eAAe,MAAM,WAAW,OAAO;0BAI3D,MAAM,UAAU,MAAM,eAAe,MAAM;;;;;oBAYjD,MAAM;;;;;;;;;;qCAaS,MAAM;;;;;;;;;oCAWL,MAAM;;;;;;;;;;oCAYN,MAAM,WAAW,MAAM;kCAMzB,MAAM,sBAAsB,MAAM,KAAG,MAAM;;sBAUvD,MAAM,UAAU,MAAM,WAAW,MAAM,aAAa,MAAM,KAAG,MAAM;6BAE5D,MAAM,eAAe,MAAM,oBAAoB,MAAM,sBAAsB,MAAM,KAAG,MAAM;gCAevF,MAAM,oBAAoB,MAAM,sBAAsB,MAAM,KAAG,MAAM;wBAe7E,MAAM,UAAU,MAAM,WAAW,MAAM,aAAa,MAAM,KAAG,MAAM;;;yBAKlE,MAAM,WAAW,MAAM;;;;qCAMb,MAAM;qCACN,MAAM,gBAAgB,OAAO;;;yCAMzB,MAAM;qCACV,MAAM;;;;;;;;;;;;;;;;+BAwBZ,MAAM,SAAS,MAAM;;;;;;;;;;;;;;;;6CAiBP,MAAM,mBAAmB,MAAM,EAAE;;;;CAUvE,CAAC"}
|
package/out/ui/text.js
CHANGED
|
@@ -79,6 +79,18 @@ exports.Text = {
|
|
|
79
79
|
prodSupport: 'License is not supported in production environments',
|
|
80
80
|
invalid: 'Invalid license value. Supported values are active, inactive, and trial',
|
|
81
81
|
empty: '--license argument requires a value. Supported values are active, inactive, and trial'
|
|
82
|
+
},
|
|
83
|
+
licenseModesOverrideErrors: {
|
|
84
|
+
prodEnvNotSupported: '--license-modes and --users-with-access options are not supported in production environments',
|
|
85
|
+
empty: '--license-modes option list is empty. Provide a space-separated list of license mode. Supported value is user_access. \nFor example: install --license-modes user_access --users-with-access aaid1',
|
|
86
|
+
invalid: 'Invalid --license-modes option value. Supported value is user_access',
|
|
87
|
+
userWithAccessRequired: '--users-with-access option is required when specifying --license-modes option'
|
|
88
|
+
},
|
|
89
|
+
userWithAccessOverrideErrors: {
|
|
90
|
+
prodEnvNotSupported: '--license-modes and --users-with-access options are not supported in production environments',
|
|
91
|
+
empty: '--users-with-access option list is empty. Provide a space-separated list of Atlassian Account IDs(aaid). \nFor example: install --license-modes user_access --users-with-access aaid1 aaid2',
|
|
92
|
+
countSize: (maxSizeOfUsersWithAccess) => `User limit exceeded. The --users-with-access option allows a maximum of ${maxSizeOfUsersWithAccess} users.`,
|
|
93
|
+
licenseModeRequired: '--license-modes option is required when specifying --users-with-access option'
|
|
82
94
|
}
|
|
83
95
|
},
|
|
84
96
|
warning: {
|
|
@@ -88,6 +100,7 @@ exports.Text = {
|
|
|
88
100
|
unsupportedNodeVersion: (_userNodeVersion, supportedNodeVersions) => log_color_1.LogColor.warn(`Warning: Forge CLI supports Node.js ${supportedNodeVersions}.` +
|
|
89
101
|
`\nUnsupported Node.js versions are not guaranteed to work correctly.\n`)
|
|
90
102
|
},
|
|
103
|
+
maxSizeOfUsersWithAccess: 10,
|
|
91
104
|
installationContext: {
|
|
92
105
|
overviewProduct: 'Select the product your app uses.\n',
|
|
93
106
|
promptProduct: 'Select a product:',
|
|
@@ -501,6 +514,8 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
501
514
|
optionConfirmScopes: 'skip confirmation of scopes for the app before installing or upgrading the app',
|
|
502
515
|
optionUpgrade: 'upgrade an existing installation',
|
|
503
516
|
optionLicense: 'specify the license value for the app (allowed values: active, inactive, and trial)',
|
|
517
|
+
optionLicenseModes: '[This feature is under development] specify the list of license mode value for the app (allowed values: user-access)',
|
|
518
|
+
optionUsersWithAccess: '[This feature is under development] specify the list of Atlassian Account IDs(aaid) for users who have access to the app',
|
|
504
519
|
listScopes: (scopes) => `Your app will be installed with the following scopes:\n${scopes
|
|
505
520
|
.map(({ name, requiresInteractiveConsent }) => `- ${name}${requiresInteractiveConsent ? ' (requires user consent)' : ''}`)
|
|
506
521
|
.join('\n')}\n`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/cli-shared",
|
|
3
|
-
"version": "6.4.0-next.
|
|
3
|
+
"version": "6.4.0-next.9",
|
|
4
4
|
"description": "Common functionality for Forge CLI",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"generate-graphql-types": "graphql-codegen --config src/graphql/codegen.yml"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@forge/manifest": "8.1.0-next.
|
|
15
|
+
"@forge/manifest": "8.1.0-next.6",
|
|
16
16
|
"@forge/util": "1.4.5",
|
|
17
17
|
"@forge/i18n": "0.0.2",
|
|
18
18
|
"@sentry/node": "7.106.0",
|