@forge/cli-shared 9.7.0-next.1 → 9.7.0-next.10

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,61 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 9.7.0-next.10
4
+
5
+ ### Patch Changes
6
+
7
+ - 385ac1a: Adding new UI text to support global apps EAP
8
+
9
+ ## 9.7.0-next.9
10
+
11
+ ### Minor Changes
12
+
13
+ - 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.
14
+
15
+ ## 9.7.0-next.8
16
+
17
+ ### Minor Changes
18
+
19
+ - 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.
20
+
21
+ ## 9.7.0-next.7
22
+
23
+ ### Minor Changes
24
+
25
+ - 82730f2: Added container services to version details tables, interactive property selection, version summaries, and comparison tables.
26
+
27
+ ## 9.7.0-next.6
28
+
29
+ ### Patch Changes
30
+
31
+ - 93f4631: Improved artifact too large error messages to include limits
32
+
33
+ ## 9.7.0-next.5
34
+
35
+ ### Patch Changes
36
+
37
+ - 56fd47c: Bumping dependencies via Renovate:
38
+
39
+ - @graphql-tools/schema
40
+
41
+ ## 9.7.0-next.4
42
+
43
+ ### Patch Changes
44
+
45
+ - b77e195: Improved rendering performance for multiline tables, including `forge version compare`.
46
+
47
+ ## 9.7.0-next.3
48
+
49
+ ### Patch Changes
50
+
51
+ - ea3b2ba: Implement error message for deployment failure due to exceededing file size for skill directory
52
+
53
+ ## 9.7.0-next.2
54
+
55
+ ### Patch Changes
56
+
57
+ - 2a491b9: Increase the timeout for deployment artifact and hosted resource uploads from 30s to 5 minutes.
58
+
3
59
  ## 9.7.0-next.1
4
60
 
5
61
  ### 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,C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AC,WAAW,EAAE,MAAM,GAAG,MAAM,CAEtE;AAMD,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAIlE;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,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),