@uapkg/diagnostics-format 1.3.0 → 1.3.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/contracts/FormatterTypes.d.ts +13 -10
- package/dist/contracts/FormatterTypes.d.ts.map +1 -1
- package/dist/contracts/FormatterTypes.js +1 -2
- package/dist/defaults/defaultFormatters.d.ts +5 -2
- package/dist/defaults/defaultFormatters.d.ts.map +1 -1
- package/dist/defaults/defaultFormatters.js +30 -23
- package/dist/defaults/defaultFormatters.js.map +1 -1
- package/dist/formatters/PlainTextFormatter.d.ts +5 -2
- package/dist/formatters/PlainTextFormatter.d.ts.map +1 -1
- package/dist/formatters/PlainTextFormatter.js +13 -12
- package/dist/formatters/PlainTextFormatter.js.map +1 -1
- package/dist/formatters/config/configFormatters.d.ts +5 -2
- package/dist/formatters/config/configFormatters.d.ts.map +1 -1
- package/dist/formatters/config/configFormatters.js +50 -56
- package/dist/formatters/config/configFormatters.js.map +1 -1
- package/dist/formatters/installer/installerFormatters.d.ts +5 -2
- package/dist/formatters/installer/installerFormatters.d.ts.map +1 -1
- package/dist/formatters/installer/installerFormatters.js +51 -47
- package/dist/formatters/installer/installerFormatters.js.map +1 -1
- package/dist/formatters/manifest/manifestFormatters.d.ts +5 -2
- package/dist/formatters/manifest/manifestFormatters.d.ts.map +1 -1
- package/dist/formatters/manifest/manifestFormatters.js +40 -45
- package/dist/formatters/manifest/manifestFormatters.js.map +1 -1
- package/dist/formatters/pack/packFormatters.d.ts +5 -2
- package/dist/formatters/pack/packFormatters.d.ts.map +1 -1
- package/dist/formatters/pack/packFormatters.js +9 -9
- package/dist/formatters/pack/packFormatters.js.map +1 -1
- package/dist/formatters/postinstall/postinstallFormatters.d.ts +5 -2
- package/dist/formatters/postinstall/postinstallFormatters.d.ts.map +1 -1
- package/dist/formatters/postinstall/postinstallFormatters.js +35 -36
- package/dist/formatters/postinstall/postinstallFormatters.js.map +1 -1
- package/dist/formatters/publishing/publishingFormatters.d.ts +14 -0
- package/dist/formatters/publishing/publishingFormatters.d.ts.map +1 -0
- package/dist/formatters/publishing/publishingFormatters.js +45 -0
- package/dist/formatters/publishing/publishingFormatters.js.map +1 -0
- package/dist/formatters/registry/registryFormatters.d.ts +5 -2
- package/dist/formatters/registry/registryFormatters.d.ts.map +1 -1
- package/dist/formatters/registry/registryFormatters.js +33 -34
- package/dist/formatters/registry/registryFormatters.js.map +1 -1
- package/dist/formatters/registryTools/registryToolsFormatters.d.ts +5 -2
- package/dist/formatters/registryTools/registryToolsFormatters.d.ts.map +1 -1
- package/dist/formatters/registryTools/registryToolsFormatters.js +160 -135
- package/dist/formatters/registryTools/registryToolsFormatters.js.map +1 -1
- package/dist/formatters/resolver/resolverFormatters.d.ts +5 -2
- package/dist/formatters/resolver/resolverFormatters.d.ts.map +1 -1
- package/dist/formatters/resolver/resolverFormatters.js +20 -18
- package/dist/formatters/resolver/resolverFormatters.js.map +1 -1
- package/dist/formatters/safety/safetyFormatters.d.ts +5 -2
- package/dist/formatters/safety/safetyFormatters.d.ts.map +1 -1
- package/dist/formatters/safety/safetyFormatters.js +28 -26
- package/dist/formatters/safety/safetyFormatters.js.map +1 -1
- package/dist/formatters/spec/specFormatters.d.ts +5 -2
- package/dist/formatters/spec/specFormatters.d.ts.map +1 -1
- package/dist/formatters/spec/specFormatters.js +32 -19
- package/dist/formatters/spec/specFormatters.js.map +1 -1
- package/dist/index.d.ts +15 -14
- package/dist/index.js +15 -16
- package/dist/ink/components/configInkComponents.d.ts +5 -2
- package/dist/ink/components/configInkComponents.d.ts.map +1 -1
- package/dist/ink/components/configInkComponents.js +93 -18
- package/dist/ink/components/configInkComponents.js.map +1 -1
- package/dist/ink/components/installerInkComponents.d.ts +5 -2
- package/dist/ink/components/installerInkComponents.d.ts.map +1 -1
- package/dist/ink/components/installerInkComponents.js +170 -24
- package/dist/ink/components/installerInkComponents.js.map +1 -1
- package/dist/ink/components/manifestInkComponents.d.ts +5 -2
- package/dist/ink/components/manifestInkComponents.d.ts.map +1 -1
- package/dist/ink/components/manifestInkComponents.js +139 -34
- package/dist/ink/components/manifestInkComponents.js.map +1 -1
- package/dist/ink/components/packInkComponents.d.ts +5 -2
- package/dist/ink/components/packInkComponents.d.ts.map +1 -1
- package/dist/ink/components/packInkComponents.js +22 -7
- package/dist/ink/components/packInkComponents.js.map +1 -1
- package/dist/ink/components/postinstallInkComponents.d.ts +5 -2
- package/dist/ink/components/postinstallInkComponents.d.ts.map +1 -1
- package/dist/ink/components/postinstallInkComponents.js +124 -21
- package/dist/ink/components/postinstallInkComponents.js.map +1 -1
- package/dist/ink/components/publishingInkComponents.d.ts +6 -0
- package/dist/ink/components/publishingInkComponents.d.ts.map +1 -0
- package/dist/ink/components/publishingInkComponents.js +55 -0
- package/dist/ink/components/publishingInkComponents.js.map +1 -0
- package/dist/ink/components/registryInkComponents.d.ts +5 -2
- package/dist/ink/components/registryInkComponents.d.ts.map +1 -1
- package/dist/ink/components/registryInkComponents.js +109 -24
- package/dist/ink/components/registryInkComponents.js.map +1 -1
- package/dist/ink/components/resolverInkComponents.d.ts +5 -2
- package/dist/ink/components/resolverInkComponents.d.ts.map +1 -1
- package/dist/ink/components/resolverInkComponents.js +97 -18
- package/dist/ink/components/resolverInkComponents.js.map +1 -1
- package/dist/ink/components/safetyInkComponents.d.ts +5 -2
- package/dist/ink/components/safetyInkComponents.d.ts.map +1 -1
- package/dist/ink/components/safetyInkComponents.js +72 -12
- package/dist/ink/components/safetyInkComponents.js.map +1 -1
- package/dist/ink/components/specInkComponents.d.ts +5 -2
- package/dist/ink/components/specInkComponents.d.ts.map +1 -1
- package/dist/ink/components/specInkComponents.js +44 -12
- package/dist/ink/components/specInkComponents.js.map +1 -1
- package/dist/ink/contracts/InkTypes.d.ts +15 -9
- package/dist/ink/contracts/InkTypes.d.ts.map +1 -1
- package/dist/ink/contracts/InkTypes.js +1 -2
- package/dist/ink/defaults/defaultInkComponents.d.ts +5 -2
- package/dist/ink/defaults/defaultInkComponents.d.ts.map +1 -1
- package/dist/ink/defaults/defaultInkComponents.js +35 -28
- package/dist/ink/defaults/defaultInkComponents.js.map +1 -1
- package/dist/ink/index.d.ts +17 -16
- package/dist/ink/index.js +17 -28
- package/dist/ink/primitives/HintLine.d.ts +7 -4
- package/dist/ink/primitives/HintLine.d.ts.map +1 -1
- package/dist/ink/primitives/HintLine.js +22 -9
- package/dist/ink/primitives/HintLine.js.map +1 -1
- package/dist/ink/primitives/PlainTextBody.d.ts +6 -3
- package/dist/ink/primitives/PlainTextBody.d.ts.map +1 -1
- package/dist/ink/primitives/PlainTextBody.js +13 -8
- package/dist/ink/primitives/PlainTextBody.js.map +1 -1
- package/dist/ink/primitives/SeverityBadge.d.ts +8 -5
- package/dist/ink/primitives/SeverityBadge.d.ts.map +1 -1
- package/dist/ink/primitives/SeverityBadge.js +28 -11
- package/dist/ink/primitives/SeverityBadge.js.map +1 -1
- package/dist/ink/registry/DiagnosticInkRegistry.d.ts +11 -8
- package/dist/ink/registry/DiagnosticInkRegistry.d.ts.map +1 -1
- package/dist/ink/registry/DiagnosticInkRegistry.js +32 -29
- package/dist/ink/registry/DiagnosticInkRegistry.js.map +1 -1
- package/dist/ink/views/DiagnosticView.d.ts +10 -7
- package/dist/ink/views/DiagnosticView.d.ts.map +1 -1
- package/dist/ink/views/DiagnosticView.js +42 -17
- package/dist/ink/views/DiagnosticView.js.map +1 -1
- package/dist/ink/views/DiagnosticsListView.d.ts +10 -7
- package/dist/ink/views/DiagnosticsListView.d.ts.map +1 -1
- package/dist/ink/views/DiagnosticsListView.js +24 -16
- package/dist/ink/views/DiagnosticsListView.js.map +1 -1
- package/dist/registry/FormatterRegistry.d.ts +18 -15
- package/dist/registry/FormatterRegistry.d.ts.map +1 -1
- package/dist/registry/FormatterRegistry.js +38 -40
- package/dist/registry/FormatterRegistry.js.map +1 -1
- package/dist/utils/indent.d.ts +5 -2
- package/dist/utils/indent.d.ts.map +1 -1
- package/dist/utils/indent.js +9 -8
- package/dist/utils/indent.js.map +1 -1
- package/package.json +15 -17
- package/dist/contracts/FormatterTypes.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/ink/contracts/InkTypes.js.map +0 -1
- package/dist/ink/index.d.ts.map +0 -1
- package/dist/ink/index.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { DiagnosticFormatterFn, FormatterMap, IFormatterRegistry } from "./contracts/FormatterTypes.js";
|
|
2
|
+
import { defaultFormatters } from "./defaults/defaultFormatters.js";
|
|
3
|
+
import { formatPlainText } from "./formatters/PlainTextFormatter.js";
|
|
4
|
+
import { installerFormatters } from "./formatters/installer/installerFormatters.js";
|
|
5
|
+
import { manifestFormatters } from "./formatters/manifest/manifestFormatters.js";
|
|
6
|
+
import { postinstallFormatters } from "./formatters/postinstall/postinstallFormatters.js";
|
|
7
|
+
import { formatPublishRequestFailed, publishingFormatters } from "./formatters/publishing/publishingFormatters.js";
|
|
8
|
+
import { registryFormatters } from "./formatters/registry/registryFormatters.js";
|
|
9
|
+
import { registryToolsFormatters } from "./formatters/registryTools/registryToolsFormatters.js";
|
|
10
|
+
import { resolverFormatters } from "./formatters/resolver/resolverFormatters.js";
|
|
11
|
+
import { safetyFormatters } from "./formatters/safety/safetyFormatters.js";
|
|
12
|
+
import { specFormatters } from "./formatters/spec/specFormatters.js";
|
|
13
|
+
import { FormatterRegistry, createFormatterRegistry } from "./registry/FormatterRegistry.js";
|
|
14
|
+
import { bulletList, indent } from "./utils/indent.js";
|
|
15
|
+
export { type DiagnosticFormatterFn, type FormatterMap, FormatterRegistry, type IFormatterRegistry, bulletList, createFormatterRegistry, defaultFormatters, formatPlainText, formatPublishRequestFailed, indent, installerFormatters, manifestFormatters, postinstallFormatters, publishingFormatters, registryFormatters, registryToolsFormatters, resolverFormatters, safetyFormatters, specFormatters };
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export { bulletList, indent
|
|
16
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import { installerFormatters } from "./formatters/installer/installerFormatters.js";
|
|
2
|
+
import { manifestFormatters } from "./formatters/manifest/manifestFormatters.js";
|
|
3
|
+
import { postinstallFormatters } from "./formatters/postinstall/postinstallFormatters.js";
|
|
4
|
+
import { formatPublishRequestFailed, publishingFormatters } from "./formatters/publishing/publishingFormatters.js";
|
|
5
|
+
import { registryFormatters } from "./formatters/registry/registryFormatters.js";
|
|
6
|
+
import { registryToolsFormatters } from "./formatters/registryTools/registryToolsFormatters.js";
|
|
7
|
+
import { resolverFormatters } from "./formatters/resolver/resolverFormatters.js";
|
|
8
|
+
import { safetyFormatters } from "./formatters/safety/safetyFormatters.js";
|
|
9
|
+
import { specFormatters } from "./formatters/spec/specFormatters.js";
|
|
10
|
+
import { defaultFormatters } from "./defaults/defaultFormatters.js";
|
|
11
|
+
import { formatPlainText } from "./formatters/PlainTextFormatter.js";
|
|
12
|
+
import { FormatterRegistry, createFormatterRegistry } from "./registry/FormatterRegistry.js";
|
|
13
|
+
import { bulletList, indent } from "./utils/indent.js";
|
|
14
|
+
|
|
15
|
+
export { FormatterRegistry, bulletList, createFormatterRegistry, defaultFormatters, formatPlainText, formatPublishRequestFailed, indent, installerFormatters, manifestFormatters, postinstallFormatters, publishingFormatters, registryFormatters, registryToolsFormatters, resolverFormatters, safetyFormatters, specFormatters };
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { DiagnosticInkComponentMap } from "../contracts/InkTypes.js";
|
|
2
|
+
//#region src/ink/components/configInkComponents.d.ts
|
|
3
|
+
declare const configInkComponents: DiagnosticInkComponentMap;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { configInkComponents };
|
|
3
6
|
//# sourceMappingURL=configInkComponents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configInkComponents.d.ts","
|
|
1
|
+
{"version":3,"file":"configInkComponents.d.ts","names":[],"sources":["../../../src/ink/components/configInkComponents.tsx"],"mappings":";;cA0Ea,qBAAqB"}
|
|
@@ -1,30 +1,105 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Box, Text } from "ink";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/ink/components/configInkComponents.tsx
|
|
3
5
|
function ConfigInvalidJson({ diagnostic }) {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
+
const data = diagnostic.data;
|
|
7
|
+
return /* @__PURE__ */ jsxs(Box, {
|
|
8
|
+
flexDirection: "column",
|
|
9
|
+
children: [/* @__PURE__ */ jsxs(Text, { children: ["File: ", /* @__PURE__ */ jsx(Text, {
|
|
10
|
+
color: "cyan",
|
|
11
|
+
children: data.filePath
|
|
12
|
+
})] }), /* @__PURE__ */ jsx(Text, {
|
|
13
|
+
color: "gray",
|
|
14
|
+
children: data.reason
|
|
15
|
+
})]
|
|
16
|
+
});
|
|
6
17
|
}
|
|
7
18
|
function ConfigTypeMismatch({ diagnostic }) {
|
|
8
|
-
|
|
9
|
-
|
|
19
|
+
const data = diagnostic.data;
|
|
20
|
+
return /* @__PURE__ */ jsxs(Box, {
|
|
21
|
+
flexDirection: "column",
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ jsxs(Text, { children: ["Path: ", /* @__PURE__ */ jsx(Text, {
|
|
24
|
+
color: "cyan",
|
|
25
|
+
children: data.path
|
|
26
|
+
})] }),
|
|
27
|
+
/* @__PURE__ */ jsxs(Text, { children: [
|
|
28
|
+
"Expected: ",
|
|
29
|
+
/* @__PURE__ */ jsx(Text, {
|
|
30
|
+
color: "yellow",
|
|
31
|
+
children: data.expectedType
|
|
32
|
+
}),
|
|
33
|
+
" | Actual:",
|
|
34
|
+
" ",
|
|
35
|
+
/* @__PURE__ */ jsx(Text, {
|
|
36
|
+
color: "yellow",
|
|
37
|
+
children: data.actualType
|
|
38
|
+
})
|
|
39
|
+
] }),
|
|
40
|
+
/* @__PURE__ */ jsxs(Text, {
|
|
41
|
+
color: "gray",
|
|
42
|
+
children: ["Source: ", data.source]
|
|
43
|
+
}),
|
|
44
|
+
data.filePath ? /* @__PURE__ */ jsxs(Text, {
|
|
45
|
+
color: "gray",
|
|
46
|
+
children: ["File: ", data.filePath]
|
|
47
|
+
}) : null
|
|
48
|
+
]
|
|
49
|
+
});
|
|
10
50
|
}
|
|
11
51
|
function ConfigUnknownKey({ diagnostic }) {
|
|
12
|
-
|
|
13
|
-
|
|
52
|
+
const data = diagnostic.data;
|
|
53
|
+
return /* @__PURE__ */ jsxs(Box, {
|
|
54
|
+
flexDirection: "column",
|
|
55
|
+
children: [
|
|
56
|
+
/* @__PURE__ */ jsxs(Text, { children: ["Key: ", /* @__PURE__ */ jsx(Text, {
|
|
57
|
+
color: "cyan",
|
|
58
|
+
children: data.path
|
|
59
|
+
})] }),
|
|
60
|
+
/* @__PURE__ */ jsxs(Text, {
|
|
61
|
+
color: "gray",
|
|
62
|
+
children: ["Source: ", data.source]
|
|
63
|
+
}),
|
|
64
|
+
data.filePath ? /* @__PURE__ */ jsxs(Text, {
|
|
65
|
+
color: "gray",
|
|
66
|
+
children: ["File: ", data.filePath]
|
|
67
|
+
}) : null
|
|
68
|
+
]
|
|
69
|
+
});
|
|
14
70
|
}
|
|
15
71
|
function ConfigUnresolvedDefaultRegistry({ diagnostic }) {
|
|
16
|
-
|
|
17
|
-
|
|
72
|
+
const data = diagnostic.data;
|
|
73
|
+
return /* @__PURE__ */ jsxs(Text, { children: [
|
|
74
|
+
"Default registry ",
|
|
75
|
+
/* @__PURE__ */ jsx(Text, {
|
|
76
|
+
color: "yellow",
|
|
77
|
+
children: data.registryName
|
|
78
|
+
}),
|
|
79
|
+
" is not defined in registries."
|
|
80
|
+
] });
|
|
18
81
|
}
|
|
19
82
|
function ConfigInvalidValue({ diagnostic }) {
|
|
20
|
-
|
|
21
|
-
|
|
83
|
+
const data = diagnostic.data;
|
|
84
|
+
return /* @__PURE__ */ jsxs(Box, {
|
|
85
|
+
flexDirection: "column",
|
|
86
|
+
children: [/* @__PURE__ */ jsxs(Text, { children: ["Path: ", /* @__PURE__ */ jsx(Text, {
|
|
87
|
+
color: "cyan",
|
|
88
|
+
children: data.path
|
|
89
|
+
})] }), /* @__PURE__ */ jsx(Text, {
|
|
90
|
+
color: "gray",
|
|
91
|
+
children: data.rule
|
|
92
|
+
})]
|
|
93
|
+
});
|
|
22
94
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
95
|
+
const configInkComponents = {
|
|
96
|
+
CONFIG_INVALID_JSON: ConfigInvalidJson,
|
|
97
|
+
CONFIG_TYPE_MISMATCH: ConfigTypeMismatch,
|
|
98
|
+
CONFIG_UNKNOWN_KEY: ConfigUnknownKey,
|
|
99
|
+
CONFIG_UNRESOLVED_DEFAULT_REGISTRY: ConfigUnresolvedDefaultRegistry,
|
|
100
|
+
CONFIG_INVALID_VALUE: ConfigInvalidValue
|
|
29
101
|
};
|
|
102
|
+
|
|
103
|
+
//#endregion
|
|
104
|
+
export { configInkComponents };
|
|
30
105
|
//# sourceMappingURL=configInkComponents.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configInkComponents.js","
|
|
1
|
+
{"version":3,"file":"configInkComponents.js","names":[],"sources":["../../../src/ink/components/configInkComponents.tsx"],"sourcesContent":["import type {\n ConfigInvalidJsonDiagnostic,\n ConfigInvalidValueDiagnostic,\n ConfigTypeMismatchDiagnostic,\n ConfigUnknownKeyDiagnostic,\n ConfigUnresolvedDefaultRegistryDiagnostic,\n} from '@uapkg/diagnostics';\nimport { Box, Text } from 'ink';\nimport type { ReactElement } from 'react';\nimport type { DiagnosticBodyProps, DiagnosticInkComponentMap } from '../contracts/InkTypes.js';\n\nfunction ConfigInvalidJson({ diagnostic }: DiagnosticBodyProps): ReactElement {\n const data = (diagnostic as ConfigInvalidJsonDiagnostic).data;\n return (\n <Box flexDirection=\"column\">\n <Text>\n File: <Text color=\"cyan\">{data.filePath}</Text>\n </Text>\n <Text color=\"gray\">{data.reason}</Text>\n </Box>\n );\n}\n\nfunction ConfigTypeMismatch({ diagnostic }: DiagnosticBodyProps): ReactElement {\n const data = (diagnostic as ConfigTypeMismatchDiagnostic).data;\n return (\n <Box flexDirection=\"column\">\n <Text>\n Path: <Text color=\"cyan\">{data.path}</Text>\n </Text>\n <Text>\n Expected: <Text color=\"yellow\">{data.expectedType}</Text> | Actual:{' '}\n <Text color=\"yellow\">{data.actualType}</Text>\n </Text>\n <Text color=\"gray\">Source: {data.source}</Text>\n {data.filePath ? <Text color=\"gray\">File: {data.filePath}</Text> : null}\n </Box>\n );\n}\n\nfunction ConfigUnknownKey({ diagnostic }: DiagnosticBodyProps): ReactElement {\n const data = (diagnostic as ConfigUnknownKeyDiagnostic).data;\n return (\n <Box flexDirection=\"column\">\n <Text>\n Key: <Text color=\"cyan\">{data.path}</Text>\n </Text>\n <Text color=\"gray\">Source: {data.source}</Text>\n {data.filePath ? <Text color=\"gray\">File: {data.filePath}</Text> : null}\n </Box>\n );\n}\n\nfunction ConfigUnresolvedDefaultRegistry({ diagnostic }: DiagnosticBodyProps): ReactElement {\n const data = (diagnostic as ConfigUnresolvedDefaultRegistryDiagnostic).data;\n return (\n <Text>\n Default registry <Text color=\"yellow\">{data.registryName}</Text> is not defined in registries.\n </Text>\n );\n}\n\nfunction ConfigInvalidValue({ diagnostic }: DiagnosticBodyProps): ReactElement {\n const data = (diagnostic as ConfigInvalidValueDiagnostic).data;\n return (\n <Box flexDirection=\"column\">\n <Text>\n Path: <Text color=\"cyan\">{data.path}</Text>\n </Text>\n <Text color=\"gray\">{data.rule}</Text>\n </Box>\n );\n}\n\nexport const configInkComponents: DiagnosticInkComponentMap = {\n CONFIG_INVALID_JSON: ConfigInvalidJson,\n CONFIG_TYPE_MISMATCH: ConfigTypeMismatch,\n CONFIG_UNKNOWN_KEY: ConfigUnknownKey,\n CONFIG_UNRESOLVED_DEFAULT_REGISTRY: ConfigUnresolvedDefaultRegistry,\n CONFIG_INVALID_VALUE: ConfigInvalidValue,\n};\n"],"mappings":";;;;AAWA,SAAS,kBAAkB,EAAE,cAAiD;CAC5E,MAAM,OAAQ,WAA2C;CACzD,OACE,qBAAC,KAAD;EAAK,eAAc;YAAnB,CACE,qBAAC,MAAD,aAAM,UACE,oBAAC,MAAD;GAAM,OAAM;aAAQ,KAAK;EAAe,EAC1C,MACN,oBAAC,MAAD;GAAM,OAAM;aAAQ,KAAK;EAAa,EACnC;;AAET;AAEA,SAAS,mBAAmB,EAAE,cAAiD;CAC7E,MAAM,OAAQ,WAA4C;CAC1D,OACE,qBAAC,KAAD;EAAK,eAAc;YAAnB;GACE,qBAAC,MAAD,aAAM,UACE,oBAAC,MAAD;IAAM,OAAM;cAAQ,KAAK;GAAW,EACtC;GACN,qBAAC,MAAD;IAAM;IACM,oBAAC,MAAD;KAAM,OAAM;eAAU,KAAK;IAAmB;IAAC;IAAW;IACpE,oBAAC,MAAD;KAAM,OAAM;eAAU,KAAK;IAAiB;GACxC;GACN,qBAAC,MAAD;IAAM,OAAM;cAAZ,CAAmB,YAAS,KAAK,MAAa;;GAC7C,KAAK,WAAW,qBAAC,MAAD;IAAM,OAAM;cAAZ,CAAmB,UAAO,KAAK,QAAe;QAAI;EAChE;;AAET;AAEA,SAAS,iBAAiB,EAAE,cAAiD;CAC3E,MAAM,OAAQ,WAA0C;CACxD,OACE,qBAAC,KAAD;EAAK,eAAc;YAAnB;GACE,qBAAC,MAAD,aAAM,SACC,oBAAC,MAAD;IAAM,OAAM;cAAQ,KAAK;GAAW,EACrC;GACN,qBAAC,MAAD;IAAM,OAAM;cAAZ,CAAmB,YAAS,KAAK,MAAa;;GAC7C,KAAK,WAAW,qBAAC,MAAD;IAAM,OAAM;cAAZ,CAAmB,UAAO,KAAK,QAAe;QAAI;EAChE;;AAET;AAEA,SAAS,gCAAgC,EAAE,cAAiD;CAC1F,MAAM,OAAQ,WAAyD;CACvE,OACE,qBAAC,MAAD;EAAM;EACa,oBAAC,MAAD;GAAM,OAAM;aAAU,KAAK;EAAmB;EAAC;CAC5D;AAEV;AAEA,SAAS,mBAAmB,EAAE,cAAiD;CAC7E,MAAM,OAAQ,WAA4C;CAC1D,OACE,qBAAC,KAAD;EAAK,eAAc;YAAnB,CACE,qBAAC,MAAD,aAAM,UACE,oBAAC,MAAD;GAAM,OAAM;aAAQ,KAAK;EAAW,EACtC,MACN,oBAAC,MAAD;GAAM,OAAM;aAAQ,KAAK;EAAW,EACjC;;AAET;AAEA,MAAa,sBAAiD;CAC5D,qBAAqB;CACrB,sBAAsB;CACtB,oBAAoB;CACpB,oCAAoC;CACpC,sBAAsB;AACxB"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { DiagnosticInkComponentMap } from "../contracts/InkTypes.js";
|
|
2
|
+
//#region src/ink/components/installerInkComponents.d.ts
|
|
3
|
+
declare const installerInkComponents: DiagnosticInkComponentMap;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { installerInkComponents };
|
|
3
6
|
//# sourceMappingURL=installerInkComponents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installerInkComponents.d.ts","
|
|
1
|
+
{"version":3,"file":"installerInkComponents.d.ts","names":[],"sources":["../../../src/ink/components/installerInkComponents.tsx"],"mappings":";;cAwHa,wBAAwB"}
|
|
@@ -1,40 +1,186 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Box, Text } from "ink";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/ink/components/installerInkComponents.tsx
|
|
3
5
|
function DownloadFailed({ diagnostic }) {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
+
const data = diagnostic.data;
|
|
7
|
+
return /* @__PURE__ */ jsxs(Box, {
|
|
8
|
+
flexDirection: "column",
|
|
9
|
+
children: [
|
|
10
|
+
/* @__PURE__ */ jsxs(Text, { children: [
|
|
11
|
+
"Downloading ",
|
|
12
|
+
/* @__PURE__ */ jsx(Text, {
|
|
13
|
+
color: "cyan",
|
|
14
|
+
children: data.packageName
|
|
15
|
+
}),
|
|
16
|
+
" failed on attempt",
|
|
17
|
+
" ",
|
|
18
|
+
/* @__PURE__ */ jsx(Text, {
|
|
19
|
+
color: "yellow",
|
|
20
|
+
children: data.attempt
|
|
21
|
+
}),
|
|
22
|
+
"."
|
|
23
|
+
] }),
|
|
24
|
+
/* @__PURE__ */ jsxs(Text, { children: ["URL: ", /* @__PURE__ */ jsx(Text, {
|
|
25
|
+
color: "gray",
|
|
26
|
+
children: data.url
|
|
27
|
+
})] }),
|
|
28
|
+
/* @__PURE__ */ jsx(Text, {
|
|
29
|
+
color: "gray",
|
|
30
|
+
children: data.reason
|
|
31
|
+
})
|
|
32
|
+
]
|
|
33
|
+
});
|
|
6
34
|
}
|
|
7
35
|
function DownloadHttpStatus({ diagnostic }) {
|
|
8
|
-
|
|
9
|
-
|
|
36
|
+
const data = diagnostic.data;
|
|
37
|
+
return /* @__PURE__ */ jsxs(Box, {
|
|
38
|
+
flexDirection: "column",
|
|
39
|
+
children: [/* @__PURE__ */ jsxs(Text, { children: [
|
|
40
|
+
/* @__PURE__ */ jsx(Text, {
|
|
41
|
+
color: "cyan",
|
|
42
|
+
children: data.packageName
|
|
43
|
+
}),
|
|
44
|
+
" returned HTTP ",
|
|
45
|
+
/* @__PURE__ */ jsx(Text, {
|
|
46
|
+
color: "yellow",
|
|
47
|
+
children: data.status
|
|
48
|
+
}),
|
|
49
|
+
"."
|
|
50
|
+
] }), /* @__PURE__ */ jsxs(Text, { children: ["URL: ", /* @__PURE__ */ jsx(Text, {
|
|
51
|
+
color: "gray",
|
|
52
|
+
children: data.url
|
|
53
|
+
})] })]
|
|
54
|
+
});
|
|
10
55
|
}
|
|
11
56
|
function NetworkTimeout({ diagnostic }) {
|
|
12
|
-
|
|
13
|
-
|
|
57
|
+
const data = diagnostic.data;
|
|
58
|
+
return /* @__PURE__ */ jsxs(Box, {
|
|
59
|
+
flexDirection: "column",
|
|
60
|
+
children: [/* @__PURE__ */ jsxs(Text, { children: [
|
|
61
|
+
"Timed out after ",
|
|
62
|
+
/* @__PURE__ */ jsxs(Text, {
|
|
63
|
+
color: "yellow",
|
|
64
|
+
children: [data.timeoutSeconds, "s"]
|
|
65
|
+
}),
|
|
66
|
+
" fetching",
|
|
67
|
+
" ",
|
|
68
|
+
/* @__PURE__ */ jsx(Text, {
|
|
69
|
+
color: "cyan",
|
|
70
|
+
children: data.packageName
|
|
71
|
+
}),
|
|
72
|
+
"."
|
|
73
|
+
] }), /* @__PURE__ */ jsxs(Text, { children: ["URL: ", /* @__PURE__ */ jsx(Text, {
|
|
74
|
+
color: "gray",
|
|
75
|
+
children: data.url
|
|
76
|
+
})] })]
|
|
77
|
+
});
|
|
14
78
|
}
|
|
15
79
|
function NetworkRetriesExhausted({ diagnostic }) {
|
|
16
|
-
|
|
17
|
-
|
|
80
|
+
const data = diagnostic.data;
|
|
81
|
+
return /* @__PURE__ */ jsxs(Box, {
|
|
82
|
+
flexDirection: "column",
|
|
83
|
+
children: [/* @__PURE__ */ jsxs(Text, { children: [
|
|
84
|
+
"Gave up on ",
|
|
85
|
+
/* @__PURE__ */ jsx(Text, {
|
|
86
|
+
color: "cyan",
|
|
87
|
+
children: data.packageName
|
|
88
|
+
}),
|
|
89
|
+
" after ",
|
|
90
|
+
/* @__PURE__ */ jsx(Text, {
|
|
91
|
+
color: "yellow",
|
|
92
|
+
children: data.attempts
|
|
93
|
+
}),
|
|
94
|
+
" ",
|
|
95
|
+
"attempts."
|
|
96
|
+
] }), /* @__PURE__ */ jsxs(Text, { children: ["URL: ", /* @__PURE__ */ jsx(Text, {
|
|
97
|
+
color: "gray",
|
|
98
|
+
children: data.url
|
|
99
|
+
})] })]
|
|
100
|
+
});
|
|
18
101
|
}
|
|
19
102
|
function IntegrityMismatch({ diagnostic }) {
|
|
20
|
-
|
|
21
|
-
|
|
103
|
+
const data = diagnostic.data;
|
|
104
|
+
return /* @__PURE__ */ jsxs(Box, {
|
|
105
|
+
flexDirection: "column",
|
|
106
|
+
children: [
|
|
107
|
+
/* @__PURE__ */ jsxs(Text, { children: [
|
|
108
|
+
"Integrity mismatch for ",
|
|
109
|
+
/* @__PURE__ */ jsx(Text, {
|
|
110
|
+
color: "cyan",
|
|
111
|
+
children: data.packageName
|
|
112
|
+
}),
|
|
113
|
+
"."
|
|
114
|
+
] }),
|
|
115
|
+
/* @__PURE__ */ jsxs(Text, { children: ["Expected: ", /* @__PURE__ */ jsx(Text, {
|
|
116
|
+
color: "gray",
|
|
117
|
+
children: data.expected
|
|
118
|
+
})] }),
|
|
119
|
+
/* @__PURE__ */ jsxs(Text, { children: ["Actual: ", /* @__PURE__ */ jsx(Text, {
|
|
120
|
+
color: "yellow",
|
|
121
|
+
children: data.actual
|
|
122
|
+
})] })
|
|
123
|
+
]
|
|
124
|
+
});
|
|
22
125
|
}
|
|
23
126
|
function ExtractionFailed({ diagnostic }) {
|
|
24
|
-
|
|
25
|
-
|
|
127
|
+
const data = diagnostic.data;
|
|
128
|
+
return /* @__PURE__ */ jsxs(Box, {
|
|
129
|
+
flexDirection: "column",
|
|
130
|
+
children: [
|
|
131
|
+
/* @__PURE__ */ jsxs(Text, { children: [
|
|
132
|
+
"Extraction of ",
|
|
133
|
+
/* @__PURE__ */ jsx(Text, {
|
|
134
|
+
color: "cyan",
|
|
135
|
+
children: data.packageName
|
|
136
|
+
}),
|
|
137
|
+
" failed."
|
|
138
|
+
] }),
|
|
139
|
+
/* @__PURE__ */ jsxs(Text, { children: ["Path: ", /* @__PURE__ */ jsx(Text, {
|
|
140
|
+
color: "gray",
|
|
141
|
+
children: data.path
|
|
142
|
+
})] }),
|
|
143
|
+
/* @__PURE__ */ jsx(Text, {
|
|
144
|
+
color: "gray",
|
|
145
|
+
children: data.reason
|
|
146
|
+
})
|
|
147
|
+
]
|
|
148
|
+
});
|
|
26
149
|
}
|
|
27
150
|
function DiskRemoveFailed({ diagnostic }) {
|
|
28
|
-
|
|
29
|
-
|
|
151
|
+
const data = diagnostic.data;
|
|
152
|
+
return /* @__PURE__ */ jsxs(Box, {
|
|
153
|
+
flexDirection: "column",
|
|
154
|
+
children: [
|
|
155
|
+
/* @__PURE__ */ jsxs(Text, { children: [
|
|
156
|
+
"Could not remove ",
|
|
157
|
+
/* @__PURE__ */ jsx(Text, {
|
|
158
|
+
color: "cyan",
|
|
159
|
+
children: data.packageName
|
|
160
|
+
}),
|
|
161
|
+
" from disk."
|
|
162
|
+
] }),
|
|
163
|
+
/* @__PURE__ */ jsxs(Text, { children: ["Path: ", /* @__PURE__ */ jsx(Text, {
|
|
164
|
+
color: "gray",
|
|
165
|
+
children: data.path
|
|
166
|
+
})] }),
|
|
167
|
+
/* @__PURE__ */ jsx(Text, {
|
|
168
|
+
color: "gray",
|
|
169
|
+
children: data.reason
|
|
170
|
+
})
|
|
171
|
+
]
|
|
172
|
+
});
|
|
30
173
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
174
|
+
const installerInkComponents = {
|
|
175
|
+
DOWNLOAD_FAILED: DownloadFailed,
|
|
176
|
+
DOWNLOAD_HTTP_STATUS: DownloadHttpStatus,
|
|
177
|
+
NETWORK_TIMEOUT: NetworkTimeout,
|
|
178
|
+
NETWORK_RETRIES_EXHAUSTED: NetworkRetriesExhausted,
|
|
179
|
+
INTEGRITY_MISMATCH: IntegrityMismatch,
|
|
180
|
+
EXTRACTION_FAILED: ExtractionFailed,
|
|
181
|
+
DISK_REMOVE_FAILED: DiskRemoveFailed
|
|
39
182
|
};
|
|
183
|
+
|
|
184
|
+
//#endregion
|
|
185
|
+
export { installerInkComponents };
|
|
40
186
|
//# sourceMappingURL=installerInkComponents.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installerInkComponents.js","
|
|
1
|
+
{"version":3,"file":"installerInkComponents.js","names":[],"sources":["../../../src/ink/components/installerInkComponents.tsx"],"sourcesContent":["import type {\n DiskRemoveFailedDiagnostic,\n DownloadFailedDiagnostic,\n DownloadHttpStatusDiagnostic,\n ExtractionFailedDiagnostic,\n IntegrityMismatchDiagnostic,\n NetworkRetriesExhaustedDiagnostic,\n NetworkTimeoutDiagnostic,\n} from '@uapkg/diagnostics';\nimport { Box, Text } from 'ink';\nimport type { ReactElement } from 'react';\nimport type { DiagnosticBodyProps, DiagnosticInkComponentMap } from '../contracts/InkTypes.js';\n\nfunction DownloadFailed({ diagnostic }: DiagnosticBodyProps): ReactElement {\n const data = (diagnostic as DownloadFailedDiagnostic).data;\n return (\n <Box flexDirection=\"column\">\n <Text>\n Downloading <Text color=\"cyan\">{data.packageName}</Text> failed on attempt{' '}\n <Text color=\"yellow\">{data.attempt}</Text>.\n </Text>\n <Text>\n URL: <Text color=\"gray\">{data.url}</Text>\n </Text>\n <Text color=\"gray\">{data.reason}</Text>\n </Box>\n );\n}\n\nfunction DownloadHttpStatus({ diagnostic }: DiagnosticBodyProps): ReactElement {\n const data = (diagnostic as DownloadHttpStatusDiagnostic).data;\n return (\n <Box flexDirection=\"column\">\n <Text>\n <Text color=\"cyan\">{data.packageName}</Text> returned HTTP <Text color=\"yellow\">{data.status}</Text>.\n </Text>\n <Text>\n URL: <Text color=\"gray\">{data.url}</Text>\n </Text>\n </Box>\n );\n}\n\nfunction NetworkTimeout({ diagnostic }: DiagnosticBodyProps): ReactElement {\n const data = (diagnostic as NetworkTimeoutDiagnostic).data;\n return (\n <Box flexDirection=\"column\">\n <Text>\n Timed out after <Text color=\"yellow\">{data.timeoutSeconds}s</Text> fetching{' '}\n <Text color=\"cyan\">{data.packageName}</Text>.\n </Text>\n <Text>\n URL: <Text color=\"gray\">{data.url}</Text>\n </Text>\n </Box>\n );\n}\n\nfunction NetworkRetriesExhausted({ diagnostic }: DiagnosticBodyProps): ReactElement {\n const data = (diagnostic as NetworkRetriesExhaustedDiagnostic).data;\n return (\n <Box flexDirection=\"column\">\n <Text>\n Gave up on <Text color=\"cyan\">{data.packageName}</Text> after <Text color=\"yellow\">{data.attempts}</Text>{' '}\n attempts.\n </Text>\n <Text>\n URL: <Text color=\"gray\">{data.url}</Text>\n </Text>\n </Box>\n );\n}\n\nfunction IntegrityMismatch({ diagnostic }: DiagnosticBodyProps): ReactElement {\n const data = (diagnostic as IntegrityMismatchDiagnostic).data;\n return (\n <Box flexDirection=\"column\">\n <Text>\n Integrity mismatch for <Text color=\"cyan\">{data.packageName}</Text>.\n </Text>\n <Text>\n Expected: <Text color=\"gray\">{data.expected}</Text>\n </Text>\n <Text>\n Actual: <Text color=\"yellow\">{data.actual}</Text>\n </Text>\n </Box>\n );\n}\n\nfunction ExtractionFailed({ diagnostic }: DiagnosticBodyProps): ReactElement {\n const data = (diagnostic as ExtractionFailedDiagnostic).data;\n return (\n <Box flexDirection=\"column\">\n <Text>\n Extraction of <Text color=\"cyan\">{data.packageName}</Text> failed.\n </Text>\n <Text>\n Path: <Text color=\"gray\">{data.path}</Text>\n </Text>\n <Text color=\"gray\">{data.reason}</Text>\n </Box>\n );\n}\n\nfunction DiskRemoveFailed({ diagnostic }: DiagnosticBodyProps): ReactElement {\n const data = (diagnostic as DiskRemoveFailedDiagnostic).data;\n return (\n <Box flexDirection=\"column\">\n <Text>\n Could not remove <Text color=\"cyan\">{data.packageName}</Text> from disk.\n </Text>\n <Text>\n Path: <Text color=\"gray\">{data.path}</Text>\n </Text>\n <Text color=\"gray\">{data.reason}</Text>\n </Box>\n );\n}\n\nexport const installerInkComponents: DiagnosticInkComponentMap = {\n DOWNLOAD_FAILED: DownloadFailed,\n DOWNLOAD_HTTP_STATUS: DownloadHttpStatus,\n NETWORK_TIMEOUT: NetworkTimeout,\n NETWORK_RETRIES_EXHAUSTED: NetworkRetriesExhausted,\n INTEGRITY_MISMATCH: IntegrityMismatch,\n EXTRACTION_FAILED: ExtractionFailed,\n DISK_REMOVE_FAILED: DiskRemoveFailed,\n};\n"],"mappings":"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"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { DiagnosticInkComponentMap } from "../contracts/InkTypes.js";
|
|
2
|
+
//#region src/ink/components/manifestInkComponents.d.ts
|
|
3
|
+
declare const manifestInkComponents: DiagnosticInkComponentMap;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { manifestInkComponents };
|
|
3
6
|
//# sourceMappingURL=manifestInkComponents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifestInkComponents.d.ts","
|
|
1
|
+
{"version":3,"file":"manifestInkComponents.d.ts","names":[],"sources":["../../../src/ink/components/manifestInkComponents.tsx"],"mappings":";;cAsIa,uBAAuB"}
|