@forge/manifest 10.1.0-next.8 → 10.1.0-next.8-experimental-64a3a39
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,27 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 10.1.0-next.8-experimental-64a3a39
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- effab31: Bumped cheerio from 0.22 to 1.1
|
|
8
|
+
- 46daa27: Added support for default environment variable declaration in the manifest
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- 5d07fbf: Update the default value for inScopeEUD of egress entries by the linter
|
|
13
|
+
- 4b15e26: Rename some Confluence events from 'removed' to 'deleted' events for consistency with other products. Neither of the renamed events are active yet.
|
|
14
|
+
- 634d7b9: Bump max resource limit from 10 to 50
|
|
15
|
+
- b9574d4: Limit number of automation actions per app
|
|
16
|
+
- 195411c: patch dependencies
|
|
17
|
+
- d97a252: Add new Forge events and update scopes for unreleased Forge events
|
|
18
|
+
- 1479d2d: Update manifest definitions
|
|
19
|
+
- ca7e661: Update manifest definitions
|
|
20
|
+
- 5ab2c49: Update manifest definitions
|
|
21
|
+
- 609f68b: Update manifest definitions
|
|
22
|
+
- Updated dependencies [195411c]
|
|
23
|
+
- @forge/i18n@0.0.7-next.0-experimental-64a3a39
|
|
24
|
+
|
|
3
25
|
## 10.1.0-next.8
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
|
@@ -27020,9 +27020,22 @@
|
|
|
27020
27020
|
"type": "string",
|
|
27021
27021
|
"description": "The name of the connector."
|
|
27022
27022
|
},
|
|
27023
|
-
"
|
|
27024
|
-
"type": "
|
|
27025
|
-
"
|
|
27023
|
+
"icons": {
|
|
27024
|
+
"type": "object",
|
|
27025
|
+
"properties": {
|
|
27026
|
+
"light": {
|
|
27027
|
+
"type": "string",
|
|
27028
|
+
"description": "The icon for the connector when in Light mode."
|
|
27029
|
+
},
|
|
27030
|
+
"dark": {
|
|
27031
|
+
"type": "string",
|
|
27032
|
+
"description": "The icon for the connector when in Dark mode."
|
|
27033
|
+
}
|
|
27034
|
+
},
|
|
27035
|
+
"required": [
|
|
27036
|
+
"light",
|
|
27037
|
+
"dark"
|
|
27038
|
+
]
|
|
27026
27039
|
},
|
|
27027
27040
|
"entityTypes": {
|
|
27028
27041
|
"type": "array",
|
|
@@ -27077,7 +27090,7 @@
|
|
|
27077
27090
|
},
|
|
27078
27091
|
"required": [
|
|
27079
27092
|
"name",
|
|
27080
|
-
"
|
|
27093
|
+
"icons",
|
|
27081
27094
|
"entityTypes",
|
|
27082
27095
|
"key"
|
|
27083
27096
|
],
|
|
@@ -27852,7 +27865,8 @@
|
|
|
27852
27865
|
"type": "object",
|
|
27853
27866
|
"additionalProperties": false,
|
|
27854
27867
|
"required": [
|
|
27855
|
-
"key",
|
|
27868
|
+
"key",
|
|
27869
|
+
"default"
|
|
27856
27870
|
],
|
|
27857
27871
|
"properties": {
|
|
27858
27872
|
"key": {
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -23227,10 +23227,17 @@ export interface Modules {
|
|
|
23227
23227
|
* The name of the connector.
|
|
23228
23228
|
*/
|
|
23229
23229
|
name: string;
|
|
23230
|
-
|
|
23231
|
-
|
|
23232
|
-
|
|
23233
|
-
|
|
23230
|
+
icons: {
|
|
23231
|
+
/**
|
|
23232
|
+
* The icon for the connector when in Light mode.
|
|
23233
|
+
*/
|
|
23234
|
+
light: string;
|
|
23235
|
+
/**
|
|
23236
|
+
* The icon for the connector when in Dark mode.
|
|
23237
|
+
*/
|
|
23238
|
+
dark: string;
|
|
23239
|
+
[k: string]: unknown;
|
|
23240
|
+
};
|
|
23234
23241
|
/**
|
|
23235
23242
|
* Entities that the connector can provide.
|
|
23236
23243
|
*/
|
|
@@ -23295,10 +23302,17 @@ export interface Modules {
|
|
|
23295
23302
|
* The name of the connector.
|
|
23296
23303
|
*/
|
|
23297
23304
|
name: string;
|
|
23298
|
-
|
|
23299
|
-
|
|
23300
|
-
|
|
23301
|
-
|
|
23305
|
+
icons: {
|
|
23306
|
+
/**
|
|
23307
|
+
* The icon for the connector when in Light mode.
|
|
23308
|
+
*/
|
|
23309
|
+
light: string;
|
|
23310
|
+
/**
|
|
23311
|
+
* The icon for the connector when in Dark mode.
|
|
23312
|
+
*/
|
|
23313
|
+
dark: string;
|
|
23314
|
+
[k: string]: unknown;
|
|
23315
|
+
};
|
|
23302
23316
|
/**
|
|
23303
23317
|
* Entities that the connector can provide.
|
|
23304
23318
|
*/
|
|
@@ -4,7 +4,7 @@ exports.ResourcesValidator = exports.MAX_RESOURCE_COUNT = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const fs_1 = tslib_1.__importDefault(require("fs"));
|
|
6
6
|
const path_1 = require("path");
|
|
7
|
-
const cheerio_1 =
|
|
7
|
+
const cheerio_1 = require("cheerio");
|
|
8
8
|
const utils_1 = require("../utils");
|
|
9
9
|
const text_1 = require("../text");
|
|
10
10
|
const utils_2 = require("../utils");
|
|
@@ -88,7 +88,7 @@ class ResourcesValidator {
|
|
|
88
88
|
return;
|
|
89
89
|
if (fs_1.default.existsSync((0, path_1.resolve)(manifestDir, path, 'index.html'))) {
|
|
90
90
|
const content = fs_1.default.readFileSync((0, path_1.resolve)(manifestDir, path, 'index.html'));
|
|
91
|
-
const $ = cheerio_1.
|
|
91
|
+
const $ = (0, cheerio_1.load)(content, { xml: { xmlMode: false } });
|
|
92
92
|
const cspContent = $('meta[http-equiv="Content-Security-Policy"]').attr('content');
|
|
93
93
|
if (cspContent) {
|
|
94
94
|
const cspStyleSrc = cspContent.split(';').find((s) => s.startsWith('style-src'));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/manifest",
|
|
3
|
-
"version": "10.1.0-next.8",
|
|
3
|
+
"version": "10.1.0-next.8-experimental-64a3a39",
|
|
4
4
|
"description": "Definitions and validations of the Forge manifest",
|
|
5
5
|
"main": "out/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"author": "Atlassian",
|
|
25
25
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@forge/i18n": "0.0.7-next.0",
|
|
27
|
+
"@forge/i18n": "0.0.7-next.0-experimental-64a3a39",
|
|
28
28
|
"@sentry/node": "7.106.0",
|
|
29
29
|
"ajv": "^8.12.0",
|
|
30
30
|
"ajv-formats": "2.1.1",
|
|
31
|
-
"cheerio": "^
|
|
31
|
+
"cheerio": "^1.1.0",
|
|
32
32
|
"glob": "^10.3.10",
|
|
33
33
|
"lodash": "^4.17.21",
|
|
34
34
|
"mime-types": "^2.1.35",
|