@forge/cli-shared 8.1.0-next.8-experimental-8e96421 → 8.1.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 +2 -18
- package/out/file-system/file-system-reader.d.ts.map +1 -1
- package/out/file-system/file-system-reader.js +9 -6
- package/out/graphql/graphql-types.d.ts +0 -21
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +10 -17
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,32 +1,16 @@
|
|
|
1
1
|
# @forge/cli-shared
|
|
2
2
|
|
|
3
|
-
## 8.1.0-next.
|
|
3
|
+
## 8.1.0-next.9
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
|
-
- 05d33ea: Upgraded archiver from 6.0.2 to 7.0.1, moved atlassian-openapi to @atlassian/atlassian-openapi, bumped get-folder-size from 2.0.1 to 5.0.0
|
|
8
7
|
- effab31: Bumped cheerio from 0.22 to 1.1
|
|
9
|
-
- 620aea7: Added support for Dashboards context for app creation
|
|
10
8
|
|
|
11
9
|
### Patch Changes
|
|
12
10
|
|
|
13
|
-
- 25a3da2: Update attribution header
|
|
14
|
-
- 195411c: patch dependencies
|
|
15
11
|
- Updated dependencies [effab31]
|
|
16
|
-
- Updated dependencies [5d07fbf]
|
|
17
|
-
- Updated dependencies [4b15e26]
|
|
18
|
-
- Updated dependencies [634d7b9]
|
|
19
|
-
- Updated dependencies [b9574d4]
|
|
20
|
-
- Updated dependencies [195411c]
|
|
21
|
-
- Updated dependencies [d97a252]
|
|
22
|
-
- Updated dependencies [46daa27]
|
|
23
|
-
- Updated dependencies [1479d2d]
|
|
24
|
-
- Updated dependencies [ca7e661]
|
|
25
|
-
- Updated dependencies [5ab2c49]
|
|
26
12
|
- Updated dependencies [609f68b]
|
|
27
|
-
- @forge/manifest@10.1.0-next.
|
|
28
|
-
- @forge/i18n@0.0.7-next.0-experimental-8e96421
|
|
29
|
-
- @forge/util@1.4.10-next.0-experimental-8e96421
|
|
13
|
+
- @forge/manifest@10.1.0-next.9
|
|
30
14
|
|
|
31
15
|
## 8.1.0-next.8
|
|
32
16
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-system-reader.d.ts","sourceRoot":"","sources":["../../src/file-system/file-system-reader.ts"],"names":[],"mappings":";;;AAAA,OAAO,EAA4B,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"file-system-reader.d.ts","sourceRoot":"","sources":["../../src/file-system/file-system-reader.ts"],"names":[],"mappings":";;;AAAA,OAAO,EAA4B,MAAM,IAAI,CAAC;AAW9C,aAAK,cAAc,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,OAAO,CAAC;AAEjE,qBAAa,gBAAgB;IACpB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO;IAIrC,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAQxC,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAS5D,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,CAAC,MAAM,GAAG,cAAc,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAgBtG,QAAQ,CAAC,EAAE,OAAO,EAAE,SAAiB,EAAE,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAmB3G,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO;IAI7C,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAQ9C,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IASxE,gBAAgB,IAAI,MAAM;IAI1B,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM;IAO3C,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAQvC,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAW/E,OAAO,CAAC,eAAe;IAQV,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;CAIpE"}
|
|
@@ -8,6 +8,7 @@ const os_1 = require("os");
|
|
|
8
8
|
const path_1 = tslib_1.__importStar(require("path"));
|
|
9
9
|
const util_1 = require("util");
|
|
10
10
|
const recursive_readdir_1 = tslib_1.__importDefault(require("recursive-readdir"));
|
|
11
|
+
const get_folder_size_1 = tslib_1.__importDefault(require("get-folder-size"));
|
|
11
12
|
const shared_1 = require("../shared");
|
|
12
13
|
const FILE_NOT_FOUND_CODE = 'ENOENT';
|
|
13
14
|
class FileSystemReader {
|
|
@@ -96,12 +97,14 @@ class FileSystemReader {
|
|
|
96
97
|
}
|
|
97
98
|
}
|
|
98
99
|
async getFolderSizeAsync(directory) {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
100
|
+
return new Promise((resolve) => {
|
|
101
|
+
(0, get_folder_size_1.default)(directory, (err, size) => {
|
|
102
|
+
if (err) {
|
|
103
|
+
resolve(undefined);
|
|
104
|
+
}
|
|
105
|
+
return resolve(size);
|
|
106
|
+
});
|
|
107
|
+
});
|
|
105
108
|
}
|
|
106
109
|
handleFileError(error) {
|
|
107
110
|
if (error && error.code === FILE_NOT_FOUND_CODE) {
|
|
@@ -63960,7 +63960,6 @@ export declare type JiraProformaFormsField = JiraIssueField & JiraIssueFieldConf
|
|
|
63960
63960
|
};
|
|
63961
63961
|
export declare type JiraProject = Node & {
|
|
63962
63962
|
__typename?: 'JiraProject';
|
|
63963
|
-
accessLevel?: Maybe<JiraProjectAccessLevelType>;
|
|
63964
63963
|
action?: Maybe<JiraProjectAction>;
|
|
63965
63964
|
activeBackground?: Maybe<JiraBackground>;
|
|
63966
63965
|
assignableUsers?: Maybe<JiraAssignableUsersConnection>;
|
|
@@ -64201,21 +64200,6 @@ export declare type JiraProjectVersionsV2Args = {
|
|
|
64201
64200
|
searchString?: InputMaybe<Scalars['String']['input']>;
|
|
64202
64201
|
sortBy?: InputMaybe<JiraVersionSortInput>;
|
|
64203
64202
|
};
|
|
64204
|
-
export declare type JiraProjectAccessLevel = {
|
|
64205
|
-
__typename?: 'JiraProjectAccessLevel';
|
|
64206
|
-
description?: Maybe<Scalars['String']['output']>;
|
|
64207
|
-
displayName?: Maybe<Scalars['String']['output']>;
|
|
64208
|
-
everyoneRoleDescription?: Maybe<Scalars['String']['output']>;
|
|
64209
|
-
everyoneRoleName?: Maybe<Scalars['String']['output']>;
|
|
64210
|
-
iconName?: Maybe<Scalars['String']['output']>;
|
|
64211
|
-
value: JiraProjectAccessLevelType;
|
|
64212
|
-
};
|
|
64213
|
-
export declare enum JiraProjectAccessLevelType {
|
|
64214
|
-
Free = "FREE",
|
|
64215
|
-
Limited = "LIMITED",
|
|
64216
|
-
Open = "OPEN",
|
|
64217
|
-
Private = "PRIVATE"
|
|
64218
|
-
}
|
|
64219
64203
|
export declare type JiraProjectAction = {
|
|
64220
64204
|
__typename?: 'JiraProjectAction';
|
|
64221
64205
|
canPerform: Scalars['Boolean']['output'];
|
|
@@ -64647,7 +64631,6 @@ export declare enum JiraProjectType {
|
|
|
64647
64631
|
}
|
|
64648
64632
|
export declare type JiraProjectTypeDetails = Node & {
|
|
64649
64633
|
__typename?: 'JiraProjectTypeDetails';
|
|
64650
|
-
availableAccessLevels: Array<JiraProjectAccessLevel>;
|
|
64651
64634
|
color: Scalars['String']['output'];
|
|
64652
64635
|
description: Scalars['String']['output'];
|
|
64653
64636
|
formattedKey: Scalars['String']['output'];
|
|
@@ -84486,7 +84469,6 @@ export declare type Query = {
|
|
|
84486
84469
|
jira_issuesByIds?: Maybe<Array<Maybe<JiraIssue>>>;
|
|
84487
84470
|
jira_jiraServiceManagementDefaultCommentBehavior?: Maybe<JiraServiceManagementDefaultCommentBehavior>;
|
|
84488
84471
|
jira_projectByIdOrKey?: Maybe<JiraProject>;
|
|
84489
|
-
jira_projectTypesByIds?: Maybe<Array<Maybe<JiraProjectTypeDetails>>>;
|
|
84490
84472
|
jira_projectsSidebarMenu?: Maybe<JiraProjectsSidebarMenu>;
|
|
84491
84473
|
jsmChannels_conversationsByContainerAri?: Maybe<JsmChannelsConversationsByContainerAriResult>;
|
|
84492
84474
|
jsmChannels_conversationsByIds?: Maybe<Array<Maybe<JsmChannelsOrchestratorConversation>>>;
|
|
@@ -86146,9 +86128,6 @@ export declare type QueryJira_ProjectByIdOrKeyArgs = {
|
|
|
86146
86128
|
cloudId: Scalars['ID']['input'];
|
|
86147
86129
|
idOrKey: Scalars['String']['input'];
|
|
86148
86130
|
};
|
|
86149
|
-
export declare type QueryJira_ProjectTypesByIdsArgs = {
|
|
86150
|
-
ids: Array<Scalars['ID']['input']>;
|
|
86151
|
-
};
|
|
86152
86131
|
export declare type QueryJira_ProjectsSidebarMenuArgs = {
|
|
86153
86132
|
cloudId: Scalars['ID']['input'];
|
|
86154
86133
|
currentURL?: InputMaybe<Scalars['URL']['input']>;
|