@remotion/skia 4.0.226 → 4.0.227

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,9 +1,9 @@
1
1
  import type { CanvasProps } from '@shopify/react-native-skia';
2
2
  import type { ReactNode } from 'react';
3
3
  type RemotionCanvasProps = CanvasProps & {
4
- children: ReactNode;
5
- width: number;
6
- height: number;
4
+ readonly children: ReactNode;
5
+ readonly width: number;
6
+ readonly height: number;
7
7
  };
8
8
  /**
9
9
  * @description A React Native Skia <Canvas /> component that wraps Remotion contexts.
@@ -0,0 +1,7 @@
1
+ import {remotionFlatConfig} from '@remotion/eslint-config-internal';
2
+
3
+ const config = remotionFlatConfig({react: true});
4
+
5
+ export default {
6
+ ...config,
7
+ };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/skia"
4
4
  },
5
5
  "name": "@remotion/skia",
6
- "version": "4.0.226",
6
+ "version": "4.0.227",
7
7
  "description": "Include React Native Skia components in a Remotion video",
8
8
  "main": "dist/cjs/index.js",
9
9
  "types": "dist/cjs/index.d.ts",
@@ -16,7 +16,7 @@
16
16
  "url": "https://github.com/remotion-dev/remotion/issues"
17
17
  },
18
18
  "dependencies": {
19
- "remotion": "4.0.226"
19
+ "remotion": "4.0.227"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "@shopify/react-native-skia": ">=0.1.191",
@@ -25,11 +25,14 @@
25
25
  },
26
26
  "devDependencies": {
27
27
  "@shopify/react-native-skia": "1.3.13",
28
+ "canvaskit-wasm": "0.39.1",
28
29
  "@types/react-native": "^0.69.2",
29
30
  "react": "18.3.1",
30
31
  "react-dom": "18.3.1",
31
- "remotion": "4.0.226",
32
- "@remotion/bundler": "4.0.226"
32
+ "eslint": "9.14.0",
33
+ "@remotion/bundler": "4.0.227",
34
+ "remotion": "4.0.227",
35
+ "@remotion/eslint-config-internal": "4.0.227"
33
36
  },
34
37
  "keywords": [
35
38
  "remotion",
@@ -63,7 +66,7 @@
63
66
  "homepage": "https://www.remotion.dev/docs/skia",
64
67
  "scripts": {
65
68
  "formatting": "prettier src --check",
66
- "lint": "eslint src --ext ts,tsx",
67
- "make": "bun --env-file=../.env.bundle bundle.ts"
69
+ "lint": "eslint src",
70
+ "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts"
68
71
  }
69
72
  }