remotion 3.3.63 → 3.3.65

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.
@@ -2,6 +2,7 @@
2
2
  * The configuration has moved to @remotion/cli.
3
3
  * For the moment the type definitions are going to stay here
4
4
  */
5
+ import type { Configuration } from 'webpack';
5
6
  declare type Concurrency = number | null;
6
7
  declare type BrowserExecutable = string | null;
7
8
  declare type FrameRange = number | [number, number];
@@ -9,6 +10,8 @@ declare type FfmpegExecutable = string | null;
9
10
  declare type Loop = number | null;
10
11
  declare type CodecOrUndefined = 'h264' | 'h265' | 'vp8' | 'vp9' | 'mp3' | 'aac' | 'wav' | 'prores' | 'h264-mkv' | 'gif' | undefined;
11
12
  declare type Crf = number | undefined;
13
+ export declare type WebpackConfiguration = Configuration;
14
+ export declare type WebpackOverrideFn = (currentConfiguration: WebpackConfiguration) => WebpackConfiguration;
12
15
  declare type FlatConfig = RemotionConfigObject['Bundling'] & RemotionConfigObject['Log'] & RemotionConfigObject['Preview'] & RemotionConfigObject['Puppeteer'] & RemotionConfigObject['Output'] & RemotionConfigObject['Rendering'] & {
13
16
  /**
14
17
  * Set the audio codec to use for the output video.
@@ -40,6 +43,7 @@ declare global {
40
43
  * You can set an absolute path or a relative path that will be resolved from the closest package.json location.
41
44
  */
42
45
  readonly setPublicDir: (publicDir: string | null) => void;
46
+ readonly overrideWebpackConfig: (f: WebpackOverrideFn) => void;
43
47
  }
44
48
  interface RemotionConfigObject {
45
49
  /**
@@ -1,8 +1,4 @@
1
1
  "use strict";
2
- /**
3
- * The configuration has moved to @remotion/cli.
4
- * For the moment the type definitions are going to stay here
5
- */
6
2
  Object.defineProperty(exports, "__esModule", { value: true });
7
3
  exports.enableLegacyRemotionConfig = exports.Config = void 0;
8
4
  const conf = {};
@@ -51,7 +51,7 @@ export * from './audio/index.js';
51
51
  export { cancelRender } from './cancel-render.js';
52
52
  export * from './Composition.js';
53
53
  export { SmallTCompMetadata, TAsset, TCompMetadata, } from './CompositionManager.js';
54
- export { Config, ConfigType } from './config.js';
54
+ export { Config, ConfigType, WebpackConfiguration, WebpackOverrideFn, } from './config.js';
55
55
  export { getInputProps } from './config/input-props.js';
56
56
  export { continueRender, delayRender } from './delay-render.js';
57
57
  export * from './easing.js';
@@ -97,4 +97,3 @@ export declare const Experimental: {
97
97
  Null: import("react").FC<{}>;
98
98
  useIsPlayer: () => boolean;
99
99
  };
100
- export declare type WebpackOverrideFn = "The 'WebpackOverrideFn' has been moved to '@remotion/bundler'. Update your imports and install '@remotion/bundler' if necessary.";
@@ -1 +1 @@
1
- export declare const VERSION = "3.3.63";
1
+ export declare const VERSION = "3.3.65";
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // Automatically generated on publish
5
- exports.VERSION = '3.3.63';
5
+ exports.VERSION = '3.3.65';
@@ -58,7 +58,7 @@ function truthy(value) {
58
58
  }
59
59
 
60
60
  // Automatically generated on publish
61
- const VERSION = '3.3.63';
61
+ const VERSION = '3.3.65';
62
62
 
63
63
  const checkMultipleRemotionVersions = () => {
64
64
  if (typeof globalThis === 'undefined') {
@@ -1989,10 +1989,6 @@ const Folder = ({ name, children, }) => {
1989
1989
  return (jsx(FolderContext.Provider, { value: value, children: children }));
1990
1990
  };
1991
1991
 
1992
- /**
1993
- * The configuration has moved to @remotion/cli.
1994
- * For the moment the type definitions are going to stay here
1995
- */
1996
1992
  const conf = {};
1997
1993
  let enabled = false;
1998
1994
  const Config = new Proxy(conf, {
@@ -1,4 +1,4 @@
1
1
  // Automatically generated on publish
2
- const VERSION = '3.3.63';
2
+ const VERSION = '3.3.65';
3
3
 
4
4
  export { VERSION };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remotion",
3
- "version": "3.3.63",
3
+ "version": "3.3.65",
4
4
  "description": "Render videos in React",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/cjs/index.d.ts",
@@ -42,7 +42,8 @@
42
42
  "rimraf": "^3.0.2",
43
43
  "rollup": "^2.70.1",
44
44
  "typescript": "^4.7.0",
45
- "vitest": "0.24.3"
45
+ "vitest": "0.24.3",
46
+ "webpack": "5.74.0"
46
47
  },
47
48
  "keywords": [
48
49
  "remotion",
@@ -76,5 +77,5 @@
76
77
  ]
77
78
  }
78
79
  },
79
- "gitHead": "d151c94785f1727bef8497e2af68e2add0a58807"
80
+ "gitHead": "f1fcd9c71dc6f811c8f29df08ca820eb71b23108"
80
81
  }