@aspects-ai/workspace-cli 0.1.16 → 0.1.17
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 +10 -5
- package/package.json +2 -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.17",
|
|
10
10
|
private: false,
|
|
11
11
|
description: "Lightweight CLI for installing libraries into workspaces",
|
|
12
12
|
type: "module",
|
|
@@ -24,6 +24,7 @@ var package_default = {
|
|
|
24
24
|
"src/registry"
|
|
25
25
|
],
|
|
26
26
|
dependencies: {
|
|
27
|
+
"@remotion/cli": "4.0.356",
|
|
27
28
|
chalk: "^5.3.0",
|
|
28
29
|
commander: "^12.0.0",
|
|
29
30
|
execa: "^8.0.0",
|
|
@@ -628,13 +629,17 @@ function createRemotionCommand() {
|
|
|
628
629
|
const command = new Command5("remotion").description("Run remotion CLI commands using the bundled remotion installation").allowUnknownOption().allowExcessArguments().action(async (_options, cmd) => {
|
|
629
630
|
const args = cmd.args;
|
|
630
631
|
const require2 = createRequire(import.meta.url);
|
|
631
|
-
const remotionCliPath = require2.resolve("remotion/cli");
|
|
632
|
-
const
|
|
633
|
-
const remotionBin = path7.join(
|
|
632
|
+
const remotionCliPath = require2.resolve("@remotion/cli/package.json");
|
|
633
|
+
const remotionCliDir = path7.dirname(remotionCliPath);
|
|
634
|
+
const remotionBin = path7.join(remotionCliDir, "remotion-cli.js");
|
|
634
635
|
try {
|
|
635
636
|
await execa2("node", [remotionBin, ...args], {
|
|
636
637
|
stdio: "inherit",
|
|
637
|
-
cwd: process.cwd()
|
|
638
|
+
cwd: process.cwd(),
|
|
639
|
+
env: {
|
|
640
|
+
...process.env,
|
|
641
|
+
ANIMATION_SSR_MODE: "true"
|
|
642
|
+
}
|
|
638
643
|
});
|
|
639
644
|
} catch (error) {
|
|
640
645
|
process.exit(error.exitCode || 1);
|
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.17",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Lightweight CLI for installing libraries into workspaces",
|
|
6
6
|
"type": "module",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"src/registry"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
+
"@remotion/cli": "4.0.356",
|
|
21
22
|
"chalk": "^5.3.0",
|
|
22
23
|
"commander": "^12.0.0",
|
|
23
24
|
"execa": "^8.0.0",
|