@uapkg/diagnostics-format 1.3.0 → 1.3.1
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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifestFormatters.js","
|
|
1
|
+
{"version":3,"file":"manifestFormatters.js","names":[],"sources":["../../../src/formatters/manifest/manifestFormatters.ts"],"sourcesContent":["import type {\n DependencyNotFoundDiagnostic,\n Diagnostic,\n ForbiddenOverridesDiagnostic,\n LockfileMissingDiagnostic,\n LockfileOutOfSyncDiagnostic,\n ManifestInvalidDiagnostic,\n} from '@uapkg/diagnostics';\nimport type { FormatterMap } from '../../contracts/FormatterTypes.js';\n\nfunction formatManifestInvalid(d: Diagnostic): string {\n const data = (d as ManifestInvalidDiagnostic).data;\n const lines = [`[ERROR MANIFEST_INVALID]: ${d.message}`, ` File: ${data.filePath}`];\n for (const issue of data.issues) {\n lines.push(` - ${issue}`);\n }\n if (d.hint) lines.push(` → ${d.hint}`);\n return lines.join('\\n');\n}\n\nfunction formatForbiddenOverrides(d: Diagnostic): string {\n const data = (d as ForbiddenOverridesDiagnostic).data;\n const lines = [\n `[ERROR FORBIDDEN_OVERRIDES]: ${d.message}`,\n ` Kind: ${data.manifestKind}`,\n ` File: ${data.filePath}`,\n ];\n if (d.hint) lines.push(` → ${d.hint}`);\n return lines.join('\\n');\n}\n\nfunction formatLockfileMissing(d: Diagnostic): string {\n const data = (d as LockfileMissingDiagnostic).data;\n const lines = [`[${d.level.toUpperCase()} LOCKFILE_MISSING]: ${d.message}`, ` File: ${data.filePath}`];\n if (d.hint) lines.push(` → ${d.hint}`);\n return lines.join('\\n');\n}\n\nfunction formatDependencyNotFound(d: Diagnostic): string {\n const data = (d as DependencyNotFoundDiagnostic).data;\n const lines = [`[INFO DEPENDENCY_NOT_FOUND]: ${d.message}`, ` Package: ${data.packageName}`];\n if (d.hint) lines.push(` → ${d.hint}`);\n return lines.join('\\n');\n}\n\nfunction formatLockfileOutOfSync(d: Diagnostic): string {\n const data = (d as LockfileOutOfSyncDiagnostic).data;\n const lines = ['[ERROR LOCKFILE_OUT_OF_SYNC]: Lockfile is out of sync with the following errors:'];\n data.issues.forEach((issue, index) => {\n lines.push(` ${index + 1}. [${issue.severity.toUpperCase()} ${issue.code}] ${issue.message}`);\n });\n if (data.additionalIssues > 0) {\n lines.push(` There are ${data.additionalIssues} additional errors.`);\n }\n lines.push(` View the full error list at: ${data.logFilePath}`);\n if (d.hint) lines.push(` → ${d.hint}`);\n return lines.join('\\n');\n}\n\nexport const manifestFormatters: FormatterMap = {\n MANIFEST_INVALID: formatManifestInvalid,\n FORBIDDEN_OVERRIDES: formatForbiddenOverrides,\n LOCKFILE_MISSING: formatLockfileMissing,\n DEPENDENCY_NOT_FOUND: formatDependencyNotFound,\n LOCKFILE_OUT_OF_SYNC: formatLockfileOutOfSync,\n};\n"],"mappings":";AAUA,SAAS,sBAAsB,GAAuB;CACpD,MAAM,OAAQ,EAAgC;CAC9C,MAAM,QAAQ,CAAC,6BAA6B,EAAE,WAAW,WAAW,KAAK,UAAU;CACnF,KAAK,MAAM,SAAS,KAAK,QACvB,MAAM,KAAK,SAAS,OAAO;CAE7B,IAAI,EAAE,MAAM,MAAM,KAAK,OAAO,EAAE,MAAM;CACtC,OAAO,MAAM,KAAK,IAAI;AACxB;AAEA,SAAS,yBAAyB,GAAuB;CACvD,MAAM,OAAQ,EAAmC;CACjD,MAAM,QAAQ;EACZ,gCAAgC,EAAE;EAClC,WAAW,KAAK;EAChB,WAAW,KAAK;CAClB;CACA,IAAI,EAAE,MAAM,MAAM,KAAK,OAAO,EAAE,MAAM;CACtC,OAAO,MAAM,KAAK,IAAI;AACxB;AAEA,SAAS,sBAAsB,GAAuB;CACpD,MAAM,OAAQ,EAAgC;CAC9C,MAAM,QAAQ,CAAC,IAAI,EAAE,MAAM,YAAY,EAAE,sBAAsB,EAAE,WAAW,WAAW,KAAK,UAAU;CACtG,IAAI,EAAE,MAAM,MAAM,KAAK,OAAO,EAAE,MAAM;CACtC,OAAO,MAAM,KAAK,IAAI;AACxB;AAEA,SAAS,yBAAyB,GAAuB;CACvD,MAAM,OAAQ,EAAmC;CACjD,MAAM,QAAQ,CAAC,gCAAgC,EAAE,WAAW,cAAc,KAAK,aAAa;CAC5F,IAAI,EAAE,MAAM,MAAM,KAAK,OAAO,EAAE,MAAM;CACtC,OAAO,MAAM,KAAK,IAAI;AACxB;AAEA,SAAS,wBAAwB,GAAuB;CACtD,MAAM,OAAQ,EAAkC;CAChD,MAAM,QAAQ,CAAC,kFAAkF;CACjG,KAAK,OAAO,SAAS,OAAO,UAAU;EACpC,MAAM,KAAK,KAAK,QAAQ,EAAE,KAAK,MAAM,SAAS,YAAY,EAAE,GAAG,MAAM,KAAK,IAAI,MAAM,SAAS;CAC/F,CAAC;CACD,IAAI,KAAK,mBAAmB,GAC1B,MAAM,KAAK,eAAe,KAAK,iBAAiB,oBAAoB;CAEtE,MAAM,KAAK,kCAAkC,KAAK,aAAa;CAC/D,IAAI,EAAE,MAAM,MAAM,KAAK,OAAO,EAAE,MAAM;CACtC,OAAO,MAAM,KAAK,IAAI;AACxB;AAEA,MAAa,qBAAmC;CAC9C,kBAAkB;CAClB,qBAAqB;CACrB,kBAAkB;CAClB,sBAAsB;CACtB,sBAAsB;AACxB"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { FormatterMap } from "../../contracts/FormatterTypes.js";
|
|
2
|
+
//#region src/formatters/pack/packFormatters.d.ts
|
|
3
|
+
declare const packFormatters: FormatterMap;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { packFormatters };
|
|
3
6
|
//# sourceMappingURL=packFormatters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packFormatters.d.ts","
|
|
1
|
+
{"version":3,"file":"packFormatters.d.ts","names":[],"sources":["../../../src/formatters/pack/packFormatters.ts"],"mappings":";;cAYa,gBAAgB"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
//#region src/formatters/pack/packFormatters.ts
|
|
1
2
|
function formatUpluginMissing(diagnostic) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
return lines.join('\n');
|
|
3
|
+
const data = diagnostic.data;
|
|
4
|
+
const lines = [`[ERROR UPLUGIN_MISSING]: ${diagnostic.message}`, ` Plugin root: ${data.pluginRoot}`];
|
|
5
|
+
if (diagnostic.hint) lines.push(` → ${diagnostic.hint}`);
|
|
6
|
+
return lines.join("\n");
|
|
8
7
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
const packFormatters = { UPLUGIN_MISSING: formatUpluginMissing };
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { packFormatters };
|
|
12
12
|
//# sourceMappingURL=packFormatters.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packFormatters.js","
|
|
1
|
+
{"version":3,"file":"packFormatters.js","names":[],"sources":["../../../src/formatters/pack/packFormatters.ts"],"sourcesContent":["import type { Diagnostic, UpluginMissingDiagnostic } from '@uapkg/diagnostics';\nimport type { FormatterMap } from '../../contracts/FormatterTypes.js';\n\nfunction formatUpluginMissing(diagnostic: Diagnostic): string {\n const data = (diagnostic as UpluginMissingDiagnostic).data;\n const lines = [`[ERROR UPLUGIN_MISSING]: ${diagnostic.message}`, ` Plugin root: ${data.pluginRoot}`];\n if (diagnostic.hint) {\n lines.push(` → ${diagnostic.hint}`);\n }\n return lines.join('\\n');\n}\n\nexport const packFormatters: FormatterMap = {\n UPLUGIN_MISSING: formatUpluginMissing,\n};\n"],"mappings":";AAGA,SAAS,qBAAqB,YAAgC;CAC5D,MAAM,OAAQ,WAAwC;CACtD,MAAM,QAAQ,CAAC,4BAA4B,WAAW,WAAW,kBAAkB,KAAK,YAAY;CACpG,IAAI,WAAW,MACb,MAAM,KAAK,OAAO,WAAW,MAAM;CAErC,OAAO,MAAM,KAAK,IAAI;AACxB;AAEA,MAAa,iBAA+B,EAC1C,iBAAiB,qBACnB"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { FormatterMap } from "../../contracts/FormatterTypes.js";
|
|
2
|
+
//#region src/formatters/postinstall/postinstallFormatters.d.ts
|
|
3
|
+
declare const postinstallFormatters: FormatterMap;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { postinstallFormatters };
|
|
3
6
|
//# sourceMappingURL=postinstallFormatters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postinstallFormatters.d.ts","
|
|
1
|
+
{"version":3,"file":"postinstallFormatters.d.ts","names":[],"sources":["../../../src/formatters/postinstall/postinstallFormatters.ts"],"mappings":";;cAqDa,uBAAuB"}
|
|
@@ -1,50 +1,49 @@
|
|
|
1
|
+
//#region src/formatters/postinstall/postinstallFormatters.ts
|
|
1
2
|
function formatPolicyDenied(d) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
return lines.join('\n');
|
|
3
|
+
const data = d.data;
|
|
4
|
+
const lines = [
|
|
5
|
+
`[INFO POSTINSTALL_POLICY_DENIED]: ${d.message}`,
|
|
6
|
+
` Registry: ${data.registry}`,
|
|
7
|
+
` Policy : ${data.policy} (from ${data.resolvedFrom})`
|
|
8
|
+
];
|
|
9
|
+
if (d.hint) lines.push(` → ${d.hint}`);
|
|
10
|
+
return lines.join("\n");
|
|
11
11
|
}
|
|
12
12
|
function formatLoadFailed(d) {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
const data = d.data;
|
|
14
|
+
return `[ERROR POSTINSTALL_LOAD_FAILED]: ${d.message}\n Entry: ${data.entryFile}`;
|
|
15
15
|
}
|
|
16
16
|
function formatInvalidExport(d) {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
lines.push(` → ${d.hint}`);
|
|
23
|
-
return lines.join('\n');
|
|
17
|
+
const data = d.data;
|
|
18
|
+
const lines = [`[ERROR POSTINSTALL_INVALID_EXPORT]: ${d.message}`, ` Entry: ${data.entryFile}`];
|
|
19
|
+
for (const issue of data.issues) lines.push(` - ${issue}`);
|
|
20
|
+
if (d.hint) lines.push(` → ${d.hint}`);
|
|
21
|
+
return lines.join("\n");
|
|
24
22
|
}
|
|
25
23
|
function formatDuplicateEntry(d) {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
lines.push(` → ${d.hint}`);
|
|
32
|
-
return lines.join('\n');
|
|
24
|
+
const data = d.data;
|
|
25
|
+
const lines = [`[ERROR POSTINSTALL_DUPLICATE_ENTRY]: ${d.message}`];
|
|
26
|
+
for (const c of data.candidates) lines.push(` - ${c}`);
|
|
27
|
+
if (d.hint) lines.push(` → ${d.hint}`);
|
|
28
|
+
return lines.join("\n");
|
|
33
29
|
}
|
|
34
30
|
function formatMarkerCorrupt(d) {
|
|
35
|
-
|
|
36
|
-
|
|
31
|
+
const data = d.data;
|
|
32
|
+
return `[ERROR POSTINSTALL_MARKER_CORRUPT]: ${d.message}\n File: ${data.file}`;
|
|
37
33
|
}
|
|
38
34
|
function formatEsbuildError(d) {
|
|
39
|
-
|
|
40
|
-
|
|
35
|
+
const data = d.data;
|
|
36
|
+
return `[ERROR POSTINSTALL_ESBUILD_ERROR]: ${d.message}\n Entry: ${data.entryFile}`;
|
|
41
37
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
38
|
+
const postinstallFormatters = {
|
|
39
|
+
POSTINSTALL_POLICY_DENIED: formatPolicyDenied,
|
|
40
|
+
POSTINSTALL_LOAD_FAILED: formatLoadFailed,
|
|
41
|
+
POSTINSTALL_INVALID_EXPORT: formatInvalidExport,
|
|
42
|
+
POSTINSTALL_DUPLICATE_ENTRY: formatDuplicateEntry,
|
|
43
|
+
POSTINSTALL_MARKER_CORRUPT: formatMarkerCorrupt,
|
|
44
|
+
POSTINSTALL_ESBUILD_ERROR: formatEsbuildError
|
|
49
45
|
};
|
|
46
|
+
|
|
47
|
+
//#endregion
|
|
48
|
+
export { postinstallFormatters };
|
|
50
49
|
//# sourceMappingURL=postinstallFormatters.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postinstallFormatters.js","
|
|
1
|
+
{"version":3,"file":"postinstallFormatters.js","names":[],"sources":["../../../src/formatters/postinstall/postinstallFormatters.ts"],"sourcesContent":["import type {\n Diagnostic,\n PostinstallDuplicateEntryDiagnostic,\n PostinstallEsbuildErrorDiagnostic,\n PostinstallInvalidExportDiagnostic,\n PostinstallLoadFailedDiagnostic,\n PostinstallMarkerCorruptDiagnostic,\n PostinstallPolicyDeniedDiagnostic,\n} from '@uapkg/diagnostics';\nimport type { FormatterMap } from '../../contracts/FormatterTypes.js';\n\nfunction formatPolicyDenied(d: Diagnostic): string {\n const data = (d as PostinstallPolicyDeniedDiagnostic).data;\n const lines = [\n `[INFO POSTINSTALL_POLICY_DENIED]: ${d.message}`,\n ` Registry: ${data.registry}`,\n ` Policy : ${data.policy} (from ${data.resolvedFrom})`,\n ];\n if (d.hint) lines.push(` → ${d.hint}`);\n return lines.join('\\n');\n}\n\nfunction formatLoadFailed(d: Diagnostic): string {\n const data = (d as PostinstallLoadFailedDiagnostic).data;\n return `[ERROR POSTINSTALL_LOAD_FAILED]: ${d.message}\\n Entry: ${data.entryFile}`;\n}\n\nfunction formatInvalidExport(d: Diagnostic): string {\n const data = (d as PostinstallInvalidExportDiagnostic).data;\n const lines = [`[ERROR POSTINSTALL_INVALID_EXPORT]: ${d.message}`, ` Entry: ${data.entryFile}`];\n for (const issue of data.issues) lines.push(` - ${issue}`);\n if (d.hint) lines.push(` → ${d.hint}`);\n return lines.join('\\n');\n}\n\nfunction formatDuplicateEntry(d: Diagnostic): string {\n const data = (d as PostinstallDuplicateEntryDiagnostic).data;\n const lines = [`[ERROR POSTINSTALL_DUPLICATE_ENTRY]: ${d.message}`];\n for (const c of data.candidates) lines.push(` - ${c}`);\n if (d.hint) lines.push(` → ${d.hint}`);\n return lines.join('\\n');\n}\n\nfunction formatMarkerCorrupt(d: Diagnostic): string {\n const data = (d as PostinstallMarkerCorruptDiagnostic).data;\n return `[ERROR POSTINSTALL_MARKER_CORRUPT]: ${d.message}\\n File: ${data.file}`;\n}\n\nfunction formatEsbuildError(d: Diagnostic): string {\n const data = (d as PostinstallEsbuildErrorDiagnostic).data;\n return `[ERROR POSTINSTALL_ESBUILD_ERROR]: ${d.message}\\n Entry: ${data.entryFile}`;\n}\n\nexport const postinstallFormatters: FormatterMap = {\n POSTINSTALL_POLICY_DENIED: formatPolicyDenied,\n POSTINSTALL_LOAD_FAILED: formatLoadFailed,\n POSTINSTALL_INVALID_EXPORT: formatInvalidExport,\n POSTINSTALL_DUPLICATE_ENTRY: formatDuplicateEntry,\n POSTINSTALL_MARKER_CORRUPT: formatMarkerCorrupt,\n POSTINSTALL_ESBUILD_ERROR: formatEsbuildError,\n};\n"],"mappings":";AAWA,SAAS,mBAAmB,GAAuB;CACjD,MAAM,OAAQ,EAAwC;CACtD,MAAM,QAAQ;EACZ,qCAAqC,EAAE;EACvC,eAAe,KAAK;EACpB,eAAe,KAAK,OAAO,SAAS,KAAK,aAAa;CACxD;CACA,IAAI,EAAE,MAAM,MAAM,KAAK,OAAO,EAAE,MAAM;CACtC,OAAO,MAAM,KAAK,IAAI;AACxB;AAEA,SAAS,iBAAiB,GAAuB;CAC/C,MAAM,OAAQ,EAAsC;CACpD,OAAO,oCAAoC,EAAE,QAAQ,aAAa,KAAK;AACzE;AAEA,SAAS,oBAAoB,GAAuB;CAClD,MAAM,OAAQ,EAAyC;CACvD,MAAM,QAAQ,CAAC,uCAAuC,EAAE,WAAW,YAAY,KAAK,WAAW;CAC/F,KAAK,MAAM,SAAS,KAAK,QAAQ,MAAM,KAAK,SAAS,OAAO;CAC5D,IAAI,EAAE,MAAM,MAAM,KAAK,OAAO,EAAE,MAAM;CACtC,OAAO,MAAM,KAAK,IAAI;AACxB;AAEA,SAAS,qBAAqB,GAAuB;CACnD,MAAM,OAAQ,EAA0C;CACxD,MAAM,QAAQ,CAAC,wCAAwC,EAAE,SAAS;CAClE,KAAK,MAAM,KAAK,KAAK,YAAY,MAAM,KAAK,SAAS,GAAG;CACxD,IAAI,EAAE,MAAM,MAAM,KAAK,OAAO,EAAE,MAAM;CACtC,OAAO,MAAM,KAAK,IAAI;AACxB;AAEA,SAAS,oBAAoB,GAAuB;CAClD,MAAM,OAAQ,EAAyC;CACvD,OAAO,uCAAuC,EAAE,QAAQ,YAAY,KAAK;AAC3E;AAEA,SAAS,mBAAmB,GAAuB;CACjD,MAAM,OAAQ,EAAwC;CACtD,OAAO,sCAAsC,EAAE,QAAQ,aAAa,KAAK;AAC3E;AAEA,MAAa,wBAAsC;CACjD,2BAA2B;CAC3B,yBAAyB;CACzB,4BAA4B;CAC5B,6BAA6B;CAC7B,4BAA4B;CAC5B,2BAA2B;AAC7B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FormatterMap } from "../../contracts/FormatterTypes.js";
|
|
2
|
+
import { Diagnostic, PublishDiagnosticFact, PublishDiagnosticResource } from "@uapkg/diagnostics";
|
|
3
|
+
//#region src/formatters/publishing/publishingFormatters.d.ts
|
|
4
|
+
declare const publishFactLabels: Record<PublishDiagnosticFact['kind'], string>;
|
|
5
|
+
declare function publishResourceLabel(resource: PublishDiagnosticResource): string;
|
|
6
|
+
/**
|
|
7
|
+
* Render a publish submission failure in problem → context → fix → resource
|
|
8
|
+
* order. Values have already been validated by the publish error mapper.
|
|
9
|
+
*/
|
|
10
|
+
declare function formatPublishRequestFailed(diagnostic: Diagnostic): string;
|
|
11
|
+
declare const publishingFormatters: FormatterMap;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { formatPublishRequestFailed, publishFactLabels, publishResourceLabel, publishingFormatters };
|
|
14
|
+
//# sourceMappingURL=publishingFormatters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publishingFormatters.d.ts","names":[],"sources":["../../../src/formatters/publishing/publishingFormatters.ts"],"mappings":";;;cAQa,mBAAmB,OAAO;iBAkBvB,qBAAqB,UAAU;;;;;iBAU/B,2BAA2B,YAAY;cAoB1C,sBAAsB"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
//#region src/formatters/publishing/publishingFormatters.ts
|
|
2
|
+
const publishFactLabels = {
|
|
3
|
+
package: "Package",
|
|
4
|
+
version: "Version",
|
|
5
|
+
registry: "Registry",
|
|
6
|
+
"credential-kind": "Credential",
|
|
7
|
+
"requested-owner": "Requested UAPKG owner",
|
|
8
|
+
"token-owner": "Token owner",
|
|
9
|
+
"allowed-owner": "Allowed UAPKG owner",
|
|
10
|
+
"actual-access-mode": "Current access",
|
|
11
|
+
"required-access-mode": "Required access",
|
|
12
|
+
repository: "Repository",
|
|
13
|
+
"requested-repository": "Submitted repository",
|
|
14
|
+
"trusted-repository": "Trusted repository",
|
|
15
|
+
"request-id": "Request ID",
|
|
16
|
+
"retry-after": "Retry after",
|
|
17
|
+
"missing-capability": "Missing capability"
|
|
18
|
+
};
|
|
19
|
+
function publishResourceLabel(resource) {
|
|
20
|
+
const label = resource.label?.trim();
|
|
21
|
+
if (label) return label;
|
|
22
|
+
return resource.kind === "command" ? "Command" : "More information";
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Render a publish submission failure in problem → context → fix → resource
|
|
26
|
+
* order. Values have already been validated by the publish error mapper.
|
|
27
|
+
*/
|
|
28
|
+
function formatPublishRequestFailed(diagnostic) {
|
|
29
|
+
const d = diagnostic;
|
|
30
|
+
const lines = [`[${d.level.toUpperCase()} ${d.code}]: ${d.message}`];
|
|
31
|
+
for (const fact of d.data.facts) lines.push(` ${publishFactLabels[fact.kind]}: ${fact.value}`);
|
|
32
|
+
if (d.data.serverCode !== void 0) lines.push(` Server code: ${d.data.serverCode}`);
|
|
33
|
+
if (d.data.status !== void 0) lines.push(` HTTP status: ${d.data.status}`);
|
|
34
|
+
if (d.hint) lines.push(` → ${d.hint}`);
|
|
35
|
+
for (const resource of d.data.resources) {
|
|
36
|
+
const value = resource.kind === "command" ? resource.command : resource.url;
|
|
37
|
+
lines.push(` ${publishResourceLabel(resource)}: ${value}`);
|
|
38
|
+
}
|
|
39
|
+
return lines.join("\n");
|
|
40
|
+
}
|
|
41
|
+
const publishingFormatters = { PUBLISH_REQUEST_FAILED: formatPublishRequestFailed };
|
|
42
|
+
|
|
43
|
+
//#endregion
|
|
44
|
+
export { formatPublishRequestFailed, publishFactLabels, publishResourceLabel, publishingFormatters };
|
|
45
|
+
//# sourceMappingURL=publishingFormatters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publishingFormatters.js","names":[],"sources":["../../../src/formatters/publishing/publishingFormatters.ts"],"sourcesContent":["import type {\n Diagnostic,\n PublishDiagnosticFact,\n PublishDiagnosticResource,\n PublishRequestFailedDiagnostic,\n} from '@uapkg/diagnostics';\nimport type { FormatterMap } from '../../contracts/FormatterTypes.js';\n\nexport const publishFactLabels: Record<PublishDiagnosticFact['kind'], string> = {\n package: 'Package',\n version: 'Version',\n registry: 'Registry',\n 'credential-kind': 'Credential',\n 'requested-owner': 'Requested UAPKG owner',\n 'token-owner': 'Token owner',\n 'allowed-owner': 'Allowed UAPKG owner',\n 'actual-access-mode': 'Current access',\n 'required-access-mode': 'Required access',\n repository: 'Repository',\n 'requested-repository': 'Submitted repository',\n 'trusted-repository': 'Trusted repository',\n 'request-id': 'Request ID',\n 'retry-after': 'Retry after',\n 'missing-capability': 'Missing capability',\n};\n\nexport function publishResourceLabel(resource: PublishDiagnosticResource): string {\n const label = resource.label?.trim();\n if (label) return label;\n return resource.kind === 'command' ? 'Command' : 'More information';\n}\n\n/**\n * Render a publish submission failure in problem → context → fix → resource\n * order. Values have already been validated by the publish error mapper.\n */\nexport function formatPublishRequestFailed(diagnostic: Diagnostic): string {\n const d = diagnostic as PublishRequestFailedDiagnostic;\n const tag = d.level.toUpperCase();\n const lines = [`[${tag} ${d.code}]: ${d.message}`];\n\n for (const fact of d.data.facts) {\n lines.push(` ${publishFactLabels[fact.kind]}: ${fact.value}`);\n }\n if (d.data.serverCode !== undefined) lines.push(` Server code: ${d.data.serverCode}`);\n if (d.data.status !== undefined) lines.push(` HTTP status: ${d.data.status}`);\n if (d.hint) lines.push(` → ${d.hint}`);\n\n for (const resource of d.data.resources) {\n const value = resource.kind === 'command' ? resource.command : resource.url;\n lines.push(` ${publishResourceLabel(resource)}: ${value}`);\n }\n\n return lines.join('\\n');\n}\n\nexport const publishingFormatters: FormatterMap = {\n PUBLISH_REQUEST_FAILED: formatPublishRequestFailed,\n};\n"],"mappings":";AAQA,MAAa,oBAAmE;CAC9E,SAAS;CACT,SAAS;CACT,UAAU;CACV,mBAAmB;CACnB,mBAAmB;CACnB,eAAe;CACf,iBAAiB;CACjB,sBAAsB;CACtB,wBAAwB;CACxB,YAAY;CACZ,wBAAwB;CACxB,sBAAsB;CACtB,cAAc;CACd,eAAe;CACf,sBAAsB;AACxB;AAEA,SAAgB,qBAAqB,UAA6C;CAChF,MAAM,QAAQ,SAAS,OAAO,KAAK;CACnC,IAAI,OAAO,OAAO;CAClB,OAAO,SAAS,SAAS,YAAY,YAAY;AACnD;;;;;AAMA,SAAgB,2BAA2B,YAAgC;CACzE,MAAM,IAAI;CAEV,MAAM,QAAQ,CAAC,IADH,EAAE,MAAM,YACC,EAAE,GAAG,EAAE,KAAK,KAAK,EAAE,SAAS;CAEjD,KAAK,MAAM,QAAQ,EAAE,KAAK,OACxB,MAAM,KAAK,KAAK,kBAAkB,KAAK,MAAM,IAAI,KAAK,OAAO;CAE/D,IAAI,EAAE,KAAK,eAAe,QAAW,MAAM,KAAK,kBAAkB,EAAE,KAAK,YAAY;CACrF,IAAI,EAAE,KAAK,WAAW,QAAW,MAAM,KAAK,kBAAkB,EAAE,KAAK,QAAQ;CAC7E,IAAI,EAAE,MAAM,MAAM,KAAK,OAAO,EAAE,MAAM;CAEtC,KAAK,MAAM,YAAY,EAAE,KAAK,WAAW;EACvC,MAAM,QAAQ,SAAS,SAAS,YAAY,SAAS,UAAU,SAAS;EACxE,MAAM,KAAK,KAAK,qBAAqB,QAAQ,EAAE,IAAI,OAAO;CAC5D;CAEA,OAAO,MAAM,KAAK,IAAI;AACxB;AAEA,MAAa,uBAAqC,EAChD,wBAAwB,2BAC1B"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { FormatterMap } from "../../contracts/FormatterTypes.js";
|
|
2
|
+
//#region src/formatters/registry/registryFormatters.d.ts
|
|
3
|
+
declare const registryFormatters: FormatterMap;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { registryFormatters };
|
|
3
6
|
//# sourceMappingURL=registryFormatters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registryFormatters.d.ts","
|
|
1
|
+
{"version":3,"file":"registryFormatters.d.ts","names":[],"sources":["../../../src/formatters/registry/registryFormatters.ts"],"mappings":";;cA2Ca,oBAAoB"}
|
|
@@ -1,42 +1,41 @@
|
|
|
1
|
+
//#region src/formatters/registry/registryFormatters.ts
|
|
1
2
|
function formatGitError(d) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
const data = d.data;
|
|
4
|
+
const lines = [
|
|
5
|
+
`[ERROR GIT_ERROR]: ${d.message}`,
|
|
6
|
+
` Command : ${data.command}`,
|
|
7
|
+
` Exit : ${data.exitCode}`
|
|
8
|
+
];
|
|
9
|
+
if (data.stderr) lines.push(` Stderr : ${data.stderr}`);
|
|
10
|
+
if (d.hint) lines.push(` → ${d.hint}`);
|
|
11
|
+
return lines.join("\n");
|
|
9
12
|
}
|
|
10
13
|
function formatSchemaInvalid(d) {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
if (d.hint)
|
|
17
|
-
lines.push(` → ${d.hint}`);
|
|
18
|
-
return lines.join('\n');
|
|
14
|
+
const data = d.data;
|
|
15
|
+
const lines = [`[ERROR SCHEMA_INVALID]: ${d.message}`, ` File: ${data.filePath}`];
|
|
16
|
+
for (const issue of data.issues) lines.push(` - ${issue}`);
|
|
17
|
+
if (d.hint) lines.push(` → ${d.hint}`);
|
|
18
|
+
return lines.join("\n");
|
|
19
19
|
}
|
|
20
20
|
function formatRegistryUnreachable(d) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
lines.push(` Cache : ${data.initialized ? 'initialized' : 'not initialized'}`);
|
|
33
|
-
if (d.hint)
|
|
34
|
-
lines.push(` → ${d.hint}`);
|
|
35
|
-
return lines.join('\n');
|
|
21
|
+
const data = d.data;
|
|
22
|
+
const lines = [
|
|
23
|
+
`[${d.level.toUpperCase()} REGISTRY_UNREACHABLE]: ${d.message}`,
|
|
24
|
+
` Registry : ${data.registryName}`,
|
|
25
|
+
` URL : ${data.url}`
|
|
26
|
+
];
|
|
27
|
+
if (data.httpStatus !== void 0) lines.push(` HTTP : ${data.httpStatus}`);
|
|
28
|
+
lines.push(` Cause : ${data.cause}`);
|
|
29
|
+
lines.push(` Cache : ${data.initialized ? "initialized" : "not initialized"}`);
|
|
30
|
+
if (d.hint) lines.push(` → ${d.hint}`);
|
|
31
|
+
return lines.join("\n");
|
|
36
32
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
33
|
+
const registryFormatters = {
|
|
34
|
+
GIT_ERROR: formatGitError,
|
|
35
|
+
SCHEMA_INVALID: formatSchemaInvalid,
|
|
36
|
+
REGISTRY_UNREACHABLE: formatRegistryUnreachable
|
|
41
37
|
};
|
|
38
|
+
|
|
39
|
+
//#endregion
|
|
40
|
+
export { registryFormatters };
|
|
42
41
|
//# sourceMappingURL=registryFormatters.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registryFormatters.js","
|
|
1
|
+
{"version":3,"file":"registryFormatters.js","names":[],"sources":["../../../src/formatters/registry/registryFormatters.ts"],"sourcesContent":["import type {\n Diagnostic,\n GitErrorDiagnostic,\n RegistryUnreachableDiagnostic,\n SchemaInvalidDiagnostic,\n} from '@uapkg/diagnostics';\nimport type { FormatterMap } from '../../contracts/FormatterTypes.js';\n\nfunction formatGitError(d: Diagnostic): string {\n const data = (d as GitErrorDiagnostic).data;\n const lines = [`[ERROR GIT_ERROR]: ${d.message}`, ` Command : ${data.command}`, ` Exit : ${data.exitCode}`];\n if (data.stderr) lines.push(` Stderr : ${data.stderr}`);\n if (d.hint) lines.push(` → ${d.hint}`);\n return lines.join('\\n');\n}\n\nfunction formatSchemaInvalid(d: Diagnostic): string {\n const data = (d as SchemaInvalidDiagnostic).data;\n const lines = [`[ERROR SCHEMA_INVALID]: ${d.message}`, ` File: ${data.filePath}`];\n for (const issue of data.issues) {\n lines.push(` - ${issue}`);\n }\n if (d.hint) lines.push(` → ${d.hint}`);\n return lines.join('\\n');\n}\n\nfunction formatRegistryUnreachable(d: Diagnostic): string {\n const data = (d as RegistryUnreachableDiagnostic).data;\n const level = d.level.toUpperCase();\n const lines = [\n `[${level} REGISTRY_UNREACHABLE]: ${d.message}`,\n ` Registry : ${data.registryName}`,\n ` URL : ${data.url}`,\n ];\n if (data.httpStatus !== undefined) {\n lines.push(` HTTP : ${data.httpStatus}`);\n }\n lines.push(` Cause : ${data.cause}`);\n lines.push(` Cache : ${data.initialized ? 'initialized' : 'not initialized'}`);\n if (d.hint) lines.push(` → ${d.hint}`);\n return lines.join('\\n');\n}\n\nexport const registryFormatters: FormatterMap = {\n GIT_ERROR: formatGitError,\n SCHEMA_INVALID: formatSchemaInvalid,\n REGISTRY_UNREACHABLE: formatRegistryUnreachable,\n};\n"],"mappings":";AAQA,SAAS,eAAe,GAAuB;CAC7C,MAAM,OAAQ,EAAyB;CACvC,MAAM,QAAQ;EAAC,sBAAsB,EAAE;EAAW,eAAe,KAAK;EAAW,eAAe,KAAK;CAAU;CAC/G,IAAI,KAAK,QAAQ,MAAM,KAAK,eAAe,KAAK,QAAQ;CACxD,IAAI,EAAE,MAAM,MAAM,KAAK,OAAO,EAAE,MAAM;CACtC,OAAO,MAAM,KAAK,IAAI;AACxB;AAEA,SAAS,oBAAoB,GAAuB;CAClD,MAAM,OAAQ,EAA8B;CAC5C,MAAM,QAAQ,CAAC,2BAA2B,EAAE,WAAW,WAAW,KAAK,UAAU;CACjF,KAAK,MAAM,SAAS,KAAK,QACvB,MAAM,KAAK,SAAS,OAAO;CAE7B,IAAI,EAAE,MAAM,MAAM,KAAK,OAAO,EAAE,MAAM;CACtC,OAAO,MAAM,KAAK,IAAI;AACxB;AAEA,SAAS,0BAA0B,GAAuB;CACxD,MAAM,OAAQ,EAAoC;CAElD,MAAM,QAAQ;EACZ,IAFY,EAAE,MAAM,YAEZ,EAAE,0BAA0B,EAAE;EACtC,gBAAgB,KAAK;EACrB,gBAAgB,KAAK;CACvB;CACA,IAAI,KAAK,eAAe,QACtB,MAAM,KAAK,gBAAgB,KAAK,YAAY;CAE9C,MAAM,KAAK,gBAAgB,KAAK,OAAO;CACvC,MAAM,KAAK,gBAAgB,KAAK,cAAc,gBAAgB,mBAAmB;CACjF,IAAI,EAAE,MAAM,MAAM,KAAK,OAAO,EAAE,MAAM;CACtC,OAAO,MAAM,KAAK,IAAI;AACxB;AAEA,MAAa,qBAAmC;CAC9C,WAAW;CACX,gBAAgB;CAChB,sBAAsB;AACxB"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { FormatterMap } from "../../contracts/FormatterTypes.js";
|
|
2
|
+
//#region src/formatters/registryTools/registryToolsFormatters.d.ts
|
|
3
|
+
declare const registryToolsFormatters: FormatterMap;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { registryToolsFormatters };
|
|
3
6
|
//# sourceMappingURL=registryToolsFormatters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registryToolsFormatters.d.ts","
|
|
1
|
+
{"version":3,"file":"registryToolsFormatters.d.ts","names":[],"sources":["../../../src/formatters/registryTools/registryToolsFormatters.ts"],"mappings":";;cAuLa,yBAAyB"}
|