@forge/cli-shared 7.1.0-next.5 → 7.1.0-next.6

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/out/index.d.ts CHANGED
@@ -7,7 +7,6 @@ export * from './config';
7
7
  export * from './file-system';
8
8
  export * from './graphql';
9
9
  export * from './http-client';
10
- export * from './runtimes';
11
10
  export * from './service';
12
11
  export * from './shared';
13
12
  export * from './tunnel';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,MAAM,CAAC"}
package/out/index.js CHANGED
@@ -10,7 +10,6 @@ tslib_1.__exportStar(require("./config"), exports);
10
10
  tslib_1.__exportStar(require("./file-system"), exports);
11
11
  tslib_1.__exportStar(require("./graphql"), exports);
12
12
  tslib_1.__exportStar(require("./http-client"), exports);
13
- tslib_1.__exportStar(require("./runtimes"), exports);
14
13
  tslib_1.__exportStar(require("./service"), exports);
15
14
  tslib_1.__exportStar(require("./shared"), exports);
16
15
  tslib_1.__exportStar(require("./tunnel"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/cli-shared",
3
- "version": "7.1.0-next.5",
3
+ "version": "7.1.0-next.6",
4
4
  "description": "Common functionality for Forge CLI",
5
5
  "author": "Atlassian",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -12,7 +12,7 @@
12
12
  "generate-graphql-types": "graphql-codegen --config src/graphql/codegen.yml"
13
13
  },
14
14
  "dependencies": {
15
- "@forge/manifest": "9.5.0-next.4",
15
+ "@forge/manifest": "9.5.0-next.5",
16
16
  "@forge/util": "1.4.9",
17
17
  "@forge/i18n": "0.0.6",
18
18
  "@sentry/node": "7.106.0",
@@ -1,6 +0,0 @@
1
- export declare enum RuntimeType {
2
- sandbox = "sandbox",
3
- nodejs = "nodejs"
4
- }
5
- export declare function getRuntimeType(identifier: string | undefined): RuntimeType;
6
- //# sourceMappingURL=helper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../src/runtimes/helper.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACrB,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB;AAMD,wBAAgB,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,GAAG,WAAW,CAK1E"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getRuntimeType = exports.RuntimeType = void 0;
4
- var RuntimeType;
5
- (function (RuntimeType) {
6
- RuntimeType["sandbox"] = "sandbox";
7
- RuntimeType["nodejs"] = "nodejs";
8
- })(RuntimeType = exports.RuntimeType || (exports.RuntimeType = {}));
9
- function isNodeRuntime(identifier) {
10
- return /^nodejs\d+\.x$/.test(identifier ?? '');
11
- }
12
- function getRuntimeType(identifier) {
13
- if (isNodeRuntime(identifier)) {
14
- return RuntimeType.nodejs;
15
- }
16
- return RuntimeType.sandbox;
17
- }
18
- exports.getRuntimeType = getRuntimeType;
@@ -1,2 +0,0 @@
1
- export * from './helper';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/runtimes/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./helper"), exports);