create-video 4.0.358 → 4.0.361

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/bin.js ADDED
@@ -0,0 +1,9 @@
1
+ #! /usr/bin/env node
2
+
3
+ const {init} = require('./dist/init');
4
+ init()
5
+ .then(() => process.exit(0))
6
+ .catch((err) => {
7
+ console.error(err);
8
+ process.exit(1);
9
+ });
package/cli.js ADDED
@@ -0,0 +1,14 @@
1
+ const fs = require('fs');
2
+ const path = require('path');
3
+
4
+ const paths = [path.join(__dirname, 'dist', 'init.js')];
5
+
6
+ const prefix = '#! /usr/bin/env node\n';
7
+
8
+ paths.forEach((p) => {
9
+ const contents = fs.readFileSync(p, 'utf8');
10
+
11
+ if (!contents.startsWith(prefix)) {
12
+ fs.writeFileSync(p, prefix + contents);
13
+ }
14
+ });
@@ -42,6 +42,7 @@ var listOfRemotionPackages = [
42
42
  "@remotion/lambda",
43
43
  "@remotion/lambda-client",
44
44
  "@remotion/layout-utils",
45
+ "@remotion/rounded-text-box",
45
46
  "@remotion/licensing",
46
47
  "@remotion/lottie",
47
48
  "@remotion/mcp",
@@ -45,6 +45,7 @@ exports.listOfRemotionPackages = [
45
45
  '@remotion/lambda',
46
46
  '@remotion/lambda-client',
47
47
  '@remotion/layout-utils',
48
+ '@remotion/rounded-text-box',
48
49
  '@remotion/licensing',
49
50
  '@remotion/lottie',
50
51
  '@remotion/mcp',
package/package.json CHANGED
@@ -3,14 +3,16 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/create-video"
4
4
  },
5
5
  "name": "create-video",
6
- "version": "4.0.358",
6
+ "version": "4.0.361",
7
7
  "description": "Create a new Remotion project",
8
8
  "main": "dist/index.js",
9
9
  "bin": {
10
10
  "create-video": "bin.js"
11
11
  },
12
12
  "files": [
13
- "dist"
13
+ "dist",
14
+ "bin.js",
15
+ "cli.js"
14
16
  ],
15
17
  "scripts": {
16
18
  "formatting": "prettier --experimental-cli src --check",
@@ -32,7 +34,7 @@
32
34
  "@types/prompts": "^2.0.12",
33
35
  "@types/tar": "6.1.1",
34
36
  "react": "19.0.0",
35
- "@remotion/eslint-config-internal": "4.0.357",
37
+ "@remotion/eslint-config-internal": "4.0.361",
36
38
  "eslint": "9.19.0"
37
39
  },
38
40
  "exports": {