@uniformdev/cli 18.23.1-alpha.25 → 18.23.1-alpha.26
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/index.mjs +13 -6
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -458,6 +458,11 @@ function createSyncEngineConsoleLogger(options) {
|
|
|
458
458
|
};
|
|
459
459
|
}
|
|
460
460
|
|
|
461
|
+
// src/commands/canvas/commands/component/_util.ts
|
|
462
|
+
var selectIdentifier = (component) => component.id;
|
|
463
|
+
var selectDisplayName = (component) => `${component.name} (pid: ${component.id})`;
|
|
464
|
+
var selectSchemaUrl = () => "/schemas/json-schema/component-definition/v1.json";
|
|
465
|
+
|
|
461
466
|
// src/commands/canvas/commands/component/get.ts
|
|
462
467
|
var ComponentGetModule = {
|
|
463
468
|
command: "get <id>",
|
|
@@ -477,7 +482,14 @@ var ComponentGetModule = {
|
|
|
477
482
|
console.error("Component did not exist");
|
|
478
483
|
process.exit(1);
|
|
479
484
|
} else {
|
|
480
|
-
emitWithFormat(
|
|
485
|
+
emitWithFormat(
|
|
486
|
+
{
|
|
487
|
+
$schema: new URL(selectSchemaUrl(), apiHost).toString(),
|
|
488
|
+
...res.componentDefinitions[0]
|
|
489
|
+
},
|
|
490
|
+
format,
|
|
491
|
+
filename
|
|
492
|
+
);
|
|
481
493
|
}
|
|
482
494
|
}
|
|
483
495
|
};
|
|
@@ -509,11 +521,6 @@ var ComponentListModule = {
|
|
|
509
521
|
// src/commands/canvas/commands/component/pull.ts
|
|
510
522
|
import { UncachedCanvasClient as UncachedCanvasClient3 } from "@uniformdev/canvas";
|
|
511
523
|
|
|
512
|
-
// src/commands/canvas/commands/component/_util.ts
|
|
513
|
-
var selectIdentifier = (component) => component.id;
|
|
514
|
-
var selectDisplayName = (component) => `${component.name} (pid: ${component.id})`;
|
|
515
|
-
var selectSchemaUrl = () => "/schemas/json-schema/component-definition/v1.json";
|
|
516
|
-
|
|
517
524
|
// src/commands/canvas/componentDefinitionEngineDataSource.ts
|
|
518
525
|
function createComponentDefinitionEngineDataSource({
|
|
519
526
|
client
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/cli",
|
|
3
|
-
"version": "18.23.1-alpha.
|
|
3
|
+
"version": "18.23.1-alpha.26+668a4ae9d",
|
|
4
4
|
"description": "Uniform command line interface tool",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./cli.js",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"format": "prettier --write \"src/**/*.{js,ts,tsx}\""
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@uniformdev/canvas": "18.23.1-alpha.
|
|
20
|
-
"@uniformdev/context": "18.23.1-alpha.
|
|
21
|
-
"@uniformdev/project-map": "18.23.1-alpha.
|
|
19
|
+
"@uniformdev/canvas": "18.23.1-alpha.26+668a4ae9d",
|
|
20
|
+
"@uniformdev/context": "18.23.1-alpha.26+668a4ae9d",
|
|
21
|
+
"@uniformdev/project-map": "18.23.1-alpha.26+668a4ae9d",
|
|
22
22
|
"chalk": "^5.2.0",
|
|
23
23
|
"diff": "^5.0.0",
|
|
24
24
|
"dotenv": "^16.0.3",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"publishConfig": {
|
|
60
60
|
"access": "public"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "668a4ae9d1d3a85ac601091d435e4abee736441f"
|
|
63
63
|
}
|