@aspects-ai/workspace-cli 0.1.17 → 0.1.19
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 +6 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Command as Command9 } from "commander";
|
|
|
6
6
|
// package.json
|
|
7
7
|
var package_default = {
|
|
8
8
|
name: "@aspects-ai/workspace-cli",
|
|
9
|
-
version: "0.1.
|
|
9
|
+
version: "0.1.18",
|
|
10
10
|
private: false,
|
|
11
11
|
description: "Lightweight CLI for installing libraries into workspaces",
|
|
12
12
|
type: "module",
|
|
@@ -626,8 +626,11 @@ import { execa as execa2 } from "execa";
|
|
|
626
626
|
import { createRequire } from "module";
|
|
627
627
|
import path7 from "path";
|
|
628
628
|
function createRemotionCommand() {
|
|
629
|
-
const command = new Command5("remotion").description("Run remotion CLI commands using the bundled remotion installation").allowUnknownOption().allowExcessArguments().action(async (
|
|
630
|
-
|
|
629
|
+
const command = new Command5("remotion").description("Run remotion CLI commands using the bundled remotion installation").allowUnknownOption().allowExcessArguments().action(async () => {
|
|
630
|
+
console.error("DEBUG process.argv:", process.argv);
|
|
631
|
+
const remotionIndex = process.argv.findIndex((arg) => arg === "remotion");
|
|
632
|
+
const args = remotionIndex !== -1 ? process.argv.slice(remotionIndex + 1) : [];
|
|
633
|
+
console.error("DEBUG remotionIndex:", remotionIndex, "args:", args);
|
|
631
634
|
const require2 = createRequire(import.meta.url);
|
|
632
635
|
const remotionCliPath = require2.resolve("@remotion/cli/package.json");
|
|
633
636
|
const remotionCliDir = path7.dirname(remotionCliPath);
|