openkbs 0.0.78 → 0.0.79

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openkbs",
3
- "version": "0.0.78",
3
+ "version": "0.0.79",
4
4
  "description": "OpenKBS - Command Line Interface",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/actions.js CHANGED
@@ -519,14 +519,18 @@ async function createByTemplateAction(name) {
519
519
  try {
520
520
  // Download templates from S3 first
521
521
  await downloadTemplates();
522
-
522
+
523
523
  const targetDir = path.join(process.cwd(), name);
524
524
 
525
525
  if (fs.existsSync(targetDir)) {
526
526
  console.error(`Error: Directory ${name} already exists.`);
527
527
  process.exit(1);
528
528
  }
529
- fs.copySync(TEMPLATE_DIR, targetDir);
529
+
530
+ // Copy template but exclude 'platform' folder (that's only for stack create)
531
+ fs.copySync(TEMPLATE_DIR, targetDir, {
532
+ filter: (src) => !src.includes('/platform')
533
+ });
530
534
  replacePlaceholderInFiles(targetDir, name);
531
535
 
532
536
  console.log(`Application ${name} created successfully.`);
@@ -2359,7 +2363,8 @@ async function elasticDeployAction() {
2359
2363
  token: kbToken,
2360
2364
  action: 'deployElastic',
2361
2365
  elastic: config.elastic || {},
2362
- spa: config.spa
2366
+ spa: config.spa,
2367
+ region
2363
2368
  });
2364
2369
 
2365
2370
  if (elasticRes.error) {
package/version.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.78",
3
- "releaseDate": "2026-01-16",
4
- "releaseNotes": "OpenKBS CLI version 0.0.78"
2
+ "version": "0.0.79",
3
+ "releaseDate": "2026-01-18",
4
+ "releaseNotes": "OpenKBS CLI version 0.0.79"
5
5
  }