remotion 4.0.71 → 4.0.73

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.
@@ -1,4 +1,4 @@
1
1
  // Automatically generated on publish
2
- const VERSION = '4.0.71';
2
+ const VERSION = '4.0.73';
3
3
 
4
4
  export { VERSION };
package/no-react.js ADDED
@@ -0,0 +1,2 @@
1
+ // For backwards compatibility when you use `esm-wallaby`
2
+ module.exports = require('./dist/cjs/no-react');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remotion",
3
- "version": "4.0.71",
3
+ "version": "4.0.73",
4
4
  "description": "Render videos in React",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/cjs/index.d.ts",
@@ -61,12 +61,21 @@
61
61
  "module": "./dist/esm/version.mjs",
62
62
  "import": "./dist/esm/version.mjs",
63
63
  "require": "./dist/cjs/version.js"
64
+ },
65
+ "./no-react": {
66
+ "types": "./dist/cjs/no-react.d.ts",
67
+ "module": "./dist/esm/no-react.mjs",
68
+ "import": "./dist/esm/no-react.mjs",
69
+ "require": "./dist/cjs/no-react.js"
64
70
  }
65
71
  },
66
72
  "typesVersions": {
67
73
  ">=1.0": {
68
74
  "version": [
69
75
  "dist/cjs/version.d.ts"
76
+ ],
77
+ "no-react": [
78
+ "dist/cjs/no-react.d.ts"
70
79
  ]
71
80
  }
72
81
  },
@@ -74,7 +83,7 @@
74
83
  "formatting": "prettier src --check",
75
84
  "lint": "eslint src --ext ts,tsx",
76
85
  "test": "vitest --run",
77
- "build": "tsc -d && rollup --config rollup-version.config.js && rollup --config rollup.config.js",
86
+ "build": "tsc -d && rollup --config rollup-version.config.js && rollup --config rollup-no-react.config.js && rollup --config rollup.config.js",
78
87
  "watch": "tsc -w"
79
88
  }
80
89
  }
@@ -0,0 +1,22 @@
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
+ ];