@forge/cli-shared 9.8.0-next.9-experimental-e03cc85 → 9.8.1-next.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,14 +1,25 @@
1
1
  # @forge/cli-shared
2
2
 
3
- ## 9.8.0-next.9-experimental-e03cc85
3
+ ## 9.8.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 8b9c106: update transitive dependency brace-expansion 5.0.4 -> 5.0.12
8
+ - Updated dependencies [8b9c106]
9
+ - @forge/manifest@13.7.1-next.0
10
+
11
+ ## 9.8.0
4
12
 
5
13
  ### Minor Changes
6
14
 
15
+ - 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.
7
16
  - 0700ef3: Removed the ECR fallback when pulling the Forge tunnel proxy-sidecar image. Tunnel now pulls that image only from the portable registry.
17
+ - 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
8
18
  - a68050a: Removed the TypeScript bundler EAP. Use manual packaging instead, running `tsc` or another compiler yourself.
9
19
 
10
20
  ### Patch Changes
11
21
 
22
+ - 0df8dc0: Allow app.compatibility.bitbucket with required: false in the manifest schema template.
12
23
  - 0b5d453: Compile workspace packages with module/moduleResolution nodenext. Packages still emit CommonJS, aligned with the CLI’s Node 22+ runtime.
13
24
 
14
25
  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,7 +29,21 @@
18
29
  - adm-zip
19
30
  - @types/adm-zip
20
31
 
32
+ - 07e2daa: Bumping dependencies
33
+
34
+ - @vercel/detect-agent\
35
+ - @babel/core
36
+ - @babel/parser
37
+ - @babel/plugin-transform-class-properties
38
+ - @babel/plugin-transform-class-static-block
39
+ - @babel/plugin-transform-numeric-separator
40
+ - @babel/plugin-transform-optional-chaining
41
+ - @babel/plugin-transform-react-jsx
42
+ - @babel/traverse
43
+ - @babel/types
44
+
21
45
  - 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.
46
+ - Updated dependencies [0df8dc0]
22
47
  - Updated dependencies [0b5d453]
23
48
  - Updated dependencies [0746937]
24
49
  - Updated dependencies [e17be5e]
@@ -27,7 +52,52 @@
27
52
  - Updated dependencies [a68050a]
28
53
  - Updated dependencies [2aaf0c4]
29
54
  - Updated dependencies [f3dfbe6]
30
- - @forge/manifest@13.7.0-next.6-experimental-e03cc85
55
+ - Updated dependencies [678b8c9]
56
+ - @forge/manifest@13.7.0
57
+
58
+ ## 9.8.0-next.14
59
+
60
+ ### Patch Changes
61
+
62
+ - Updated dependencies [678b8c9]
63
+ - @forge/manifest@13.7.0-next.8
64
+
65
+ ## 9.8.0-next.13
66
+
67
+ ### Minor Changes
68
+
69
+ - 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
70
+
71
+ ## 9.8.0-next.12
72
+
73
+ ### Patch Changes
74
+
75
+ - 0df8dc0: Allow app.compatibility.bitbucket with required: false in the manifest schema template.
76
+ - Updated dependencies [0df8dc0]
77
+ - @forge/manifest@13.7.0-next.7
78
+
79
+ ## 9.8.0-next.11
80
+
81
+ ### Patch Changes
82
+
83
+ - 07e2daa: Bumping dependencies
84
+
85
+ - @vercel/detect-agent\
86
+ - @babel/core
87
+ - @babel/parser
88
+ - @babel/plugin-transform-class-properties
89
+ - @babel/plugin-transform-class-static-block
90
+ - @babel/plugin-transform-numeric-separator
91
+ - @babel/plugin-transform-optional-chaining
92
+ - @babel/plugin-transform-react-jsx
93
+ - @babel/traverse
94
+ - @babel/types
95
+
96
+ ## 9.8.0-next.10
97
+
98
+ ### Minor Changes
99
+
100
+ - 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.
31
101
 
32
102
  ## 9.8.0-next.9
33
103
 
@@ -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;QAuCq83vG,8CAAc;GA9B3+3vG,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;QAuC+tkxG,8CAAc;GA9BrwkxG,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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CAAC,QAAQ,CAAC,cAAc,CAAiB;gBAE7B,UAAU,EAAE,gBAAgB,EAC5B,UAAU,EAAE,gBAAgB;IAKlC,cAAc,IAAI,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAiBzC,UAAU,IAAI,OAAO,CAAC,cAAc,CAAC;IAYrC,WAAW,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";