Skip to content

🎥 Make videos programmatically with React

this is not the same? lol

Jonny Burger6b18840a384f
diff --git a/packages/compositor-darwin-arm64/package.json b/packages/compositor-darwin-arm64/package.json
index 0da23c0882..dec8d931ba 100644
--- a/packages/compositor-darwin-arm64/package.json
+++ b/packages/compositor-darwin-arm64/package.json
@@ -12,9 +12,9 @@
],
"exports": {
".": {
+ "types": "./index.d.ts",
"require": "./index.js",
- "import": "./index.mjs",
- "types": "./index.d.ts"
+ "import": "./index.mjs"
},
"./package.json": "./package.json"
},
diff --git a/packages/compositor-darwin-x64/package.json b/packages/compositor-darwin-x64/package.json
index 4dcccb103d..d044625137 100644
--- a/packages/compositor-darwin-x64/package.json
+++ b/packages/compositor-darwin-x64/package.json
@@ -12,9 +12,9 @@
],
"exports": {
".": {
+ "types": "./index.d.ts",
"require": "./index.js",
- "import": "./index.mjs",
- "types": "./index.d.ts"
+ "import": "./index.mjs"
},
"./package.json": "./package.json"
},
diff --git a/packages/compositor-linux-arm64-gnu/package.json b/packages/compositor-linux-arm64-gnu/package.json
index ca74c70e54..69002a300a 100644
--- a/packages/compositor-linux-arm64-gnu/package.json
+++ b/packages/compositor-linux-arm64-gnu/package.json
@@ -15,9 +15,9 @@
],
"exports": {
".": {
+ "types": "./index.d.ts",
"require": "./index.js",
- "import": "./index.mjs",
- "types": "./index.d.ts"
+ "import": "./index.mjs"
},
"./package.json": "./package.json"
},
diff --git a/packages/compositor-linux-arm64-musl/package.json b/packages/compositor-linux-arm64-musl/package.json
index 4b827bc8eb..7e7078300b 100644
--- a/packages/compositor-linux-arm64-musl/package.json
+++ b/packages/compositor-linux-arm64-musl/package.json
@@ -15,9 +15,9 @@
],
"exports": {
".": {
+ "types": "./index.d.ts",
"require": "./index.js",
- "import": "./index.mjs",
- "types": "./index.d.ts"
+ "import": "./index.mjs"
},
"./package.json": "./package.json"
},
diff --git a/packages/compositor-linux-x64-gnu/package.json b/packages/compositor-linux-x64-gnu/package.json
index cac460c7f3..d112b00f2c 100644
--- a/packages/compositor-linux-x64-gnu/package.json
+++ b/packages/compositor-linux-x64-gnu/package.json
@@ -15,9 +15,9 @@
],
"exports": {
".": {
+ "types": "./index.d.ts",
"require": "./index.js",
- "import": "./index.mjs",
- "types": "./index.d.ts"
+ "import": "./index.mjs"
},
"./package.json": "./package.json"
},
diff --git a/packages/compositor-linux-x64-musl/package.json b/packages/compositor-linux-x64-musl/package.json
index 07d2824264..3dc59bdcc2 100644
--- a/packages/compositor-linux-x64-musl/package.json
+++ b/packages/compositor-linux-x64-musl/package.json
@@ -15,9 +15,9 @@
],
"exports": {
".": {
+ "types": "./index.d.ts",
"require": "./index.js",
- "import": "./index.mjs",
- "types": "./index.d.ts"
+ "import": "./index.mjs"
},
"./package.json": "./package.json"
},
diff --git a/packages/compositor-win32-x64-msvc/package.json b/packages/compositor-win32-x64-msvc/package.json
index 9ff3f80ff7..ee0cd9bbd5 100644
--- a/packages/compositor-win32-x64-msvc/package.json
+++ b/packages/compositor-win32-x64-msvc/package.json
@@ -12,9 +12,9 @@
],
"exports": {
".": {
+ "types": "./index.d.ts",
"require": "./index.js",
- "import": "./index.mjs",
- "types": "./index.d.ts"
+ "import": "./index.mjs"
},
"./package.json": "./package.json"
},
diff --git a/packages/docs/docs/contributing/presentation.mdx b/packages/docs/docs/contributing/presentation.mdx
index e79b393d04..55b86253b7 100644
--- a/packages/docs/docs/contributing/presentation.mdx
+++ b/packages/docs/docs/contributing/presentation.mdx
@@ -13,24 +13,38 @@ If this is your first contribution, see the <a href="https://github.com/remotion
## How to proceed
-<Step>1</Step> Create a custom transition. Loook at the <a href="/docs/transitions/presentations/custom">custom presentation</a> docs to see how it's done.<br/>
-<Step>2</Step>Add your presentation to the remotion monorepository under <code>packages/transitions/src/presentations</code>.<br/>
-<Step>3</Step> In the <code>bundle.ts</code>, add your presentation to the <code>presentations array</code>.
-<br/>
+<Step>1</Step> Create a custom transition. Loook at the <a href="/docs/transitions/presentations/custom">
+ custom presentation
+</a> docs to see how it's done.
+<br />
+<Step>2</Step>Add your presentation to the remotion monorepository under <code>
+ packages/transitions/src/presentations
+</code>
+.<br />
+<Step>3</Step> In the <code>bundle.ts</code>, add your presentation to the <code>
+ presentations array
+</code>
+.
+<br />
```tsx
const presentations = ['slide', 'flip', 'wipe', 'fade', ..., 'yourPresentation'];
```
-<Step>4</Step> Add your presentation to the <code>exports</code> of the <code>package.json</code> at <code>packages/transition/package.json</code> as well as to the <code>typesVersions</code>, so it can be correctly imported in other remotion projects.
+<Step>4</Step> Add your presentation to the <code>exports</code> of the <code>
+ package.json
+</code> at <code>packages/transition/package.json</code> as well as to the <code>
+ typesVersions
+</code>
+, so it can be correctly imported in other remotion projects.
```json
"exports": {
"./yourPresentation": {
+ "types": "./dist/presentations/yourPresentation.d.ts",
"module": "./dist/presentations/yourPresentation.js",
"import": "./dist/presentations/yourPresentation.js",
- "require": "./dist/cjs/presentations/yourPresentation.js",
- "types": "./dist/presentations/yourPresentation.d.ts"
+ "require": "./dist/cjs/presentations/yourPresentation.js"
},
},
"typesVersions": {
@@ -44,7 +58,11 @@ If this is your first contribution, see the <a href="https://github.com/remotion
Make sure to `pnpm build` in `remotion/packages/transitions` so your transition gets usable in your remotion repository.
-<Step>5</Step> Write a documentation for your presentation. Have a look at the presentations linked in the <a href="/docs/transitions/presentations">presentation</a> docs for reference. The documentation should consist of the following parts:
+<Step>5</Step> Write a documentation for your presentation. Have a look at the
+presentations linked in the <a href="/docs/transitions/presentations">
+ presentation
+</a> docs for reference. The documentation should consist of the following
+parts:
- A `short description` of what your presentation does.
- A `demo` of your presentation. For instructions, have a look at the `demo` paragraph in the [contributing to the documentation](/docs/contributing/docs#demos) page, or have a look at the source code of other presentation documentations ([presentationType].mdx files).
@@ -53,7 +71,11 @@ Make sure to `pnpm build` in `remotion/packages/transitions` so your transition
&nbsp;&nbsp;&nbsp;&nbsp; For more help on how to write a documentation, see the [contributing to the documentation](/docs/contributing/docs) page.
-<Step>6</Step> Add your presentation to the table of contents at <a href="/docs/transitions/presentations">docs/transitions/presentations</a> by creating a <code>&lt;TOCItem&gt;</code> containing a link to your documentation, a <code>&lt;PresentationPreview</code> displaying your presentation and a one-liner describing what your presentation does.
+<Step>6</Step> Add your presentation to the table of contents at <a href="/docs/transitions/presentations">
+ docs/transitions/presentations
+</a> by creating a <code>&lt;TOCItem&gt;</code> containing a link to your
+documentation, a <code>&lt;PresentationPreview</code> displaying your
+presentation and a one-liner describing what your presentation does.
```tsx title="Example TOCItem"
<TOCItem link="/docs/transitions/presentations/yourPresentation">
@@ -62,9 +84,9 @@ Make sure to `pnpm build` in `remotion/packages/transitions` so your transition
durationRestThreshold={0.001}
effect={yourPresentation()}
/>
- <div style={{ flex: 1, marginLeft: 10 }}>
+ <div style={{flex: 1, marginLeft: 10}}>
<strong>
- <code>{"yourPresentation()"}</code>
+ <code>{'yourPresentation()'}</code>
</strong>
<div>Insert one-liner describing your presentation</div>
</div>
diff --git a/packages/eslint-config-internal/package.json b/packages/eslint-config-internal/package.json
index 4654f0c4fc..984696caa2 100644
--- a/packages/eslint-config-internal/package.json
+++ b/packages/eslint-config-internal/package.json
@@ -11,9 +11,9 @@
},
"exports": {
".": {
+ "types": "./dist/index.d.ts",
"import": "./dist/index.js",
- "require": "./dist/index.js",
- "types": "./dist/index.d.ts"
+ "require": "./dist/index.js"
},
"./package.json": "./package.json"
},
diff --git a/packages/google-fonts/package.json b/packages/google-fonts/package.json
index 46318ae546..ad8b93df53 100644
--- a/packages/google-fonts/package.json
+++ b/packages/google-fonts/package.json
@@ -4762,22 +4762,22 @@
"exports": {
"./package.json": "./package.json",
"./*": {
+ "types": "./dist/cjs/*.d.ts",
"module": "./dist/esm/*.mjs",
"import": "./dist/esm/*.mjs",
- "require": "./dist/cjs/*.js",
- "types": "./dist/cjs/*.d.ts"
+ "require": "./dist/cjs/*.js"
},
"./index": {
+ "types": "./dist/cjs/index.d.ts",
"module": "./dist/esm/index.mjs",
"import": "./dist/esm/index.mjs",
- "require": "./dist/cjs/index.js",
- "types": "./dist/cjs/index.d.ts"
+ "require": "./dist/cjs/index.js"
},
".": {
+ "types": "./dist/cjs/index.d.ts",
"module": "./dist/esm/index.mjs",
"import": "./dist/esm/index.mjs",
- "require": "./dist/cjs/index.js",
- "types": "./dist/cjs/index.d.ts"
+ "require": "./dist/cjs/index.js"
}
},
"homepage": "https://www.remotion.dev/docs/google-fonts"
diff --git a/packages/media-parser/package.json b/packages/media-parser/package.json
index e63c50297f..992ef24146 100644
--- a/packages/media-parser/package.json
+++ b/packages/media-parser/package.json
@@ -27,39 +27,39 @@
},
"exports": {
".": {
+ "types": "./dist/index.d.ts",
"require": "./dist/index.js",
"module": "./dist/esm/index.mjs",
- "types": "./dist/index.d.ts",
"import": "./dist/esm/index.mjs"
},
"./node": {
+ "types": "./dist/readers/from-node.d.ts",
"require": "./dist/readers/from-node.js",
"module": "./dist/esm/from-node.mjs",
- "types": "./dist/readers/from-node.d.ts",
"import": "./dist/esm/from-node.mjs"
},
"./fetch": {
+ "types": "./dist/readers/from-fetch.d.ts",
"require": "./dist/readers/from-fetch.js",
"module": "./dist/esm/from-fetch.mjs",
- "types": "./dist/readers/from-fetch.d.ts",
"import": "./dist/esm/from-fetch.mjs"
},
"./web-file": {
+ "types": "./dist/readers/from-web-file.d.ts",
"require": "./dist/readers/from-web-file.js",
"module": "./dist/esm/from-web-file.mjs",
- "types": "./dist/readers/from-web-file.d.ts",
"import": "./dist/esm/from-web-file.mjs"
},
"./web-fs": {
+ "types": "./dist/writers/web-fs.d.ts",
"require": "./dist/writers/web-fs.js",
"module": "./dist/esm/web-fs.mjs",
- "types": "./dist/writers/web-fs.d.ts",
"import": "./dist/esm/web-fs.mjs"
},
"./buffer": {
+ "types": "./dist/writers/buffer.d.ts",
"require": "./dist/writers/buffer.js",
"module": "./dist/esm/buffer.mjs",
- "types": "./dist/writers/buffer.d.ts",
"import": "./dist/esm/buffer.mjs"
},
"./package.json": "./package.json"
diff --git a/packages/transitions/package.json b/packages/transitions/package.json
index 7b8bf8cda4..02b182ed33 100644
--- a/packages/transitions/package.json
+++ b/packages/transitions/package.json
@@ -48,46 +48,46 @@
},
"exports": {
".": {
+ "types": "./dist/index.d.ts",
"module": "./dist/esm/index.mjs",
"import": "./dist/esm/index.mjs",
- "types": "./dist/index.d.ts",
"require": "./dist/index.js"
},
"./fade": {
+ "types": "./dist/presentations/fade.d.ts",
"module": "./dist/esm/fade.mjs",
"import": "./dist/esm/fade.mjs",
- "require": "./dist/presentations/fade.js",
- "types": "./dist/presentations/fade.d.ts"
+ "require": "./dist/presentations/fade.js"
},
"./slide": {
+ "types": "./dist/presentations/slide.d.ts",
"module": "./dist/esm/slide.mjs",
"import": "./dist/esm/slide.mjs",
- "require": "./dist/presentations/slide.js",
- "types": "./dist/presentations/slide.d.ts"
+ "require": "./dist/presentations/slide.js"
},
"./wipe": {
+ "types": "./dist/presentations/wipe.d.ts",
"module": "./dist/esm/wipe.mjs",
"import": "./dist/esm/wipe.mjs",
- "require": "./dist/presentations/wipe.js",
- "types": "./dist/presentations/wipe.d.ts"
+ "require": "./dist/presentations/wipe.js"
},
"./flip": {
+ "types": "./dist/presentations/flip.d.ts",
"module": "./dist/esm/flip.mjs",
"import": "./dist/esm/flip.mjs",
- "require": "./dist/presentations/flip.js",
- "types": "./dist/presentations/flip.d.ts"
+ "require": "./dist/presentations/flip.js"
},
"./clock-wipe": {
+ "types": "./dist/presentations/clock-wipe.d.ts",
"module": "./dist/esm/clock-wipe.mjs",
"import": "./dist/esm/clock-wipe.mjs",
- "require": "./dist/presentations/clock-wipe.js",
- "types": "./dist/presentations/clock-wipe.d.ts"
+ "require": "./dist/presentations/clock-wipe.js"
},
"./none": {
+ "types": "./dist/presentations/none.d.ts",
"module": "./dist/esm/none.mjs",
"import": "./dist/esm/none.mjs",
- "require": "./dist/presentations/none.js",
- "types": "./dist/presentations/none.d.ts"
+ "require": "./dist/presentations/none.js"
},
"./package.json": "./package.json"
},