Skip to content

🎥 Make videos programmatically with React

Fix `bun run ts-build`

JonnyBurger82bc06d93bd2
diff --git a/packages/docs/sidebars.ts b/packages/docs/sidebars.ts
index 6b7aeaedca..16aac46c4f 100644
--- a/packages/docs/sidebars.ts
+++ b/packages/docs/sidebars.ts
@@ -1,3 +1,4 @@
+// @ts-expect-error
import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
const sidebars: SidebarsConfig = {
diff --git a/packages/template-recorder/tsconfig.json b/packages/template-recorder/tsconfig.json
index 70f98b25c2..471d114ec5 100644
--- a/packages/template-recorder/tsconfig.json
+++ b/packages/template-recorder/tsconfig.json
@@ -29,6 +29,5 @@
"studio.ts",
"tests"
],
- "exclude": ["remotion.config.ts", "vite.config.ts"],
- "references": [{ "path": "./tsconfig.node.json" }]
+ "exclude": ["remotion.config.ts", "vite.config.ts"]
}
diff --git a/packages/template-recorder/tsconfig.node.json b/packages/template-recorder/tsconfig.node.json
deleted file mode 100644
index 9d31e2aed9..0000000000
--- a/packages/template-recorder/tsconfig.node.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "compilerOptions": {
- "composite": true,
- "module": "ESNext",
- "moduleResolution": "Node",
- "allowSyntheticDefaultImports": true
- },
- "include": ["vite.config.ts"]
-}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 0b050a49c6..ec3256c19d 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -3064,17 +3064,17 @@ importers:
specifier: 19.0.0
version: 19.0.0
'@types/web':
- specifier: 0.0.187
- version: 0.0.187
+ specifier: 0.0.166
+ version: 0.0.166
'@types/webrtc':
specifier: 0.0.44
version: 0.0.44
'@vitejs/plugin-react':
specifier: 4.1.0
- version: 4.1.0([email protected])
+ version: 4.1.0([email protected])
'@vitejs/plugin-react-swc':
specifier: 3.0.0
- version: 3.0.0([email protected])
+ version: 3.0.0([email protected])
autoprefixer:
specifier: 10.4.16
version: 10.4.16([email protected])
@@ -3094,8 +3094,8 @@ importers:
specifier: 5.8.2
version: 5.8.2
vite:
- specifier: 5.4.19
- version: 5.4.19(@types/[email protected])
+ specifier: 7.0.6
+ version: 7.0.6
packages/template-render-server:
dependencies:
@@ -16366,10 +16366,6 @@ packages:
resolution: {integrity: sha512-qvY/TzK1WuxfeACL3Zzw+gMivGiIynRKH98nLET7ACzTRTX8CWMA6LQJ9WayIHvTBU1JeFCBRIBjsxhGz4TfHQ==}
- resolution: {integrity: sha512-PNvOlIo9AkUA8dvdqJHrvvIZG40Qi37QHNyl1qOD1m/4Lj+2thAtwJM2N9UmtGBtkhb3x9mP/6JlXYtQcZ3uFg==}
- dev: true
-
resolution: {integrity: sha512-4BJZdzrApNFeuXgucyqs24k69f7oti3wUcGEbFbaV08QBh7yEe3tnRRuYXlyXJNXiumpZujiZqUZZ2/gMSeO0g==}
dev: true
@@ -16985,18 +16981,18 @@ packages:
ts-morph: 12.0.0
dev: false
resolution: {integrity: sha512-vYlodz/mjYRbxMGbHzDgR8aPR+z8n7K/enWkyBGH096xrL2DIPCuTvQVRYPTXGyy6wO7OFiMxZ3r4nKQD1sH0A==}
peerDependencies:
vite: ^4.0.0
dependencies:
'@swc/core': 1.12.1
- vite: 5.4.19(@types/[email protected])
+ vite: 7.0.6
transitivePeerDependencies:
- '@swc/helpers'
dev: true
resolution: {integrity: sha512-rM0SqazU9iqPUraQ2JlIvReeaxOoRj6n+PzB1C0cBzIbd8qP336nC39/R9yPi3wVcah7E7j/kdU1uCUqMEU4OQ==}
engines: {node: ^14.18.0 || >=16.0.0}
peerDependencies:
@@ -17007,7 +17003,7 @@ packages:
'@babel/plugin-transform-react-jsx-source': 7.27.1(@babel/[email protected])
'@types/babel__core': 7.20.5
react-refresh: 0.14.2
- vite: 5.4.19(@types/[email protected])
+ vite: 7.0.6
transitivePeerDependencies:
- supports-color
dev: true
@@ -21015,6 +21011,17 @@ packages:
dependencies:
pend: 1.2.0
+ resolution: {integrity: sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w==}
+ peerDependencies:
+ picomatch: ^3 || ^4
+ peerDependenciesMeta:
+ picomatch:
+ optional: true
+ dependencies:
+ picomatch: 4.0.3
+ dev: true
+
resolution: {integrity: sha512-u5/sxGfiMfZNtJ3OvQpXcvotFpYkL0n9u9mM2vkui2nGo8b4wvDkJ8gAkYqbA8QpGyFCv3RK0Z+Iv+9veCS9bQ==}
engines: {node: '>=0.4.0'}
@@ -25626,6 +25633,11 @@ packages:
engines: {node: '>=12'}
dev: false
+ resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==}
+ engines: {node: '>=12'}
+ dev: true
+
resolution: {integrity: sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==}
engines: {node: '>=0.10'}
@@ -27553,6 +27565,15 @@ packages:
source-map-js: 1.2.1
dev: false
+ resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==}
+ engines: {node: ^10 || ^12 || >=14}
+ dependencies:
+ nanoid: 3.3.11
+ picocolors: 1.1.1
+ source-map-js: 1.2.1
+ dev: true
+
resolution: {integrity: sha512-15vItUAbViaYrmaB/Pbw7z6qX2xENbFSTA7Ii4tgbPtasxm5v6ryKhKtL91tpWovDJzTiZqdwzhcFBCwiMVdVw==}
dev: false
@@ -30246,6 +30267,14 @@ packages:
resolution: {integrity: sha512-WiCJLEECkO18gwqIp6+hJg0//p23HXp4S+gGtAKu3mI2F2/sXC4FvHvXvB0zJVVaTPhx1/tOwdbRsa1sOBIKqQ==}
dev: false
+ resolution: {integrity: sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==}
+ engines: {node: '>=12.0.0'}
+ dependencies:
+ fdir: 6.4.6([email protected])
+ picomatch: 4.0.3
+ dev: true
+
resolution: {integrity: sha512-paHQtnrlS1QZYKF/GnLoOM/DN9fqaGOFbCbxzAhwniySnzl9Ebk8w73/dd34DAhe/obUbPAOldTyYXQZxnPBPQ==}
engines: {node: '>=14.0.0'}
@@ -31397,6 +31426,56 @@ packages:
fsevents: 2.3.3
dev: false
+ resolution: {integrity: sha512-MHFiOENNBd+Bd9uvc8GEsIzdkn1JxMmEeYX35tI3fv0sJBUTfW5tQsoaOwuY4KhBI09A3dUJ/DXf2yxPVPUceg==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ hasBin: true
+ peerDependencies:
+ '@types/node': ^20.19.0 || >=22.12.0
+ jiti: '>=1.21.0'
+ less: ^4.0.0
+ lightningcss: ^1.21.0
+ sass: ^1.70.0
+ sass-embedded: ^1.70.0
+ stylus: '>=0.54.8'
+ sugarss: ^5.0.0
+ terser: ^5.16.0
+ tsx: ^4.8.1
+ yaml: ^2.4.2
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+ jiti:
+ optional: true
+ less:
+ optional: true
+ lightningcss:
+ optional: true
+ sass:
+ optional: true
+ sass-embedded:
+ optional: true
+ stylus:
+ optional: true
+ sugarss:
+ optional: true
+ terser:
+ optional: true
+ tsx:
+ optional: true
+ yaml:
+ optional: true
+ dependencies:
+ esbuild: 0.25.0
+ fdir: 6.4.6([email protected])
+ picomatch: 4.0.3
+ postcss: 8.5.6
+ rollup: 4.40.1
+ tinyglobby: 0.2.14
+ optionalDependencies:
+ fsevents: 2.3.3
+ dev: true
+
resolution: {integrity: sha512-y6zEE3PQf6uu/Mt6DTJ9ih+kyJLr4XcSgHR2zUkM8SWDhuixEJxfJ6CZGMHh1Ec3vPLoEA0IHU5oWzVqw8ulow==}
peerDependencies:
diff --git a/tsconfig.json b/tsconfig.json
index c9b2030f47..71543f24d0 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -36,9 +36,6 @@
{
"path": "./packages/create-video"
},
- {
- "path": "./packages/docs"
- },
{
"path": "./packages/eslint-config"
},