@superblocksteam/cli 1.13.0 → 1.13.1
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
CHANGED
|
@@ -12,7 +12,7 @@ $ npm install -g @superblocksteam/cli
|
|
|
12
12
|
$ superblocks COMMAND
|
|
13
13
|
running command...
|
|
14
14
|
$ superblocks (--version)
|
|
15
|
-
@superblocksteam/cli/1.13.
|
|
15
|
+
@superblocksteam/cli/1.13.1 linux-x64 node-v20.19.0
|
|
16
16
|
$ superblocks --help [COMMAND]
|
|
17
17
|
USAGE
|
|
18
18
|
$ superblocks COMMAND
|
|
@@ -614,18 +614,20 @@ function getExistingFilePathsForBackendApi(superblocksBackendConfig, location) {
|
|
|
614
614
|
}
|
|
615
615
|
export function addExistingFilePathsForApi(api, location, paths, useNestedFolder) {
|
|
616
616
|
const apiNameSlug = slugifyName(api.name);
|
|
617
|
-
if (api.sourceFiles
|
|
617
|
+
if (api.sourceFiles) {
|
|
618
|
+
// File version 0.2.0 and later
|
|
618
619
|
// API files are in an API-specific folder
|
|
619
620
|
const apiDirPath = useNestedFolder
|
|
620
621
|
? `${location}/${apiNameSlug}`
|
|
621
622
|
: location;
|
|
622
|
-
paths.add(`${apiDirPath}
|
|
623
|
+
paths.add(`${apiDirPath}/api.yaml`);
|
|
623
624
|
// And there are source files
|
|
624
625
|
for (const sourceFile of api.sourceFiles ?? []) {
|
|
625
626
|
paths.add(`${apiDirPath}/${sourceFile}`);
|
|
626
627
|
}
|
|
627
628
|
}
|
|
628
629
|
else {
|
|
630
|
+
// Pre-file version 0.2.0
|
|
629
631
|
// API file is in the 'apis' folder with no separate source files
|
|
630
632
|
paths.add(`${location}/${apiNameSlug}.yaml`);
|
|
631
633
|
}
|
package/oclif.manifest.json
CHANGED
|
@@ -303,45 +303,6 @@
|
|
|
303
303
|
"rm.mjs"
|
|
304
304
|
]
|
|
305
305
|
},
|
|
306
|
-
"config:set": {
|
|
307
|
-
"aliases": [],
|
|
308
|
-
"args": {
|
|
309
|
-
"property": {
|
|
310
|
-
"description": "Superblocks config name, e.g. domain",
|
|
311
|
-
"name": "property",
|
|
312
|
-
"options": [
|
|
313
|
-
"domain"
|
|
314
|
-
],
|
|
315
|
-
"required": true
|
|
316
|
-
},
|
|
317
|
-
"value": {
|
|
318
|
-
"description": "Superblocks config value",
|
|
319
|
-
"name": "value",
|
|
320
|
-
"required": true
|
|
321
|
-
}
|
|
322
|
-
},
|
|
323
|
-
"description": "Sets the specified property in your Superblocks configuration. A property governs the behavior of the Superblocks CLI, such as Superblocks region to interact with",
|
|
324
|
-
"examples": [
|
|
325
|
-
"<%= config.bin %> <%= command.id %> domain eu.superblocks.com",
|
|
326
|
-
"<%= config.bin %> <%= command.id %> domain app.superblocks.com"
|
|
327
|
-
],
|
|
328
|
-
"flags": {},
|
|
329
|
-
"hasDynamicHelp": false,
|
|
330
|
-
"hiddenAliases": [],
|
|
331
|
-
"id": "config:set",
|
|
332
|
-
"pluginAlias": "@superblocksteam/cli",
|
|
333
|
-
"pluginName": "@superblocksteam/cli",
|
|
334
|
-
"pluginType": "core",
|
|
335
|
-
"strict": true,
|
|
336
|
-
"enableJsonFlag": false,
|
|
337
|
-
"isESM": true,
|
|
338
|
-
"relativePath": [
|
|
339
|
-
"dist",
|
|
340
|
-
"commands",
|
|
341
|
-
"config",
|
|
342
|
-
"set.mjs"
|
|
343
|
-
]
|
|
344
|
-
},
|
|
345
306
|
"components:create": {
|
|
346
307
|
"aliases": [],
|
|
347
308
|
"args": {},
|
|
@@ -444,7 +405,46 @@
|
|
|
444
405
|
"components",
|
|
445
406
|
"watch.mjs"
|
|
446
407
|
]
|
|
408
|
+
},
|
|
409
|
+
"config:set": {
|
|
410
|
+
"aliases": [],
|
|
411
|
+
"args": {
|
|
412
|
+
"property": {
|
|
413
|
+
"description": "Superblocks config name, e.g. domain",
|
|
414
|
+
"name": "property",
|
|
415
|
+
"options": [
|
|
416
|
+
"domain"
|
|
417
|
+
],
|
|
418
|
+
"required": true
|
|
419
|
+
},
|
|
420
|
+
"value": {
|
|
421
|
+
"description": "Superblocks config value",
|
|
422
|
+
"name": "value",
|
|
423
|
+
"required": true
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
"description": "Sets the specified property in your Superblocks configuration. A property governs the behavior of the Superblocks CLI, such as Superblocks region to interact with",
|
|
427
|
+
"examples": [
|
|
428
|
+
"<%= config.bin %> <%= command.id %> domain eu.superblocks.com",
|
|
429
|
+
"<%= config.bin %> <%= command.id %> domain app.superblocks.com"
|
|
430
|
+
],
|
|
431
|
+
"flags": {},
|
|
432
|
+
"hasDynamicHelp": false,
|
|
433
|
+
"hiddenAliases": [],
|
|
434
|
+
"id": "config:set",
|
|
435
|
+
"pluginAlias": "@superblocksteam/cli",
|
|
436
|
+
"pluginName": "@superblocksteam/cli",
|
|
437
|
+
"pluginType": "core",
|
|
438
|
+
"strict": true,
|
|
439
|
+
"enableJsonFlag": false,
|
|
440
|
+
"isESM": true,
|
|
441
|
+
"relativePath": [
|
|
442
|
+
"dist",
|
|
443
|
+
"commands",
|
|
444
|
+
"config",
|
|
445
|
+
"set.mjs"
|
|
446
|
+
]
|
|
447
447
|
}
|
|
448
448
|
},
|
|
449
|
-
"version": "1.13.
|
|
449
|
+
"version": "1.13.1"
|
|
450
450
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superblocksteam/cli",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.1",
|
|
4
4
|
"description": "Official Superblocks CLI",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superblocks": "./bin/run"
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"slugify": "^1.6.6",
|
|
30
30
|
"vite": "^6.2.0",
|
|
31
31
|
"yaml": "^2.6.1",
|
|
32
|
-
"@superblocksteam/sdk": "1.13.
|
|
33
|
-
"@superblocksteam/util": "1.13.
|
|
32
|
+
"@superblocksteam/sdk": "1.13.1",
|
|
33
|
+
"@superblocksteam/util": "1.13.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@oclif/test": "^4.1.11",
|