remotion 3.2.32 → 3.2.33

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,5 +1,5 @@
1
- remotion:build: cache hit, replaying output d624b3a5ce48496a
2
- remotion:build: 
3
- remotion:build: > remotion@3.2.31 build /Users/jonathanburger/remotion/packages/core
4
- remotion:build: > tsc -d
5
- remotion:build: 
1
+ remotion:build: cache hit, replaying output 9fd0ce2c433efe94
2
+ remotion:build: 
3
+ remotion:build: > remotion@3.2.32 build /Users/jonathanburger/remotion/packages/core
4
+ remotion:build: > tsc -d
5
+ remotion:build: 
@@ -8,7 +8,7 @@ const getRemotionEnvironment = () => {
8
8
  }
9
9
  return 'rendering';
10
10
  }
11
- // The Jest framework sets NODE_ENV as test.
11
+ // The Vitest framework sets NODE_ENV as test.
12
12
  // Right now we don't need to treat it in a special
13
13
  // way which is good - defaulting to `rendering`.
14
14
  if (process.env.NODE_ENV === 'test') {
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "3.2.32";
1
+ export declare const VERSION = "3.2.33";
package/dist/version.js CHANGED
@@ -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.2.32';
5
+ exports.VERSION = '3.2.33';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remotion",
3
- "version": "3.2.32",
3
+ "version": "3.2.33",
4
4
  "description": "Render videos in React",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -33,6 +33,7 @@
33
33
  "@types/webpack-env": "^1.16.0",
34
34
  "@vitejs/plugin-react": "^2.0.0",
35
35
  "eslint": "8.13.0",
36
+ "jsdom": "20.0.1",
36
37
  "prettier": "^2.0.5",
37
38
  "prettier-plugin-organize-imports": "^2.3.4",
38
39
  "react": "^18.0.0",
@@ -40,7 +41,7 @@
40
41
  "react-test-renderer": "^18.0.0",
41
42
  "rimraf": "^3.0.2",
42
43
  "typescript": "^4.7.0",
43
- "vitest": "0.18.0",
44
+ "vitest": "0.24.3",
44
45
  "webpack": "5.74.0"
45
46
  },
46
47
  "keywords": [
@@ -54,5 +55,5 @@
54
55
  "publishConfig": {
55
56
  "access": "public"
56
57
  },
57
- "gitHead": "4f7ab3637405d140041f898f95f78c99943d1b40"
58
+ "gitHead": "3c864e5ab73870674d028a1199005ddbabaede12"
58
59
  }
@@ -1,24 +0,0 @@
1
- const path = require('node:path');
2
- const fs = require('node:fs');
3
- const cp = require('node:child_process');
4
-
5
- const packageJson = JSON.parse(fs.readFileSync('package.json'));
6
- const {version} = packageJson;
7
- const src =
8
- `
9
- // Automatically generated on publish
10
- export const VERSION = '${version}';
11
- `.trim() + '\n';
12
-
13
- fs.writeFileSync(path.resolve(process.cwd(), 'src/version.ts'), src);
14
-
15
- cp.execSync('pnpm exec tsc');
16
-
17
- const distFile = fs.readFileSync('dist/version.js', 'utf-8');
18
-
19
- if (!distFile.includes(version)) {
20
- console.log('In dist file, did not include version');
21
- process.exit(1);
22
- }
23
-
24
- console.log('Updated version to v' + version);