@settlemint/sdk-cli 1.1.14-preff51751 → 1.1.15
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/README.md +1 -1
- package/dist/cli.js +13 -12
- package/dist/cli.js.map +5 -5
- package/package.json +3 -3
package/README.md
CHANGED
@@ -249,7 +249,7 @@ settlemint scs subgraph deploy --accept-defaults <subgraph-name>
|
|
249
249
|
|
250
250
|
## API Reference
|
251
251
|
|
252
|
-
See the [documentation](https://github.com/settlemint/sdk/tree/v1.1.
|
252
|
+
See the [documentation](https://github.com/settlemint/sdk/tree/v1.1.15/sdk/cli/docs/settlemint.md) for available commands.
|
253
253
|
|
254
254
|
## Contributing
|
255
255
|
|
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.
|
259686
|
+
version: "1.1.15",
|
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.
|
259735
|
-
"@settlemint/sdk-utils": "1.1.
|
259734
|
+
"@settlemint/sdk-js": "1.1.15",
|
259735
|
+
"@settlemint/sdk-utils": "1.1.15",
|
259736
259736
|
"@types/node": "22.13.9",
|
259737
259737
|
"@types/semver": "7.5.8",
|
259738
259738
|
"@types/which": "3.0.4",
|
@@ -262965,6 +262965,7 @@ var getPlatformConfigQuery = graphql(`
|
|
262965
262965
|
kits {
|
262966
262966
|
id
|
262967
262967
|
name
|
262968
|
+
description
|
262968
262969
|
npmPackageName
|
262969
262970
|
}
|
262970
262971
|
}
|
@@ -266553,22 +266554,22 @@ async function templatePrompt(platformConfig, argument) {
|
|
266553
266554
|
}
|
266554
266555
|
const defaultInstance = argument;
|
266555
266556
|
if (defaultInstance) {
|
266556
|
-
const
|
266557
|
-
if (!
|
266557
|
+
const template2 = kits.find((kit) => kit.id === argument);
|
266558
|
+
if (!template2) {
|
266558
266559
|
cancel2(`No template found with name '${argument}'`);
|
266559
266560
|
}
|
266560
|
-
return
|
266561
|
+
return template2;
|
266561
266562
|
}
|
266562
|
-
const
|
266563
|
+
const template = await esm_default2({
|
266563
266564
|
message: "Which template do you want to use?",
|
266564
266565
|
choices: [
|
266565
|
-
...kits.map((
|
266566
|
-
name:
|
266567
|
-
value:
|
266566
|
+
...kits.map((template2) => ({
|
266567
|
+
name: template2.name,
|
266568
|
+
value: template2
|
266568
266569
|
})).sort((a7, b4) => a7.name.localeCompare(b4.name))
|
266569
266570
|
]
|
266570
266571
|
});
|
266571
|
-
return
|
266572
|
+
return template;
|
266572
266573
|
}
|
266573
266574
|
|
266574
266575
|
// src/utils/download-extract.ts
|
@@ -273387,4 +273388,4 @@ async function sdkCliCommand(argv = process.argv) {
|
|
273387
273388
|
// src/cli.ts
|
273388
273389
|
sdkCliCommand();
|
273389
273390
|
|
273390
|
-
//# debugId=
|
273391
|
+
//# debugId=92C848ED6EB28E8864756E2164756E21
|