@envpilot/cli 1.10.0 → 1.11.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.
|
@@ -7,7 +7,10 @@ function initSentry() {
|
|
|
7
7
|
Sentry.init({
|
|
8
8
|
dsn,
|
|
9
9
|
environment: "cli",
|
|
10
|
-
release: true ? "1.
|
|
10
|
+
release: true ? "1.11.0" : "0.0.0",
|
|
11
|
+
// All EnvPilot surfaces report to one Sentry project; the surface tag
|
|
12
|
+
// is how dashboards tell web / cli / extension events apart.
|
|
13
|
+
initialScope: { tags: { surface: "cli" } },
|
|
11
14
|
// Free tier: disable performance monitoring
|
|
12
15
|
tracesSampleRate: 0,
|
|
13
16
|
beforeSend(event) {
|
|
@@ -469,7 +472,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
469
472
|
async function openTUI() {
|
|
470
473
|
const [{ render }, { CLIApp }, { PressAnyKey }] = await Promise.all([
|
|
471
474
|
import("ink"),
|
|
472
|
-
import("./app-
|
|
475
|
+
import("./app-SRLCVHPE.js"),
|
|
473
476
|
import("./press-any-key-64XFP4O2.js")
|
|
474
477
|
]);
|
|
475
478
|
while (true) {
|
|
@@ -5826,6 +5829,8 @@ function findCommandDefinition(commandIdOrName) {
|
|
|
5826
5829
|
|
|
5827
5830
|
export {
|
|
5828
5831
|
initSentry,
|
|
5832
|
+
captureError,
|
|
5833
|
+
flushSentry,
|
|
5829
5834
|
getApiUrl,
|
|
5830
5835
|
getUser,
|
|
5831
5836
|
isAuthenticated,
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
+
captureError,
|
|
4
|
+
flushSentry,
|
|
3
5
|
getApiUrl,
|
|
4
6
|
getTopLevelCommandCatalog,
|
|
5
7
|
initSentry,
|
|
6
8
|
openTUI
|
|
7
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AS4NIUYS.js";
|
|
8
10
|
|
|
9
11
|
// src/lib/program.ts
|
|
10
12
|
import { Command } from "commander";
|
|
11
13
|
|
|
12
14
|
// src/lib/cli-version.ts
|
|
13
|
-
var CLI_VERSION = true ? "1.
|
|
15
|
+
var CLI_VERSION = true ? "1.11.0" : "0.0.0";
|
|
14
16
|
|
|
15
17
|
// src/lib/version-check.ts
|
|
16
18
|
import chalk from "chalk";
|
|
17
19
|
import Conf from "conf";
|
|
18
|
-
var CLI_VERSION2 = true ? "1.
|
|
20
|
+
var CLI_VERSION2 = true ? "1.11.0" : "0.0.0";
|
|
19
21
|
var CHECK_INTERVAL = 60 * 60 * 1e3;
|
|
20
22
|
var _cache = null;
|
|
21
23
|
function getCache() {
|
|
@@ -89,7 +91,9 @@ async function main() {
|
|
|
89
91
|
await program.parseAsync();
|
|
90
92
|
}
|
|
91
93
|
}
|
|
92
|
-
main().catch((err) => {
|
|
94
|
+
main().catch(async (err) => {
|
|
93
95
|
console.error(err);
|
|
96
|
+
captureError(err, { phase: "top-level" });
|
|
97
|
+
await flushSentry();
|
|
94
98
|
process.exit(1);
|
|
95
99
|
});
|