attio 0.0.1-experimental.20250213 → 0.0.1-experimental.20250218
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.
|
@@ -264,7 +264,7 @@ export const devMachine = setup({
|
|
|
264
264
|
params.errors.forEach(printTsError);
|
|
265
265
|
notifier.notify({
|
|
266
266
|
title: "TypeScript Errors",
|
|
267
|
-
message: `There
|
|
267
|
+
message: `There ${params.errors.length === 1 ? "was one error" : `were ${params.errors.length} errors`} in your TypeScript code`,
|
|
268
268
|
});
|
|
269
269
|
}
|
|
270
270
|
},
|
|
@@ -13,7 +13,7 @@ export function HelloWorldDialog ({recordId}) {
|
|
|
13
13
|
|
|
14
14
|
return (
|
|
15
15
|
<>
|
|
16
|
-
<TextBlock align="
|
|
16
|
+
<TextBlock align="left">
|
|
17
17
|
I am a dialog. I have been open for: {seconds} second{seconds === 1 ? "" : "s"}
|
|
18
18
|
</TextBlock>
|
|
19
19
|
{/* The hook in Advice will suspend until the advice is loaded. */}
|
|
@@ -13,7 +13,7 @@ export function HelloWorldDialog({recordId}: {recordId: string}) {
|
|
|
13
13
|
|
|
14
14
|
return (
|
|
15
15
|
<>
|
|
16
|
-
<TextBlock align="
|
|
16
|
+
<TextBlock align="left">
|
|
17
17
|
I am a dialog. I have been open for: {seconds} second{seconds === 1 ? "" : "s"}
|
|
18
18
|
</TextBlock>
|
|
19
19
|
{/* The hook in Advice will suspend until the advice is loaded. */}
|
package/lib/util/typescript.js
CHANGED
|
@@ -97,7 +97,7 @@ export function printTsError(error) {
|
|
|
97
97
|
process.stderr.write(`${" ".repeat(lineStringLength - 2)} ${chalk.red("×")} ${error.text}\n\n`);
|
|
98
98
|
process.stderr.write(`${emptyLine} ╭─── ${chalk.bold(error.location.file)}\n`);
|
|
99
99
|
process.stderr.write(`${lineString} │ ${beforeError}${chalk.red(errorText)}${afterError}\n`);
|
|
100
|
-
process.stderr.write(`${emptyLine} │ ${" ".repeat(Math.max(0, error.location.character - leadingSpaces))}${chalk.red("~".repeat(error.location.endCharacter - error.location.character))}\n`);
|
|
100
|
+
process.stderr.write(`${emptyLine} │ ${" ".repeat(Math.max(0, error.location.character - leadingSpaces))}${chalk.red("~".repeat(Math.max(0, error.location.endCharacter - error.location.character)))}\n`);
|
|
101
101
|
process.stderr.write(`${emptyLine} ╰───\n\n`);
|
|
102
102
|
}
|
|
103
103
|
export function printJsError(error, type) {
|