@remotion/cli 4.0.434 → 4.0.435

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.
@@ -99,18 +99,24 @@ const getGifRef = (logLevel) => {
99
99
  }
100
100
  };
101
101
  exports.getGifRef = getGifRef;
102
- const getFromEnvVariables = () => {
102
+ const getFromEnvVariables = (remotionRoot) => {
103
103
  const { VERCEL_GIT_PROVIDER, VERCEL_GIT_COMMIT_SHA, VERCEL_GIT_REPO_OWNER, VERCEL_GIT_REPO_SLUG, } = process.env;
104
104
  if (VERCEL_GIT_COMMIT_SHA &&
105
105
  VERCEL_GIT_REPO_OWNER &&
106
106
  VERCEL_GIT_REPO_SLUG &&
107
107
  VERCEL_GIT_PROVIDER === 'github') {
108
+ let relativeFromGitRoot = '';
109
+ const gitConfig = (0, exports.getGitConfig)(remotionRoot);
110
+ if (gitConfig) {
111
+ const gitRoot = path_1.default.dirname(path_1.default.dirname(gitConfig));
112
+ relativeFromGitRoot = path_1.default.relative(gitRoot, remotionRoot);
113
+ }
108
114
  return {
109
115
  name: VERCEL_GIT_REPO_SLUG,
110
116
  org: VERCEL_GIT_REPO_OWNER,
111
117
  ref: VERCEL_GIT_COMMIT_SHA,
112
118
  type: 'github',
113
- relativeFromGitRoot: '',
119
+ relativeFromGitRoot,
114
120
  };
115
121
  }
116
122
  return null;
@@ -119,9 +125,9 @@ const getGitSource = ({ remotionRoot, disableGitSource, logLevel, }) => {
119
125
  if (disableGitSource) {
120
126
  return null;
121
127
  }
122
- const fromEnv = getFromEnvVariables();
128
+ const fromEnv = getFromEnvVariables(remotionRoot);
123
129
  if (fromEnv) {
124
- return getFromEnvVariables();
130
+ return fromEnv;
125
131
  }
126
132
  const ref = (0, exports.getGifRef)(logLevel);
127
133
  if (!ref) {
@@ -9,6 +9,7 @@ exports.listOfRemotionPackages = [
9
9
  '@remotion/astro-example',
10
10
  '@remotion/babel-loader',
11
11
  '@remotion/bugs',
12
+ '@remotion/brand',
12
13
  '@remotion/bundler',
13
14
  '@remotion/cli',
14
15
  '@remotion/cloudrun',
@@ -87,6 +88,7 @@ exports.listOfRemotionPackages = [
87
88
  '@remotion/web-renderer',
88
89
  '@remotion/design',
89
90
  '@remotion/light-leaks',
91
+ '@remotion/starburst',
90
92
  '@remotion/vercel',
91
93
  '@remotion/sfx',
92
94
  ];
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/cli"
4
4
  },
5
5
  "name": "@remotion/cli",
6
- "version": "4.0.434",
6
+ "version": "4.0.435",
7
7
  "description": "Control Remotion features using the `npx remotion` command",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -37,17 +37,17 @@
37
37
  "author": "Jonny Burger <jonny@remotion.dev>",
38
38
  "license": "SEE LICENSE IN LICENSE.md",
39
39
  "dependencies": {
40
- "@remotion/bundler": "4.0.434",
41
- "@remotion/media-utils": "4.0.434",
42
- "@remotion/player": "4.0.434",
43
- "@remotion/renderer": "4.0.434",
44
- "@remotion/studio-shared": "4.0.434",
45
- "@remotion/studio-server": "4.0.434",
46
- "@remotion/studio": "4.0.434",
40
+ "@remotion/bundler": "4.0.435",
41
+ "@remotion/media-utils": "4.0.435",
42
+ "@remotion/player": "4.0.435",
43
+ "@remotion/renderer": "4.0.435",
44
+ "@remotion/studio-shared": "4.0.435",
45
+ "@remotion/studio-server": "4.0.435",
46
+ "@remotion/studio": "4.0.435",
47
47
  "dotenv": "17.3.1",
48
48
  "minimist": "1.2.6",
49
49
  "prompts": "2.4.2",
50
- "remotion": "4.0.434"
50
+ "remotion": "4.0.435"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "react": ">=16.8.0",
@@ -58,14 +58,14 @@
58
58
  "@types/prompts": "^2.4.1",
59
59
  "@types/prettier": "^2.7.2",
60
60
  "@types/node": "20.12.14",
61
- "@remotion/zod-types": "4.0.434",
62
- "@remotion/tailwind-v4": "4.0.434",
63
- "@remotion/enable-scss": "4.0.434",
64
- "@remotion/skia": "4.0.434",
61
+ "@remotion/zod-types": "4.0.435",
62
+ "@remotion/tailwind-v4": "4.0.435",
63
+ "@remotion/enable-scss": "4.0.435",
64
+ "@remotion/skia": "4.0.435",
65
65
  "react": "19.2.3",
66
66
  "react-dom": "19.2.3",
67
67
  "zod": "4.3.6",
68
- "@remotion/eslint-config-internal": "4.0.434",
68
+ "@remotion/eslint-config-internal": "4.0.435",
69
69
  "eslint": "9.19.0",
70
70
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
71
71
  },