@forge/cli-shared 9.2.0-next.9 → 9.2.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,57 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 9.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 756c284: Added a new UI option to allow for a filterable list and adjusted module list, add and create command to utilise this design
8
+ - 8826ca3: add personal apps support for Forge app creation
9
+ - d415c89: Surface rate limit errors in CLI, improve E2E test robustness
10
+ - 757223b: Added Dashboard, bitbucket, rovo, teamwork, action templates
11
+
12
+ ### Patch Changes
13
+
14
+ - f408181: Reject dependencies outside application directory
15
+ - 903d6c1: Updated UI to show error when no installations
16
+ - 794aa2a: Skip warning for internal sites for personal apps
17
+ - 6e5b5a4: Better interface for packaging the runtime code
18
+ - 5abe69e: add support for personal app installation contexts
19
+ - 3991f92: Update `tmp` from 0.2.5 to 0.2.6 in `@forge/cli-shared` to remediate vulnerability
20
+ - Updated dependencies [4c5ba1c]
21
+ - Updated dependencies [2b30ef8]
22
+ - Updated dependencies [8826ca3]
23
+ - Updated dependencies [5abe69e]
24
+ - Updated dependencies [7195f29]
25
+ - Updated dependencies [3252a62]
26
+ - Updated dependencies [119be75]
27
+ - Updated dependencies [c67b720]
28
+ - @forge/manifest@13.2.0
29
+
30
+ ## 9.2.0-next.13
31
+
32
+ ### Patch Changes
33
+
34
+ - 794aa2a: Skip warning for internal sites for personal apps
35
+
36
+ ## 9.2.0-next.12
37
+
38
+ ### Patch Changes
39
+
40
+ - Updated dependencies [119be75]
41
+ - @forge/manifest@13.2.0-next.6
42
+
43
+ ## 9.2.0-next.11
44
+
45
+ ### Minor Changes
46
+
47
+ - 756c284: Added a new UI option to allow for a filterable list and adjusted module list, add and create command to utilise this design
48
+
49
+ ## 9.2.0-next.10
50
+
51
+ ### Patch Changes
52
+
53
+ - f408181: Reject dependencies outside application directory
54
+
3
55
  ## 9.2.0-next.9
4
56
 
5
57
  ### Patch Changes
@@ -1,5 +1,6 @@
1
1
  import * as t from 'io-ts';
2
2
  import { ConfigSectionReader } from '../config';
3
+ import { AppFeature } from '../graphql';
3
4
  export declare const appConfigShape: t.TypeC<{
4
5
  id: t.StringC;
5
6
  }>;
@@ -10,4 +11,5 @@ export declare function adjustLegacyAppId(legacyAppDetails: AppDetails): {
10
11
  id: string;
11
12
  };
12
13
  export declare const assertiveAppConfigProvider: (appConfigReader: ConfigSectionReader<AppDetails>) => AppConfigProvider;
14
+ export declare function isPersonalApp(appFeatures?: AppFeature[]): boolean;
13
15
  //# sourceMappingURL=app-config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-config.d.ts","sourceRoot":"","sources":["../../src/apps/app-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAG3B,OAAO,EAAa,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAG3D,eAAO,MAAM,cAAc;;EAEzB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,cAAc,CAAC,CAAC;AACzD,eAAO,MAAM,YAAY,QAAQ,CAAC;AAElC,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,CAAC,UAAU,CAAC,CAAC;AAE1D,wBAAgB,iBAAiB,CAAC,gBAAgB,EAAE,UAAU;;EAQ7D;AAED,eAAO,MAAM,0BAA0B,GACpC,iBAAiB,mBAAmB,CAAC,UAAU,CAAC,KAAG,iBAIxB,CAAC"}
1
+ {"version":3,"file":"app-config.d.ts","sourceRoot":"","sources":["../../src/apps/app-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAG3B,OAAO,EAAa,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAE3D,OAAO,EAAE,UAAU,EAAiB,MAAM,YAAY,CAAC;AAEvD,eAAO,MAAM,cAAc;;EAEzB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,cAAc,CAAC,CAAC;AACzD,eAAO,MAAM,YAAY,QAAQ,CAAC;AAElC,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,CAAC,UAAU,CAAC,CAAC;AAE1D,wBAAgB,iBAAiB,CAAC,gBAAgB,EAAE,UAAU;;EAQ7D;AAED,eAAO,MAAM,0BAA0B,GACpC,iBAAiB,mBAAmB,CAAC,UAAU,CAAC,KAAG,iBAIxB,CAAC;AAE/B,wBAAgB,aAAa,CAAC,WAAW,CAAC,EAAE,UAAU,EAAE,GAAG,OAAO,CAEjE"}
@@ -2,11 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertiveAppConfigProvider = exports.appConfigKey = exports.appConfigShape = void 0;
4
4
  exports.adjustLegacyAppId = adjustLegacyAppId;
5
+ exports.isPersonalApp = isPersonalApp;
5
6
  const tslib_1 = require("tslib");
6
7
  const t = tslib_1.__importStar(require("io-ts"));
7
8
  const ari_1 = require("../ari");
8
9
  const config_1 = require("../config");
9
10
  const ui_1 = require("../ui");
11
+ const graphql_1 = require("../graphql");
10
12
  exports.appConfigShape = t.type({
11
13
  id: t.string
12
14
  });
@@ -24,3 +26,6 @@ const assertiveAppConfigProvider = (appConfigReader) => () => (0, config_1.asser
24
26
  .readConfigSectionOrThrow(ui_1.Text.config.missing, ui_1.Text.config.invalid)
25
27
  .then(adjustLegacyAppId);
26
28
  exports.assertiveAppConfigProvider = assertiveAppConfigProvider;
29
+ function isPersonalApp(appFeatures) {
30
+ return appFeatures?.some((feature) => feature.key === graphql_1.AppFeatureKey.IsPersonalApp && feature.value) ?? false;
31
+ }