@settlemint/sdk-cli 1.1.14-pr0c8cd55e → 1.1.14-pr7988afb4
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/cli.js +12 -12
- package/dist/cli.js.map +4 -4
- package/package.json +3 -3
package/dist/cli.js
CHANGED
@@ -259683,7 +259683,7 @@ function pruneCurrentEnv(currentEnv, env2) {
|
|
259683
259683
|
var package_default = {
|
259684
259684
|
name: "@settlemint/sdk-cli",
|
259685
259685
|
description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
|
259686
|
-
version: "1.1.14-
|
259686
|
+
version: "1.1.14-pr7988afb4",
|
259687
259687
|
type: "module",
|
259688
259688
|
private: false,
|
259689
259689
|
license: "FSL-1.1-MIT",
|
@@ -259731,8 +259731,8 @@ var package_default = {
|
|
259731
259731
|
"@inquirer/input": "4.1.6",
|
259732
259732
|
"@inquirer/password": "4.0.9",
|
259733
259733
|
"@inquirer/select": "4.0.9",
|
259734
|
-
"@settlemint/sdk-js": "1.1.14-
|
259735
|
-
"@settlemint/sdk-utils": "1.1.14-
|
259734
|
+
"@settlemint/sdk-js": "1.1.14-pr7988afb4",
|
259735
|
+
"@settlemint/sdk-utils": "1.1.14-pr7988afb4",
|
259736
259736
|
"@types/node": "22.13.9",
|
259737
259737
|
"@types/semver": "7.5.8",
|
259738
259738
|
"@types/which": "3.0.4",
|
@@ -266554,22 +266554,22 @@ async function templatePrompt(platformConfig, argument) {
|
|
266554
266554
|
}
|
266555
266555
|
const defaultInstance = argument;
|
266556
266556
|
if (defaultInstance) {
|
266557
|
-
const
|
266558
|
-
if (!
|
266557
|
+
const template2 = kits.find((kit) => kit.id === argument);
|
266558
|
+
if (!template2) {
|
266559
266559
|
cancel2(`No template found with name '${argument}'`);
|
266560
266560
|
}
|
266561
|
-
return
|
266561
|
+
return template2;
|
266562
266562
|
}
|
266563
|
-
const
|
266563
|
+
const template = await esm_default2({
|
266564
266564
|
message: "Which template do you want to use?",
|
266565
266565
|
choices: [
|
266566
|
-
...kits.map((
|
266567
|
-
name:
|
266568
|
-
value:
|
266566
|
+
...kits.map((template2) => ({
|
266567
|
+
name: template2.name,
|
266568
|
+
value: template2
|
266569
266569
|
})).sort((a7, b4) => a7.name.localeCompare(b4.name))
|
266570
266570
|
]
|
266571
266571
|
});
|
266572
|
-
return
|
266572
|
+
return template;
|
266573
266573
|
}
|
266574
266574
|
|
266575
266575
|
// src/utils/download-extract.ts
|
@@ -273388,4 +273388,4 @@ async function sdkCliCommand(argv = process.argv) {
|
|
273388
273388
|
// src/cli.ts
|
273389
273389
|
sdkCliCommand();
|
273390
273390
|
|
273391
|
-
//# debugId=
|
273391
|
+
//# debugId=5D3A7828EE64A85C64756E2164756E21
|