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

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,132 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 9.7.0-next.21
4
+
5
+ ### Minor Changes
6
+
7
+ - e7dc317: Warn when Teamwork Graph API usage is detected without graph scopes in the manifest, with guidance to review scope documentation. The warning does not block builds or automatically add scopes.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [e7dc317]
12
+ - @forge/manifest@13.6.0-next.3
13
+
14
+ ## 9.7.0-next.20
15
+
16
+ ### Patch Changes
17
+
18
+ - 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).
19
+
20
+ ## 9.7.0-next.19
21
+
22
+ ### Patch Changes
23
+
24
+ - 608da16: Align GraphQL dependency ranges with the workspace root to fix dependency linking.
25
+
26
+ ## 9.7.0-next.18
27
+
28
+ ### Minor Changes
29
+
30
+ - cf81630: Wire up global apps installer into existing flow for EAP
31
+
32
+ ### Patch Changes
33
+
34
+ - c0b2b2a: Support global apps install for app-id-override flag
35
+
36
+ ## 9.7.0-next.17
37
+
38
+ ### Patch Changes
39
+
40
+ - 797ac88: Add tests for manual packaging
41
+
42
+ ## 9.7.0-next.16
43
+
44
+ ### Patch Changes
45
+
46
+ - 78af9a2: Always bundle the Node runtime loader, removing the forge-cli-bundle-runtime-loader feature gate
47
+
48
+ ## 9.7.0-next.15
49
+
50
+ ### Patch Changes
51
+
52
+ - Updated dependencies [2d36913]
53
+ - @forge/manifest@13.6.0-next.2
54
+
55
+ ## 9.7.0-next.14
56
+
57
+ ### Minor Changes
58
+
59
+ - 4740d03: Add new controller and ui to support global install flow EAP
60
+
61
+ ## 9.7.0-next.13
62
+
63
+ ### Patch Changes
64
+
65
+ - Updated dependencies [ce74751]
66
+ - @forge/manifest@13.5.1-next.1
67
+
68
+ ## 9.7.0-next.12
69
+
70
+ ### Minor Changes
71
+
72
+ - a384019: Add identity client for listing orgs and units
73
+
74
+ ## 9.7.0-next.11
75
+
76
+ ### Patch Changes
77
+
78
+ - b090628: Add new empty spinner for long loading
79
+
80
+ ## 9.7.0-next.10
81
+
82
+ ### Patch Changes
83
+
84
+ - 385ac1a: Adding new UI text to support global apps EAP
85
+
86
+ ## 9.7.0-next.9
87
+
88
+ ### Minor Changes
89
+
90
+ - 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.
91
+
92
+ ## 9.7.0-next.8
93
+
94
+ ### Minor Changes
95
+
96
+ - 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.
97
+
98
+ ## 9.7.0-next.7
99
+
100
+ ### Minor Changes
101
+
102
+ - 82730f2: Added container services to version details tables, interactive property selection, version summaries, and comparison tables.
103
+
104
+ ## 9.7.0-next.6
105
+
106
+ ### Patch Changes
107
+
108
+ - 93f4631: Improved artifact too large error messages to include limits
109
+
110
+ ## 9.7.0-next.5
111
+
112
+ ### Patch Changes
113
+
114
+ - 56fd47c: Bumping dependencies via Renovate:
115
+
116
+ - @graphql-tools/schema
117
+
118
+ ## 9.7.0-next.4
119
+
120
+ ### Patch Changes
121
+
122
+ - b77e195: Improved rendering performance for multiline tables, including `forge version compare`.
123
+
124
+ ## 9.7.0-next.3
125
+
126
+ ### Patch Changes
127
+
128
+ - ea3b2ba: Implement error message for deployment failure due to exceededing file size for skill directory
129
+
3
130
  ## 9.7.0-next.2
4
131
 
5
132
  ### 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,wB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AAC,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),