@aspects-ai/workspace-cli 0.1.11 → 0.1.13
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.js +8 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -456,10 +456,14 @@ function validateAndFixManifest(manifest, toolName, frameName) {
|
|
|
456
456
|
description: manifest.description || `Frame for ${toolName}`,
|
|
457
457
|
createdAt: now,
|
|
458
458
|
// Always update createdAt
|
|
459
|
-
|
|
459
|
+
frameType: manifest.frameType || "animationComposition",
|
|
460
|
+
width: manifest.width,
|
|
461
|
+
height: manifest.height
|
|
460
462
|
};
|
|
461
463
|
if (toolName === "animate-core") {
|
|
462
|
-
validatedManifest.
|
|
464
|
+
validatedManifest.frameType = "animationComposition";
|
|
465
|
+
if (!validatedManifest.width) validatedManifest.width = 1920;
|
|
466
|
+
if (!validatedManifest.height) validatedManifest.height = 1080;
|
|
463
467
|
}
|
|
464
468
|
return validatedManifest;
|
|
465
469
|
}
|
|
@@ -482,7 +486,7 @@ async function fetchExampleFrame(toolName, targetPath) {
|
|
|
482
486
|
const library = await getLibrary(toolName);
|
|
483
487
|
const token = getToken();
|
|
484
488
|
logger.info(`Fetching example frame from ${chalk5.cyan(library.repository.url)}`);
|
|
485
|
-
const exampleFrameDirectory = library.repository.directory.replace("/src", "/example-frame");
|
|
489
|
+
const exampleFrameDirectory = library.repository.directory.replace("/src", "/example-frame-123");
|
|
486
490
|
await fetchDirectory({
|
|
487
491
|
repository: library.repository.url,
|
|
488
492
|
directory: exampleFrameDirectory,
|
|
@@ -695,7 +699,7 @@ function createCreateRemotionEntryCommand() {
|
|
|
695
699
|
// package.json
|
|
696
700
|
var package_default = {
|
|
697
701
|
name: "@aspects-ai/workspace-cli",
|
|
698
|
-
version: "0.1.
|
|
702
|
+
version: "0.1.13",
|
|
699
703
|
private: false,
|
|
700
704
|
description: "Lightweight CLI for installing libraries into workspaces",
|
|
701
705
|
type: "module",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aspects-ai/workspace-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Lightweight CLI for installing libraries into workspaces",
|
|
6
6
|
"type": "module",
|
|
@@ -33,4 +33,4 @@
|
|
|
33
33
|
"engines": {
|
|
34
34
|
"node": ">=18.0.0"
|
|
35
35
|
}
|
|
36
|
-
}
|
|
36
|
+
}
|