style: fix prettier formatting

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
frostebite
2026-03-05 14:13:02 +00:00
parent 7615bbd9dd
commit 1e2bb889bf
4 changed files with 22 additions and 17 deletions

10
dist/index.js generated vendored
View File

@@ -10144,10 +10144,7 @@ class OutputTypeRegistry {
* Get all registered types (built-in + custom).
*/
static getAllTypes() {
return [
...Object.values(OutputTypeRegistry.builtInTypes),
...Object.values(OutputTypeRegistry.customTypes),
];
return [...Object.values(OutputTypeRegistry.builtInTypes), ...Object.values(OutputTypeRegistry.customTypes)];
}
/**
* Register a custom output type.
@@ -10168,7 +10165,10 @@ class OutputTypeRegistry {
if (!outputTypesInput) {
return [];
}
const names = outputTypesInput.split(',').map((s) => s.trim()).filter(Boolean);
const names = outputTypesInput
.split(',')
.map((s) => s.trim())
.filter(Boolean);
const types = [];
for (const name of names) {
const typeDef = OutputTypeRegistry.getType(name);

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@@ -39,10 +39,15 @@ export class OutputService {
return manifest;
}
OrchestratorLogger.log(`[Output] Collecting ${types.length} output type(s): ${types.map((t) => t.name).join(', ')}`);
OrchestratorLogger.log(
`[Output] Collecting ${types.length} output type(s): ${types.map((t) => t.name).join(', ')}`,
);
for (const typeDef of types) {
const outputPath = path.join(projectPath, typeDef.defaultPath.replace('{platform}', process.env.BUILD_TARGET || 'Unknown'));
const outputPath = path.join(
projectPath,
typeDef.defaultPath.replace('{platform}', process.env.BUILD_TARGET || 'Unknown'),
);
if (!fs.existsSync(outputPath)) {
OrchestratorLogger.log(`[Output] No output found for '${typeDef.name}' at ${outputPath}`);
@@ -68,7 +73,9 @@ export class OutputService {
}
manifest.outputs.push(entry);
OrchestratorLogger.log(`[Output] Collected '${typeDef.name}': ${entry.files?.length || 1} file(s), ${entry.size || 0} bytes`);
OrchestratorLogger.log(
`[Output] Collected '${typeDef.name}': ${entry.files?.length || 1} file(s), ${entry.size || 0} bytes`,
);
}
// Write manifest to disk

View File

@@ -83,10 +83,7 @@ export class OutputTypeRegistry {
* Get all registered types (built-in + custom).
*/
static getAllTypes(): OutputTypeDefinition[] {
return [
...Object.values(OutputTypeRegistry.builtInTypes),
...Object.values(OutputTypeRegistry.customTypes),
];
return [...Object.values(OutputTypeRegistry.builtInTypes), ...Object.values(OutputTypeRegistry.customTypes)];
}
/**
@@ -94,9 +91,7 @@ export class OutputTypeRegistry {
*/
static registerType(definition: OutputTypeDefinition): void {
if (OutputTypeRegistry.builtInTypes[definition.name]) {
OrchestratorLogger.logWarning(
`[OutputTypes] Cannot override built-in type '${definition.name}'`,
);
OrchestratorLogger.logWarning(`[OutputTypes] Cannot override built-in type '${definition.name}'`);
return;
}
@@ -114,7 +109,10 @@ export class OutputTypeRegistry {
return [];
}
const names = outputTypesInput.split(',').map((s) => s.trim()).filter(Boolean);
const names = outputTypesInput
.split(',')
.map((s) => s.trim())
.filter(Boolean);
const types: OutputTypeDefinition[] = [];
for (const name of names) {