@remotion/shapes 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,13 +1,13 @@
1
1
  import type { Instruction } from '@remotion/paths';
2
2
  import React from 'react';
3
3
  export type AllShapesProps = Omit<React.SVGProps<SVGPathElement>, 'width' | 'height' | 'd'> & {
4
- debug?: boolean;
5
- pathStyle?: React.CSSProperties;
4
+ readonly debug?: boolean;
5
+ readonly pathStyle?: React.CSSProperties;
6
6
  };
7
7
  export declare const RenderSvg: ({ width, height, path, style, pathStyle, transformOrigin, debug, instructions, ...props }: {
8
- width: number;
9
- height: number;
10
- path: string;
11
- instructions: Instruction[];
12
- transformOrigin: string;
8
+ readonly width: number;
9
+ readonly height: number;
10
+ readonly path: string;
11
+ readonly instructions: Instruction[];
12
+ readonly transformOrigin: string;
13
13
  } & AllShapesProps) => import("react/jsx-runtime").JSX.Element;
@@ -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/shapes"
4
4
  },
5
5
  "name": "@remotion/shapes",
6
- "version": "4.0.226",
6
+ "version": "4.0.227",
7
7
  "description": "Generate SVG shapes",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -16,7 +16,9 @@
16
16
  "@testing-library/react": "^13.4.0",
17
17
  "react": "18.3.1",
18
18
  "react-dom": "18.3.1",
19
- "@happy-dom/global-registrator": "14.5.1"
19
+ "@happy-dom/global-registrator": "14.5.1",
20
+ "eslint": "9.14.0",
21
+ "@remotion/eslint-config-internal": "4.0.227"
20
22
  },
21
23
  "keywords": [
22
24
  "svg",
@@ -31,12 +33,13 @@
31
33
  "react-dom": ">=16.8.0"
32
34
  },
33
35
  "dependencies": {
34
- "@remotion/paths": "4.0.226"
36
+ "@remotion/paths": "4.0.227"
35
37
  },
36
38
  "homepage": "https://www.remotion.dev/docs/shapes",
37
39
  "scripts": {
38
40
  "formatting": "prettier src --check",
39
- "lint": "eslint src --ext ts,tsx",
40
- "test": "bun test src"
41
+ "lint": "eslint src",
42
+ "test": "bun test src",
43
+ "make": "tsc -d"
41
44
  }
42
45
  }