@tamyla/clodo-framework 3.1.27 → 3.2.0
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 +15 -0
- package/dist/cli/clodo-simple.js +1 -1
- package/dist/cli/commands/assess.js +1 -1
- package/dist/cli/commands/create.js +1 -1
- package/dist/cli/commands/deploy.js +1 -1
- package/dist/cli/commands/diagnose.js +1 -1
- package/dist/cli/commands/update.js +1 -1
- package/dist/cli/commands/validate.js +1 -1
- package/dist/cli/security-cli.js +1 -1
- package/dist/index.js +11 -12
- package/dist/lib/shared/deployment/index.js +2 -2
- package/package.json +3 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# [3.2.0](https://github.com/tamylaa/clodo-framework/compare/v3.1.27...v3.2.0) (2025-12-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add pre-publish import validation and remove non-existent exports ([a41fa7d](https://github.com/tamylaa/clodo-framework/commit/a41fa7df5c1ce05d34efe7e62e68d1c2fa8ea89c))
|
|
7
|
+
* correct CLI import paths for npm distribution ([ba68e0a](https://github.com/tamylaa/clodo-framework/commit/ba68e0adfa4c3bf36584b8bd37310ef616f79722))
|
|
8
|
+
* enable missing exports and remove lib-dependent modules from npm ([1645a58](https://github.com/tamylaa/clodo-framework/commit/1645a58d1e1f5d7126fd02766e9b4d006fa45be7))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* add comprehensive pre-publish and downstream install tests ([b1e8a25](https://github.com/tamylaa/clodo-framework/commit/b1e8a25b3acae840b66f728aa55dd5c24af0914f))
|
|
14
|
+
* add proper CLI regression tests to downstream install test ([4cde4bc](https://github.com/tamylaa/clodo-framework/commit/4cde4bc08f0290f0432815b2c8cfa60247bc8dfd))
|
|
15
|
+
|
|
1
16
|
## [3.1.27](https://github.com/tamylaa/clodo-framework/compare/v3.1.26...v3.1.27) (2025-12-02)
|
|
2
17
|
|
|
3
18
|
|
package/dist/cli/clodo-simple.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import chalk from 'chalk';
|
|
7
7
|
import path from 'path';
|
|
8
|
-
import { ServiceOrchestrator } from '
|
|
8
|
+
import { ServiceOrchestrator } from '@tamyla/clodo-framework';
|
|
9
9
|
import { StandardOptions } from '../../lib/shared/utils/cli-options.js';
|
|
10
10
|
import { ServiceConfigManager } from '../../lib/shared/utils/service-config-manager.js';
|
|
11
11
|
export function registerAssessCommand(program) {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import chalk from 'chalk';
|
|
9
|
-
import { Clodo } from '
|
|
9
|
+
import { Clodo } from '@tamyla/clodo-framework';
|
|
10
10
|
import { StandardOptions } from '../../lib/shared/utils/cli-options.js';
|
|
11
11
|
import { ConfigLoader } from '../../lib/shared/utils/config-loader.js';
|
|
12
12
|
export function registerCreateCommand(program) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { Clodo } from '
|
|
2
|
+
import { Clodo } from '@tamyla/clodo-framework';
|
|
3
3
|
import { StandardOptions } from '../../lib/shared/utils/cli-options.js';
|
|
4
4
|
import { ConfigLoader } from '../../lib/shared/utils/config-loader.js';
|
|
5
5
|
export function registerDeployCommand(program) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
2
|
import path from 'path';
|
|
3
|
-
import { ServiceOrchestrator } from '
|
|
3
|
+
import { ServiceOrchestrator } from '@tamyla/clodo-framework';
|
|
4
4
|
import { StandardOptions } from '../../lib/shared/utils/cli-options.js';
|
|
5
5
|
import { ServiceConfigManager } from '../../lib/shared/utils/service-config-manager.js';
|
|
6
6
|
export function registerDiagnoseCommand(program) {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import chalk from 'chalk';
|
|
6
6
|
import path from 'path';
|
|
7
|
-
import { ServiceOrchestrator } from '
|
|
7
|
+
import { ServiceOrchestrator } from '@tamyla/clodo-framework';
|
|
8
8
|
import { StandardOptions } from '../../lib/shared/utils/cli-options.js';
|
|
9
9
|
import { ServiceConfigManager } from '../../lib/shared/utils/service-config-manager.js';
|
|
10
10
|
export function registerUpdateCommand(program) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { Clodo } from '
|
|
2
|
+
import { Clodo } from '@tamyla/clodo-framework';
|
|
3
3
|
import { StandardOptions } from '../../lib/shared/utils/cli-options.js';
|
|
4
4
|
export function registerValidateCommand(program) {
|
|
5
5
|
const command = program.command('validate <service-path>').description('Validate an existing service configuration').option('--export-report <file>', 'Export validation report to JSON file');
|
package/dist/cli/security-cli.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -21,22 +21,21 @@ export * from './modules/ModuleManager.js';
|
|
|
21
21
|
export * from './routing/EnhancedRouter.js';
|
|
22
22
|
export * from './handlers/GenericRouteHandler.js';
|
|
23
23
|
|
|
24
|
-
// Deployment components
|
|
25
|
-
|
|
24
|
+
// Deployment components
|
|
25
|
+
export { DeploymentValidator } from './deployment/validator.js';
|
|
26
|
+
export { DeploymentAuditor } from './deployment/auditor.js';
|
|
27
|
+
// NOTE: WranglerDeployer has lib/ dependencies not available in npm distribution
|
|
26
28
|
// export { WranglerDeployer } from './deployment/wrangler-deployer.js';
|
|
27
29
|
|
|
28
30
|
// Security components
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
export { SecurityCLI } from './security/SecurityCLI.js';
|
|
32
|
+
export { ConfigurationValidator } from './security/ConfigurationValidator.js';
|
|
33
|
+
export { SecretGenerator } from './security/SecretGenerator.js';
|
|
31
34
|
|
|
32
|
-
// Service management components
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
// export { InputHandler } from './service-management/handlers/InputHandler.js';
|
|
37
|
-
// export { ConfirmationHandler } from './service-management/handlers/ConfirmationHandler.js';
|
|
38
|
-
// export { GenerationHandler } from './service-management/handlers/GenerationHandler.js';
|
|
39
|
-
// export { ValidationHandler } from './service-management/handlers/ValidationHandler.js';
|
|
35
|
+
// Service management components
|
|
36
|
+
export { ServiceCreator } from './service-management/ServiceCreator.js';
|
|
37
|
+
export { ServiceOrchestrator } from './service-management/ServiceOrchestrator.js';
|
|
38
|
+
export { InputCollector } from './service-management/InputCollector.js';
|
|
40
39
|
|
|
41
40
|
// Framework version info
|
|
42
41
|
export const FRAMEWORK_VERSION = '1.0.0';
|
|
@@ -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';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamyla/clodo-framework",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Reusable framework for Clodo-style software architecture on Cloudflare Workers + D1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
"./routing": "./dist/routing/EnhancedRouter.js",
|
|
20
20
|
"./handlers": "./dist/handlers/GenericRouteHandler.js",
|
|
21
21
|
"./config": "./dist/config/index.js",
|
|
22
|
-
"./config/discovery": "./dist/config/discovery/domain-discovery.js",
|
|
23
22
|
"./config/customers": "./dist/config/customers.js",
|
|
24
23
|
"./utils/config": "./dist/utils/config/unified-config-manager.js",
|
|
25
24
|
"./worker": "./dist/worker/index.js",
|
|
@@ -27,18 +26,11 @@
|
|
|
27
26
|
"./utils/deployment": "./dist/utils/deployment/index.js",
|
|
28
27
|
"./orchestration": "./dist/orchestration/index.js",
|
|
29
28
|
"./deployment": "./dist/deployment/index.js",
|
|
30
|
-
"./deployment/testers": "./dist/deployment/testers/index.js",
|
|
31
|
-
"./deployment/testers/api": "./dist/deployment/testers/api-tester.js",
|
|
32
|
-
"./deployment/testers/auth": "./dist/deployment/testers/auth-tester.js",
|
|
33
|
-
"./deployment/testers/database": "./dist/deployment/testers/database-tester.js",
|
|
34
|
-
"./deployment/testers/performance": "./dist/deployment/testers/performance-tester.js",
|
|
35
|
-
"./deployment/testers/load": "./dist/deployment/testers/load-tester.js",
|
|
36
29
|
"./database": "./dist/database/index.js",
|
|
37
30
|
"./security": "./dist/security/index.js",
|
|
38
31
|
"./security/cli": "./dist/security/SecurityCLI.js",
|
|
39
32
|
"./service-management": "./dist/service-management/index.js",
|
|
40
33
|
"./service-management/create": "./dist/service-management/ServiceCreator.js",
|
|
41
|
-
"./service-management/init": "./dist/service-management/ServiceInitializer.js",
|
|
42
34
|
"./modules/security": "./dist/modules/security.js"
|
|
43
35
|
},
|
|
44
36
|
"bin": {
|
|
@@ -68,7 +60,7 @@
|
|
|
68
60
|
"build:ci": "npm run prebuild:ci && babel src/ --out-dir dist/ && babel cli/ --out-dir dist/cli/ --ignore 'cli/**/*.test.js' && babel lib/ --out-dir dist/lib/ --ignore 'lib/**/*.test.js' && node -e \"const fs=require('fs'); fs.cpSync('ui-structures', 'dist/ui-structures', {recursive: true}); fs.cpSync('config', 'dist/config', {recursive: true});\" && npm run postbuild",
|
|
69
61
|
"prebuild": "npm run clean && npm run type-check",
|
|
70
62
|
"prebuild:ci": "npm run clean && npm run type-check",
|
|
71
|
-
"postbuild": "npm run check:bundle && npm run check:imports && node scripts/utilities/fix-dist-imports.js",
|
|
63
|
+
"postbuild": "npm run check:bundle && npm run check:imports && node scripts/utilities/fix-dist-imports.js && node scripts/utilities/validate-dist-imports.js",
|
|
72
64
|
"clean": "rimraf dist",
|
|
73
65
|
"clean:generated": "rimraf generated",
|
|
74
66
|
"clean:all": "npm run clean && npm run clean:generated",
|
|
@@ -126,6 +118,7 @@
|
|
|
126
118
|
"test:automated:deployment": "node scripts/automated-testing-suite.js deployment",
|
|
127
119
|
"test:automated:lifecycle": "node scripts/automated-testing-suite.js lifecycle",
|
|
128
120
|
"test:automated:integration": "node scripts/automated-testing-suite.js integration",
|
|
121
|
+
"test:downstream": "node scripts/test-downstream-install.js",
|
|
129
122
|
"test:automated:performance": "node scripts/automated-testing-suite.js performance",
|
|
130
123
|
"test:automated:regression": "node scripts/automated-testing-suite.js regression"
|
|
131
124
|
},
|