zephyr-edge-contract 0.0.30 → 0.0.32
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/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/api-contract-negotiation/get-api-contract.js +7 -2
- package/dist/lib/api-contract-negotiation/get-api-contract.js.map +1 -1
- package/dist/lib/plugin-options/zephyr-webpack-plugin-options.d.ts +3 -0
- package/dist/lib/promise/forEachLimit.d.ts +8 -0
- package/dist/lib/promise/forEachLimit.js +31 -0
- package/dist/lib/promise/forEachLimit.js.map +1 -0
- package/dist/lib/promise/index.d.ts +1 -0
- package/dist/lib/promise/index.js +3 -1
- package/dist/lib/promise/index.js.map +1 -1
- package/dist/lib/ze-api/converted-graph.d.ts +2 -0
- package/dist/lib/zephyr-build-stats.d.ts +11 -4
- package/dist/lib/zephyr-build-stats.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -13,6 +13,6 @@ export type { LocalPackageJson } from './lib/ze-api/local-package-json';
|
|
|
13
13
|
export type { ZephyrBuildStats } from './lib/zephyr-build-stats';
|
|
14
14
|
export type { Asset, SnapshotUploadRes, Source, UploadableAsset, ZeBuildAsset, ZeBuildAssetsMap, ZeUploadAssetsOptions, } from './lib/zephyr-edge-contract';
|
|
15
15
|
export { ZEPHYR_API_ENDPOINT, ZE_API_ENDPOINT, ZE_IS_PREVIEW, ze_api_gateway, ZE_API_ENDPOINT_HOST, } from './lib/api-contract-negotiation/get-api-contract';
|
|
16
|
-
export { PromiseTuple, isSuccessTuple, PromiseLazyLoad, PromiseWithResolvers, deferred, } from './lib/promise';
|
|
16
|
+
export { forEachLimit, PromiseTuple, isSuccessTuple, PromiseLazyLoad, PromiseWithResolvers, deferred, } from './lib/promise';
|
|
17
17
|
export { type FindTemplates, formatString } from './lib/string/string';
|
|
18
18
|
export { stripAnsi } from './lib/string/strip-ansi';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.stripAnsi = exports.formatString = exports.deferred = exports.PromiseWithResolvers = exports.PromiseLazyLoad = exports.isSuccessTuple = exports.PromiseTuple = exports.ZE_API_ENDPOINT_HOST = exports.ze_api_gateway = exports.ZE_IS_PREVIEW = exports.ZE_API_ENDPOINT = exports.ZEPHYR_API_ENDPOINT = exports.safe_json_parse = exports.ZeUtils = exports.flatCreateSnapshotId = exports.createSnapshotId = exports.createApplicationUid = void 0;
|
|
4
|
+
exports.stripAnsi = exports.formatString = exports.deferred = exports.PromiseWithResolvers = exports.PromiseLazyLoad = exports.isSuccessTuple = exports.PromiseTuple = exports.forEachLimit = exports.ZE_API_ENDPOINT_HOST = exports.ze_api_gateway = exports.ZE_IS_PREVIEW = exports.ZE_API_ENDPOINT = exports.ZEPHYR_API_ENDPOINT = exports.safe_json_parse = exports.ZeUtils = exports.flatCreateSnapshotId = exports.createSnapshotId = exports.createApplicationUid = void 0;
|
|
5
5
|
const tslib_1 = require("tslib");
|
|
6
6
|
var create_application_uid_1 = require("./lib/utils/create-application-uid");
|
|
7
7
|
Object.defineProperty(exports, "createApplicationUid", { enumerable: true, get: function () { return create_application_uid_1.createApplicationUid; } });
|
|
@@ -20,6 +20,7 @@ Object.defineProperty(exports, "ze_api_gateway", { enumerable: true, get: functi
|
|
|
20
20
|
Object.defineProperty(exports, "ZE_API_ENDPOINT_HOST", { enumerable: true, get: function () { return get_api_contract_1.ZE_API_ENDPOINT_HOST; } });
|
|
21
21
|
// promise proto methods
|
|
22
22
|
var promise_1 = require("./lib/promise");
|
|
23
|
+
Object.defineProperty(exports, "forEachLimit", { enumerable: true, get: function () { return promise_1.forEachLimit; } });
|
|
23
24
|
Object.defineProperty(exports, "PromiseTuple", { enumerable: true, get: function () { return promise_1.PromiseTuple; } });
|
|
24
25
|
Object.defineProperty(exports, "isSuccessTuple", { enumerable: true, get: function () { return promise_1.isSuccessTuple; } });
|
|
25
26
|
Object.defineProperty(exports, "PromiseLazyLoad", { enumerable: true, get: function () { return promise_1.PromiseLazyLoad; } });
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,0BAA0B;;;;AAY1B,6EAA0E;AAAjE,8HAAA,oBAAoB,OAAA;AAC7B,qEAAwF;AAA/E,sHAAA,gBAAgB,OAAA;AAAE,0HAAA,oBAAoB,OAAA;AAC/C,iEAAyC;AACzC,+DAA8D;AAArD,kHAAA,eAAe,OAAA;AAgBxB,2BAA2B;AAC3B,oFAMyD;AALvD,uHAAA,mBAAmB,OAAA;AACnB,mHAAA,eAAe,OAAA;AACf,iHAAA,aAAa,OAAA;AACb,kHAAA,cAAc,OAAA;AACd,wHAAA,oBAAoB,OAAA;AAGtB,wBAAwB;AACxB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,0BAA0B;;;;AAY1B,6EAA0E;AAAjE,8HAAA,oBAAoB,OAAA;AAC7B,qEAAwF;AAA/E,sHAAA,gBAAgB,OAAA;AAAE,0HAAA,oBAAoB,OAAA;AAC/C,iEAAyC;AACzC,+DAA8D;AAArD,kHAAA,eAAe,OAAA;AAgBxB,2BAA2B;AAC3B,oFAMyD;AALvD,uHAAA,mBAAmB,OAAA;AACnB,mHAAA,eAAe,OAAA;AACf,iHAAA,aAAa,OAAA;AACb,kHAAA,cAAc,OAAA;AACd,wHAAA,oBAAoB,OAAA;AAGtB,wBAAwB;AACxB,yCAOuB;AANrB,uGAAA,YAAY,OAAA;AACZ,uGAAA,YAAY,OAAA;AACZ,yGAAA,cAAc,OAAA;AACd,0GAAA,eAAe,OAAA;AACf,+GAAA,oBAAoB,OAAA;AACpB,mGAAA,QAAQ,OAAA;AAGV,uBAAuB;AACvB,8CAAuE;AAA1C,sGAAA,YAAY,OAAA;AACzC,sDAAoD;AAA3C,uGAAA,SAAS,OAAA"}
|
|
@@ -2,9 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ze_api_gateway = exports.ZE_IS_PREVIEW = exports.ZE_API_ENDPOINT_HOST = exports.ZE_API_ENDPOINT = exports.ZEPHYR_API_ENDPOINT = void 0;
|
|
4
4
|
/* istanbul ignore file */
|
|
5
|
-
const ZEPHYR_API_ENDPOINT = () => { var _a; return (_a = process.env['ZE_API'])
|
|
5
|
+
const ZEPHYR_API_ENDPOINT = () => { var _a; return ((_a = process.env['ZE_API']) === null || _a === void 0 ? void 0 : _a.length) ? process.env['ZE_API'] : 'https://api.zephyr-cloud.io'; };
|
|
6
6
|
exports.ZEPHYR_API_ENDPOINT = ZEPHYR_API_ENDPOINT;
|
|
7
|
-
const ZE_API_ENDPOINT = () => {
|
|
7
|
+
const ZE_API_ENDPOINT = () => {
|
|
8
|
+
var _a;
|
|
9
|
+
return ((_a = process.env['ZE_API_GATE']) === null || _a === void 0 ? void 0 : _a.length)
|
|
10
|
+
? process.env['ZE_API_GATE']
|
|
11
|
+
: 'https://zeapi.zephyrcloud.app';
|
|
12
|
+
};
|
|
8
13
|
exports.ZE_API_ENDPOINT = ZE_API_ENDPOINT;
|
|
9
14
|
const ZE_API_ENDPOINT_HOST = () => new URL((0, exports.ZE_API_ENDPOINT)()).host;
|
|
10
15
|
exports.ZE_API_ENDPOINT_HOST = ZE_API_ENDPOINT_HOST;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-api-contract.js","sourceRoot":"","sources":["../../../src/lib/api-contract-negotiation/get-api-contract.ts"],"names":[],"mappings":";;;AAAA,0BAA0B;AACnB,MAAM,mBAAmB,GAAG,GAAG,EAAE,WACtC,OAAA,MAAA,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"get-api-contract.js","sourceRoot":"","sources":["../../../src/lib/api-contract-negotiation/get-api-contract.ts"],"names":[],"mappings":";;;AAAA,0BAA0B;AACnB,MAAM,mBAAmB,GAAG,GAAG,EAAE,WACtC,OAAA,CAAA,MAAA,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,0CAAE,MAAM,EAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,6BAA6B,CAAA,EAAA,CAAC;AAD3E,QAAA,mBAAmB,uBACwD;AAEjF,MAAM,eAAe,GAAG,GAAG,EAAE;;IAClC,OAAA,CAAA,MAAA,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,0CAAE,MAAM;QAChC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC;QAC5B,CAAC,CAAC,+BAA+B,CAAA;CAAA,CAAC;AAHzB,QAAA,eAAe,mBAGU;AAE/B,MAAM,oBAAoB,GAAG,GAAG,EAAE,CAAC,IAAI,GAAG,CAAC,IAAA,uBAAe,GAAE,CAAC,CAAC,IAAI,CAAC;AAA7D,QAAA,oBAAoB,wBAAyC;AAEnE,MAAM,aAAa,GAAG,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,KAAK,MAAM,CAAC;AAA9D,QAAA,aAAa,iBAAiD;AAE9D,QAAA,cAAc,GAAG;IAC5B,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,cAAc;IAC3B,SAAS,EAAE,YAAY;IACvB,OAAO,EAAE,UAAU;IACnB,kBAAkB,EAAE,qBAAqB;CAC1C,CAAC"}
|
|
@@ -27,7 +27,10 @@ export interface ZephyrPluginOptions {
|
|
|
27
27
|
exposes?: Record<string, string>;
|
|
28
28
|
remotes?: Record<string, string>;
|
|
29
29
|
shared?: Record<string, unknown>;
|
|
30
|
+
runtimePlugins?: string[] | undefined;
|
|
30
31
|
};
|
|
32
|
+
target?: 'ios' | 'android' | 'web' | undefined;
|
|
33
|
+
upload_file?: boolean;
|
|
31
34
|
wait_for_index_html?: boolean;
|
|
32
35
|
outputPath?: string;
|
|
33
36
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Limits the concurrency of running a list of promise-returning functions.
|
|
3
|
+
*
|
|
4
|
+
* @param tasks An array of functions, each returning a Promise
|
|
5
|
+
* @param batchSize Maximum number of Promises allowed to run concurrently
|
|
6
|
+
* @returns A Promise that resolves to an array of the results
|
|
7
|
+
*/
|
|
8
|
+
export declare function forEachLimit<T>(tasks: Array<() => Promise<T>>, batchSize: number): Promise<T[]>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.forEachLimit = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Limits the concurrency of running a list of promise-returning functions.
|
|
6
|
+
*
|
|
7
|
+
* @param tasks An array of functions, each returning a Promise
|
|
8
|
+
* @param batchSize Maximum number of Promises allowed to run concurrently
|
|
9
|
+
* @returns A Promise that resolves to an array of the results
|
|
10
|
+
*/
|
|
11
|
+
async function forEachLimit(tasks, batchSize) {
|
|
12
|
+
const results = new Array(tasks.length);
|
|
13
|
+
let currentIndex = 0;
|
|
14
|
+
// Worker function: runs until there are no more tasks left.
|
|
15
|
+
// Each worker picks the next available task and runs it.
|
|
16
|
+
async function worker() {
|
|
17
|
+
while (currentIndex < tasks.length) {
|
|
18
|
+
const taskIndex = currentIndex++;
|
|
19
|
+
const task = tasks[taskIndex];
|
|
20
|
+
// Execute the task and store the result in the correct position
|
|
21
|
+
results[taskIndex] = await task();
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
// Create a pool of "batchSize" workers
|
|
25
|
+
const workers = Array.from({ length: batchSize }, () => worker());
|
|
26
|
+
// Wait until all workers finish
|
|
27
|
+
await Promise.all(workers);
|
|
28
|
+
return results;
|
|
29
|
+
}
|
|
30
|
+
exports.forEachLimit = forEachLimit;
|
|
31
|
+
//# sourceMappingURL=forEachLimit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forEachLimit.js","sourceRoot":"","sources":["../../../src/lib/promise/forEachLimit.ts"],"names":[],"mappings":";;;AAAA;;;;;;GAMG;AACI,KAAK,UAAU,YAAY,CAChC,KAA8B,EAC9B,SAAiB;IAEjB,MAAM,OAAO,GAAQ,IAAI,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7C,IAAI,YAAY,GAAG,CAAC,CAAC;IAErB,4DAA4D;IAC5D,yDAAyD;IACzD,KAAK,UAAU,MAAM;QACnB,OAAO,YAAY,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC;YACnC,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;YACjC,MAAM,IAAI,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC;YAC9B,gEAAgE;YAChE,OAAO,CAAC,SAAS,CAAC,GAAG,MAAM,IAAI,EAAE,CAAC;QACpC,CAAC;IACH,CAAC;IAED,uCAAuC;IACvC,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC;IAElE,gCAAgC;IAChC,MAAM,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAE3B,OAAO,OAAO,CAAC;AACjB,CAAC;AAzBD,oCAyBC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isSuccessTuple = exports.PromiseTuple = exports.PromiseLazyLoad = exports.deferred = exports.PromiseWithResolvers = void 0;
|
|
3
|
+
exports.isSuccessTuple = exports.PromiseTuple = exports.PromiseLazyLoad = exports.deferred = exports.PromiseWithResolvers = exports.forEachLimit = void 0;
|
|
4
|
+
var forEachLimit_1 = require("./forEachLimit");
|
|
5
|
+
Object.defineProperty(exports, "forEachLimit", { enumerable: true, get: function () { return forEachLimit_1.forEachLimit; } });
|
|
4
6
|
/**
|
|
5
7
|
* ES 2023 Promise.withResolvers() polyfill
|
|
6
8
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/promise/index.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,SAAgB,oBAAoB;IAClC,IAAI,OAA6C,CAAC;IAClD,IAAI,MAAmC,CAAC;IAExC,MAAM,OAAO,GAAG,IAAI,OAAO,CAAI,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;QAC1C,OAAO,GAAG,GAAG,CAAC;QACd,MAAM,GAAG,GAAG,CAAC;IACf,CAAC,CAAC,CAAC;IAEH,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;AACtC,CAAC;AAVD,oDAUC;AAED;;;;GAIG;AACH,SAAgB,QAAQ;IAKtB,IAAI,OAA6C,CAAC;IAClD,IAAI,MAAmC,CAAC;IAExC,MAAM,OAAO,GAAG,IAAI,OAAO,CAAI,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;QAC1C,OAAO,GAAG,GAAG,CAAC;QACd,MAAM,GAAG,GAAG,CAAC;IACf,CAAC,CAAC,CAAC;IAEH,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;AACpC,CAAC;AAdD,4BAcC;AAED;;;;GAIG;AACH,SAAgB,eAAe,CAC7B,OAAkC;IAElC,IAAI,KAA6B,CAAC;IAElC,OAAO,CAAC,MAAS,EAAE,EAAE;QACnB,IAAI,CAAC,KAAK,EAAE,CAAC;YACX,KAAK,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;QAC1B,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC,CAAC;AACJ,CAAC;AAZD,0CAYC;AAED,6DAA6D;AACtD,KAAK,UAAU,YAAY,CAChC,YAAgC;IAEhC,IAAI,CAAC;QACH,OAAO,CAAC,IAAI,EAAE,MAAM,YAAY,CAAC,CAAC;IACpC,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;IAC1B,CAAC;AACH,CAAC;AARD,oCAQC;AAED,SAAgB,cAAc,CAAI,KAA+B;IAC/D,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;AAC3B,CAAC;AAFD,wCAEC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/promise/index.ts"],"names":[],"mappings":";;;AAAA,+CAA8C;AAArC,4GAAA,YAAY,OAAA;AAErB;;;;GAIG;AACH,SAAgB,oBAAoB;IAClC,IAAI,OAA6C,CAAC;IAClD,IAAI,MAAmC,CAAC;IAExC,MAAM,OAAO,GAAG,IAAI,OAAO,CAAI,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;QAC1C,OAAO,GAAG,GAAG,CAAC;QACd,MAAM,GAAG,GAAG,CAAC;IACf,CAAC,CAAC,CAAC;IAEH,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;AACtC,CAAC;AAVD,oDAUC;AAED;;;;GAIG;AACH,SAAgB,QAAQ;IAKtB,IAAI,OAA6C,CAAC;IAClD,IAAI,MAAmC,CAAC;IAExC,MAAM,OAAO,GAAG,IAAI,OAAO,CAAI,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;QAC1C,OAAO,GAAG,GAAG,CAAC;QACd,MAAM,GAAG,GAAG,CAAC;IACf,CAAC,CAAC,CAAC;IAEH,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;AACpC,CAAC;AAdD,4BAcC;AAED;;;;GAIG;AACH,SAAgB,eAAe,CAC7B,OAAkC;IAElC,IAAI,KAA6B,CAAC;IAElC,OAAO,CAAC,MAAS,EAAE,EAAE;QACnB,IAAI,CAAC,KAAK,EAAE,CAAC;YACX,KAAK,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;QAC1B,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC,CAAC;AACJ,CAAC;AAZD,0CAYC;AAED,6DAA6D;AACtD,KAAK,UAAU,YAAY,CAChC,YAAgC;IAEhC,IAAI,CAAC;QACH,OAAO,CAAC,IAAI,EAAE,MAAM,YAAY,CAAC,CAAC;IACpC,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;IAC1B,CAAC;AACH,CAAC;AARD,oCAQC;AAED,SAAgB,cAAc,CAAI,KAA+B;IAC/D,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;AAC3B,CAAC;AAFD,wCAEC"}
|
|
@@ -3,6 +3,7 @@ export interface ConvertedGraph {
|
|
|
3
3
|
id?: string;
|
|
4
4
|
version?: string;
|
|
5
5
|
name?: string;
|
|
6
|
+
/** //TODO: what is this? */
|
|
6
7
|
remote: unknown;
|
|
7
8
|
metadata: unknown;
|
|
8
9
|
versionData: unknown;
|
|
@@ -17,4 +18,5 @@ export interface ConvertedGraph {
|
|
|
17
18
|
dependencies?: LocalPackageJson[];
|
|
18
19
|
devDependencies?: LocalPackageJson[];
|
|
19
20
|
optionalDependencies?: LocalPackageJson[];
|
|
21
|
+
build_target?: 'ios' | 'android' | 'web' | undefined;
|
|
20
22
|
}
|
|
@@ -44,13 +44,15 @@ export interface ZephyrBuildStats {
|
|
|
44
44
|
/** Version field form package.json */
|
|
45
45
|
version: string;
|
|
46
46
|
/**
|
|
47
|
-
* If the repository's git remote url is
|
|
48
|
-
* ZephyrCloudIO would be the org
|
|
47
|
+
* If the repository's git remote url is
|
|
48
|
+
* https://github.com/ZephyrCloudIO/zephyr-packages, ZephyrCloudIO would be the org
|
|
49
|
+
* field here
|
|
49
50
|
*/
|
|
50
51
|
org: string;
|
|
51
52
|
/**
|
|
52
|
-
* If the repository's git remote url is
|
|
53
|
-
* zephyr-
|
|
53
|
+
* If the repository's git remote url is
|
|
54
|
+
* https://github.com/ZephyrCloudIO/zephyr-packages, zephyr-packages would be the
|
|
55
|
+
* project field here
|
|
54
56
|
*/
|
|
55
57
|
project: string;
|
|
56
58
|
/** This is the user's uuid */
|
|
@@ -100,6 +102,11 @@ export interface ZephyrBuildStats {
|
|
|
100
102
|
domain?: string | undefined;
|
|
101
103
|
/** @deprecated */
|
|
102
104
|
platform?: DeploymentIntegrationPlatform | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* The target platform of the build , should be `ios`, `android`, `web` or undefined at
|
|
107
|
+
* the moment
|
|
108
|
+
*/
|
|
109
|
+
build_target?: string;
|
|
103
110
|
/** @deprecated */
|
|
104
111
|
type: unknown;
|
|
105
112
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zephyr-build-stats.js","sourceRoot":"","sources":["../../src/lib/zephyr-build-stats.ts"],"names":[],"mappings":";AAAA,0BAA0B;;
|
|
1
|
+
{"version":3,"file":"zephyr-build-stats.js","sourceRoot":"","sources":["../../src/lib/zephyr-build-stats.ts"],"names":[],"mappings":";AAAA,0BAA0B;;AAwH1B,IAAK,6BAMJ;AAND,WAAK,6BAA6B;IAChC,0DAAyB,CAAA;IACzB,4CAAW,CAAA;IACX,oDAAmB,CAAA;IACnB,gDAAe,CAAA;IACf,4CAAW,CAAA;AACb,CAAC,EANI,6BAA6B,KAA7B,6BAA6B,QAMjC"}
|
package/dist/package.json
CHANGED