@tamyla/clodo-framework 4.5.0 → 4.5.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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [4.5.1](https://github.com/tamylaa/clodo-framework/compare/v4.5.0...v4.5.1) (2026-02-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * resolve e2e test failures for validate and deploy commands ([97fd564](https://github.com/tamylaa/clodo-framework/commit/97fd5648211d13f46004b9e69c9b6face546d86d))
7
+
1
8
  # [4.5.0](https://github.com/tamylaa/clodo-framework/compare/v4.4.1...v4.5.0) (2026-02-11)
2
9
 
3
10
 
@@ -37,7 +37,7 @@ import { validateServiceName, validateDomainName } from '../utils/validation.js'
37
37
  import { NameFormatters, UrlFormatters, ResourceFormatters } from '../utils/formatters.js';
38
38
  export class ConfirmationEngine {
39
39
  constructor(options = {}) {
40
- this.interactive = options.interactive !== false;
40
+ this.interactive = !!options.interactive;
41
41
  this.rl = this.interactive ? createInterface({
42
42
  input: process.stdin,
43
43
  output: process.stdout
@@ -48,6 +48,7 @@ export class ConfirmationEngine {
48
48
  * Generate and confirm all derived values from core inputs
49
49
  */
50
50
  async generateAndConfirm(coreInputs) {
51
+ console.error('DEBUG: ConfirmationEngine.generateAndConfirm called');
51
52
  console.log(chalk.cyan('\nšŸ” Tier 2: Smart Confirmations'));
52
53
  console.log(chalk.white('Reviewing and confirming 15 derived configuration values...\n'));
53
54
 
@@ -341,6 +342,7 @@ export class ConfirmationEngine {
341
342
  * Generate features based on service type
342
343
  */
343
344
  generateFeaturesForType(serviceType) {
345
+ console.error(`DEBUG: generateFeaturesForType called with serviceType: ${serviceType}`);
344
346
  const baseFeatures = {
345
347
  logging: true,
346
348
  monitoring: true,
@@ -353,6 +355,7 @@ export class ConfirmationEngine {
353
355
  authentication: true,
354
356
  authorization: true,
355
357
  database: true,
358
+ d1: true,
356
359
  search: true,
357
360
  filtering: true,
358
361
  pagination: true,
@@ -13,14 +13,18 @@ export class ServiceManifestGenerator {
13
13
  * @returns {Object} Service manifest
14
14
  */
15
15
  createManifest(coreInputs, confirmedValues, generatedFiles) {
16
+ console.error('DEBUG: ServiceManifestGenerator.createManifest called');
17
+ console.error('DEBUG: coreInputs.serviceType:', coreInputs.serviceType);
16
18
  // Derive explicit top-level feature booleans for quick manifest checks (e.g., D1/KV/R2)
17
19
  const features = confirmedValues.features || {};
20
+ console.error('DEBUG: features:', JSON.stringify(features));
21
+ console.error('DEBUG: features.d1:', features.d1);
18
22
  return {
19
23
  manifestVersion: '1.0.0',
20
24
  frameworkVersion: '3.0.0',
21
25
  generatedAt: new Date().toISOString(),
22
26
  // Top-level feature flags for ConfigurationValidator compatibility
23
- d1: !!features.d1,
27
+ d1: !!features.d1 || coreInputs.serviceType === 'data-service',
24
28
  // kv may be represented via a provider flag (e.g., upstash) - accept either
25
29
  kv: !!(features.kv || features.upstash),
26
30
  r2: !!features.r2,
@@ -7,7 +7,7 @@ import { ConfirmationEngine } from '../ConfirmationEngine.js';
7
7
  import { createPromptHandler } from '../../utils/prompt-handler.js';
8
8
  export class ConfirmationHandler {
9
9
  constructor(options = {}) {
10
- this.interactive = options.interactive !== false;
10
+ this.interactive = !!options.interactive;
11
11
  this.promptHandler = createPromptHandler({
12
12
  interactive: this.interactive
13
13
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamyla/clodo-framework",
3
- "version": "4.5.0",
3
+ "version": "4.5.1",
4
4
  "description": "Reusable framework for Clodo-style software architecture on Cloudflare Workers + D1",
5
5
  "type": "module",
6
6
  "sideEffects": [