@remotion/bundler 4.0.207 → 4.0.209

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/bundle.js CHANGED
@@ -228,6 +228,8 @@ const internalBundle = async (actualArgs) => {
228
228
  resolvedRemotionRoot,
229
229
  basename: node_path_1.default.basename,
230
230
  }),
231
+ installedDependencies: null,
232
+ packageManager: 'unknown',
231
233
  });
232
234
  node_fs_1.default.writeFileSync(node_path_1.default.join(outDir, 'index.html'), html);
233
235
  node_fs_1.default.copyFileSync(node_path_1.default.join(__dirname, '../favicon.ico'), node_path_1.default.join(outDir, 'favicon.ico'));
@@ -1,6 +1,6 @@
1
- import type { GitSource, RenderDefaults } from '@remotion/studio-shared';
1
+ import type { GitSource, InstallablePackage, PackageManager, RenderDefaults } from '@remotion/studio-shared';
2
2
  import type { StaticFile } from 'remotion';
3
- export declare const indexHtml: ({ publicPath, editorName, inputProps, envVariables, staticHash, remotionRoot, studioServerCommand, renderQueue, numberOfAudioTags, publicFiles, includeFavicon, title, renderDefaults, publicFolderExists, gitSource, projectName, }: {
3
+ export declare const indexHtml: ({ publicPath, editorName, inputProps, envVariables, staticHash, remotionRoot, studioServerCommand, renderQueue, numberOfAudioTags, publicFiles, includeFavicon, title, renderDefaults, publicFolderExists, gitSource, projectName, installedDependencies, packageManager, }: {
4
4
  staticHash: string;
5
5
  publicPath: string;
6
6
  editorName: string | null;
@@ -17,4 +17,6 @@ export declare const indexHtml: ({ publicPath, editorName, inputProps, envVariab
17
17
  renderDefaults: RenderDefaults | undefined;
18
18
  gitSource: GitSource | null;
19
19
  projectName: string;
20
+ installedDependencies: InstallablePackage[] | null;
21
+ packageManager: PackageManager | 'unknown';
20
22
  }) => string;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.indexHtml = void 0;
4
4
  const remotion_1 = require("remotion");
5
- const indexHtml = ({ publicPath, editorName, inputProps, envVariables, staticHash, remotionRoot, studioServerCommand, renderQueue, numberOfAudioTags, publicFiles, includeFavicon, title, renderDefaults, publicFolderExists, gitSource, projectName, }) =>
5
+ const indexHtml = ({ publicPath, editorName, inputProps, envVariables, staticHash, remotionRoot, studioServerCommand, renderQueue, numberOfAudioTags, publicFiles, includeFavicon, title, renderDefaults, publicFolderExists, gitSource, projectName, installedDependencies, packageManager, }) =>
6
6
  // Must setup remotion_editorName and remotion.remotion_projectName before bundle.js is loaded
7
7
  `
8
8
  <!DOCTYPE html>
@@ -40,6 +40,8 @@ const indexHtml = ({ publicPath, editorName, inputProps, envVariables, staticHas
40
40
  ? `<script>window.remotion_gitSource = ${JSON.stringify(gitSource)};</script>`
41
41
  : ''}
42
42
  <script>window.remotion_staticFiles = ${JSON.stringify(publicFiles)}</script>
43
+ <script>window.remotion_installedPackages = ${JSON.stringify(installedDependencies)}</script>
44
+ <script>window.remotion_packageManager = ${JSON.stringify(packageManager)}</script>
43
45
  <script>window.remotion_publicFolderExists = ${publicFolderExists ? `"${publicFolderExists}"` : 'null'};</script>
44
46
 
45
47
  <div id="video-container"></div>
package/dist/index.d.ts CHANGED
@@ -16,7 +16,7 @@ export declare const BundlerInternals: {
16
16
  remotionRoot: string;
17
17
  poll: number | null;
18
18
  }) => Promise<[string, webpack.Configuration]>;
19
- indexHtml: ({ publicPath, editorName, inputProps, envVariables, staticHash, remotionRoot, studioServerCommand, renderQueue, numberOfAudioTags, publicFiles, includeFavicon, title, renderDefaults, publicFolderExists, gitSource, projectName, }: {
19
+ indexHtml: ({ publicPath, editorName, inputProps, envVariables, staticHash, remotionRoot, studioServerCommand, renderQueue, numberOfAudioTags, publicFiles, includeFavicon, title, renderDefaults, publicFolderExists, gitSource, projectName, installedDependencies, packageManager, }: {
20
20
  staticHash: string;
21
21
  publicPath: string;
22
22
  editorName: string | null;
@@ -33,6 +33,8 @@ export declare const BundlerInternals: {
33
33
  renderDefaults: import("@remotion/studio-shared").RenderDefaults | undefined;
34
34
  gitSource: import("@remotion/studio-shared").GitSource | null;
35
35
  projectName: string;
36
+ installedDependencies: ("@remotion/animated-emoji" | "@remotion/animation-utils" | "@remotion/cloudrun" | "@remotion/enable-scss" | "@remotion/gif" | "@remotion/google-fonts" | "@remotion/lambda" | "@remotion/layout-utils" | "@remotion/lottie" | "@remotion/media-parser" | "@remotion/media-utils" | "@remotion/motion-blur" | "@remotion/noise" | "@remotion/paths" | "@remotion/rive" | "@remotion/shapes" | "@remotion/skia" | "@remotion/studio" | "@remotion/tailwind" | "@remotion/three" | "@remotion/transitions" | "@remotion/zod-types")[] | null;
37
+ packageManager: import("@remotion/studio-shared").PackageManager | "unknown";
36
38
  }) => string;
37
39
  cacheExists: (remotionRoot: string, environment: "development" | "production", hash: string) => "exists" | "other-exists" | "does-not-exist";
38
40
  clearCache: (remotionRoot: string, env: "development" | "production") => Promise<void>;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/bundler"
4
4
  },
5
5
  "name": "@remotion/bundler",
6
- "version": "4.0.207",
6
+ "version": "4.0.209",
7
7
  "description": "Bundle Remotion compositions using Webpack",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -25,9 +25,9 @@
25
25
  "style-loader": "2.0.0",
26
26
  "source-map": "0.7.3",
27
27
  "webpack": "5.94.0",
28
- "remotion": "4.0.207",
29
- "@remotion/studio": "4.0.207",
30
- "@remotion/studio-shared": "4.0.207"
28
+ "@remotion/studio-shared": "4.0.209",
29
+ "remotion": "4.0.209",
30
+ "@remotion/studio": "4.0.209"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "react": ">=16.8.0",