@remotion/bundler 4.0.213 → 4.0.214
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.d.ts +2 -2
- package/dist/bundle.js +2 -2
- package/dist/copy-dir.d.ts +0 -1
- package/dist/copy-dir.js +1 -2
- package/dist/fast-refresh/runtime.d.ts +0 -2
- package/dist/index-html.d.ts +2 -2
- package/dist/index.d.ts +10 -10
- package/dist/read-recursively.d.ts +1 -1
- package/dist/webpack-config.d.ts +3 -3
- package/package.json +4 -4
package/dist/bundle.d.ts
CHANGED
|
@@ -18,8 +18,8 @@ export declare const getConfig: ({ entryPoint, outDir, resolvedRemotionRoot, onP
|
|
|
18
18
|
resolvedRemotionRoot: string;
|
|
19
19
|
bufferStateDelayInMilliseconds: number | null;
|
|
20
20
|
maxTimelineTracks: number | null;
|
|
21
|
-
onProgress?: (
|
|
22
|
-
options?:
|
|
21
|
+
onProgress?: (progress: number) => void;
|
|
22
|
+
options?: LegacyBundleOptions;
|
|
23
23
|
}) => Promise<[string, webpack.Configuration]>;
|
|
24
24
|
type NewBundleOptions = {
|
|
25
25
|
entryPoint: string;
|
package/dist/bundle.js
CHANGED
|
@@ -26,7 +26,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.internalBundle = exports.findClosestFolderWithItem = exports.getConfig = void 0;
|
|
30
|
+
exports.bundle = bundle;
|
|
30
31
|
const studio_shared_1 = require("@remotion/studio-shared");
|
|
31
32
|
const node_fs_1 = __importStar(require("node:fs"));
|
|
32
33
|
const node_os_1 = __importDefault(require("node:os"));
|
|
@@ -263,4 +264,3 @@ async function bundle(...args) {
|
|
|
263
264
|
});
|
|
264
265
|
return result;
|
|
265
266
|
}
|
|
266
|
-
exports.bundle = bundle;
|
package/dist/copy-dir.d.ts
CHANGED
package/dist/copy-dir.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.copyDir =
|
|
6
|
+
exports.copyDir = copyDir;
|
|
7
7
|
const node_fs_1 = __importDefault(require("node:fs"));
|
|
8
8
|
const node_path_1 = __importDefault(require("node:path"));
|
|
9
9
|
async function copyDir({ src, dest, onSymlinkDetected, onProgress, copiedBytes = 0, lastReportedProgress = 0, }) {
|
|
@@ -41,4 +41,3 @@ async function copyDir({ src, dest, onSymlinkDetected, onProgress, copiedBytes =
|
|
|
41
41
|
}
|
|
42
42
|
return copiedBytes;
|
|
43
43
|
}
|
|
44
|
-
exports.copyDir = copyDir;
|
package/dist/index-html.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare const indexHtml: ({ publicPath, editorName, inputProps, envVariab
|
|
|
5
5
|
publicPath: string;
|
|
6
6
|
editorName: string | null;
|
|
7
7
|
inputProps: object | null;
|
|
8
|
-
envVariables?: Record<string, string
|
|
8
|
+
envVariables?: Record<string, string>;
|
|
9
9
|
remotionRoot: string;
|
|
10
10
|
studioServerCommand: string | null;
|
|
11
11
|
renderQueue: unknown | null;
|
|
@@ -18,5 +18,5 @@ export declare const indexHtml: ({ publicPath, editorName, inputProps, envVariab
|
|
|
18
18
|
gitSource: GitSource | null;
|
|
19
19
|
projectName: string;
|
|
20
20
|
installedDependencies: InstallablePackage[] | null;
|
|
21
|
-
packageManager: PackageManager |
|
|
21
|
+
packageManager: PackageManager | "unknown";
|
|
22
22
|
}) => string;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,23 +8,23 @@ export declare const BundlerInternals: {
|
|
|
8
8
|
outDir: string | null;
|
|
9
9
|
environment: "development" | "production";
|
|
10
10
|
webpackOverride: import("./webpack-config").WebpackOverrideFn;
|
|
11
|
-
onProgress?: (
|
|
12
|
-
enableCaching?: boolean
|
|
11
|
+
onProgress?: (f: number) => void;
|
|
12
|
+
enableCaching?: boolean;
|
|
13
13
|
maxTimelineTracks: number | null;
|
|
14
14
|
keyboardShortcutsEnabled: boolean;
|
|
15
15
|
bufferStateDelayInMilliseconds: number | null;
|
|
16
16
|
remotionRoot: string;
|
|
17
17
|
poll: number | null;
|
|
18
|
-
}) => Promise<[string, webpack.
|
|
18
|
+
}) => Promise<[string, import("./webpack-config").WebpackConfiguration]>;
|
|
19
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;
|
|
23
23
|
inputProps: object | null;
|
|
24
|
-
envVariables?: Record<string, string
|
|
24
|
+
envVariables?: Record<string, string>;
|
|
25
25
|
remotionRoot: string;
|
|
26
26
|
studioServerCommand: string | null;
|
|
27
|
-
renderQueue: unknown;
|
|
27
|
+
renderQueue: unknown | null;
|
|
28
28
|
numberOfAudioTags: number;
|
|
29
29
|
publicFiles: import("remotion").StaticFile[];
|
|
30
30
|
publicFolderExists: string | null;
|
|
@@ -33,7 +33,7 @@ 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/
|
|
36
|
+
installedDependencies: import("@remotion/studio-shared").InstallablePackage[] | null;
|
|
37
37
|
packageManager: import("@remotion/studio-shared").PackageManager | "unknown";
|
|
38
38
|
}) => string;
|
|
39
39
|
cacheExists: (remotionRoot: string, environment: "development" | "production", hash: string) => "exists" | "other-exists" | "does-not-exist";
|
|
@@ -44,13 +44,13 @@ export declare const BundlerInternals: {
|
|
|
44
44
|
resolvedRemotionRoot: string;
|
|
45
45
|
bufferStateDelayInMilliseconds: number | null;
|
|
46
46
|
maxTimelineTracks: number | null;
|
|
47
|
-
onProgress?: (
|
|
48
|
-
options?:
|
|
47
|
+
onProgress?: (progress: number) => void;
|
|
48
|
+
options?: import("./bundle").LegacyBundleOptions;
|
|
49
49
|
}) => Promise<[string, webpack.Configuration]>;
|
|
50
50
|
readRecursively: ({ folder, output, startPath, staticHash, limit, }: {
|
|
51
51
|
folder: string;
|
|
52
52
|
startPath: string;
|
|
53
|
-
output?: import("remotion").StaticFile[]
|
|
53
|
+
output?: import("remotion").StaticFile[];
|
|
54
54
|
staticHash: string;
|
|
55
55
|
limit: number;
|
|
56
56
|
}) => import("remotion").StaticFile[];
|
|
@@ -68,6 +68,6 @@ export declare const BundlerInternals: {
|
|
|
68
68
|
} & import("./bundle").MandatoryLegacyBundleOptions) => Promise<string>;
|
|
69
69
|
};
|
|
70
70
|
export type { GitSource } from '@remotion/studio-shared';
|
|
71
|
-
export { BundleOptions, LegacyBundleOptions, MandatoryLegacyBundleOptions,
|
|
71
|
+
export { bundle, BundleOptions, LegacyBundleOptions, MandatoryLegacyBundleOptions, } from './bundle';
|
|
72
72
|
export { WebpackConfiguration, WebpackOverrideFn } from './webpack-config';
|
|
73
73
|
export { webpack };
|
|
@@ -2,7 +2,7 @@ import type { StaticFile } from 'remotion';
|
|
|
2
2
|
export declare const readRecursively: ({ folder, output, startPath, staticHash, limit, }: {
|
|
3
3
|
folder: string;
|
|
4
4
|
startPath: string;
|
|
5
|
-
output?: StaticFile[]
|
|
5
|
+
output?: StaticFile[];
|
|
6
6
|
staticHash: string;
|
|
7
7
|
limit: number;
|
|
8
8
|
}) => StaticFile[];
|
package/dist/webpack-config.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ export declare const webpackConfig: ({ entry, userDefinedComponent, outDir, envi
|
|
|
5
5
|
entry: string;
|
|
6
6
|
userDefinedComponent: string;
|
|
7
7
|
outDir: string | null;
|
|
8
|
-
environment:
|
|
8
|
+
environment: "development" | "production";
|
|
9
9
|
webpackOverride: WebpackOverrideFn;
|
|
10
|
-
onProgress?: (
|
|
11
|
-
enableCaching?: boolean
|
|
10
|
+
onProgress?: (f: number) => void;
|
|
11
|
+
enableCaching?: boolean;
|
|
12
12
|
maxTimelineTracks: number | null;
|
|
13
13
|
keyboardShortcutsEnabled: boolean;
|
|
14
14
|
bufferStateDelayInMilliseconds: number | null;
|
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.
|
|
6
|
+
"version": "4.0.214",
|
|
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.
|
|
29
|
-
"@remotion/studio": "4.0.
|
|
30
|
-
"@remotion/studio
|
|
28
|
+
"remotion": "4.0.214",
|
|
29
|
+
"@remotion/studio-shared": "4.0.214",
|
|
30
|
+
"@remotion/studio": "4.0.214"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"react": ">=16.8.0",
|