@forge/cli-shared 9.6.0-next.9 → 9.7.0-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,5 +1,110 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 9.7.0-next.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 9f27f8a: Update uninstall flow to improve user experience and support global apps
8
+
9
+ ## 9.6.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 4f14f40: Added the `forge console` command to open your app in the developer console overview page. The command prints a link to the console for the current app (identified by the manifest).
14
+
15
+ Refactored developer console URL construction to use a centralized registry pattern (`getDevConsoleUrl`), replacing `getAppOverviewUrl` and `getDeveloperConsoleBaseUrl`. This fixes hardcoded production-domain URLs that broke on staging (`forge deploy` distribution link and `forge install` permission-denied link now work correctly on staging). All console links are now clickable terminal links.
16
+
17
+ - 406407c: Added secret key support for authorised web-triggers, plus non-expiring keys via `--noKeyExpiry` on `forge webtrigger create` and `secretKeyConfig.noExpiry` in `@forge/api`
18
+ - a4ba041: Remove the `-p` shorthand for the `--placement` option of `forge manifest render`, because it is reserved for `--product`. The option is otherwise unchanged.
19
+ - febf70d: Improve forge install list output
20
+
21
+ ### Patch Changes
22
+
23
+ - 1b28613: Add building blocks for global app uninstall flow
24
+ - 87d6f62: Add forge rollout command
25
+ - c7d6a28: Added additional --json to various commands
26
+ - 445988f: Route CLI warnings and errors to stderr
27
+ - cae833a: Removed web trigger URL creation from `forge webtrigger`. The deprecation window has passed, so use `forge webtrigger create` instead.
28
+ - a5a58d4: Link to the tunnel port documentation when a service has an invalid tunnel port.
29
+ - Updated dependencies [28b74f6]
30
+ - Updated dependencies [dea5ecf]
31
+ - Updated dependencies [fe8d182]
32
+ - Updated dependencies [511fabb]
33
+ - Updated dependencies [07cdf11]
34
+ - Updated dependencies [8693712]
35
+ - Updated dependencies [eda3a24]
36
+ - Updated dependencies [0a75004]
37
+ - Updated dependencies [c146a72]
38
+ - Updated dependencies [3a75c6a]
39
+ - Updated dependencies [150a3c5]
40
+ - Updated dependencies [226567e]
41
+ - @forge/manifest@13.5.0
42
+
43
+ ## 9.6.0-next.19
44
+
45
+ ### Patch Changes
46
+
47
+ - Updated dependencies [c146a72]
48
+ - @forge/manifest@13.5.0-next.9
49
+
50
+ ## 9.6.0-next.18
51
+
52
+ ### Patch Changes
53
+
54
+ - 1b28613: Add building blocks for global app uninstall flow
55
+
56
+ ## 9.6.0-next.17
57
+
58
+ ### Patch Changes
59
+
60
+ - Updated dependencies [3a75c6a]
61
+ - @forge/manifest@13.5.0-next.8
62
+
63
+ ## 9.6.0-next.16
64
+
65
+ ### Patch Changes
66
+
67
+ - 87d6f62: Add forge rollout command
68
+
69
+ ## 9.6.0-next.15
70
+
71
+ ### Minor Changes
72
+
73
+ - febf70d: Improve forge install list output
74
+
75
+ ## 9.6.0-next.14
76
+
77
+ ### Patch Changes
78
+
79
+ - Updated dependencies [8693712]
80
+ - @forge/manifest@13.5.0-next.7
81
+
82
+ ## 9.6.0-next.13
83
+
84
+ ### Patch Changes
85
+
86
+ - a5a58d4: Link to the tunnel port documentation when a service has an invalid tunnel port.
87
+
88
+ ## 9.6.0-next.12
89
+
90
+ ### Minor Changes
91
+
92
+ - a4ba041: Remove the `-p` shorthand for the `--placement` option of `forge manifest render`, because it is reserved for `--product`. The option is otherwise unchanged.
93
+
94
+ ## 9.6.0-next.11
95
+
96
+ ### Patch Changes
97
+
98
+ - Updated dependencies [226567e]
99
+ - @forge/manifest@13.5.0-next.6
100
+
101
+ ## 9.6.0-next.10
102
+
103
+ ### Patch Changes
104
+
105
+ - Updated dependencies [dea5ecf]
106
+ - @forge/manifest@13.5.0-next.5
107
+
3
108
  ## 9.6.0-next.9
4
109
 
5
110
  ### Patch Changes
package/out/ari/ari.d.ts CHANGED
@@ -3,6 +3,7 @@ export declare const SITE_RESOURCE_TYPE = "site";
3
3
  export declare const WORKSPACE_RESOURCE_TYPE = "workspace";
4
4
  export declare const WORKSPACE_USER_RESOURCE_TYPE = "workspace-user";
5
5
  export declare const INSTALLATION_RESOURCE_TYPE = "installation";
6
+ export declare const UNIT_RESOURCE_TYPE = "unit";
6
7
  export declare const TRELLO_RESOURCE_OWNER = "trello";
7
8
  export declare const BITBUCKET_RESOURCE_OWNER = "bitbucket";
8
9
  export declare function appIdToAriString(appId: string): 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,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,wBAAgB,wBAAwB,CAAC,mBAAmB,EAAE,MAAM,GAAG,MAAM,CAkC5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AM,gBAAgB,MAAM;sBAC/B,MAAM,eAAe,MAAM;qBAC5B,MAAM,eAAe,MAAM;CAC7C,CAAC"}
package/out/ari/ari.js CHANGED
@@ -1,6 +1,6 @@
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.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.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
5
  exports.buildContextAri = buildContextAri;
6
6
  exports.buildExtensionAri = buildExtensionAri;
@@ -13,6 +13,7 @@ exports.SITE_RESOURCE_TYPE = 'site';
13
13
  exports.WORKSPACE_RESOURCE_TYPE = 'workspace';
14
14
  exports.WORKSPACE_USER_RESOURCE_TYPE = 'workspace-user';
15
15
  exports.INSTALLATION_RESOURCE_TYPE = 'installation';
16
+ exports.UNIT_RESOURCE_TYPE = 'unit';
16
17
  exports.TRELLO_RESOURCE_OWNER = 'trello';
17
18
  exports.BITBUCKET_RESOURCE_OWNER = 'bitbucket';
18
19
  function appIdToAriString(appId) {
@@ -68,6 +69,7 @@ function parseInstallationContext(installationContext) {
68
69
  }
69
70
  break;
70
71
  case exports.INSTALLATION_RESOURCE_TYPE:
72
+ case exports.UNIT_RESOURCE_TYPE:
71
73
  if (!context.resourceId) {
72
74
  throw new UnknownInstallationWithoutResourceIdError();
73
75
  }