@forge/cli 10.2.0 → 10.2.1-next.1-experimental-567ca77
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
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
# @forge/cli
|
|
2
2
|
|
|
3
|
+
## 10.2.1-next.1-experimental-567ca77
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 8ee83a7: adding templates for rovo ai modules
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [8ee83a7]
|
|
12
|
+
- Updated dependencies [b55fa5a]
|
|
13
|
+
- Updated dependencies [d335c40]
|
|
14
|
+
- Updated dependencies [116a97f]
|
|
15
|
+
- @forge/cli-shared@5.2.1-next.1-experimental-567ca77
|
|
16
|
+
- @forge/manifest@7.5.1-next.1-experimental-567ca77
|
|
17
|
+
- @forge/bundler@4.17.3-next.1-experimental-567ca77
|
|
18
|
+
- @forge/lint@5.2.3-next.1-experimental-567ca77
|
|
19
|
+
- @forge/tunnel@5.3.2-next.1-experimental-567ca77
|
|
20
|
+
|
|
21
|
+
## 10.2.1-next.1
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [b55fa5a]
|
|
26
|
+
- Updated dependencies [d335c40]
|
|
27
|
+
- @forge/manifest@7.5.1-next.1
|
|
28
|
+
- @forge/cli-shared@5.2.1-next.1
|
|
29
|
+
- @forge/lint@5.2.3-next.1
|
|
30
|
+
- @forge/tunnel@5.3.2-next.1
|
|
31
|
+
- @forge/bundler@4.17.3-next.1
|
|
32
|
+
|
|
33
|
+
## 10.2.1-next.0
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- Updated dependencies [116a97f]
|
|
38
|
+
- @forge/manifest@7.5.1-next.0
|
|
39
|
+
- @forge/cli-shared@5.2.1-next.0
|
|
40
|
+
- @forge/lint@5.2.3-next.0
|
|
41
|
+
- @forge/tunnel@5.3.2-next.0
|
|
42
|
+
- @forge/bundler@4.17.3-next.0
|
|
43
|
+
|
|
3
44
|
## 10.2.0
|
|
4
45
|
|
|
5
46
|
### Minor Changes
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/cli",
|
|
3
|
-
"version": "10.2.
|
|
3
|
+
"version": "10.2.1-next.1-experimental-567ca77",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@forge/cli",
|
|
9
|
-
"version": "10.2.
|
|
9
|
+
"version": "10.2.1-next.1-experimental-567ca77",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "UNLICENSED",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@forge/bundler": "4.17.
|
|
14
|
-
"@forge/cli-shared": "5.2.
|
|
13
|
+
"@forge/bundler": "4.17.3-next.1-experimental-567ca77",
|
|
14
|
+
"@forge/cli-shared": "5.2.1-next.1-experimental-567ca77",
|
|
15
15
|
"@forge/egress": "1.2.13",
|
|
16
|
-
"@forge/lint": "5.2.
|
|
17
|
-
"@forge/manifest": "7.5.
|
|
16
|
+
"@forge/lint": "5.2.3-next.1-experimental-567ca77",
|
|
17
|
+
"@forge/manifest": "7.5.1-next.1-experimental-567ca77",
|
|
18
18
|
"@forge/runtime": "5.9.0",
|
|
19
|
-
"@forge/tunnel": "5.3.1",
|
|
19
|
+
"@forge/tunnel": "5.3.2-next.1-experimental-567ca77",
|
|
20
20
|
"@forge/util": "1.4.4",
|
|
21
21
|
"@sentry/node": "7.100.1",
|
|
22
22
|
"ajv": "^8.12.0",
|
|
@@ -831,9 +831,9 @@
|
|
|
831
831
|
"integrity": "sha512-zG50ZRzbKyWHVb/XjI6iCIyyDNmSHdlclvehMjFZ/A3qpHExjSCjaszeY6gBDJKD2GORKKjQ3LS1UyRpiVVvkA=="
|
|
832
832
|
},
|
|
833
833
|
"node_modules/@forge/bundler": {
|
|
834
|
-
"version": "4.17.
|
|
835
|
-
"resolved": "https://registry.npmjs.org/@forge/bundler/-/bundler-4.17.
|
|
836
|
-
"integrity": "sha512-
|
|
834
|
+
"version": "4.17.3-next.1-experimental-567ca77",
|
|
835
|
+
"resolved": "https://registry.npmjs.org/@forge/bundler/-/bundler-4.17.3-next.1-experimental-567ca77.tgz",
|
|
836
|
+
"integrity": "sha512-Arjo1d0ctlDCuUYqOVCOFVJ/uneJ3PIKS985cOR8OeOs6Cme23yiVVc1gt5CdDiSXjQBX/GIV3Vt2QXHCVNSig==",
|
|
837
837
|
"dependencies": {
|
|
838
838
|
"@babel/core": "^7.24.0",
|
|
839
839
|
"@babel/plugin-transform-class-properties": "^7.23.3",
|
|
@@ -844,8 +844,8 @@
|
|
|
844
844
|
"@babel/preset-typescript": "^7.23.3",
|
|
845
845
|
"@forge/api": "3.8.1",
|
|
846
846
|
"@forge/babel-plugin-transform-ui": "1.1.18",
|
|
847
|
-
"@forge/cli-shared": "5.2.
|
|
848
|
-
"@forge/lint": "5.2.
|
|
847
|
+
"@forge/cli-shared": "5.2.1-next.1-experimental-567ca77",
|
|
848
|
+
"@forge/lint": "5.2.3-next.1-experimental-567ca77",
|
|
849
849
|
"@forge/util": "1.4.4",
|
|
850
850
|
"assert": "^2.1.0",
|
|
851
851
|
"babel-loader": "^8.3.0",
|
|
@@ -902,11 +902,11 @@
|
|
|
902
902
|
"integrity": "sha512-n4AWXkzMA4Pv4nam+dTu7PHgDQtMwaAF2MalOWF323zGvYKS/gZJY+7efJq0DLP783iTfjvYT879EHhCrfvEXA=="
|
|
903
903
|
},
|
|
904
904
|
"node_modules/@forge/cli-shared": {
|
|
905
|
-
"version": "5.2.
|
|
906
|
-
"resolved": "https://registry.npmjs.org/@forge/cli-shared/-/cli-shared-5.2.
|
|
907
|
-
"integrity": "sha512-
|
|
905
|
+
"version": "5.2.1-next.1-experimental-567ca77",
|
|
906
|
+
"resolved": "https://registry.npmjs.org/@forge/cli-shared/-/cli-shared-5.2.1-next.1-experimental-567ca77.tgz",
|
|
907
|
+
"integrity": "sha512-JiC3ob53ZYgCQ3j2HHFiXm/L8yradVRXb+bSStkDNs5RBTke5z5r+70BYvtqcCrdS6KCeh3J0zwOgexdWJmH1w==",
|
|
908
908
|
"dependencies": {
|
|
909
|
-
"@forge/manifest": "7.5.
|
|
909
|
+
"@forge/manifest": "7.5.1-next.1-experimental-567ca77",
|
|
910
910
|
"@forge/util": "1.4.4",
|
|
911
911
|
"@sentry/node": "7.100.1",
|
|
912
912
|
"adm-zip": "^0.5.10",
|
|
@@ -940,9 +940,9 @@
|
|
|
940
940
|
}
|
|
941
941
|
},
|
|
942
942
|
"node_modules/@forge/csp": {
|
|
943
|
-
"version": "3.2.2",
|
|
944
|
-
"resolved": "https://registry.npmjs.org/@forge/csp/-/csp-3.2.2.tgz",
|
|
945
|
-
"integrity": "sha512-
|
|
943
|
+
"version": "3.2.2-experimental-567ca77",
|
|
944
|
+
"resolved": "https://registry.npmjs.org/@forge/csp/-/csp-3.2.2-experimental-567ca77.tgz",
|
|
945
|
+
"integrity": "sha512-Lgz1R9p8R5CxbTumVlwKdXXcPPhSi9qm2M6IGwpxxp00CKNXBI1ZbvVlYaGhwWvJlUdp//fDldroT/iD+f7aIw==",
|
|
946
946
|
"dependencies": {
|
|
947
947
|
"cheerio": "^0.22.0",
|
|
948
948
|
"content-security-policy-parser": "^0.4.1"
|
|
@@ -957,13 +957,13 @@
|
|
|
957
957
|
}
|
|
958
958
|
},
|
|
959
959
|
"node_modules/@forge/lint": {
|
|
960
|
-
"version": "5.2.
|
|
961
|
-
"resolved": "https://registry.npmjs.org/@forge/lint/-/lint-5.2.
|
|
962
|
-
"integrity": "sha512-
|
|
960
|
+
"version": "5.2.3-next.1-experimental-567ca77",
|
|
961
|
+
"resolved": "https://registry.npmjs.org/@forge/lint/-/lint-5.2.3-next.1-experimental-567ca77.tgz",
|
|
962
|
+
"integrity": "sha512-QW27Av/U5se8Nc1OdLdzqpDcDYUoYZ8hzUbrtelzjR8Y9+0eiLRQGj9DxLteCQbn4kYHx38grCPbb54rXkxfjQ==",
|
|
963
963
|
"dependencies": {
|
|
964
|
-
"@forge/cli-shared": "5.2.
|
|
964
|
+
"@forge/cli-shared": "5.2.1-next.1-experimental-567ca77",
|
|
965
965
|
"@forge/egress": "1.2.13",
|
|
966
|
-
"@forge/manifest": "7.5.
|
|
966
|
+
"@forge/manifest": "7.5.1-next.1-experimental-567ca77",
|
|
967
967
|
"@typescript-eslint/typescript-estree": "^5.62.0",
|
|
968
968
|
"array.prototype.flatmap": "^1.3.2",
|
|
969
969
|
"atlassian-openapi": "^1.0.18",
|
|
@@ -972,9 +972,9 @@
|
|
|
972
972
|
}
|
|
973
973
|
},
|
|
974
974
|
"node_modules/@forge/manifest": {
|
|
975
|
-
"version": "7.5.
|
|
976
|
-
"resolved": "https://registry.npmjs.org/@forge/manifest/-/manifest-7.5.
|
|
977
|
-
"integrity": "sha512-
|
|
975
|
+
"version": "7.5.1-next.1-experimental-567ca77",
|
|
976
|
+
"resolved": "https://registry.npmjs.org/@forge/manifest/-/manifest-7.5.1-next.1-experimental-567ca77.tgz",
|
|
977
|
+
"integrity": "sha512-6KKHyeY5uqA48p6zGClTYFBILlfWzIB4cEOqttBZzByTbxROiEsNDArxMRaQ3F3TajEWQ2whAXZnnU+esRqLEA==",
|
|
978
978
|
"dependencies": {
|
|
979
979
|
"@forge/util": "1.4.4",
|
|
980
980
|
"@sentry/node": "7.100.1",
|
|
@@ -1003,13 +1003,13 @@
|
|
|
1003
1003
|
}
|
|
1004
1004
|
},
|
|
1005
1005
|
"node_modules/@forge/tunnel": {
|
|
1006
|
-
"version": "5.3.1",
|
|
1007
|
-
"resolved": "https://registry.npmjs.org/@forge/tunnel/-/tunnel-5.3.1.tgz",
|
|
1008
|
-
"integrity": "sha512-
|
|
1006
|
+
"version": "5.3.2-next.1-experimental-567ca77",
|
|
1007
|
+
"resolved": "https://registry.npmjs.org/@forge/tunnel/-/tunnel-5.3.2-next.1-experimental-567ca77.tgz",
|
|
1008
|
+
"integrity": "sha512-q2rR1Ey7MaKy7xXzKfJW7ts1056TWMOqfwrpwpjAvOzxa8GljhG3SmgItL2Om9kh4QoeEk7uxCMpvnG1JYeSxg==",
|
|
1009
1009
|
"dependencies": {
|
|
1010
|
-
"@forge/bundler": "4.17.
|
|
1011
|
-
"@forge/cli-shared": "5.2.
|
|
1012
|
-
"@forge/csp": "3.2.2",
|
|
1010
|
+
"@forge/bundler": "4.17.3-next.1-experimental-567ca77",
|
|
1011
|
+
"@forge/cli-shared": "5.2.1-next.1-experimental-567ca77",
|
|
1012
|
+
"@forge/csp": "3.2.2-experimental-567ca77",
|
|
1013
1013
|
"@forge/runtime": "5.9.0",
|
|
1014
1014
|
"chokidar": "^3.6.0",
|
|
1015
1015
|
"cloudflared": "^0.5.2",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-app-commands.d.ts","sourceRoot":"","sources":["../../src/command-line/register-app-commands.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,sBAAsB,EAEtB,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"register-app-commands.d.ts","sourceRoot":"","sources":["../../src/command-line/register-app-commands.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,sBAAsB,EAEtB,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAetD,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAKrD;AAyCD,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,GAC1B,OAAO,CAQT;AAED,wBAAgB,wBAAwB,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAW7E;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAsB,oBAAoB,CACxC,EAAE,EAAE,aAAa,EACjB,gBAAgB,EAAE,gBAAgB,EAClC,kBAAkB,EAAE,kBAAkB,EACtC,IAAI,EAAE,MAAM,EACZ,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,2BAA2B,GACnD,OAAO,CAAC,sBAAsB,CAAC,CA0GjC;AA6CD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,YAAY,QAGlD"}
|
|
@@ -8,6 +8,7 @@ const cli_shared_1 = require("@forge/cli-shared");
|
|
|
8
8
|
var TemplateCategory;
|
|
9
9
|
(function (TemplateCategory) {
|
|
10
10
|
TemplateCategory["SHOW_ALL"] = "Show All";
|
|
11
|
+
TemplateCategory["ROVO"] = "Rovo agent and action (EAP)";
|
|
11
12
|
TemplateCategory["UI_KIT_2"] = "UI Kit";
|
|
12
13
|
TemplateCategory["CUSTOM_UI"] = "Custom UI";
|
|
13
14
|
TemplateCategory["BACKEND"] = "Triggers and Validators";
|
|
@@ -96,9 +97,10 @@ async function createCommandHandler(ui, createAppCommand, featureFlagService, na
|
|
|
96
97
|
if (!template) {
|
|
97
98
|
ui.info(cli_shared_1.Text.create.overviewTemplates);
|
|
98
99
|
const templates = await ui.displayTemporaryMessage(() => createAppCommand.getAvailableTemplates(), cli_shared_1.Text.create.waitTemplates);
|
|
99
|
-
const
|
|
100
|
+
const enableRovoTemplates = await featureFlagService.shouldAllowAIModules();
|
|
101
|
+
const type = await ui.promptForList(cli_shared_1.Text.create.promptCategory, Object.values(TemplateCategory).filter((category) => enableRovoTemplates || category !== TemplateCategory.ROVO));
|
|
100
102
|
const filteredTemplates = type === TemplateCategory.SHOW_ALL
|
|
101
|
-
? templates
|
|
103
|
+
? templates.filter((name) => enableRovoTemplates || !name.includes('rovo'))
|
|
102
104
|
: templates
|
|
103
105
|
.filter((name) => {
|
|
104
106
|
switch (type) {
|
|
@@ -106,14 +108,17 @@ async function createCommandHandler(ui, createAppCommand, featureFlagService, na
|
|
|
106
108
|
return (!name.includes('ui-kit') &&
|
|
107
109
|
!name.includes('csuik') &&
|
|
108
110
|
!name.includes('custom-ui') &&
|
|
111
|
+
!name.includes('rovo') &&
|
|
109
112
|
name !== 'blank');
|
|
110
113
|
case TemplateCategory.CUSTOM_UI:
|
|
111
114
|
return name.includes('custom-ui');
|
|
112
115
|
case TemplateCategory.UI_KIT_2:
|
|
113
116
|
return name.includes('csuik');
|
|
117
|
+
case TemplateCategory.ROVO:
|
|
118
|
+
return name.includes('rovo');
|
|
114
119
|
}
|
|
115
120
|
})
|
|
116
|
-
.map((name) => name.replace('-ui-kit', '').replace('-custom-ui', '').replace('-csuik', ''));
|
|
121
|
+
.map((name) => name.replace('-ui-kit', '').replace('-custom-ui', '').replace('-csuik', '').replace('-rovo', ''));
|
|
117
122
|
template = await selectedTemplate(filteredTemplates, type, ui);
|
|
118
123
|
switch (type) {
|
|
119
124
|
case TemplateCategory.UI_KIT_2:
|
|
@@ -122,6 +127,9 @@ async function createCommandHandler(ui, createAppCommand, featureFlagService, na
|
|
|
122
127
|
case TemplateCategory.CUSTOM_UI:
|
|
123
128
|
template = `${template}-custom-ui`;
|
|
124
129
|
break;
|
|
130
|
+
case TemplateCategory.ROVO:
|
|
131
|
+
template = `${template}-rovo`;
|
|
132
|
+
break;
|
|
125
133
|
}
|
|
126
134
|
if (!directory) {
|
|
127
135
|
directory = template;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/cli",
|
|
3
|
-
"version": "10.2.
|
|
3
|
+
"version": "10.2.1-next.1-experimental-567ca77",
|
|
4
4
|
"description": "A command line interface for managing Atlassian-hosted apps",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
"postinstall": "node -e \"fs.existsSync('./out/bin/postinstall.js') && require('./out/bin/postinstall.js')\""
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@forge/bundler": "4.17.
|
|
22
|
-
"@forge/cli-shared": "5.2.
|
|
21
|
+
"@forge/bundler": "4.17.3-next.1-experimental-567ca77",
|
|
22
|
+
"@forge/cli-shared": "5.2.1-next.1-experimental-567ca77",
|
|
23
23
|
"@forge/egress": "1.2.13",
|
|
24
|
-
"@forge/lint": "5.2.
|
|
25
|
-
"@forge/manifest": "7.5.
|
|
24
|
+
"@forge/lint": "5.2.3-next.1-experimental-567ca77",
|
|
25
|
+
"@forge/manifest": "7.5.1-next.1-experimental-567ca77",
|
|
26
26
|
"@forge/runtime": "5.9.0",
|
|
27
|
-
"@forge/tunnel": "5.3.1",
|
|
27
|
+
"@forge/tunnel": "5.3.2-next.1-experimental-567ca77",
|
|
28
28
|
"@forge/util": "1.4.4",
|
|
29
29
|
"@sentry/node": "7.100.1",
|
|
30
30
|
"ajv": "^8.12.0",
|