@forge/manifest 5.4.0-next.0 → 5.4.0-next.2

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,19 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 5.4.0-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - b45f058: Bumping dependencies via Renovate:
8
+
9
+ - @types/jest
10
+
11
+ ## 5.4.0-next.1
12
+
13
+ ### Patch Changes
14
+
15
+ - b8cb981: Update manifest definitions
16
+
3
17
  ## 5.4.0-next.0
4
18
 
5
19
  ### Minor Changes
@@ -9990,6 +9990,52 @@
9990
9990
  },
9991
9991
  "minItems": 1
9992
9992
  },
9993
+ "bitbucket:mergeCheck": {
9994
+ "type": "array",
9995
+ "items": {
9996
+ "type": "object",
9997
+ "properties": {
9998
+ "name": {
9999
+ "type": "string"
10000
+ },
10001
+ "description": {
10002
+ "type": "string"
10003
+ },
10004
+ "triggers": {
10005
+ "type": "array",
10006
+ "minItems": 1,
10007
+ "items": {
10008
+ "type": "string",
10009
+ "enum": [
10010
+ "on-merge",
10011
+ "on-code-pushed"
10012
+ ]
10013
+ }
10014
+ },
10015
+ "function": {
10016
+ "type": "string",
10017
+ "minLength": 1,
10018
+ "maxLength": 255,
10019
+ "pattern": "^[a-zA-Z0-9-_]+$"
10020
+ },
10021
+ "key": {
10022
+ "$ref": "#/definitions/ModuleKeySchema"
10023
+ }
10024
+ },
10025
+ "required": [
10026
+ "name",
10027
+ "triggers",
10028
+ "function",
10029
+ "key"
10030
+ ],
10031
+ "not": {
10032
+ "required": [
10033
+ "unlicensedAccess"
10034
+ ]
10035
+ }
10036
+ },
10037
+ "minItems": 1
10038
+ },
9993
10039
  "connect-jira:keyboardShortcuts": {
9994
10040
  "type": "array",
9995
10041
  "items": {
@@ -5015,6 +5015,24 @@ export interface Modules {
5015
5015
  }
5016
5016
  )[]
5017
5017
  ];
5018
+ 'bitbucket:mergeCheck'?: [
5019
+ {
5020
+ name: string;
5021
+ description?: string;
5022
+ triggers: ['on-merge' | 'on-code-pushed', ...('on-merge' | 'on-code-pushed')[]];
5023
+ function: string;
5024
+ key: ModuleKeySchema;
5025
+ [k: string]: unknown;
5026
+ },
5027
+ ...{
5028
+ name: string;
5029
+ description?: string;
5030
+ triggers: ['on-merge' | 'on-code-pushed', ...('on-merge' | 'on-code-pushed')[]];
5031
+ function: string;
5032
+ key: ModuleKeySchema;
5033
+ [k: string]: unknown;
5034
+ }[]
5035
+ ];
5018
5036
  'connect-jira:keyboardShortcuts'?: [
5019
5037
  {
5020
5038
  shortcut?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "5.4.0-next.0",
3
+ "version": "5.4.0-next.2",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {
@@ -15,7 +15,7 @@
15
15
  "fetch-config": "yarn run build && node out/config/index.js"
16
16
  },
17
17
  "devDependencies": {
18
- "@types/jest": "^29.5.10",
18
+ "@types/jest": "^29.5.11",
19
19
  "@types/node": "14.18.63",
20
20
  "@types/node-fetch": "^2.6.9"
21
21
  },