mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 17:58:43 -05:00
chore: clean
This commit is contained in:
@@ -58,10 +58,6 @@ const generateSchema = async (options) => {
|
||||
fs.writeFileSync(outputPath, JSON.stringify(schema, null, 2));
|
||||
|
||||
console.log(chalk.green(`✅ JSON Schema generated: ${outputPath}`));
|
||||
console.log(`📊 Schema stats:`);
|
||||
console.log(` • Properties: ${Object.keys(schema.properties || {}).length}`);
|
||||
console.log(` • Definitions: ${Object.keys(schema.definitions || schema.$defs || {}).length}`);
|
||||
|
||||
return { schema, projectName, schemaFileName, outputPath };
|
||||
} catch (error) {
|
||||
console.error(chalk.red(`❌ Failed to generate schema: ${error.message}`));
|
||||
|
||||
Reference in New Issue
Block a user