@embeddables/cli 0.9.2 → 0.9.4
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/README.md +2 -2
- package/dist/cli.js +23 -18
- package/dist/cli.js.map +1 -1
- package/dist/commands/branch.d.ts.map +1 -1
- package/dist/commands/branch.js +19 -5
- package/dist/commands/branch.js.map +1 -1
- package/dist/commands/build.d.ts.map +1 -1
- package/dist/commands/build.js +39 -9
- package/dist/commands/build.js.map +1 -1
- package/dist/commands/builder-open.d.ts.map +1 -1
- package/dist/commands/builder-open.js +4 -0
- package/dist/commands/builder-open.js.map +1 -1
- package/dist/commands/dev.d.ts.map +1 -1
- package/dist/commands/dev.js +56 -30
- package/dist/commands/dev.js.map +1 -1
- package/dist/commands/experiments-connect.d.ts.map +1 -1
- package/dist/commands/experiments-connect.js +11 -1
- package/dist/commands/experiments-connect.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +9 -0
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/inspect.d.ts.map +1 -1
- package/dist/commands/inspect.js +65 -43
- package/dist/commands/inspect.js.map +1 -1
- package/dist/commands/login.d.ts.map +1 -1
- package/dist/commands/login.js +11 -3
- package/dist/commands/login.js.map +1 -1
- package/dist/commands/logout.d.ts.map +1 -1
- package/dist/commands/logout.js +7 -1
- package/dist/commands/logout.js.map +1 -1
- package/dist/commands/pull.d.ts.map +1 -1
- package/dist/commands/pull.js +62 -30
- package/dist/commands/pull.js.map +1 -1
- package/dist/commands/save.d.ts.map +1 -1
- package/dist/commands/save.js +52 -14
- package/dist/commands/save.js.map +1 -1
- package/dist/commands/upgrade.d.ts.map +1 -1
- package/dist/commands/upgrade.js +20 -2
- package/dist/commands/upgrade.js.map +1 -1
- package/dist/compiler/errors.d.ts +5 -0
- package/dist/compiler/errors.d.ts.map +1 -1
- package/dist/compiler/errors.js +75 -11
- package/dist/compiler/errors.js.map +1 -1
- package/dist/tracing.d.ts +16 -0
- package/dist/tracing.d.ts.map +1 -0
- package/dist/tracing.js +37 -0
- package/dist/tracing.js.map +1 -0
- package/package.json +1 -1
package/dist/compiler/errors.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import fs from 'node:fs';
|
|
1
2
|
import pc from 'picocolors';
|
|
2
3
|
export class CompileError extends Error {
|
|
3
4
|
info;
|
|
@@ -7,18 +8,70 @@ export class CompileError extends Error {
|
|
|
7
8
|
this.name = 'CompileError';
|
|
8
9
|
}
|
|
9
10
|
}
|
|
11
|
+
function generateCodeFrame(file, line, column, contextLines = 2) {
|
|
12
|
+
let source;
|
|
13
|
+
try {
|
|
14
|
+
source = fs.readFileSync(file, 'utf8');
|
|
15
|
+
}
|
|
16
|
+
catch {
|
|
17
|
+
return null;
|
|
18
|
+
}
|
|
19
|
+
const lines = source.split('\n');
|
|
20
|
+
if (line < 1 || line > lines.length)
|
|
21
|
+
return null;
|
|
22
|
+
const start = Math.max(0, line - 1 - contextLines);
|
|
23
|
+
const end = Math.min(lines.length, line + contextLines);
|
|
24
|
+
const gutterWidth = String(end).length;
|
|
25
|
+
const result = [];
|
|
26
|
+
for (let i = start; i < end; i++) {
|
|
27
|
+
const lineNum = i + 1;
|
|
28
|
+
const isErrorLine = lineNum === line;
|
|
29
|
+
const gutter = String(lineNum).padStart(gutterWidth);
|
|
30
|
+
const lineContent = lines[i];
|
|
31
|
+
if (isErrorLine) {
|
|
32
|
+
result.push(` ${pc.red(pc.bold(gutter))} ${pc.dim('│')} ${lineContent}`);
|
|
33
|
+
if (column != null && column >= 0) {
|
|
34
|
+
const caretPadding = ' '.repeat(column);
|
|
35
|
+
result.push(` ${' '.repeat(gutterWidth)} ${pc.dim('│')} ${caretPadding}${pc.red(pc.bold('^'))}`);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
result.push(` ${pc.dim(gutter)} ${pc.dim('│')} ${pc.dim(lineContent)}`);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return result.join('\n');
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Formats a compile error (or any error) into a visually rich, multi-line
|
|
46
|
+
* string suitable for writing directly to stderr. Includes a code frame
|
|
47
|
+
* with surrounding context when file/line info is available.
|
|
48
|
+
*/
|
|
10
49
|
export function formatError(e) {
|
|
11
50
|
if (e instanceof CompileError) {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
51
|
+
let message = e.message;
|
|
52
|
+
if (e.info?.line != null) {
|
|
53
|
+
message = message.replace(/\s*\(\d+:\d+\)\s*$/, '');
|
|
54
|
+
}
|
|
55
|
+
const output = [''];
|
|
56
|
+
const messageLines = message.split('\n');
|
|
57
|
+
output.push(` ${pc.red(pc.bold('Error:'))} ${pc.bold(messageLines[0])}`);
|
|
58
|
+
for (let i = 1; i < messageLines.length; i++) {
|
|
59
|
+
output.push(` ${messageLines[i]}`);
|
|
60
|
+
}
|
|
61
|
+
const meta = [];
|
|
62
|
+
if (e.info?.file) {
|
|
63
|
+
let loc = pc.cyan(e.info.file);
|
|
64
|
+
if (e.info.line != null) {
|
|
65
|
+
loc += pc.dim(':') + pc.yellow(String(e.info.line));
|
|
66
|
+
if (e.info.column != null) {
|
|
67
|
+
loc += pc.dim(':') + pc.yellow(String(e.info.column));
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
meta.push(loc);
|
|
16
71
|
}
|
|
17
|
-
// Page context
|
|
18
72
|
if (e.info?.pageKey) {
|
|
19
|
-
|
|
73
|
+
meta.push(`page: ${pc.magenta(e.info.pageKey)}`);
|
|
20
74
|
}
|
|
21
|
-
// Component context
|
|
22
75
|
if (e.info?.componentId || e.info?.componentKey) {
|
|
23
76
|
const componentParts = [];
|
|
24
77
|
if (e.info.componentId) {
|
|
@@ -27,11 +80,22 @@ export function formatError(e) {
|
|
|
27
80
|
if (e.info.componentKey) {
|
|
28
81
|
componentParts.push(`key=${pc.cyan(e.info.componentKey)}`);
|
|
29
82
|
}
|
|
30
|
-
|
|
83
|
+
meta.push(`component(${componentParts.join(', ')})`);
|
|
84
|
+
}
|
|
85
|
+
if (meta.length > 0) {
|
|
86
|
+
output.push(` ${meta.join(pc.dim(' │ '))}`);
|
|
87
|
+
}
|
|
88
|
+
if (e.info?.file && e.info.line != null) {
|
|
89
|
+
const frame = generateCodeFrame(e.info.file, e.info.line, e.info.column);
|
|
90
|
+
if (frame) {
|
|
91
|
+
output.push('');
|
|
92
|
+
output.push(frame);
|
|
93
|
+
}
|
|
31
94
|
}
|
|
32
|
-
|
|
33
|
-
return
|
|
95
|
+
output.push('');
|
|
96
|
+
return output.join('\n');
|
|
34
97
|
}
|
|
35
|
-
|
|
98
|
+
const message = e instanceof Error ? e.message : String(e);
|
|
99
|
+
return `\n ${pc.red(pc.bold('Error:'))} ${message}\n`;
|
|
36
100
|
}
|
|
37
101
|
//# sourceMappingURL=errors.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/compiler/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAA;AAE3B,MAAM,OAAO,YAAa,SAAQ,KAAK;IAG5B;IAFT,YACE,OAAe,EACR,IAON;QAED,KAAK,CAAC,OAAO,CAAC,CAAA;QATP,SAAI,GAAJ,IAAI,CAOV;QAGD,IAAI,CAAC,IAAI,GAAG,cAAc,CAAA;IAC5B,CAAC;CACF;AAED,MAAM,
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/compiler/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAA;AACxB,OAAO,EAAE,MAAM,YAAY,CAAA;AAE3B,MAAM,OAAO,YAAa,SAAQ,KAAK;IAG5B;IAFT,YACE,OAAe,EACR,IAON;QAED,KAAK,CAAC,OAAO,CAAC,CAAA;QATP,SAAI,GAAJ,IAAI,CAOV;QAGD,IAAI,CAAC,IAAI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AAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAA;IAC1D,OAAO,OAAO,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,IAAI,OAAO,IAAI,CAAA;AACxD,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type Attributes = Record<string, string | number | boolean>;
|
|
2
|
+
/**
|
|
3
|
+
* Wrap an async function in a Sentry span. Returns the function's result.
|
|
4
|
+
* Use for sub-operations within a command (API calls, compilation, file I/O).
|
|
5
|
+
*/
|
|
6
|
+
export declare function withSpan<T>(name: string, op: string, fn: () => Promise<T>, attributes?: Attributes): Promise<T>;
|
|
7
|
+
/**
|
|
8
|
+
* Wrap a CLI command's entire body in a root Sentry span and emit universal metrics:
|
|
9
|
+
* - cli.command.invoked (counter, on start)
|
|
10
|
+
* - cli.command.succeeded (counter, on success)
|
|
11
|
+
* - cli.command.failed (counter, on error)
|
|
12
|
+
* - cli.command.duration (distribution, always)
|
|
13
|
+
*/
|
|
14
|
+
export declare function withCommandSpan<T>(command: string, fn: () => Promise<T>): Promise<T>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=tracing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tracing.d.ts","sourceRoot":"","sources":["../src/tracing.ts"],"names":[],"mappings":"AAEA,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAA;AAE3D;;;GAGG;AACH,wBAAsB,QAAQ,CAAC,CAAC,EAC9B,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,EACpB,UAAU,CAAC,EAAE,UAAU,GACtB,OAAO,CAAC,CAAC,CAAC,CAEZ;AAED;;;;;;GAMG;AACH,wBAAsB,eAAe,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAwB1F"}
|
package/dist/tracing.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as Sentry from '@sentry/node';
|
|
2
|
+
/**
|
|
3
|
+
* Wrap an async function in a Sentry span. Returns the function's result.
|
|
4
|
+
* Use for sub-operations within a command (API calls, compilation, file I/O).
|
|
5
|
+
*/
|
|
6
|
+
export async function withSpan(name, op, fn, attributes) {
|
|
7
|
+
return Sentry.startSpan({ name, op, attributes }, fn);
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Wrap a CLI command's entire body in a root Sentry span and emit universal metrics:
|
|
11
|
+
* - cli.command.invoked (counter, on start)
|
|
12
|
+
* - cli.command.succeeded (counter, on success)
|
|
13
|
+
* - cli.command.failed (counter, on error)
|
|
14
|
+
* - cli.command.duration (distribution, always)
|
|
15
|
+
*/
|
|
16
|
+
export async function withCommandSpan(command, fn) {
|
|
17
|
+
const attrs = { command };
|
|
18
|
+
Sentry.metrics.count('cli.command.invoked', 1, { attributes: attrs });
|
|
19
|
+
const start = performance.now();
|
|
20
|
+
try {
|
|
21
|
+
const result = await Sentry.startSpan({ name: `cli.${command}`, op: 'cli.command', attributes: attrs }, fn);
|
|
22
|
+
Sentry.metrics.count('cli.command.succeeded', 1, { attributes: attrs });
|
|
23
|
+
return result;
|
|
24
|
+
}
|
|
25
|
+
catch (error) {
|
|
26
|
+
Sentry.metrics.count('cli.command.failed', 1, { attributes: attrs });
|
|
27
|
+
throw error;
|
|
28
|
+
}
|
|
29
|
+
finally {
|
|
30
|
+
const duration = performance.now() - start;
|
|
31
|
+
Sentry.metrics.distribution('cli.command.duration', duration, {
|
|
32
|
+
unit: 'millisecond',
|
|
33
|
+
attributes: attrs,
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
//# sourceM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