@vxnus/siduri 2.0.16 → 2.0.17

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.
@@ -17,5 +17,6 @@ export interface InstanceGeneratorOptions {
17
17
  selectedManifests: OrganManifest[];
18
18
  organConfigs?: Record<string, any>;
19
19
  coreVersion?: string;
20
+ cliVersion?: string;
20
21
  }
21
22
  export declare function generateInstanceFiles(options: InstanceGeneratorOptions): GeneratedInstanceFiles;
package/dist/generator.js CHANGED
@@ -76,6 +76,7 @@ function generateInstanceFiles(options) {
76
76
  const companionSlug = instanceName.toLowerCase().replace(/[^a-z0-9_-]/g, '') || 'default';
77
77
  const instanceId = options.id || 'default';
78
78
  const coreVersion = options.coreVersion || '^2.0.6';
79
+ const cliVersion = options.cliVersion || '^2.0.17';
79
80
  const manifests = options.selectedManifests;
80
81
  const hasMemory = manifests.some((m) => m.organType === 'memory');
81
82
  const hasVoice = manifests.some((m) => m.organType === 'voice');
@@ -98,7 +99,7 @@ function generateInstanceFiles(options) {
98
99
  db: 'siduri db',
99
100
  };
100
101
  const devDependencies = {
101
- '@vxnus/siduri': coreVersion,
102
+ '@vxnus/siduri': cliVersion,
102
103
  };
103
104
  const packageJsonObj = {
104
105
  name: instanceName.toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-+|-+$/g, '') || 'my-siduri',
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { OrganManifest } from './manifest';
3
- export declare const CLI_VERSION = "2.0.16";
3
+ export declare const CLI_VERSION = "2.0.17";
4
4
  import { colors } from './colors';
5
5
  export { colors };
6
6
  export declare function printHeader(): void;
package/dist/index.js CHANGED
@@ -26,7 +26,7 @@ const doctor_1 = require("./doctor");
26
26
  const db_1 = require("./db");
27
27
  const configurators_1 = require("./configurators");
28
28
  const execFile = (0, node_util_1.promisify)(node_child_process_1.execFile);
29
- exports.CLI_VERSION = '2.0.16';
29
+ exports.CLI_VERSION = '2.0.17';
30
30
  const colors_1 = require("./colors");
31
31
  Object.defineProperty(exports, "colors", { enumerable: true, get: function () { return colors_1.colors; } });
32
32
  function printHeader() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vxnus/siduri",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "description": "Experimental CLI for installing and configuring Siduri companions",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {