@forge/cli-shared 8.2.0-next.8 → 8.2.0
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 +78 -0
- package/out/file-system/file-system-reader.d.ts.map +1 -1
- package/out/file-system/file-system-reader.js +6 -9
- package/out/graphql/graphql-types.d.ts +1095 -35
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +123 -25
- package/out/shared/environment.d.ts +1 -1
- package/out/shared/environment.d.ts.map +1 -1
- package/out/ui/text.d.ts +32 -0
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +34 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,83 @@
|
|
|
1
1
|
# @forge/cli-shared
|
|
2
2
|
|
|
3
|
+
## 8.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 0402460: 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
|
+
- 8d843ca: update version bulk-upgrade list output
|
|
9
|
+
- cfde21e: Add CSP Urls for IC environment
|
|
10
|
+
- 4623865: Added set of show commands for containers
|
|
11
|
+
- d544fc6: separate 2 options license-modes and users-with-access
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- e118b07: Remove remnants of sandbox runtime
|
|
16
|
+
- a26c603: revert package upgrades
|
|
17
|
+
- 8e9a8b5: Got rid of FG
|
|
18
|
+
- 73f3108: Add tip about variables only changing after deployment
|
|
19
|
+
- Updated dependencies [7abca30]
|
|
20
|
+
- Updated dependencies [5144b15]
|
|
21
|
+
- Updated dependencies [5069c3c]
|
|
22
|
+
- Updated dependencies [8e9a8b5]
|
|
23
|
+
- Updated dependencies [5bfa872]
|
|
24
|
+
- Updated dependencies [13e5daa]
|
|
25
|
+
- Updated dependencies [e029de1]
|
|
26
|
+
- Updated dependencies [426dfe1]
|
|
27
|
+
- @forge/util@2.0.0
|
|
28
|
+
- @forge/manifest@10.2.0
|
|
29
|
+
|
|
30
|
+
## 8.2.0-next.16
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
- Updated dependencies [5bfa872]
|
|
35
|
+
- @forge/manifest@10.2.0-next.5
|
|
36
|
+
|
|
37
|
+
## 8.2.0-next.15
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- Updated dependencies [5144b15]
|
|
42
|
+
- @forge/manifest@10.2.0-next.4
|
|
43
|
+
|
|
44
|
+
## 8.2.0-next.14
|
|
45
|
+
|
|
46
|
+
### Patch Changes
|
|
47
|
+
|
|
48
|
+
- Updated dependencies [13e5daa]
|
|
49
|
+
- @forge/manifest@10.1.1-next.3
|
|
50
|
+
|
|
51
|
+
## 8.2.0-next.13
|
|
52
|
+
|
|
53
|
+
### Minor Changes
|
|
54
|
+
|
|
55
|
+
- 4623865: Added set of show commands for containers
|
|
56
|
+
|
|
57
|
+
## 8.2.0-next.12
|
|
58
|
+
|
|
59
|
+
### Minor Changes
|
|
60
|
+
|
|
61
|
+
- 8d843ca: update version bulk-upgrade list output
|
|
62
|
+
|
|
63
|
+
## 8.2.0-next.11
|
|
64
|
+
|
|
65
|
+
### Minor Changes
|
|
66
|
+
|
|
67
|
+
- 0402460: 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
|
|
68
|
+
|
|
69
|
+
## 8.2.0-next.10
|
|
70
|
+
|
|
71
|
+
### Minor Changes
|
|
72
|
+
|
|
73
|
+
- cfde21e: Add CSP Urls for IC environment
|
|
74
|
+
|
|
75
|
+
## 8.2.0-next.9
|
|
76
|
+
|
|
77
|
+
### Minor Changes
|
|
78
|
+
|
|
79
|
+
- 0402460: 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
|
|
80
|
+
|
|
3
81
|
## 8.2.0-next.8
|
|
4
82
|
|
|
5
83
|
### Patch Changes
|
|
@@ -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;AAU9C,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;IAU/E,OAAO,CAAC,eAAe;IAQV,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;CAIpE"}
|
|
@@ -8,7 +8,6 @@ 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"));
|
|
12
11
|
const shared_1 = require("../shared");
|
|
13
12
|
const FILE_NOT_FOUND_CODE = 'ENOENT';
|
|
14
13
|
class FileSystemReader {
|
|
@@ -97,14 +96,12 @@ class FileSystemReader {
|
|
|
97
96
|
}
|
|
98
97
|
}
|
|
99
98
|
async getFolderSizeAsync(directory) {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
});
|
|
107
|
-
});
|
|
99
|
+
const getFolderSize = (await import('get-folder-size')).default;
|
|
100
|
+
const result = await getFolderSize(directory);
|
|
101
|
+
if (result.errors) {
|
|
102
|
+
return undefined;
|
|
103
|
+
}
|
|
104
|
+
return result.size;
|
|
108
105
|
}
|
|
109
106
|
handleFileError(error) {
|
|
110
107
|
if (error && error.code === FILE_NOT_FOUND_CODE) {
|