@forge/manifest 13.5.0-next.1 → 13.5.0-next.2-experimental-6664e2b

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,25 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 13.5.0-next.2-experimental-6664e2b
4
+
5
+ ### Minor Changes
6
+
7
+ - 4ceb09f: Allow all optional contexts for global apps EAP
8
+
9
+ ### Patch Changes
10
+
11
+ - 28b74f6: Remove manifest test until app host artifacts deployment
12
+ - 07cdf11: Fix manifest validation
13
+ - 0a75004: Update manifest definitions
14
+ - 150a3c5: Update manifest definitions
15
+
16
+ ## 13.5.0-next.2
17
+
18
+ ### Patch Changes
19
+
20
+ - 28b74f6: Remove manifest test until app host artifacts deployment
21
+ - 0a75004: Update manifest definitions
22
+
3
23
  ## 13.5.0-next.1
4
24
 
5
25
  ### Patch Changes
@@ -56,7 +56,6 @@
56
56
  "title": "compatibility",
57
57
  "description": "The app compatibility configuration. If not set, app is not a cross-context or global app.",
58
58
  "additionalProperties": false,
59
- "minProperties": 1,
60
59
  "properties": {
61
60
  "confluence": {
62
61
  "type": "object",
@@ -56,7 +56,6 @@
56
56
  "title": "compatibility",
57
57
  "description": "The app compatibility configuration. If not set, app is not a cross-context or global app.",
58
58
  "additionalProperties": false,
59
- "minProperties": 1,
60
59
  "properties": {
61
60
  "confluence": {
62
61
  "type": "object",
@@ -2764,8 +2763,7 @@
2764
2763
  "enum": [
2765
2764
  "inline",
2766
2765
  "block",
2767
- "bodied",
2768
- "inline-bodied"
2766
+ "bodied"
2769
2767
  ],
2770
2768
  "type": "string",
2771
2769
  "default": "block"
@@ -12863,7 +12863,7 @@ export interface Modules {
12863
12863
  };
12864
12864
  render?: 'native' | 'default';
12865
12865
  renderRuntimeType?: 'webworker' | 'iframe';
12866
- layout?: 'inline' | 'block' | 'bodied' | 'inline-bodied';
12866
+ layout?: 'inline' | 'block' | 'bodied';
12867
12867
  emitsReadyEvent?: boolean;
12868
12868
  hidden?: boolean;
12869
12869
  key: ModuleKeySchema;
@@ -13210,7 +13210,7 @@ export interface Modules {
13210
13210
  };
13211
13211
  render?: 'native' | 'default';
13212
13212
  renderRuntimeType?: 'webworker' | 'iframe';
13213
- layout?: 'inline' | 'block' | 'bodied' | 'inline-bodied';
13213
+ layout?: 'inline' | 'block' | 'bodied';
13214
13214
  emitsReadyEvent?: boolean;
13215
13215
  hidden?: boolean;
13216
13216
  key: ModuleKeySchema;
@@ -288,7 +288,7 @@ exports.errors = {
288
288
  invalidConfluenceModuleInJira: () => 'Using the module `confluence:fullPage` is invalid when the required product is Jira. Full page modules must match the required product. Use `jira:fullPage` as the module type, or change the required product to Confluence in your manifest.yml compatibility settings.',
289
289
  invalidJiraModuleInConfluence: () => 'Using the module `jira:fullPage` is invalid when the required product is Confluence. Full page modules must match the required product. Use `confluence:fullPage` as the module type, or change the required product to Jira in your manifest.yml compatibility settings.',
290
290
  invalidProduct: (product) => `Invalid product '${product}' in app.compatibility. Only 'jira' and 'confluence' are supported as compatibility products for this module.`,
291
- oneRequiredContext: () => 'One context (Jira, Confluence, or Compass) must have `required:true` in app.compatibility.'
291
+ oneRequiredContext: () => 'Only one context (Jira, Confluence, or Compass) must have `required:true` in app.compatibility.'
292
292
  }
293
293
  },
294
294
  translations: {
@@ -18,7 +18,7 @@ class CompatibilityValidator {
18
18
  const compatibility = app?.compatibility || {};
19
19
  const hasCompatibilityKeys = Object.keys(compatibility).length > 0;
20
20
  const requiredContexts = Object.keys(compatibility).filter((key) => compatibility[key]?.required === true);
21
- if (hasCompatibilityKeys && requiredContexts.length !== 1) {
21
+ if (hasCompatibilityKeys && requiredContexts.length > 1) {
22
22
  validationErrors.push({
23
23
  message: text_1.errors.app.compatibility.oneRequiredContext(),
24
24
  reference: text_2.References.SchemaError,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "13.5.0-next.1",
3
+ "version": "13.5.0-next.2-experimental-6664e2b",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {