@zenstackhq/cli 3.7.2 → 3.8.0-beta.2
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.cjs +2 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +12 -12
package/dist/index.cjs
CHANGED
|
@@ -71,7 +71,7 @@ let cors = require("cors");
|
|
|
71
71
|
cors = __toESM(cors, 1);
|
|
72
72
|
let express = require("express");
|
|
73
73
|
express = __toESM(express, 1);
|
|
74
|
-
|
|
74
|
+
require("mixpanel");
|
|
75
75
|
let os = require("os");
|
|
76
76
|
os = __toESM(os, 1);
|
|
77
77
|
let node_process = require("node:process");
|
|
@@ -3223,9 +3223,6 @@ function startServer(client, schema, options) {
|
|
|
3223
3223
|
});
|
|
3224
3224
|
}
|
|
3225
3225
|
//#endregion
|
|
3226
|
-
//#region src/constants.ts
|
|
3227
|
-
const TELEMETRY_TRACKING_TOKEN = "74944eb779d7d3b4ce185be843fde9fc";
|
|
3228
|
-
//#endregion
|
|
3229
3226
|
//#region src/utils/is-ci.ts
|
|
3230
3227
|
const isInCi = node_process.env["CI"] !== "0" && node_process.env["CI"] !== "false" && ("CI" in node_process.env || "CONTINUOUS_INTEGRATION" in node_process.env || Object.keys(node_process.env).some((key) => key.startsWith("CI_")));
|
|
3231
3228
|
//#endregion
|
|
@@ -3334,9 +3331,7 @@ var Telemetry = class {
|
|
|
3334
3331
|
isWsl = isWsl();
|
|
3335
3332
|
isContainer = isInContainer();
|
|
3336
3333
|
isCi = isInCi;
|
|
3337
|
-
constructor() {
|
|
3338
|
-
if (process.env["DO_NOT_TRACK"] !== "1" && "<TELEMETRY_TRACKING_TOKEN>") this.mixpanel = (0, mixpanel.init)(TELEMETRY_TRACKING_TOKEN, { geolocate: true });
|
|
3339
|
-
}
|
|
3334
|
+
constructor() {}
|
|
3340
3335
|
get isTracking() {
|
|
3341
3336
|
return !!this.mixpanel;
|
|
3342
3337
|
}
|