@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.
- package/dist/generator.d.ts +1 -0
- package/dist/generator.js +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/generator.d.ts
CHANGED
|
@@ -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':
|
|
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
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.
|
|
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() {
|