@forge/manifest 0.0.0-experimental-d3a39c9 → 0.0.0-experimental-9fff5da

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 +215 -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 +1 -1
  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,233 @@
1
1
  # @forge/manifest
2
2
 
3
- ## 0.0.0-experimental-d3a39c9
3
+ ## 0.0.0-experimental-9fff5da
4
+
5
+ ### Patch Changes
6
+
7
+ - 371b667: Update manifest definitions
8
+ - 8f2701f: Update manifest definitions
9
+ - 371335d: Update manifest definitions
10
+ - 2809af6: Update manifest definitions
11
+
12
+ ## 2.2.1-next.0
13
+
14
+ ### Patch Changes
15
+
16
+ - 2809af6: Update manifest definitions
17
+
18
+ ## 2.2.0
19
+
20
+ ### Minor Changes
21
+
22
+ - 3e56133: replace hardcoded scopes with shipyard poller artifacts
23
+ - 4acce41: Allow both Dynamic and Static profile retrievers in External Auth
24
+
25
+ ### Patch Changes
26
+
27
+ - a98977f: Add manifest validation for search aliases in Jira custom fields
28
+ - 0d25702: Update manifest definitions
29
+ - cc9264b: Update manifest definitions
30
+ - f7402cd: Update manifest definitions
31
+ - 7650b85: Update manifest definitions
32
+ - 22e7ed8: Update manifest definitions
33
+ - 0e18c6b: Update manifest definitions
34
+ - edaa58e: Update manifest definitions
35
+ - 69007db: Update manifest definitions
36
+
37
+ ## 2.2.0-next.5
38
+
39
+ ### Patch Changes
40
+
41
+ - f7402cd: Update manifest definitions
42
+
43
+ ## 2.2.0-next.4
44
+
45
+ ### Patch Changes
46
+
47
+ - 22e7ed8: Update manifest definitions
48
+
49
+ ## 2.2.0-next.3
50
+
51
+ ### Minor Changes
52
+
53
+ - 3e56133: replace hardcoded scopes with shipyard poller artifacts
54
+
55
+ ### Patch Changes
56
+
57
+ - cc9264b: Update manifest definitions
58
+ - edaa58e: Update manifest definitions
59
+
60
+ ## 2.2.0-next.2
61
+
62
+ ### Minor Changes
63
+
64
+ - 4acce41: Allow both Dynamic and Static profile retrievers in External Auth
65
+
66
+ ### Patch Changes
67
+
68
+ - 0e18c6b: Update manifest definitions
69
+ - 69007db: Update manifest definitions
70
+
71
+ ## 2.2.0-next.1
72
+
73
+ ### Minor Changes
74
+
75
+ - 9a10349: replace hardcoded scopes with shipyard poller artifacts
76
+
77
+ ### Patch Changes
78
+
79
+ - 0d25702: Update manifest definitions
80
+ - 7650b85: Update manifest definitions
81
+
82
+ ## 2.1.1-next.0
83
+
84
+ ### Patch Changes
85
+
86
+ - a98977f: Add manifest validation for search aliases in Jira custom fields
87
+
88
+ ## 2.1.0
89
+
90
+ ### Minor Changes
91
+
92
+ - 61ee941: Added core:consumer to module types for manifest validation
93
+ - 7058989: Add Connect module types
94
+ - a5797b3: Added compass as a supported product on the CLI
95
+ - fcfbc09: Adding connect moduled to manifest
96
+
97
+ ### Patch Changes
98
+
99
+ - 0ecb62b: Update manifest definitions
100
+ - 8ca3512: Update manifest definitions
101
+ - bb69754: Update manifest definitions
102
+ - f3c58fb: Update manifest definitions
103
+ - 35d4e6e: Update manifest definitions
104
+
105
+ ## 2.1.0-next.5
106
+
107
+ ### Patch Changes
108
+
109
+ - bb69754: Update manifest definitions
110
+
111
+ ## 2.1.0-next.4
112
+
113
+ ### Minor Changes
114
+
115
+ - 7058989: Add Connect module types
116
+ - fcfbc09: Adding connect moduled to manifest
117
+
118
+ ### Patch Changes
119
+
120
+ - 35d4e6e: Update manifest definitions
121
+
122
+ ## 2.1.0-next.3
123
+
124
+ ### Minor Changes
125
+
126
+ - 61ee941: Added core:consumer to module types for manifest validation
127
+
128
+ ## 2.1.0-next.2
129
+
130
+ ### Patch Changes
131
+
132
+ - 8ca3512: Update manifest definitions
133
+
134
+ ## 2.1.0-next.1
135
+
136
+ ### Minor Changes
137
+
138
+ - a5797b3: Added compass as a supported product on the CLI
139
+
140
+ ## 2.0.1-next.0
141
+
142
+ ### Patch Changes
143
+
144
+ - f3c58fb: Update manifest definitions
145
+
146
+ ## 2.0.0
147
+
148
+ ### Major Changes
149
+
150
+ - 3b12caf: Add `app.connect` configuration in the manifest, drop `app.connectKey`
151
+ property.
152
+
153
+ If your app’s manifest has the `app.connectKey` property, please delete it and set the key via `app.connect.key`.
154
+ You will also need to set `app.connect.remote` to equal the key of your `remotes` entry that holds your connect baseUrl.
4
155
 
5
156
  ### Minor Changes
6
157
 
7
158
  - ed3cb06: Remove name from the @forge/cli manifest and register/create commands
8
159
  - 88ee5f0: Adding External Auth
160
+ - 71ce55a: Adding new granular scopes for confluence and jira
161
+ - b0097a5: Adds Compass scopes to the list of valid scopes in the Forge manifest
162
+ - 89d91a8: Add jira:dashboardGadget module
9
163
 
10
164
  ### Patch Changes
11
165
 
166
+ - 117d2fd: Fix validation logic for schema deprecation warnings
167
+ - 527e29c: Update manifest definitions
12
168
  - 5082937: Update manifest definitions
13
169
  - 71d16dc: Update manifest definitions
170
+ - ee74076: Update manifest definitions
171
+ - e9bcadd: Update manifest definitions
14
172
  - 8acb251: Update manifest definitions
173
+ - 75f66a8: Update manifest definitions
15
174
  - be1b2be: Update manifest definitions
16
175
 
176
+ ## 2.0.0-next.10
177
+
178
+ ### Patch Changes
179
+
180
+ - e9bcadd: Update manifest definitions
181
+
182
+ ## 2.0.0-next.9
183
+
184
+ ### Patch Changes
185
+
186
+ - 117d2fd: Fix validation logic for schema deprecation warnings
187
+
188
+ ## 2.0.0-next.8
189
+
190
+ ### Major Changes
191
+
192
+ - 3b12caf: Add `app.connect` configuration in the manifest, drop `app.connectKey`
193
+ property.
194
+
195
+ If your app’s manifest has the `app.connectKey` property, please delete it and set the key via `app.connect.key`.
196
+ You will also need to set `app.connect.remote` to equal the key of your `remotes` entry that holds your connect baseUrl.
197
+
198
+ ## 1.6.0-next.7
199
+
200
+ ### Minor Changes
201
+
202
+ - 71ce55a: Adding new granular scopes for confluence and jira
203
+
204
+ ## 1.6.0-next.6
205
+
206
+ ### Patch Changes
207
+
208
+ - 527e29c: Update manifest definitions
209
+ - ee74076: Update manifest definitions
210
+
211
+ ## 1.6.0-next.5
212
+
213
+ ### Minor Changes
214
+
215
+ - b0097a5: Adds Compass scopes to the list of valid scopes in the Forge manifest
216
+
217
+ ### Patch Changes
218
+
219
+ - 75f66a8: Update manifest definitions
220
+
221
+ ## 1.6.0-next.4
222
+
223
+ ### Minor Changes
224
+
225
+ - 89d91a8: Add jira:dashboardGadget module
226
+
227
+ ### Patch Changes
228
+
229
+ - 8acb251: Update manifest definitions
230
+
17
231
  ## 1.6.0-next.3
18
232
 
19
233
  ### 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
+ }