Skip to content

🎥 Make videos programmatically with React

show errors in failing source code!

Jonny Burgere4ec2eeed8cc
diff --git a/packages/docs/docs/4-0-migration.md b/packages/docs/docs/4-0-migration.md
index 0a509a6ac3..c8505247f4 100644
--- a/packages/docs/docs/4-0-migration.md
+++ b/packages/docs/docs/4-0-migration.md
@@ -351,5 +351,6 @@ If you register a composition with a component that requires some props, you now
- All packages: TypeScript ESLint has been upgraded to `5.59.9`
- All packages: ESBuild has been updated to `0.18.6`
- For contributors: Updated `pnpm` to `8.5.1`
+- For contributors: Doc snippets failing typechecks now show the failing code in CI
- [New Google TTS template!](/templates/google-tts)
- [Recommended Docker file](/docs/docker) does not install `ffmpeg` anymore
diff --git a/packages/docs/package.json b/packages/docs/package.json
index 7848510aef..dcc15b3d18 100644
--- a/packages/docs/package.json
+++ b/packages/docs/package.json
@@ -64,7 +64,7 @@
"polished": "4.1.2",
"react": "18.0.0",
"react-dom": "18.0.0",
- "remark-shiki-twoslash": "^3.1.0",
+ "remark-shiki-twoslash": "^3.1.3",
"remotion": "workspace:*",
"swc-loader": "^0.2.3",
"three": "0.145.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 3ac488ec97..8263cf5bc2 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -594,8 +594,8 @@ importers:
specifier: 18.0.0
version: 18.0.0([email protected])
remark-shiki-twoslash:
- specifier: ^3.1.0
- version: 3.1.0
+ specifier: ^3.1.3
+ version: 3.1.3([email protected])
remotion:
specifier: workspace:*
version: link:../core
@@ -19044,17 +19044,20 @@ packages:
unified: 10.1.2
dev: false
- resolution: {integrity: sha512-6LqSqVtHQR4S0DKfdQ2/ePn9loTKUtpyopYvwk8johjDTeUW5MkaLQuZHlWNkkST/4aMbz6aTkstIcwfwcHpXg==}
+ resolution: {integrity: sha512-4e8OH3ySOCw5wUbDcPszokOKjKuebOqlP2WlySvC7ITBOq27BiGsFlq+FNWhxppZ+JzhTWah4gQrnMjX3KDbAQ==}
+ peerDependencies:
+ typescript: '>3'
dependencies:
+ '@types/unist': 2.0.6
'@typescript/twoslash': 3.1.0
'@typescript/vfs': 1.3.4
fenceparser: 1.1.1
regenerator-runtime: 0.13.9
shiki: 0.10.1
- shiki-twoslash: 3.1.0
+ shiki-twoslash: 3.1.2([email protected])
tslib: 2.1.0
- typescript: 5.1.3
+ typescript: 4.9.5
unist-util-visit: 2.0.3
transitivePeerDependencies:
- supports-color
@@ -19626,13 +19629,16 @@ packages:
rechoir: 0.6.2
dev: false
- resolution: {integrity: sha512-uDqrTutOIZzyHbo103GsK7Vvc10saK1XCCivnOQ1NHJzgp3FBilEpftGeVzVSMOJs+JyhI7whkvhXV7kXQ5zCg==}
+ resolution: {integrity: sha512-JBcRIIizi+exIA/OUhYkV6jtyeZco0ykCkIRd5sgwIt1Pm4pz+maoaRZpm6SkhPwvif4fCA7xOtJOykhpIV64Q==}
+ peerDependencies:
+ typescript: '>3'
dependencies:
'@typescript/twoslash': 3.1.0
'@typescript/vfs': 1.3.4
+ fenceparser: 1.1.1
shiki: 0.10.1
- typescript: 5.1.3
+ typescript: 4.9.5
transitivePeerDependencies:
- supports-color
dev: false
diff --git a/turbo.json b/turbo.json
index a2af4ff9b5..ed6747d527 100644
--- a/turbo.json
+++ b/turbo.json
@@ -6,6 +6,9 @@
"outputs": ["dist/**", ".rollup.cache"],
"outputMode": "new-only"
},
+ "docs": {
+ "outputs": ["build/**", ".docusaurus"]
+ },
"test": {
"dependsOn": ["^build", "build"],
"outputs": []