Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CLI/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@
"node": ">=18.0.0"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.32.0",
"@anthropic-ai/sdk": "^0.82.0",
"ajv": "^8.17.1",
"chalk": "^5.3.0",
"commander": "^12.1.0",
"commander": "^14.0.0",
"dotenv": "^16.4.5",
"inquirer": "^12.2.0",
"ora": "^8.1.0"
},
"devDependencies": {
"@types/inquirer": "^9.0.7",
"@types/node": "^22.10.0",
"@types/node": "^25.5.0",
"@vitest/coverage-v8": "^4.0.18",
"typescript": "^5.6.3",
"vitest": "^4.0.18"
Expand Down
4 changes: 2 additions & 2 deletions CLI/src/commands/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export function createBuildCommand(): Command {
JSON.stringify({ success: false, error: result.error }, null, 2)
);
} else {
printFailureBanner('build', result.error || 'Unknown error');
printFailureBanner('build', result.error ?? 'Unknown error');
}
process.exit(2);
}
Expand All @@ -149,7 +149,7 @@ export function createBuildCommand(): Command {
console.log(
formatKeyValue([
{ key: 'App Name', value: found.idea.name },
{ key: 'Build Path', value: result.buildPath || 'N/A' },
{ key: 'Build Path', value: result.buildPath ?? 'N/A' },
])
);
console.log();
Expand Down
4 changes: 2 additions & 2 deletions CLI/src/commands/dream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export function createDreamCommand(): Command {
JSON.stringify({ success: false, error: result.error }, null, 2)
);
} else {
printFailureBanner('dream', result.error || 'Unknown error');
printFailureBanner('dream', result.error ?? 'Unknown error');
}
process.exit(2);
}
Expand All @@ -151,7 +151,7 @@ export function createDreamCommand(): Command {
console.log(
formatKeyValue([
{ key: 'Run Path', value: result.runPath },
{ key: 'Build Path', value: result.buildPath || 'N/A' },
{ key: 'Build Path', value: result.buildPath ?? 'N/A' },
])
);
console.log();
Expand Down
2 changes: 1 addition & 1 deletion CLI/src/commands/resume.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export function createResumeCommand(): Command {
JSON.stringify({ success: false, error: result.error }, null, 2)
);
} else {
printFailureBanner('resume', result.error || 'Unknown error');
printFailureBanner('resume', result.error ?? 'Unknown error');
}
process.exit(2);
}
Expand Down
2 changes: 1 addition & 1 deletion CLI/src/commands/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export function createRunCommand(): Command {
JSON.stringify({ success: false, error: result.error }, null, 2)
);
} else {
printFailureBanner('run', result.error || 'Unknown error');
printFailureBanner('run', result.error ?? 'Unknown error');
}
process.exit(2);
}
Expand Down
2 changes: 1 addition & 1 deletion CLI/src/core/stages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export function getDreamStages(): StageDefinition[] {
}

// Schema validation
const ajv = new Ajv.default({ allErrors: true, strict: false });
const ajv = new Ajv({ allErrors: true });

export function validateAgainstSchema(
data: unknown,
Expand Down
6 changes: 3 additions & 3 deletions core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@
"test": "node --test"
},
"devDependencies": {
"@types/node": "^20.0.0",
"typescript": "^5.0.0"
"@types/node": "^25.5.0",
"typescript": "^6.0.0"
},
"dependencies": {
"chalk": "^5.3.0",
"ajv": "^8.12.0",
"zod": "^3.22.0"
"zod": "^4.3.0"
},
"engines": {
"node": ">=18.0.0"
Expand Down
10 changes: 5 additions & 5 deletions dapp-factory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@
"author": "App Factory",
"license": "MIT",
"dependencies": {
"archiver": "^6.0.0",
"archiver": "^7.0.0",
"handlebars": "^4.7.8",
"zod": "^3.22.0"
"zod": "^4.3.0"
},
"devDependencies": {
"@types/archiver": "^6.0.0",
"@types/node": "^20.0.0",
"@types/archiver": "^7.0.0",
"@types/node": "^25.5.0",
"@vitest/coverage-v8": "^4.0.18",
"tsx": "^4.0.0",
"typescript": "^5.2.0",
"typescript": "^6.0.0",
"vitest": "^4.0.18"
},
"engines": {
Expand Down
Loading
Loading