@aspects-ai/workspace-cli 0.1.17 → 0.1.18

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -3
  2. 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.17",
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,9 @@ 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 (_options, cmd) => {
630
- const args = cmd.args;
629
+ const command = new Command5("remotion").description("Run remotion CLI commands using the bundled remotion installation").allowUnknownOption().allowExcessArguments().action(async () => {
630
+ const remotionIndex = process.argv.findIndex((arg) => arg === "remotion");
631
+ const args = remotionIndex !== -1 ? process.argv.slice(remotionIndex + 1) : [];
631
632
  const require2 = createRequire(import.meta.url);
632
633
  const remotionCliPath = require2.resolve("@remotion/cli/package.json");
633
634
  const remotionCliDir = path7.dirname(remotionCliPath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aspects-ai/workspace-cli",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "private": false,
5
5
  "description": "Lightweight CLI for installing libraries into workspaces",
6
6
  "type": "module",