@forge/manifest 0.0.0-experimental-e05f7a2 → 0.0.0-experimental-d18f8dd

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +218 -1
  2. package/out/processor/full-validation-processor.d.ts.map +1 -1
  3. package/out/processor/full-validation-processor.js +3 -2
  4. package/out/schema/basic-manifest-schema.json +24 -7
  5. package/out/schema/basic-manifest.d.ts +13 -3
  6. package/out/schema/manifest-schema.json +7292 -932
  7. package/out/schema/manifest.d.ts +50131 -181
  8. package/out/scopes/shipyard-scopes.json +191 -0
  9. package/out/text/errors.d.ts +18 -1
  10. package/out/text/errors.d.ts.map +1 -1
  11. package/out/text/errors.js +18 -1
  12. package/out/types/index.d.ts +0 -1
  13. package/out/types/index.d.ts.map +1 -1
  14. package/out/types/index.js +0 -1
  15. package/out/types/module-types.d.ts +58 -1
  16. package/out/types/module-types.d.ts.map +1 -1
  17. package/out/types/module-types.js +57 -0
  18. package/out/utils/line-finder.d.ts +1 -1
  19. package/out/utils/line-finder.d.ts.map +1 -1
  20. package/out/utils/line-finder.js +25 -7
  21. package/out/utils/module-key-cleaner.d.ts.map +1 -1
  22. package/out/validators/connect-modules-validator.d.ts +7 -0
  23. package/out/validators/connect-modules-validator.d.ts.map +1 -0
  24. package/out/validators/connect-modules-validator.js +48 -0
  25. package/out/validators/connect-remote-validator.d.ts +7 -0
  26. package/out/validators/connect-remote-validator.d.ts.map +1 -0
  27. package/out/validators/connect-remote-validator.js +31 -0
  28. package/out/validators/index.d.ts +3 -0
  29. package/out/validators/index.d.ts.map +1 -1
  30. package/out/validators/index.js +3 -0
  31. package/out/validators/modules-validator.d.ts.map +1 -1
  32. package/out/validators/modules-validator.js +16 -0
  33. package/out/validators/permissions-validator.d.ts.map +1 -1
  34. package/out/validators/permissions-validator.js +3 -2
  35. package/out/validators/providers-validator.d.ts +1 -0
  36. package/out/validators/providers-validator.d.ts.map +1 -1
  37. package/out/validators/providers-validator.js +16 -0
  38. package/out/validators/schema-validator.d.ts.map +1 -1
  39. package/out/validators/schema-validator.js +5 -1
  40. package/package.json +2 -2
  41. package/out/types/scopes-types.d.ts +0 -2
  42. package/out/types/scopes-types.d.ts.map +0 -1
  43. package/out/types/scopes-types.js +0 -52
package/CHANGELOG.md CHANGED
@@ -1,19 +1,236 @@
1
1
  # @forge/manifest
2
2
 
3
- ## 0.0.0-experimental-e05f7a2
3
+ ## 0.0.0-experimental-d18f8dd
4
+
5
+ ### Patch Changes
6
+
7
+ - d18f8dd: Force bump
8
+ - ef3664d: Update manifest definitions
9
+ - ef3664d: Update manifest definitions
10
+ - ef3664d: Update manifest definitions
11
+ - ef3664d: Update manifest definitions
12
+ - Updated dependencies [d18f8dd]
13
+ - @forge/util@0.0.0-experimental-d18f8dd
14
+
15
+ ## 2.2.1-next.0
16
+
17
+ ### Patch Changes
18
+
19
+ - 2809af6: Update manifest definitions
20
+
21
+ ## 2.2.0
22
+
23
+ ### Minor Changes
24
+
25
+ - 3e56133: replace hardcoded scopes with shipyard poller artifacts
26
+ - 4acce41: Allow both Dynamic and Static profile retrievers in External Auth
27
+
28
+ ### Patch Changes
29
+
30
+ - a98977f: Add manifest validation for search aliases in Jira custom fields
31
+ - 0d25702: Update manifest definitions
32
+ - cc9264b: Update manifest definitions
33
+ - f7402cd: Update manifest definitions
34
+ - 7650b85: Update manifest definitions
35
+ - 22e7ed8: Update manifest definitions
36
+ - 0e18c6b: Update manifest definitions
37
+ - edaa58e: Update manifest definitions
38
+ - 69007db: Update manifest definitions
39
+
40
+ ## 2.2.0-next.5
41
+
42
+ ### Patch Changes
43
+
44
+ - f7402cd: Update manifest definitions
45
+
46
+ ## 2.2.0-next.4
47
+
48
+ ### Patch Changes
49
+
50
+ - 22e7ed8: Update manifest definitions
51
+
52
+ ## 2.2.0-next.3
53
+
54
+ ### Minor Changes
55
+
56
+ - 3e56133: replace hardcoded scopes with shipyard poller artifacts
57
+
58
+ ### Patch Changes
59
+
60
+ - cc9264b: Update manifest definitions
61
+ - edaa58e: Update manifest definitions
62
+
63
+ ## 2.2.0-next.2
64
+
65
+ ### Minor Changes
66
+
67
+ - 4acce41: Allow both Dynamic and Static profile retrievers in External Auth
68
+
69
+ ### Patch Changes
70
+
71
+ - 0e18c6b: Update manifest definitions
72
+ - 69007db: Update manifest definitions
73
+
74
+ ## 2.2.0-next.1
75
+
76
+ ### Minor Changes
77
+
78
+ - 9a10349: replace hardcoded scopes with shipyard poller artifacts
79
+
80
+ ### Patch Changes
81
+
82
+ - 0d25702: Update manifest definitions
83
+ - 7650b85: Update manifest definitions
84
+
85
+ ## 2.1.1-next.0
86
+
87
+ ### Patch Changes
88
+
89
+ - a98977f: Add manifest validation for search aliases in Jira custom fields
90
+
91
+ ## 2.1.0
92
+
93
+ ### Minor Changes
94
+
95
+ - 61ee941: Added core:consumer to module types for manifest validation
96
+ - 7058989: Add Connect module types
97
+ - a5797b3: Added compass as a supported product on the CLI
98
+ - fcfbc09: Adding connect moduled to manifest
99
+
100
+ ### Patch Changes
101
+
102
+ - 0ecb62b: Update manifest definitions
103
+ - 8ca3512: Update manifest definitions
104
+ - bb69754: Update manifest definitions
105
+ - f3c58fb: Update manifest definitions
106
+ - 35d4e6e: Update manifest definitions
107
+
108
+ ## 2.1.0-next.5
109
+
110
+ ### Patch Changes
111
+
112
+ - bb69754: Update manifest definitions
113
+
114
+ ## 2.1.0-next.4
115
+
116
+ ### Minor Changes
117
+
118
+ - 7058989: Add Connect module types
119
+ - fcfbc09: Adding connect moduled to manifest
120
+
121
+ ### Patch Changes
122
+
123
+ - 35d4e6e: Update manifest definitions
124
+
125
+ ## 2.1.0-next.3
126
+
127
+ ### Minor Changes
128
+
129
+ - 61ee941: Added core:consumer to module types for manifest validation
130
+
131
+ ## 2.1.0-next.2
132
+
133
+ ### Patch Changes
134
+
135
+ - 8ca3512: Update manifest definitions
136
+
137
+ ## 2.1.0-next.1
138
+
139
+ ### Minor Changes
140
+
141
+ - a5797b3: Added compass as a supported product on the CLI
142
+
143
+ ## 2.0.1-next.0
144
+
145
+ ### Patch Changes
146
+
147
+ - f3c58fb: Update manifest definitions
148
+
149
+ ## 2.0.0
150
+
151
+ ### Major Changes
152
+
153
+ - 3b12caf: Add `app.connect` configuration in the manifest, drop `app.connectKey`
154
+ property.
155
+
156
+ If your app’s manifest has the `app.connectKey` property, please delete it and set the key via `app.connect.key`.
157
+ You will also need to set `app.connect.remote` to equal the key of your `remotes` entry that holds your connect baseUrl.
4
158
 
5
159
  ### Minor Changes
6
160
 
7
161
  - ed3cb06: Remove name from the @forge/cli manifest and register/create commands
8
162
  - 88ee5f0: Adding External Auth
163
+ - 71ce55a: Adding new granular scopes for confluence and jira
164
+ - b0097a5: Adds Compass scopes to the list of valid scopes in the Forge manifest
165
+ - 89d91a8: Add jira:dashboardGadget module
9
166
 
10
167
  ### Patch Changes
11
168
 
169
+ - 117d2fd: Fix validation logic for schema deprecation warnings
170
+ - 527e29c: Update manifest definitions
12
171
  - 5082937: Update manifest definitions
13
172
  - 71d16dc: Update manifest definitions
173
+ - ee74076: Update manifest definitions
174
+ - e9bcadd: Update manifest definitions
14
175
  - 8acb251: Update manifest definitions
176
+ - 75f66a8: Update manifest definitions
15
177
  - be1b2be: Update manifest definitions
16
178
 
179
+ ## 2.0.0-next.10
180
+
181
+ ### Patch Changes
182
+
183
+ - e9bcadd: Update manifest definitions
184
+
185
+ ## 2.0.0-next.9
186
+
187
+ ### Patch Changes
188
+
189
+ - 117d2fd: Fix validation logic for schema deprecation warnings
190
+
191
+ ## 2.0.0-next.8
192
+
193
+ ### Major Changes
194
+
195
+ - 3b12caf: Add `app.connect` configuration in the manifest, drop `app.connectKey`
196
+ property.
197
+
198
+ If your app’s manifest has the `app.connectKey` property, please delete it and set the key via `app.connect.key`.
199
+ You will also need to set `app.connect.remote` to equal the key of your `remotes` entry that holds your connect baseUrl.
200
+
201
+ ## 1.6.0-next.7
202
+
203
+ ### Minor Changes
204
+
205
+ - 71ce55a: Adding new granular scopes for confluence and jira
206
+
207
+ ## 1.6.0-next.6
208
+
209
+ ### Patch Changes
210
+
211
+ - 527e29c: Update manifest definitions
212
+ - ee74076: Update manifest definitions
213
+
214
+ ## 1.6.0-next.5
215
+
216
+ ### Minor Changes
217
+
218
+ - b0097a5: Adds Compass scopes to the list of valid scopes in the Forge manifest
219
+
220
+ ### Patch Changes
221
+
222
+ - 75f66a8: Update manifest definitions
223
+
224
+ ## 1.6.0-next.4
225
+
226
+ ### Minor Changes
227
+
228
+ - 89d91a8: Add jira:dashboardGadget module
229
+
230
+ ### Patch Changes
231
+
232
+ - 8acb251: Update manifest definitions
233
+
17
234
  ## 1.6.0-next.3
18
235
 
19
236
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"full-validation-processor.d.ts","sourceRoot":"","sources":["../../src/processor/full-validation-processor.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,qBAAa,uBAAwB,SAAQ,2BAA2B,CAAC,cAAc,CAAC;;CAavF"}
1
+ {"version":3,"file":"full-validation-processor.d.ts","sourceRoot":"","sources":["../../src/processor/full-validation-processor.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,qBAAa,uBAAwB,SAAQ,2BAA2B,CAAC,cAAc,CAAC;;CAevF"}
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FullValidationProcessor = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const validators_1 = require("../validators");
6
- const permissions_validator_1 = require("../validators/permissions-validator");
7
6
  const FULL_SCHEMA = tslib_1.__importStar(require("../schema/manifest-schema.json"));
8
7
  const DISPLAY_CONDITIONS_SCHEMA = tslib_1.__importStar(require("../schema/display-conditions-schema.json"));
9
8
  const abstract_validation_processor_1 = require("./abstract-validation-processor");
@@ -14,8 +13,10 @@ class FullValidationProcessor extends abstract_validation_processor_1.AbstractVa
14
13
  new validators_1.YamlValidator(),
15
14
  new validators_1.SchemaValidator(FULL_SCHEMA),
16
15
  new validators_1.ModulesValidator(),
16
+ new validators_1.ConnectModulesValidator(),
17
17
  new validators_1.ResourcesValidator(),
18
- new permissions_validator_1.PermissionsValidator(),
18
+ new validators_1.ConnectRemoteValidator(),
19
+ new validators_1.PermissionsValidator(),
19
20
  new validators_1.DisplayConditionsValidator(DISPLAY_CONDITIONS_SCHEMA),
20
21
  new validators_1.ProvidersValidator()
21
22
  ]);
@@ -47,13 +47,30 @@
47
47
  }
48
48
  }
49
49
  },
50
- "connectKey": {
51
- "description": "The app's connect migration key",
52
- "title": "connectKey",
53
- "pattern": "^[a-zA-Z0-9-._]+$",
54
- "type": "string",
55
- "minLength": 1,
56
- "maxLength": 90
50
+ "connect": {
51
+ "additionalProperties": false,
52
+ "required": [
53
+ "key"
54
+ ],
55
+ "type": "object",
56
+ "title": "connect",
57
+ "description": "Connect Configuration for the forge app.",
58
+ "properties": {
59
+ "key": {
60
+ "type": "string",
61
+ "description": "The app's connect key",
62
+ "minLength": 1,
63
+ "maxLength": 90,
64
+ "pattern": "^[a-zA-Z0-9-._]+$",
65
+ "title": "key"
66
+ },
67
+ "remote": {
68
+ "type": "string",
69
+ "description": "A key for the remote, which other modules can refer to. Must be unique within the manifest and have a maximum of 23 characters.",
70
+ "pattern": "^[a-zA-Z0-9_-]+$",
71
+ "maxLength": 23
72
+ }
73
+ }
57
74
  }
58
75
  },
59
76
  "required": [
@@ -22,9 +22,9 @@ export type Snapshots = boolean;
22
22
  */
23
23
  export type Enabled = boolean;
24
24
  /**
25
- * The app's connect migration key
25
+ * The app's connect key
26
26
  */
27
- export type ConnectKey = string;
27
+ export type Key = string;
28
28
 
29
29
  export interface BasicManifestSchema {
30
30
  app: App;
@@ -35,7 +35,7 @@ export interface App {
35
35
  id: Id;
36
36
  runtime?: Runtime;
37
37
  licensing?: Licensing;
38
- connectKey?: ConnectKey;
38
+ connect?: Connect;
39
39
  }
40
40
  /**
41
41
  * Options related to the Forge Javascript runtime.
@@ -49,3 +49,13 @@ export interface Runtime {
49
49
  export interface Licensing {
50
50
  enabled: Enabled;
51
51
  }
52
+ /**
53
+ * Connect Configuration for the forge app.
54
+ */
55
+ export interface Connect {
56
+ key: Key;
57
+ /**
58
+ * A key for the remote, which other modules can refer to. Must be unique within the manifest and have a maximum of 23 characters.
59
+ */
60
+ remote?: string;
61
+ }