@forge/cli-shared 9.8.0-next.9 → 9.8.0

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,96 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 9.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 879bdfe: `forge webtrigger create`, `list` and `delete` can now route installation-scoped GraphQL requests through the installation's site gateway (`https://<site>/gateway/api/graphql`) instead of the global gateway. This is enabled only when `FORGE_GRAPHQL_GATEWAY=https://api-private.stg.atlassian.com/graphql` and `FORGE_BLUEBIRD_ENABLED=true` are set.
8
+ - 0700ef3: Removed the ECR fallback when pulling the Forge tunnel proxy-sidecar image. Tunnel now pulls that image only from the portable registry.
9
+ - 5ca5f14: Display a deprecation warning on `forge deploy` and `forge install` when the app uses the confluence:fullPage or jira:fullPage module, recommending global:fullPage instead
10
+ - a68050a: Removed the TypeScript bundler EAP. Use manual packaging instead, running `tsc` or another compiler yourself.
11
+
12
+ ### Patch Changes
13
+
14
+ - 0df8dc0: Allow app.compatibility.bitbucket with required: false in the manifest schema template.
15
+ - 0b5d453: Compile workspace packages with module/moduleResolution nodenext. Packages still emit CommonJS, aligned with the CLI’s Node 22+ runtime.
16
+
17
+ Drop package-root TypeScript paths aliases in favour of package.json exports and barrel files. @forge/kvs now exports QueryBuilderOptions from the package root. @forge/manifest publishes a types-only @forge/manifest/schema subpath.
18
+
19
+ - 1456635: Bumping dependencies via Renovate:
20
+
21
+ - adm-zip
22
+ - @types/adm-zip
23
+
24
+ - 07e2daa: Bumping dependencies
25
+
26
+ - @vercel/detect-agent\
27
+ - @babel/core
28
+ - @babel/parser
29
+ - @babel/plugin-transform-class-properties
30
+ - @babel/plugin-transform-class-static-block
31
+ - @babel/plugin-transform-numeric-separator
32
+ - @babel/plugin-transform-optional-chaining
33
+ - @babel/plugin-transform-react-jsx
34
+ - @babel/traverse
35
+ - @babel/types
36
+
37
+ - f08d968: Consolidate `forge tunnel`'s local Container Services artifacts (`.services/` and `.container-service-assets/`) under the existing `.forge/` directory, so tunnelling only ever adds a single hidden directory to the project root instead of two/three separate ones.
38
+ - Updated dependencies [0df8dc0]
39
+ - Updated dependencies [0b5d453]
40
+ - Updated dependencies [0746937]
41
+ - Updated dependencies [e17be5e]
42
+ - Updated dependencies [a29bf94]
43
+ - Updated dependencies [272d0f3]
44
+ - Updated dependencies [a68050a]
45
+ - Updated dependencies [2aaf0c4]
46
+ - Updated dependencies [f3dfbe6]
47
+ - Updated dependencies [678b8c9]
48
+ - @forge/manifest@13.7.0
49
+
50
+ ## 9.8.0-next.14
51
+
52
+ ### Patch Changes
53
+
54
+ - Updated dependencies [678b8c9]
55
+ - @forge/manifest@13.7.0-next.8
56
+
57
+ ## 9.8.0-next.13
58
+
59
+ ### Minor Changes
60
+
61
+ - 5ca5f14: Display a deprecation warning on `forge deploy` and `forge install` when the app uses the confluence:fullPage or jira:fullPage module, recommending global:fullPage instead
62
+
63
+ ## 9.8.0-next.12
64
+
65
+ ### Patch Changes
66
+
67
+ - 0df8dc0: Allow app.compatibility.bitbucket with required: false in the manifest schema template.
68
+ - Updated dependencies [0df8dc0]
69
+ - @forge/manifest@13.7.0-next.7
70
+
71
+ ## 9.8.0-next.11
72
+
73
+ ### Patch Changes
74
+
75
+ - 07e2daa: Bumping dependencies
76
+
77
+ - @vercel/detect-agent\
78
+ - @babel/core
79
+ - @babel/parser
80
+ - @babel/plugin-transform-class-properties
81
+ - @babel/plugin-transform-class-static-block
82
+ - @babel/plugin-transform-numeric-separator
83
+ - @babel/plugin-transform-optional-chaining
84
+ - @babel/plugin-transform-react-jsx
85
+ - @babel/traverse
86
+ - @babel/types
87
+
88
+ ## 9.8.0-next.10
89
+
90
+ ### Minor Changes
91
+
92
+ - 879bdfe: `forge webtrigger create`, `list` and `delete` can now route installation-scoped GraphQL requests through the installation's site gateway (`https://<site>/gateway/api/graphql`) instead of the global gateway. This is enabled only when `FORGE_GRAPHQL_GATEWAY=https://api-private.stg.atlassian.com/graphql` and `FORGE_BLUEBIRD_ENABLED=true` are set.
93
+
3
94
  ## 9.8.0-next.9
4
95
 
5
96
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"get-app-owner.d.ts","sourceRoot":"","sources":["../../src/apps/get-app-owner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA4B,MAAM,YAAY,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,qBAAa,oBAAqB,SAAQ,KAAK;;CAI9C;AAED,eAAO,MAAM,aAAa;QAuCmplvG,8CAAc;GA9BzrlvG,CAAC;AAEH,qBAAa,gBAAgB;IAEzB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBADZ,aAAa,EAAE,aAAa,EAC5B,YAAY,EAAE,iBAAiB;IAGrC,OAAO;;;;;;;;;;;;;YAMN,WAAW;CAe1B"}
1
+ {"version":3,"file":"get-app-owner.d.ts","sourceRoot":"","sources":["../../src/apps/get-app-owner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA4B,MAAM,YAAY,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,qBAAa,oBAAqB,SAAQ,KAAK;;CAI9C;AAED,eAAO,MAAM,aAAa;QAuCgn9wG,8CAAc;GA9Btp9wG,CAAC;AAEH,qBAAa,gBAAgB;IAEzB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBADZ,aAAa,EAAE,aAAa,EAC5B,YAAY,EAAE,iBAAiB;IAGrC,OAAO;;;;;;;;;;;;;YAMN,WAAW;CAe1B"}
@@ -21,6 +21,8 @@ export interface ResourceDetails extends Resource {
21
21
  resourceType: UIResourceType;
22
22
  }
23
23
  export declare function findUIKit1Modules(modules: Modules): string[];
24
+ export declare const DEPRECATED_FULL_PAGE_MODULES: string[];
25
+ export declare function findDeprecatedFullPageModules(modules: Modules): string[];
24
26
  export declare class ConfigFile implements ConfigReader, ConfigWriter, ConfigInteractor {
25
27
  private readonly fileReader;
26
28
  private readonly fileWriter;
@@ -1 +1 @@
1
- {"version":3,"file":"config-file.d.ts","sourceRoot":"","sources":["../../src/config/config-file.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGpE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAoB,MAAM,IAAI,CAAC;AAGlE,OAAO,EACL,OAAO,EACP,cAAc,EACd,SAAS,EAOV,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EAAE,SAAS,EAAE,eAAe,EAAQ,MAAM,WAAW,CAAC;AAE7D,qBAAa,oBAAqB,SAAQ,eAAe;;CAIxD;AAED,qBAAa,8BAA+B,SAAQ,SAAS;gBAC/C,SAAS,EAAE,MAAM,EAAE;CAGhC;AAED,MAAM,WAAW,OAAO;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,cAAc,IAAI,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;CAC3C;AAED,MAAM,MAAM,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AACpC,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;AACjE,MAAM,WAAW,eAAgB,SAAQ,QAAQ;IAC/C,YAAY,EAAE,cAAc,CAAC;CAC9B;AAgBD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE,CA6D5D;AAED,qBAAa,UAAW,YAAW,YAAY,EAAE,YAAY,EAAE,gBAAgB;IAG3E,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,UAAU;IAH7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,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAKvD,OAAO,CAAC,kBAAkB;IAoBb,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAajE,OAAO,CAAC,aAAa;IAIR,iBAAiB,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAe1G,OAAO,CAAC,wBAAwB;IAKhC,OAAO,CAAC,wBAAwB;IAkBhC,OAAO,CAAC,6BAA6B;IAkBrC,OAAO,CAAC,gBAAgB;IAIX,oBAAoB,IAAI,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;KAAE,EAAE,CAAC;IAqClF,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAe1E,YAAY,CAAC,aAAa,CAAC,EAAE,cAAc,EAAE,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC;IAsB1E,aAAa,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAKzD,OAAO,CAAC,eAAe;CAkCxB"}
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ConfigFile = exports.ResourceDefinitionMissingError = exports.InvalidManifestError = void 0;
3
+ exports.ConfigFile = exports.DEPRECATED_FULL_PAGE_MODULES = exports.ResourceDefinitionMissingError = exports.InvalidManifestError = void 0;
4
4
  exports.findUIKit1Modules = findUIKit1Modules;
5
+ exports.findDeprecatedFullPageModules = findDeprecatedFullPageModules;
5
6
  const tslib_1 = require("tslib");
6
7
  const yaml_1 = require("yaml");
7
8
  const ui_1 = require("../ui");
@@ -90,6 +91,13 @@ function findUIKit1Modules(modules) {
90
91
  .flat()
91
92
  .filter((a) => a);
92
93
  }
94
+ exports.DEPRECATED_FULL_PAGE_MODULES = ['confluence:fullPage', 'jira:fullPage'];
95
+ function findDeprecatedFullPageModules(modules) {
96
+ return exports.DEPRECATED_FULL_PAGE_MODULES.filter((moduleType) => {
97
+ const moduleItems = modules[moduleType] || [];
98
+ return moduleItems.length > 0;
99
+ });
100
+ }
93
101
  class ConfigFile {
94
102
  fileReader;
95
103
  fileWriter;
@@ -1,5 +1,8 @@
1
1
  export declare const DEFAULT_GRAPHQL_GATEWAY = "https://api.atlassian.com/graphql";
2
2
  export declare const getGraphqlGateway: () => string;
3
+ export declare const STAGING_PRIVATE_GRAPHQL_GATEWAY = "https://api-private.stg.atlassian.com/graphql";
4
+ export declare const isBluebirdEnabled: () => boolean;
5
+ export declare const isPathBasedRoutingEnabled: () => boolean;
3
6
  export declare enum Environments {
4
7
  DEV = "dev",
5
8
  STG = "staging",
@@ -1 +1 @@
1
- {"version":3,"file":"gateway.d.ts","sourceRoot":"","sources":["../../src/graphql/gateway.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,uBAAuB,sCAAsC,CAAC;AAE3E,eAAO,MAAM,iBAAiB,QAAO,MAEpC,CAAC;AAEF,oBAAY,YAAY;IACtB,GAAG,QAAQ;IACX,GAAG,YAAY;IACf,IAAI,SAAS;IACb,wBAAwB,iBAAiB;IACzC,qBAAqB,cAAc;CACpC;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,OAAO,YAAY,EAAE,MAAM,CAAC,CAAC;AAE3E,oBAAY,eAAe;IACzB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,wBAAwB,iBAAiB;IACzC,qBAAqB,cAAc;CACpC;AAED,eAAO,MAAM,oBAAoB,GAAI,aAAY,kBAAiC,KAAG,MAgBpF,CAAC;AAEF,eAAO,MAAM,YAAY,QAAO,OAM/B,CAAC"}
1
+ {"version":3,"file":"gateway.d.ts","sourceRoot":"","sources":["../../src/graphql/gateway.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,uBAAuB,sCAAsC,CAAC;AAE3E,eAAO,MAAM,iBAAiB,QAAO,MAEpC,CAAC;AAEF,eAAO,MAAM,+BAA+B,kDAAkD,CAAC;AAE/F,eAAO,MAAM,iBAAiB,QAAO,OAEpC,CAAC;AAQF,eAAO,MAAM,yBAAyB,QAAO,OAE5C,CAAC;AAEF,oBAAY,YAAY;IACtB,GAAG,QAAQ;IACX,GAAG,YAAY;IACf,IAAI,SAAS;IACb,wBAAwB,iBAAiB;IACzC,qBAAqB,cAAc;CACpC;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,OAAO,YAAY,EAAE,MAAM,CAAC,CAAC;AAE3E,oBAAY,eAAe;IACzB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,wBAAwB,iBAAiB;IACzC,qBAAqB,cAAc;CACpC;AAED,eAAO,MAAM,oBAAoB,GAAI,aAAY,kBAAiC,KAAG,MAgBpF,CAAC;AAEF,eAAO,MAAM,YAAY,QAAO,OAM/B,CAAC"}
@@ -1,11 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isFedrampEnv = exports.getEnvironmentConfig = exports.CDNEnvironments = exports.Environments = exports.getGraphqlGateway = exports.DEFAULT_GRAPHQL_GATEWAY = void 0;
3
+ exports.isFedrampEnv = exports.getEnvironmentConfig = exports.CDNEnvironments = exports.Environments = exports.isPathBasedRoutingEnabled = exports.isBluebirdEnabled = exports.STAGING_PRIVATE_GRAPHQL_GATEWAY = exports.getGraphqlGateway = exports.DEFAULT_GRAPHQL_GATEWAY = void 0;
4
4
  exports.DEFAULT_GRAPHQL_GATEWAY = 'https://api.atlassian.com/graphql';
5
5
  const getGraphqlGateway = () => {
6
6
  return process.env.FORGE_GRAPHQL_GATEWAY || exports.DEFAULT_GRAPHQL_GATEWAY;
7
7
  };
8
8
  exports.getGraphqlGateway = getGraphqlGateway;
9
+ exports.STAGING_PRIVATE_GRAPHQL_GATEWAY = 'https://api-private.stg.atlassian.com/graphql';
10
+ const isBluebirdEnabled = () => {
11
+ return (process.env.FORGE_BLUEBIRD_ENABLED ?? '').trim().toLowerCase() === 'true';
12
+ };
13
+ exports.isBluebirdEnabled = isBluebirdEnabled;
14
+ const isPathBasedRoutingEnabled = () => {
15
+ return (0, exports.getGraphqlGateway)().trim() === exports.STAGING_PRIVATE_GRAPHQL_GATEWAY && (0, exports.isBluebirdEnabled)();
16
+ };
17
+ exports.isPathBasedRoutingEnabled = isPathBasedRoutingEnabled;
9
18
  var Environments;
10
19
  (function (Environments) {
11
20
  Environments["DEV"] = "dev";