@forge/cli-shared 9.7.0-next.2 → 9.7.0-next.20

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,121 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 9.7.0-next.20
4
+
5
+ ### Patch Changes
6
+
7
+ - fb0dbe8: Global app installs no longer mark connections as linked, so you can connect the same Atlassian app or platform tool more than once (for example, multiple Jira sites).
8
+
9
+ ## 9.7.0-next.19
10
+
11
+ ### Patch Changes
12
+
13
+ - 608da16: Align GraphQL dependency ranges with the workspace root to fix dependency linking.
14
+
15
+ ## 9.7.0-next.18
16
+
17
+ ### Minor Changes
18
+
19
+ - cf81630: Wire up global apps installer into existing flow for EAP
20
+
21
+ ### Patch Changes
22
+
23
+ - c0b2b2a: Support global apps install for app-id-override flag
24
+
25
+ ## 9.7.0-next.17
26
+
27
+ ### Patch Changes
28
+
29
+ - 797ac88: Add tests for manual packaging
30
+
31
+ ## 9.7.0-next.16
32
+
33
+ ### Patch Changes
34
+
35
+ - 78af9a2: Always bundle the Node runtime loader, removing the forge-cli-bundle-runtime-loader feature gate
36
+
37
+ ## 9.7.0-next.15
38
+
39
+ ### Patch Changes
40
+
41
+ - Updated dependencies [2d36913]
42
+ - @forge/manifest@13.6.0-next.2
43
+
44
+ ## 9.7.0-next.14
45
+
46
+ ### Minor Changes
47
+
48
+ - 4740d03: Add new controller and ui to support global install flow EAP
49
+
50
+ ## 9.7.0-next.13
51
+
52
+ ### Patch Changes
53
+
54
+ - Updated dependencies [ce74751]
55
+ - @forge/manifest@13.5.1-next.1
56
+
57
+ ## 9.7.0-next.12
58
+
59
+ ### Minor Changes
60
+
61
+ - a384019: Add identity client for listing orgs and units
62
+
63
+ ## 9.7.0-next.11
64
+
65
+ ### Patch Changes
66
+
67
+ - b090628: Add new empty spinner for long loading
68
+
69
+ ## 9.7.0-next.10
70
+
71
+ ### Patch Changes
72
+
73
+ - 385ac1a: Adding new UI text to support global apps EAP
74
+
75
+ ## 9.7.0-next.9
76
+
77
+ ### Minor Changes
78
+
79
+ - 988dff5: Replace the `--shard` option on the `forge show` commands with `--placement`, which takes a bare placement ID such as `ic-dr6` or `us-east-1`. The `appContainerServices` query now filters on `PLACEMENT` using a fully qualified `EcosystemAppPlacementAri`, with the placement type derived from the ID.
80
+
81
+ ## 9.7.0-next.8
82
+
83
+ ### Minor Changes
84
+
85
+ - 9d391ab: `forge show services` and `forge show containers` now read every placement the app is deployed to, by paginating the `appContainerServices` query instead of reading only the first placement. Both commands report which placement each service and container runs in, so a service deployed to more than one placement is no longer collapsed into a single row.
86
+
87
+ ## 9.7.0-next.7
88
+
89
+ ### Minor Changes
90
+
91
+ - 82730f2: Added container services to version details tables, interactive property selection, version summaries, and comparison tables.
92
+
93
+ ## 9.7.0-next.6
94
+
95
+ ### Patch Changes
96
+
97
+ - 93f4631: Improved artifact too large error messages to include limits
98
+
99
+ ## 9.7.0-next.5
100
+
101
+ ### Patch Changes
102
+
103
+ - 56fd47c: Bumping dependencies via Renovate:
104
+
105
+ - @graphql-tools/schema
106
+
107
+ ## 9.7.0-next.4
108
+
109
+ ### Patch Changes
110
+
111
+ - b77e195: Improved rendering performance for multiline tables, including `forge version compare`.
112
+
113
+ ## 9.7.0-next.3
114
+
115
+ ### Patch Changes
116
+
117
+ - ea3b2ba: Implement error message for deployment failure due to exceededing file size for skill directory
118
+
3
119
  ## 9.7.0-next.2
4
120
 
5
121
  ### Patch Changes
package/out/ari/ari.d.ts CHANGED
@@ -6,7 +6,12 @@ export declare const INSTALLATION_RESOURCE_TYPE = "installation";
6
6
  export declare const UNIT_RESOURCE_TYPE = "unit";
7
7
  export declare const TRELLO_RESOURCE_OWNER = "trello";
8
8
  export declare const BITBUCKET_RESOURCE_OWNER = "bitbucket";
9
+ export declare const APP_PLACEMENT_RESOURCE_TYPE = "app-placement";
10
+ export declare const ISOLATION_CONTEXT_PLACEMENT_TYPE = "isolation-context";
11
+ export declare const REGION_PLACEMENT_TYPE = "region";
9
12
  export declare function appIdToAriString(appId: string): string;
13
+ export declare function placementIdToPlacementType(placementId: string): string;
14
+ export declare function placementIdToAriString(placementId: string): string;
10
15
  export declare function buildContextAri(cloudId: string, product: string): Ari;
11
16
  export declare function buildExtensionAri(appId: string, environmentId: string, functionKey: string): Ari;
12
17
  export declare function encodeContext(context: Ari, extension: Ari): string;
@@ -1 +1 @@
1
- {"version":3,"file":"ari.d.ts","sourceRoot":"","sources":["../../src/ari/ari.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,GAAG,EACH,mBAAmB,EACnB,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,0BAA0B,CAAC;AAIlC,eAAO,MAAM,kBAAkB,SAAS,CAAC;AACzC,eAAO,MAAM,uBAAuB,cAAc,CAAC;AACnD,eAAO,MAAM,4BAA4B,mBAAmB,CAAC;AAC7D,eAAO,MAAM,0BAA0B,iBAAiB,CAAC;AACzD,eAAO,MAAM,kBAAkB,SAAS,CAAC;AACzC,eAAO,MAAM,qBAAqB,WAAW,CAAC;AAC9C,eAAO,MAAM,wBAAwB,cAAc,CAAC;AAEpD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEtD;AAID,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,GAAG,CAMrE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,GAAG,CAMhG;AAGD,wBAAgB,aAAa,CAAC,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,GAAG,MAAM,CAKlE;AACD,qBAAa,iCAAkC,SAAQ,KAAK;;CAI3D;AACD,qBAAa,sCAAuC,SAAQ,KAAK;;CAIhE;AACD,qBAAa,yCAA0C,SAAQ,KAAK;;CAInE;AASD,wBA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AAE,GAAG,EAAE,SAAS,EAAE,GAAG,GAAG,MAAM,CAKlE;AACD,qBAAa,iCAAkC,SAAQ,KAAK;;CAI3D;AACD,qBAAa,sCAAuC,SAAQ,KAAK;;CAIhE;AACD,qBAAa,yCAA0C,SAAQ,KAAK;;CAInE;AASD,wBAAgB,wBAAwB,CAAC,mBAAmB,EAAE,MAAM,GAAG,MAAM,CAmC5E;AAGD,eAAO,MAAM,2BAA2B;mBACvB,MAAM,gBAAgB,MAAM;yBACtB,MAAM,gBAAgB,MAAM;sBAC/B,MAAM,eAAe,MAAM;qBAC5B,MAAM,eAAe,MAAM;CAC7C,CAAC"}
package/out/ari/ari.js CHANGED
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createWorkspaceAriByProduct = exports.UnknownInstallationWithoutResourceIdError = exports.UnknownWorkspaceWithoutResourceIdError = exports.UnknownSiteWithoutResourceIdError = exports.BITBUCKET_RESOURCE_OWNER = exports.TRELLO_RESOURCE_OWNER = exports.UNIT_RESOURCE_TYPE = exports.INSTALLATION_RESOURCE_TYPE = exports.WORKSPACE_USER_RESOURCE_TYPE = exports.WORKSPACE_RESOURCE_TYPE = exports.SITE_RESOURCE_TYPE = void 0;
3
+ exports.createWorkspaceAriByProduct = exports.UnknownInstallationWithoutResourceIdError = exports.UnknownWorkspaceWithoutResourceIdError = exports.UnknownSiteWithoutResourceIdError = exports.REGION_PLACEMENT_TYPE = exports.ISOLATION_CONTEXT_PLACEMENT_TYPE = exports.APP_PLACEMENT_RESOURCE_TYPE = exports.BITBUCKET_RESOURCE_OWNER = exports.TRELLO_RESOURCE_OWNER = exports.UNIT_RESOURCE_TYPE = exports.INSTALLATION_RESOURCE_TYPE = exports.WORKSPACE_USER_RESOURCE_TYPE = exports.WORKSPACE_RESOURCE_TYPE = exports.SITE_RESOURCE_TYPE = void 0;
4
4
  exports.appIdToAriString = appIdToAriString;
5
+ exports.placementIdToPlacementType = placementIdToPlacementType;
6
+ exports.placementIdToAriString = placementIdToAriString;
5
7
  exports.buildContextAri = buildContextAri;
6
8
  exports.buildExtensionAri = buildExtensionAri;
7
9
  exports.encodeContext = encodeContext;
@@ -16,9 +18,19 @@ exports.INSTALLATION_RESOURCE_TYPE = 'installation';
16
18
  exports.UNIT_RESOURCE_TYPE = 'unit';
17
19
  exports.TRELLO_RESOURCE_OWNER = 'trello';
18
20
  exports.BITBUCKET_RESOURCE_OWNER = 'bitbucket';
21
+ exports.APP_PLACEMENT_RESOURCE_TYPE = 'app-placement';
22
+ exports.ISOLATION_CONTEXT_PLACEMENT_TYPE = 'isolation-context';
23
+ exports.REGION_PLACEMENT_TYPE = 'region';
24
+ const ISOLATION_CONTEXT_ID_PATTERN = /^ic-[a-z0-9]+$/;
19
25
  function appIdToAriString(appId) {
20
26
  return `ari:cloud:ecosystem::app/${appId}`;
21
27
  }
28
+ function placementIdToPlacementType(placementId) {
29
+ return ISOLATION_CONTEXT_ID_PATTERN.test(placementId) ? exports.ISOLATION_CONTEXT_PLACEMENT_TYPE : exports.REGION_PLACEMENT_TYPE;
30
+ }
31
+ function placementIdToAriString(placementId) {
32
+ return `ari:cloud:ecosystem::${exports.APP_PLACEMENT_RESOURCE_TYPE}/${placementIdToPlacementType(placementId)}/${placementId}`;
33
+ }
22
34
  function buildContextAri(cloudId, product) {
23
35
  return ari_1.AnyAri.create({
24
36
  resourceOwner: (0, shared_1.ariResourceOwner)(product),