remotion 4.0.147 → 4.0.149
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/bundle.ts +35 -0
- package/dist/cjs/Img.js +2 -1
- package/dist/cjs/audio/AudioForRendering.js +2 -1
- package/dist/cjs/get-remotion-environment.js +7 -4
- package/dist/cjs/series/index.d.ts +12 -7
- package/dist/cjs/series/index.js +7 -3
- package/dist/cjs/spring/spring-utils.js +3 -0
- package/dist/cjs/use-media-in-timeline.js +4 -3
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/video/VideoForRendering.js +4 -2
- package/dist/esm/index.mjs +5775 -5244
- package/dist/esm/no-react.mjs +692 -748
- package/dist/esm/version.mjs +5 -9
- package/ensure-correct-version.ts +3 -2
- package/package.json +6 -9
- package/rollup-no-react.config.js +0 -22
package/dist/esm/version.mjs
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
//
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
*/
|
|
7
|
-
const VERSION = '4.0.147';
|
|
8
|
-
|
|
9
|
-
export { VERSION };
|
|
1
|
+
// src/version.ts
|
|
2
|
+
var VERSION = "4.0.149";
|
|
3
|
+
export {
|
|
4
|
+
VERSION
|
|
5
|
+
};
|
|
@@ -19,18 +19,19 @@ export const VERSION = '${version}';
|
|
|
19
19
|
fs.writeFileSync(path.resolve(process.cwd(), 'src/version.ts'), src);
|
|
20
20
|
|
|
21
21
|
cp.execSync('pnpm build');
|
|
22
|
+
cp.execSync('bunx tsc -d');
|
|
22
23
|
|
|
23
24
|
const distFile = fs.readFileSync('dist/esm/version.mjs', 'utf-8');
|
|
24
25
|
|
|
25
26
|
if (!distFile.includes(version)) {
|
|
26
|
-
console.log('In dist file, did not include version
|
|
27
|
+
console.log('In dist file, did not include ' + JSON.stringify(version));
|
|
27
28
|
process.exit(1);
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
const distFileCjs = fs.readFileSync('dist/cjs/version.js', 'utf-8');
|
|
31
32
|
|
|
32
33
|
if (!distFileCjs.includes(version)) {
|
|
33
|
-
console.log('In dist file, did not include version
|
|
34
|
+
console.log('In dist file, did not include ' + JSON.stringify(version));
|
|
34
35
|
process.exit(1);
|
|
35
36
|
}
|
|
36
37
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "remotion",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.149",
|
|
4
4
|
"description": "Render videos in React",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"types": "dist/cjs/index.d.ts",
|
|
@@ -19,22 +19,20 @@
|
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@jonny/eslint-config": "3.0.281",
|
|
22
|
-
"@rollup/plugin-typescript": "^8.2.0",
|
|
23
22
|
"@testing-library/react": "14.0.0",
|
|
24
23
|
"@happy-dom/global-registrator": "14.5.1",
|
|
25
24
|
"happy-dom": "14.5.1",
|
|
26
25
|
"@types/node": "18.14.6",
|
|
27
|
-
"@types/react": "18.
|
|
28
|
-
"@types/react-dom": "18.
|
|
26
|
+
"@types/react": "18.3.1",
|
|
27
|
+
"@types/react-dom": "18.3.0",
|
|
29
28
|
"eslint": "8.56.0",
|
|
30
29
|
"eslint-plugin-require-extensions": "^0.1.2",
|
|
31
30
|
"jsdom": "21.1.0",
|
|
32
31
|
"prettier": "3.2.5",
|
|
33
32
|
"prettier-plugin-organize-imports": "3.2.4",
|
|
34
|
-
"react": "18.
|
|
35
|
-
"react-dom": "18.
|
|
33
|
+
"react": "18.3.1",
|
|
34
|
+
"react-dom": "18.3.1",
|
|
36
35
|
"rimraf": "^3.0.2",
|
|
37
|
-
"rollup": "^2.70.1",
|
|
38
36
|
"vitest": "0.31.1",
|
|
39
37
|
"webpack": "5.83.1",
|
|
40
38
|
"zod": "3.22.3"
|
|
@@ -84,7 +82,6 @@
|
|
|
84
82
|
"formatting": "prettier src --check",
|
|
85
83
|
"lint": "eslint src --ext ts,tsx",
|
|
86
84
|
"test": "vitest --run",
|
|
87
|
-
"build": "
|
|
88
|
-
"watch": "tsc -w"
|
|
85
|
+
"build": "bun bundle.ts"
|
|
89
86
|
}
|
|
90
87
|
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
// rollup.config.js
|
|
2
|
-
import typescript from '@rollup/plugin-typescript';
|
|
3
|
-
|
|
4
|
-
export default [
|
|
5
|
-
{
|
|
6
|
-
input: 'src/no-react.ts',
|
|
7
|
-
output: [
|
|
8
|
-
{
|
|
9
|
-
file: 'dist/esm/no-react.mjs',
|
|
10
|
-
format: 'es',
|
|
11
|
-
sourcemap: false,
|
|
12
|
-
},
|
|
13
|
-
],
|
|
14
|
-
plugins: [
|
|
15
|
-
typescript({
|
|
16
|
-
tsconfig: 'tsconfig-esm.json',
|
|
17
|
-
sourceMap: false,
|
|
18
|
-
outputToFilesystem: true,
|
|
19
|
-
}),
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
|
-
];
|