@tamyla/clodo-framework 2.0.3 → 2.0.4
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,9 +1,26 @@
|
|
|
1
|
+
## [2.0.4](https://github.com/tamylaa/clodo-framework/compare/v2.0.3...v2.0.4) (2025-10-11)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* ensure clodo-security deploy --help works correctly ([1f81b5f](https://github.com/tamylaa/clodo-framework/commit/1f81b5f0d0590bd3d82470485bde6c449b95c12e))
|
|
7
|
+
|
|
8
|
+
## [2.0.3](https://github.com/tamylaa/clodo-framework/compare/v2.0.2...v2.0.3) (2025-10-11)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* Add reusable deployment command with Three-Tier input architecture ([0e13bfc](https://github.com/tamylaa/clodo-framework/commit/0e13bfcdda56d0a137bcd44cfd8a9ca49af30503))
|
|
14
|
+
* clodo-security deploy --help and cross-platform deployment scripts ([d7ebbbe](https://github.com/tamylaa/clodo-framework/commit/d7ebbbe8d41c6e4f297f64d19ea5b98172ddee3b))
|
|
15
|
+
* test - Remove placeholder tests that require unimplemented classes ([b009b34](https://github.com/tamylaa/clodo-framework/commit/b009b34cf1f9f7542fbaab2fa2419b2766c72f10))
|
|
16
|
+
|
|
1
17
|
## [2.0.3](https://github.com/tamylaa/clodo-framework/compare/v2.0.2...v2.0.3) (2025-10-11)
|
|
2
18
|
|
|
3
19
|
|
|
4
20
|
### Bug Fixes
|
|
5
21
|
|
|
6
22
|
* Add reusable deployment command with Three-Tier input architecture ([0e13bfc](https://github.com/tamylaa/clodo-framework/commit/0e13bfcdda56d0a137bcd44cfd8a9ca49af30503))
|
|
23
|
+
* clodo-security deploy --help and cross-platform deployment scripts ([d7ebbbe](https://github.com/tamylaa/clodo-framework/commit/d7ebbbe8d41c6e4f297f64d19ea5b98172ddee3b))
|
|
7
24
|
* test - Remove placeholder tests that require unimplemented classes ([b009b34](https://github.com/tamylaa/clodo-framework/commit/b009b34cf1f9f7542fbaab2fa2419b2766c72f10))
|
|
8
25
|
|
|
9
26
|
## [2.0.2](https://github.com/tamylaa/clodo-framework/compare/v2.0.1...v2.0.2) (2025-10-11)
|
|
@@ -36,7 +36,28 @@ async function main() {
|
|
|
36
36
|
break;
|
|
37
37
|
|
|
38
38
|
case 'deploy':
|
|
39
|
-
|
|
39
|
+
// Check for help flag first
|
|
40
|
+
if (args.includes('--help') || args.includes('-h')) {
|
|
41
|
+
console.log('Deploy with security validation');
|
|
42
|
+
console.log('');
|
|
43
|
+
console.log('Usage:');
|
|
44
|
+
console.log(' clodo-security deploy <customer> <environment> [options]');
|
|
45
|
+
console.log('');
|
|
46
|
+
console.log('Arguments:');
|
|
47
|
+
console.log(' customer Customer name (e.g., wetechfounders)');
|
|
48
|
+
console.log(' environment Target environment (development, staging, production)');
|
|
49
|
+
console.log('');
|
|
50
|
+
console.log('Options:');
|
|
51
|
+
console.log(' --dry-run Simulate deployment without making changes');
|
|
52
|
+
console.log(' --help, -h Display this help message');
|
|
53
|
+
console.log('');
|
|
54
|
+
console.log('Examples:');
|
|
55
|
+
console.log(' clodo-security deploy wetechfounders development');
|
|
56
|
+
console.log(' clodo-security deploy greatidude production --dry-run');
|
|
57
|
+
break;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
const [deployCustomer, deployEnvironment] = args.filter(arg => !arg.startsWith('--'));
|
|
40
61
|
const dryRun = args.includes('--dry-run');
|
|
41
62
|
const deployResult = await cli.deployWithSecurity(deployCustomer, deployEnvironment, { dryRun });
|
|
42
63
|
if (deployResult.success) {
|
|
@@ -268,16 +268,24 @@ export class GenerationEngine {
|
|
|
268
268
|
main: "src/worker/index.js",
|
|
269
269
|
type: "module",
|
|
270
270
|
scripts: {
|
|
271
|
+
// Development
|
|
272
|
+
dev: "wrangler dev",
|
|
273
|
+
// Testing
|
|
271
274
|
test: "jest",
|
|
272
275
|
"test:watch": "jest --watch",
|
|
273
276
|
"test:coverage": "jest --coverage",
|
|
274
|
-
|
|
275
|
-
deploy: "
|
|
276
|
-
|
|
277
|
-
"
|
|
277
|
+
// Deployment (cross-platform via framework)
|
|
278
|
+
deploy: "clodo-service deploy",
|
|
279
|
+
"deploy:dev": "node scripts/deploy.js development",
|
|
280
|
+
"deploy:staging": "node scripts/deploy.js staging",
|
|
281
|
+
"deploy:prod": "node scripts/deploy.js production",
|
|
282
|
+
// Code Quality
|
|
278
283
|
lint: "eslint src/ test/",
|
|
279
284
|
"lint:fix": "eslint src/ test/ --fix",
|
|
280
285
|
format: "prettier --write src/ test/",
|
|
286
|
+
// Utilities
|
|
287
|
+
validate: "clodo-service validate .",
|
|
288
|
+
diagnose: "clodo-service diagnose .",
|
|
281
289
|
build: "wrangler deploy --dry-run",
|
|
282
290
|
clean: "rimraf dist/ coverage/"
|
|
283
291
|
},
|