@tamyla/clodo-framework 3.1.9 → 3.1.10
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 +7 -0
- package/bin/database/enterprise-db-manager.js +4 -4
- package/bin/security/security-cli.js +2 -2
- package/bin/service-management/create-service.js +2 -2
- package/bin/service-management/init-service.js +2 -2
- package/bin/shared/cloudflare/domain-manager.js +1 -1
- package/bin/shared/config/index.js +1 -1
- package/bin/shared/deployment/index.js +2 -2
- package/dist/bin/commands/create.js +1 -1
- package/dist/bin/commands/diagnose.js +1 -1
- package/dist/bin/commands/update.js +1 -1
- package/dist/bin/commands/validate.js +1 -1
- package/dist/bin/database/enterprise-db-manager.js +4 -4
- package/dist/bin/deployment/enterprise-deploy.js +3 -3
- package/dist/bin/deployment/master-deploy.js +3 -3
- package/dist/bin/deployment/modular-enterprise-deploy.js +3 -3
- package/dist/bin/portfolio/portfolio-manager.js +3 -3
- package/dist/bin/security/security-cli.js +1 -1
- package/dist/bin/service-management/create-service.js +1 -1
- package/dist/bin/service-management/init-service.js +1 -1
- package/dist/bin/shared/cloudflare/domain-manager.js +1 -1
- package/dist/bin/shared/config/index.js +1 -1
- package/dist/bin/shared/deployment/index.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [3.1.10](https://github.com/tamylaa/clodo-framework/compare/v3.1.9...v3.1.10) (2025-10-27)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* correct import paths in bin/ to reference src/ not dist/ ([57d9740](https://github.com/tamylaa/clodo-framework/commit/57d974051d15ba263005aba8e48f5290823e24c9))
|
|
7
|
+
|
|
1
8
|
## [3.1.9](https://github.com/tamylaa/clodo-framework/compare/v3.1.8...v3.1.9) (2025-10-27)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -25,10 +25,10 @@ import { program } from 'commander';
|
|
|
25
25
|
import { existsSync, readFileSync, writeFileSync } from 'fs';
|
|
26
26
|
import { join } from 'path';
|
|
27
27
|
|
|
28
|
-
// Enterprise module imports - from
|
|
29
|
-
import { DatabaseOrchestrator } from '../../
|
|
30
|
-
import { DeploymentAuditor } from '../../
|
|
31
|
-
import { CrossDomainCoordinator } from '../../
|
|
28
|
+
// Enterprise module imports - from src/ (framework source)
|
|
29
|
+
import { DatabaseOrchestrator } from '../../src/database/database-orchestrator.js';
|
|
30
|
+
import { DeploymentAuditor } from '../../src/deployment/deployment-auditor.js';
|
|
31
|
+
import { CrossDomainCoordinator } from '../../src/orchestration/cross-domain-coordinator.js';
|
|
32
32
|
|
|
33
33
|
// Shared utilities from bin/shared/
|
|
34
34
|
import { ConfigurationCacheManager } from '../shared/config/cache.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Clodo Framework - Service Template Generator
|
|
5
5
|
* Creates new ser console.log(`✓ Using Clodo Framework ServiceCreator module`);ices from predefined templates
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { ServiceCreator } from '../../
|
|
8
|
+
import { ServiceCreator } from '../../src/service-management/ServiceCreator.js';
|
|
9
9
|
|
|
10
10
|
const SERVICE_TYPES = ['data-service', 'auth-service', 'content-service', 'api-gateway', 'generic'];
|
|
11
11
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Clodo Framework - Service Initializer
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { program } from 'commander';
|
|
14
|
-
import { ServiceInitializer } from '../../
|
|
14
|
+
import { ServiceInitializer } from '../../src/service-management/ServiceInitializer.js';
|
|
15
15
|
|
|
16
16
|
const SERVICE_TYPES = ['generic', 'data-service', 'auth-service', 'content-service', 'api-gateway'];
|
|
17
17
|
|
|
@@ -15,7 +15,7 @@ import { promisify } from 'util';
|
|
|
15
15
|
import { exec } from 'child_process';
|
|
16
16
|
import { askChoice, askYesNo } from '../utils/interactive-prompts.js';
|
|
17
17
|
import { DomainDiscovery } from './domain-discovery.js';
|
|
18
|
-
import { MultiDomainOrchestrator } from '../../../
|
|
18
|
+
import { MultiDomainOrchestrator } from '../../../src/orchestration/multi-domain-orchestrator.js';
|
|
19
19
|
import { getCommandConfig } from '../config/command-config-manager.js';
|
|
20
20
|
import { CloudflareTokenManager } from '../security/api-token-manager.js';
|
|
21
21
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export { ConfigCache } from './cache.js';
|
|
8
8
|
export { ConfigManager } from './manager.js';
|
|
9
9
|
export { CommandConfigManager } from './command-config-manager.js';
|
|
10
|
-
export { CustomerConfigurationManager } from '../../../
|
|
10
|
+
export { CustomerConfigurationManager } from '../../../src/config/customers.js';
|
|
11
11
|
|
|
12
12
|
// Phase 3.2 consolidated configuration management
|
|
13
13
|
export {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export { DeploymentValidator } from './validator.js';
|
|
7
|
-
export { MultiDomainOrchestrator } from '../../
|
|
8
|
-
export { CrossDomainCoordinator } from '../../
|
|
7
|
+
export { MultiDomainOrchestrator } from '../../src/orchestration/multi-domain-orchestrator.js';
|
|
8
|
+
export { CrossDomainCoordinator } from '../../src/orchestration/cross-domain-coordinator.js';
|
|
9
9
|
export { DeploymentAuditor } from './auditor.js';
|
|
10
10
|
export { RollbackManager } from './rollback-manager.js';
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import chalk from 'chalk';
|
|
9
|
-
import { ServiceOrchestrator } from '../../
|
|
9
|
+
import { ServiceOrchestrator } from '../../src/service-management/ServiceOrchestrator.js';
|
|
10
10
|
export function registerCreateCommand(program) {
|
|
11
11
|
program.command('create').description('Create a new Clodo service with conversational setup').option('-n, --non-interactive', 'Run in non-interactive mode with all required parameters').option('--service-name <name>', 'Service name (required in non-interactive mode)').option('--service-type <type>', 'Service type: data-service, auth-service, content-service, api-gateway, generic', 'generic').option('--domain-name <domain>', 'Domain name (required in non-interactive mode)').option('--cloudflare-token <token>', 'Cloudflare API token (required in non-interactive mode)').option('--cloudflare-account-id <id>', 'Cloudflare account ID (required in non-interactive mode)').option('--cloudflare-zone-id <id>', 'Cloudflare zone ID (required in non-interactive mode)').option('--environment <env>', 'Target environment: development, staging, production', 'development').option('--output-path <path>', 'Output directory for generated service', '.').option('--template-path <path>', 'Path to service templates', './templates').action(async options => {
|
|
12
12
|
try {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import chalk from 'chalk';
|
|
6
|
-
import { ServiceOrchestrator } from '../../
|
|
6
|
+
import { ServiceOrchestrator } from '../../src/service-management/ServiceOrchestrator.js';
|
|
7
7
|
export function registerDiagnoseCommand(program) {
|
|
8
8
|
program.command('diagnose [service-path]').description('Diagnose and report issues with an existing service').option('--deep-scan', 'Perform deep analysis including dependencies and deployment readiness').option('--export-report <file>', 'Export diagnostic report to file').action(async (servicePath, options) => {
|
|
9
9
|
try {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import chalk from 'chalk';
|
|
6
|
-
import { ServiceOrchestrator } from '../../
|
|
6
|
+
import { ServiceOrchestrator } from '../../src/service-management/ServiceOrchestrator.js';
|
|
7
7
|
export function registerUpdateCommand(program) {
|
|
8
8
|
program.command('update [service-path]').description('Update an existing service configuration').option('-i, --interactive', 'Run in interactive mode to select what to update').option('--domain-name <domain>', 'Update domain name').option('--cloudflare-token <token>', 'Update Cloudflare API token').option('--cloudflare-account-id <id>', 'Update Cloudflare account ID').option('--cloudflare-zone-id <id>', 'Update Cloudflare zone ID').option('--environment <env>', 'Update target environment: development, staging, production').option('--add-feature <feature>', 'Add a feature flag').option('--remove-feature <feature>', 'Remove a feature flag').option('--regenerate-configs', 'Regenerate all configuration files').option('--fix-errors', 'Attempt to fix common configuration errors').action(async (servicePath, options) => {
|
|
9
9
|
try {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import chalk from 'chalk';
|
|
6
|
-
import { ServiceOrchestrator } from '../../
|
|
6
|
+
import { ServiceOrchestrator } from '../../src/service-management/ServiceOrchestrator.js';
|
|
7
7
|
export function registerValidateCommand(program) {
|
|
8
8
|
program.command('validate <service-path>').description('Validate an existing service configuration').action(async servicePath => {
|
|
9
9
|
try {
|
|
@@ -24,10 +24,10 @@ import { program } from 'commander';
|
|
|
24
24
|
import { existsSync, readFileSync, writeFileSync } from 'fs';
|
|
25
25
|
import { join } from 'path';
|
|
26
26
|
|
|
27
|
-
// Enterprise module imports - from
|
|
28
|
-
import { DatabaseOrchestrator } from '../../
|
|
29
|
-
import { DeploymentAuditor } from '../../
|
|
30
|
-
import { CrossDomainCoordinator } from '../../
|
|
27
|
+
// Enterprise module imports - from src/ (framework source)
|
|
28
|
+
import { DatabaseOrchestrator } from '../../src/database/database-orchestrator.js';
|
|
29
|
+
import { DeploymentAuditor } from '../../src/deployment/deployment-auditor.js';
|
|
30
|
+
import { CrossDomainCoordinator } from '../../src/orchestration/cross-domain-coordinator.js';
|
|
31
31
|
|
|
32
32
|
// Shared utilities from bin/shared/
|
|
33
33
|
import { ConfigurationCacheManager } from '../shared/config/cache.js';
|
|
@@ -25,16 +25,16 @@ import { existsSync, readFileSync } from 'fs';
|
|
|
25
25
|
import { join } from 'path';
|
|
26
26
|
|
|
27
27
|
// Enterprise module imports - organized shared modules
|
|
28
|
-
import { MultiDomainOrchestrator } from '../../
|
|
28
|
+
import { MultiDomainOrchestrator } from '../../src/orchestration/multi-domain-orchestrator.js';
|
|
29
29
|
import { RollbackManager } from '../shared/deployment/rollback-manager.js';
|
|
30
30
|
import { ProductionTester } from '../shared/production-tester/index.js';
|
|
31
31
|
import { DeploymentValidator } from '../shared/deployment/validator.js';
|
|
32
32
|
import { DomainDiscovery } from '../shared/cloudflare/domain-discovery.js';
|
|
33
|
-
import { DatabaseOrchestrator } from '../../
|
|
33
|
+
import { DatabaseOrchestrator } from '../../src/database/database-orchestrator.js';
|
|
34
34
|
import { EnhancedSecretManager } from '../shared/security/secret-generator.js';
|
|
35
35
|
import { DeploymentAuditor } from '../shared/deployment/auditor.js';
|
|
36
36
|
import { ConfigurationCacheManager } from '../shared/config/cache.js';
|
|
37
|
-
import { CrossDomainCoordinator } from '../../
|
|
37
|
+
import { CrossDomainCoordinator } from '../../src/orchestration/cross-domain-coordinator.js';
|
|
38
38
|
import { askChoice, askUser, closePrompts } from '../shared/utils/interactive-prompts.js';
|
|
39
39
|
import { CloudflareDomainManager } from '../shared/cloudflare/domain-manager.js';
|
|
40
40
|
|
|
@@ -30,14 +30,14 @@ import { promisify } from 'util';
|
|
|
30
30
|
import { join } from 'path';
|
|
31
31
|
import { existsSync, readFileSync, writeFileSync, mkdirSync } from 'fs';
|
|
32
32
|
const execAsync = promisify(exec);
|
|
33
|
-
import { MultiDomainOrchestrator } from '../../
|
|
34
|
-
import { CrossDomainCoordinator } from '../../
|
|
33
|
+
import { MultiDomainOrchestrator } from '../../src/orchestration/multi-domain-orchestrator.js';
|
|
34
|
+
import { CrossDomainCoordinator } from '../../src/orchestration/cross-domain-coordinator.js';
|
|
35
35
|
import { RollbackManager } from '../shared/deployment/rollback-manager.js';
|
|
36
36
|
import { ProductionTester } from '../shared/production-tester/index.js';
|
|
37
37
|
import { DeploymentAuditor } from '../shared/deployment/auditor.js';
|
|
38
38
|
import { DeploymentValidator } from '../shared/deployment/validator.js';
|
|
39
39
|
import { DomainDiscovery } from '../shared/cloudflare/domain-discovery.js';
|
|
40
|
-
import { DatabaseOrchestrator } from '../../
|
|
40
|
+
import { DatabaseOrchestrator } from '../../src/database/database-orchestrator.js';
|
|
41
41
|
|
|
42
42
|
// New modular architecture components
|
|
43
43
|
import { DeploymentConfiguration } from './modules/DeploymentConfiguration.js';
|
|
@@ -33,10 +33,10 @@ import { MonitoringIntegration } from './modules/MonitoringIntegration.js';
|
|
|
33
33
|
import { DeploymentOrchestrator } from './modules/DeploymentOrchestrator.js';
|
|
34
34
|
|
|
35
35
|
// Enterprise modules (optional)
|
|
36
|
-
import { MultiDomainOrchestrator } from '../../
|
|
37
|
-
import { CrossDomainCoordinator } from '../../
|
|
36
|
+
import { MultiDomainOrchestrator } from '../../src/orchestration/multi-domain-orchestrator.js';
|
|
37
|
+
import { CrossDomainCoordinator } from '../../src/orchestration/cross-domain-coordinator.js';
|
|
38
38
|
import { DeploymentValidator } from '../shared/deployment/validator.js';
|
|
39
|
-
import { DatabaseOrchestrator } from '../../
|
|
39
|
+
import { DatabaseOrchestrator } from '../../src/database/database-orchestrator.js';
|
|
40
40
|
import { EnhancedSecretManager } from '../shared/security/secret-generator.js';
|
|
41
41
|
import { ProductionTester } from '../shared/production-tester/index.js';
|
|
42
42
|
import { DeploymentAuditor } from '../shared/deployment/auditor.js';
|
|
@@ -26,11 +26,11 @@ import { join } from 'path';
|
|
|
26
26
|
import { createWriteStream } from 'fs';
|
|
27
27
|
|
|
28
28
|
// Enterprise module imports - organized shared modules
|
|
29
|
-
import { CrossDomainCoordinator } from '../../
|
|
30
|
-
import { MultiDomainOrchestrator } from '../../
|
|
29
|
+
import { CrossDomainCoordinator } from '../../src/orchestration/cross-domain-coordinator.js';
|
|
30
|
+
import { MultiDomainOrchestrator } from '../../src/orchestration/multi-domain-orchestrator.js';
|
|
31
31
|
import { DeploymentValidator } from '../shared/deployment/validator.js';
|
|
32
32
|
import { DomainDiscovery } from '../shared/cloudflare/domain-discovery.js';
|
|
33
|
-
import { DatabaseOrchestrator } from '../../
|
|
33
|
+
import { DatabaseOrchestrator } from '../../src/database/database-orchestrator.js';
|
|
34
34
|
import { EnhancedSecretManager } from '../shared/security/secret-generator.js';
|
|
35
35
|
import { ConfigurationCacheManager } from '../shared/config/cache.js';
|
|
36
36
|
import { ProductionTester } from '../shared/production-tester/index.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Clodo Framework - Service Template Generator
|
|
5
5
|
* Creates new ser console.log(`✓ Using Clodo Framework ServiceCreator module`);ices from predefined templates
|
|
6
6
|
*/
|
|
7
|
-
import { ServiceCreator } from '../../
|
|
7
|
+
import { ServiceCreator } from '../../src/service-management/ServiceCreator.js';
|
|
8
8
|
const SERVICE_TYPES = ['data-service', 'auth-service', 'content-service', 'api-gateway', 'generic'];
|
|
9
9
|
function showUsage() {
|
|
10
10
|
console.log(`
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* generation the first step, not a prerequisite.
|
|
11
11
|
*/
|
|
12
12
|
import { program } from 'commander';
|
|
13
|
-
import { ServiceInitializer } from '../../
|
|
13
|
+
import { ServiceInitializer } from '../../src/service-management/ServiceInitializer.js';
|
|
14
14
|
const SERVICE_TYPES = ['generic', 'data-service', 'auth-service', 'content-service', 'api-gateway'];
|
|
15
15
|
class ServiceInitializerCLI {
|
|
16
16
|
constructor() {
|
|
@@ -15,7 +15,7 @@ import { promisify } from 'util';
|
|
|
15
15
|
import { exec } from 'child_process';
|
|
16
16
|
import { askChoice, askYesNo } from '../utils/interactive-prompts.js';
|
|
17
17
|
import { DomainDiscovery } from './domain-discovery.js';
|
|
18
|
-
import { MultiDomainOrchestrator } from '../../../
|
|
18
|
+
import { MultiDomainOrchestrator } from '../../../src/orchestration/multi-domain-orchestrator.js';
|
|
19
19
|
import { getCommandConfig } from '../config/command-config-manager.js';
|
|
20
20
|
import { CloudflareTokenManager } from '../security/api-token-manager.js';
|
|
21
21
|
const execAsync = promisify(exec);
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
export { ConfigCache } from './cache.js';
|
|
8
8
|
export { ConfigManager } from './manager.js';
|
|
9
9
|
export { CommandConfigManager } from './command-config-manager.js';
|
|
10
|
-
export { CustomerConfigurationManager } from '../../../
|
|
10
|
+
export { CustomerConfigurationManager } from '../../../src/config/customers.js';
|
|
11
11
|
|
|
12
12
|
// Phase 3.2 consolidated configuration management
|
|
13
13
|
export { ConfigurationManager, configManager, isFeatureEnabled, getEnabledFeatures, withFeature, FEATURES, COMMON_FEATURES } from './ConfigurationManager.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export { DeploymentValidator } from './validator.js';
|
|
7
|
-
export { MultiDomainOrchestrator } from '../../
|
|
8
|
-
export { CrossDomainCoordinator } from '../../
|
|
7
|
+
export { MultiDomainOrchestrator } from '../../src/orchestration/multi-domain-orchestrator.js';
|
|
8
|
+
export { CrossDomainCoordinator } from '../../src/orchestration/cross-domain-coordinator.js';
|
|
9
9
|
export { DeploymentAuditor } from './auditor.js';
|
|
10
10
|
export { RollbackManager } from './rollback-manager.js';
|