🎥 Make videos programmatically with React
Internal: Upgrade native compiler to TypeScript 7.1 beta
Jonny Burger4ef46b3ffb5f
diff --git a/.agents/skills/add-new-package/SKILL.md b/.agents/skills/add-new-package/SKILL.mdindex 5e25980fa6..3a0c42c0e0 100644--- a/.agents/skills/add-new-package/SKILL.md+++ b/.agents/skills/add-new-package/SKILL.md@@ -9,7 +9,7 @@ description: Add a new package to the Remotion monorepo, including package scaff1. **Create `packages/<name>/`** with these files:- `package.json` — copy from `@remotion/light-leaks` as template; update name, description, homepage, dependencies- - `tsconfig.json` — extends `../tsconfig.settings.json`, uses tsgo with `emitDeclarationOnly: true`, `outDir: "dist"`, `module: "es2020"`, `moduleResolution: "bundler"`, `target: "ES2022"`+ - `tsconfig.json` — extends `../tsconfig.settings.json`, uses the native TypeScript compiler with `emitDeclarationOnly: true`, `outDir: "dist"`, `module: "es2020"`, `moduleResolution: "bundler"`, `target: "ES2022"`- `src/index.ts` — exports- `bundle.ts` — Bun build script, externalize `react`, `remotion`, `remotion/no-react`, `react/jsx-runtime`, `react/jsx-dev-runtime`, `react-dom`- `eslint.config.mjs` — use `remotionFlatConfig({react: true})` if React, `{react: false}` otherwise@@ -51,8 +51,8 @@ For the documentation version, increment the patch version by 1 as it will only- Use `"workspace:*"` for internal dependencies- Use `"catalog:"` for shared external dependency versions-- The `make` script is: `tsgo && bun --env-file=../.env.bundle bundle.ts`+- The `make` script is: `node node_modules/typescript-native/bin/tsc && bun --env-file=../.env.bundle bundle.ts`- Add `"type": "module"` to `package.json`-- Add `"@typescript/native-preview": "catalog:"` to devDependencies+- Add `"typescript-native": "catalog:"` to devDependencies. This alias installs the native compiler alongside the legacy `typescript` package used by compiler API tooling. Use the explicit CLI path to avoid their shared `tsc` executable name.- Types/main point to `dist/index.d.ts` and `dist/index.js` (not `dist/cjs/`)- Packages with React components need `peerDependencies` for `react` and `react-dom`diff --git a/.vscode/settings.json b/.vscode/settings.jsonindex 8e642f98e3..1465310c34 100644--- a/.vscode/settings.json+++ b/.vscode/settings.json@@ -42,5 +42,5 @@},"typescript.tsserver.maxTsServerMemory": 4096,"typescript.experimental.useTsgo": true,- "typescript.native-preview.tsdk": "node_modules/@typescript/native-preview"+ "typescript.native-preview.tsdk": "node_modules/typescript-native"}diff --git a/bun.lock b/bun.lockindex de7b5c5e7a..bdcd6970be 100644--- a/bun.lock+++ b/bun.lock@@ -5,10 +5,10 @@"": {"name": "remotion-monorepo","dependencies": {- "@typescript/native-preview": "catalog:","p-limit": "7.2.0","turbo": "2.11.6","typescript": "5.9.3",+ "typescript-native": "catalog:",},"devDependencies": {"@types/babel__standalone": "7.1.9",@@ -29,8 +29,8 @@"devDependencies": {"@microsoft/vally": "0.12.0","@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/animated-emoji": {@@ -41,8 +41,8 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/animation-utils": {@@ -53,8 +53,8 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"react": ">=16.8.0",@@ -96,9 +96,9 @@"devDependencies": {"@remotion/bundler": "workspace:*","@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:","remotion": "workspace:*",+ "typescript-native": "catalog:",},"peerDependencies": {"@remotion/bundler": "workspace:*",@@ -135,7 +135,6 @@"@remotion/transitions": "workspace:*","@types/opentype.js": "1.3.4","@types/styled-components": "5.1.34",- "@typescript/native-preview": "catalog:","codehike": "1.0.4","eslint": "catalog:","mediabunny": "catalog:",@@ -148,6 +147,7 @@"svg-path-properties": "1.3.0","svg-path-reverse": "1.3.0","tailwindcss": "4.0.0",+ "typescript-native": "catalog:","zod": "catalog:",},},@@ -167,10 +167,10 @@"@testing-library/react": "16.1.0","@types/react": "catalog:","@types/react-dom": "catalog:",- "@typescript/native-preview": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"react": ">=18.0.0",@@ -199,11 +199,11 @@"@rspack/core": "1.7.11","@types/react": "catalog:","@types/react-dom": "catalog:",- "@typescript/native-preview": "catalog:","eslint": "catalog:","mediabunny": "catalog:","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:",},},"packages/bundler": {@@ -224,10 +224,10 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"react": ">=16.8.0",@@ -258,8 +258,8 @@"version": "4.0.536","devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/claude-code-plugin": {@@ -267,8 +267,8 @@"version": "4.0.536","devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/cli": {@@ -307,10 +307,10 @@"@types/prettier": "2.7.2","@types/prompts": "2.4.9","@types/semver": "7.5.3",- "@typescript/native-preview": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:","zod": "catalog:",},"peerDependencies": {@@ -340,8 +340,8 @@"@remotion/eslint-config-internal": "workspace:*","@types/minimist": "1.2.2","@types/node": "catalog:",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/codemods": {@@ -358,8 +358,8 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/compositor": {@@ -467,11 +467,11 @@"@testing-library/dom": "10.4.0","@testing-library/react": "16.1.0","@types/dom-webcodecs": "catalog:",- "@typescript/native-preview": "catalog:","eslint": "catalog:","happy-dom": "20.0.2","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:","webpack": "5.105.0","zod": "catalog:",},@@ -497,9 +497,9 @@"@remotion/eslint-config-internal": "workspace:*","@types/minimist": "1.2.2","@types/prompts": "2.4.9",- "@typescript/native-preview": "catalog:","eslint": "catalog:","react": "catalog:",+ "typescript-native": "catalog:",},},"packages/design": {@@ -519,13 +519,13 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@tailwindcss/cli": "4.2.0",- "@typescript/native-preview": "catalog:","bun-plugin-tailwind": "0.1.2","eslint": "catalog:","react": "catalog:","react-dom": "catalog:","tailwind-merge": "2.6.0","tailwindcss": "4.2.0",+ "typescript-native": "catalog:",},"peerDependencies": {"react": ">=16.8.0",@@ -694,8 +694,8 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/effects": {@@ -706,9 +706,9 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","@vitest/browser-playwright": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:","vitest": "catalog:",},},@@ -721,8 +721,8 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/enable-scss": {@@ -736,8 +736,8 @@"devDependencies": {"@remotion/bundler": "workspace:*","@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"@remotion/bundler": "workspace:*",@@ -751,10 +751,10 @@"@remotion/eslint-plugin": "workspace:*","@typescript-eslint/eslint-plugin": "6.21.0","@typescript-eslint/parser": "6.21.0",- "@typescript/native-preview": "catalog:","eslint": "catalog:","eslint-plugin-react": "7.37.4","eslint-plugin-react-hooks": "4.6.0",+ "typescript-native": "catalog:",},"peerDependencies": {"eslint": ">=7.15.0",@@ -772,9 +772,9 @@"@eslint/js": "9.19.0","@remotion/eslint-config-internal": "workspace:*","@remotion/eslint-plugin": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:","eslint-plugin-react": "7.37.4",+ "typescript-native": "catalog:",},"peerDependencies": {"eslint": "^9.0.0 || ^10.0.0",@@ -795,8 +795,8 @@},"devDependencies": {"@types/eslint__eslintrc": "2.1.2",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/eslint-plugin": {@@ -806,11 +806,11 @@"@typescript-eslint/utils": "5.19.0",},"devDependencies": {- "@typescript/native-preview": "catalog:","eslint": "8.57.0","eslint-v10": "npm:[email protected]","eslint-v9": "npm:[email protected]","typescript-eslint": "8.71.2",+ "typescript-native": "catalog:","vitest": "catalog:",},"peerDependencies": {@@ -909,6 +909,7 @@"@types/dom-webcodecs": "catalog:","eslint": "catalog:","sharp": "catalog:",+ "typescript": "5.9.3",},},"packages/example-videos": {@@ -916,10 +917,10 @@"version": "4.0.536","devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","dotenv": "17.3.1","eslint": "catalog:","prettier": "catalog:",+ "typescript-native": "catalog:",},},"packages/example-without-zod": {@@ -940,8 +941,8 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/gif": {@@ -953,11 +954,11 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@testing-library/react": "16.1.0",- "@typescript/native-preview": "catalog:","esbuild": "0.28.1","eslint": "catalog:","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:","webpack": "5.105.0",},"peerDependencies": {@@ -974,8 +975,8 @@"devDependencies": {"@types/css-font-loading-module": "0.0.14","@types/prettier": "2.7.2",- "@typescript/native-preview": "catalog:","postcss": "8.5.23",+ "typescript-native": "catalog:",},},"packages/gsap": {@@ -989,11 +990,11 @@"@remotion/eslint-config-internal": "workspace:*","@types/react": "catalog:","@types/react-dom": "catalog:",- "@typescript/native-preview": "catalog:","eslint": "catalog:","gsap": "3.15.0","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"gsap": ">=3.12.0 <4",@@ -1009,8 +1010,8 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/it-tests": {@@ -1057,7 +1058,6 @@"@types/node": "catalog:","@types/pngjs": "6.0.5","@types/sharp": "0.28.6",- "@typescript/native-preview": "catalog:","create-video": "workspace:*","execa": "5.1.1","pixelmatch": "7.1.0",@@ -1068,6 +1068,7 @@"remotion": "workspace:*","sass": "1.77.2","sharp": "catalog:",+ "typescript-native": "catalog:",},},"packages/jonnys-videos": {@@ -1102,8 +1103,8 @@"version": "4.0.536","devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/lambda": {@@ -1137,12 +1138,12 @@"@types/mime-types": "2.1.1","@types/minimist": "1.2.2","@types/node": "catalog:",- "@typescript/native-preview": "catalog:","eslint": "catalog:","express": "4.21.0","mime-types": "2.1.34","next": "catalog:","pureimage": "0.4.13",+ "typescript-native": "catalog:",},"peerDependencies": {"@remotion/bundler": "workspace:*",@@ -1165,11 +1166,11 @@"@remotion/serverless-client": "workspace:*","@types/express": "5.0.1","@types/mime-types": "2.1.1",- "@typescript/native-preview": "catalog:","eslint": "catalog:","express": "4.21.0","mime-types": "2.1.34","next": "catalog:",+ "typescript-native": "catalog:",},},"packages/lambda-go": {@@ -1212,7 +1213,6 @@"version": "4.0.536","devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","@vitejs/plugin-react": "catalog:","@vitest/browser-playwright": "catalog:","eslint": "catalog:",@@ -1220,6 +1220,7 @@"react": "catalog:","react-dom": "catalog:","remotion": "workspace:*",+ "typescript-native": "catalog:","vitest": "catalog:",},},@@ -1228,10 +1229,10 @@"version": "4.0.536","devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:","msw": "2.12.7","remotion": "workspace:*",+ "typescript-native": "catalog:",},},"packages/light-leaks": {@@ -1244,10 +1245,10 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"react": ">=16.8.0",@@ -1262,11 +1263,11 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:","lottie-web": "5.13.0","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"lottie-web": "^5",@@ -1282,10 +1283,10 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"react": ">=16.8.0",@@ -1302,10 +1303,10 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"react": ">=16.8.0",@@ -1325,8 +1326,8 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@types/command-line-args": "5.2.3",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/media": {@@ -1340,12 +1341,12 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@remotion/player": "workspace:*",- "@typescript/native-preview": "catalog:","@vitest/browser-playwright": "catalog:","eslint": "catalog:","playwright": "catalog:","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:","vitest": "catalog:",},"peerDependencies": {@@ -1361,9 +1362,9 @@"@remotion/example-videos": "workspace:*","@types/bun": "catalog:","@types/wicg-file-system-access": "2023.10.5",- "@typescript/native-preview": "catalog:","eslint": "catalog:","mediabunny": "catalog:",+ "typescript-native": "catalog:",},},"packages/media-utils": {@@ -1375,8 +1376,8 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"react": ">=16.8.0",@@ -1391,11 +1392,11 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:","remotion": "workspace:*",+ "typescript-native": "catalog:",},"peerDependencies": {"react": ">=16.8.0",@@ -1411,8 +1412,8 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/openai-whisper": {@@ -1424,9 +1425,9 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:","openai": "catalog:",+ "typescript-native": "catalog:",},},"packages/paths": {@@ -1437,8 +1438,8 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/player": {@@ -1451,11 +1452,11 @@"@happy-dom/global-registrator": "14.5.1","@remotion/eslint-config-internal": "workspace:*","@testing-library/react": "16.1.0",- "@typescript/native-preview": "catalog:","csstype": "3.2.3","eslint": "catalog:","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:","webpack": "5.105.0","zod": "catalog:",},@@ -1473,10 +1474,10 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"react": ">=16.8.0",@@ -1510,8 +1511,8 @@"version": "4.0.536","devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/promo-pages": {@@ -1555,6 +1556,7 @@"react-dom": "catalog:","tailwind-merge": "2.5.2","tailwindcss": "4.2.0",+ "typescript": "5.9.3",},},"packages/react18-tests": {@@ -1572,13 +1574,13 @@"@remotion/web-renderer": "workspace:*","@types/react": "18.3.1","@types/react-dom": "18.3.1",- "@typescript/native-preview": "catalog:","@vitejs/plugin-react": "catalog:","@vitest/browser-playwright": "catalog:","eslint": "catalog:","playwright": "catalog:","react": "18.3.1","react-dom": "18.3.1",+ "typescript-native": "catalog:","vitest": "catalog:","vitest-browser-react": "2.3.0",},@@ -1629,11 +1631,11 @@"@types/node": "catalog:","@types/pngjs": "6.0.5","@types/ws": "8.5.10",- "@typescript/native-preview": "catalog:","eslint": "catalog:","pngjs": "7.0.0","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:",},"optionalDependencies": {"@remotion/compositor-darwin-arm64": "workspace:*",@@ -1658,10 +1660,10 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"react": ">=18.2.0",@@ -1678,10 +1680,10 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"react": ">=16.8.0",@@ -1697,8 +1699,8 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/sdk": {@@ -1713,10 +1715,10 @@"@happy-dom/global-registrator": "14.5.1","@remotion/eslint-config-internal": "workspace:*","@testing-library/react": "16.1.0",- "@typescript/native-preview": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"react": ">=16.8.0",@@ -1734,8 +1736,8 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/serverless-client": {@@ -1745,9 +1747,9 @@"@remotion/eslint-config-internal": "workspace:*","@remotion/renderer": "workspace:*","@remotion/streaming": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:","remotion": "workspace:*",+ "typescript-native": "catalog:",},},"packages/sfx": {@@ -1755,8 +1757,8 @@"version": "4.0.536","devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/shapes": {@@ -1770,10 +1772,10 @@"@happy-dom/global-registrator": "14.5.1","@remotion/eslint-config-internal": "workspace:*","@testing-library/react": "16.1.0",- "@typescript/native-preview": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"react": ">=16.8.0",@@ -1791,12 +1793,12 @@"@remotion/eslint-config-internal": "workspace:*","@shopify/react-native-skia": "2.0.0","@types/react-native": "0.69.2",- "@typescript/native-preview": "catalog:","canvaskit-wasm": "0.40.0","eslint": "catalog:","react": "catalog:","react-dom": "catalog:","remotion": "workspace:*",+ "typescript-native": "catalog:",},"peerDependencies": {"@shopify/react-native-skia": ">=0.1.191",@@ -1815,11 +1817,11 @@"@remotion/lottie": "workspace:*","@remotion/shapes": "workspace:*","@remotion/three": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:","remotion": "workspace:*",+ "typescript-native": "catalog:",},},"packages/skills-evals": {@@ -1848,10 +1850,10 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"react": ">=16.8.0",@@ -1863,8 +1865,8 @@"version": "4.0.536","devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/studio": {@@ -1904,10 +1906,10 @@"@testing-library/react": "16.1.0","@types/prismjs": "1.26.4","@types/semver": "7.5.3",- "@typescript/native-preview": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"@remotion/video-matting": "workspace:*",@@ -1928,8 +1930,8 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/studio-server": {@@ -1957,11 +1959,11 @@"@remotion/eslint-config-internal": "workspace:*","@types/node": "catalog:","@types/semver": "7.5.3",- "@typescript/native-preview": "catalog:","ast-types": "0.16.1","eslint": "catalog:","prettier": "catalog:","react": "catalog:",+ "typescript-native": "catalog:",},},"packages/studio-shared": {@@ -1973,8 +1975,8 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","@remotion/renderer": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/svg-3d-engine": {@@ -1985,8 +1987,8 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/tailwind": {@@ -2004,9 +2006,9 @@"devDependencies": {"@remotion/bundler": "workspace:*","@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","autoprefixer": "10.4.20","eslint": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"@remotion/bundler": "workspace:*",@@ -2024,8 +2026,8 @@"devDependencies": {"@remotion/bundler": "workspace:*","@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"@remotion/bundler": "workspace:*",@@ -2699,11 +2701,11 @@"version": "4.0.536","devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:","remotion": "workspace:*",+ "typescript-native": "catalog:",},},"packages/three": {@@ -2718,12 +2720,12 @@"@types/react-reconciler": "0.32.0","@types/three": "catalog:","@types/web": "catalog:",- "@typescript/native-preview": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:","remotion": "workspace:*","three": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"@react-three/fiber": ">=8.0.0",@@ -2743,8 +2745,8 @@"devDependencies": {"@mediabunny/server": "catalog:","@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/transitions": {@@ -2760,11 +2762,11 @@"@remotion/eslint-config-internal": "workspace:*","@remotion/player": "workspace:*","@remotion/test-utils": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:","remotion": "workspace:*",+ "typescript-native": "catalog:",},"peerDependencies": {"react": ">=16.8.0",@@ -2780,10 +2782,10 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","@vercel/blob": "2.3.0","@vercel/sandbox": "1.6.0","eslint": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"@vercel/sandbox": ">=1.0.0",@@ -2799,8 +2801,8 @@"devDependencies": {"@huggingface/transformers": "catalog:","@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"@huggingface/transformers": "4.2.0",@@ -2829,7 +2831,6 @@"@remotion/three": "workspace:*","@remotion/transitions": "workspace:*","@types/three": "catalog:",- "@typescript/native-preview": "catalog:","@vitejs/plugin-react": "catalog:","@vitest/browser-playwright": "catalog:","eslint": "catalog:",@@ -2837,6 +2838,7 @@"react": "catalog:","react-dom": "catalog:","three": "catalog:",+ "typescript-native": "catalog:","vitest": "catalog:","zod": "catalog:",},@@ -2856,9 +2858,9 @@"@remotion/eslint-config-internal": "workspace:*","@remotion/example-videos": "workspace:*","@types/dom-webcodecs": "catalog:",- "@typescript/native-preview": "catalog:","eslint": "catalog:","playwright": "catalog:",+ "typescript-native": "catalog:","vite": "6.4.3",},},@@ -2870,8 +2872,8 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},},"packages/whisper-webgpu": {@@ -2884,8 +2886,8 @@"devDependencies": {"@huggingface/transformers": "catalog:","@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:",},"peerDependencies": {"@huggingface/transformers": "4.2.0",@@ -2899,8 +2901,8 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:","zod": "catalog:",},},@@ -2913,8 +2915,8 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:","eslint": "catalog:",+ "typescript-native": "catalog:","zod": "3.22.3",},"peerDependencies": {@@ -2961,7 +2963,6 @@"@types/react-dom": "19.2.3","@types/three": "0.170.0","@types/web": "0.0.166",- "@typescript/native-preview": "7.0.0-dev.20260217.1","@vitejs/plugin-react": "4.3.4","@vitest/browser-playwright": "5.0.3","eslint": "9.19.0",@@ -2975,6 +2976,7 @@"react-dom": "19.2.3","sharp": "0.34.5","three": "0.178.0",+ "typescript-native": "npm:[email protected]","vitest": "5.0.3","zod": "4.5.4",},@@ -5685,23 +5687,49 @@"@typescript-eslint/visitor-keys": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/types": "6.21.0", "eslint-visitor-keys": "3.4.3" } }, "sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A=="],- "@typescript/native-preview": ["@typescript/[email protected]", "", { "optionalDependencies": { "@typescript/native-preview-darwin-arm64": "7.0.0-dev.20260217.1", "@typescript/native-preview-darwin-x64": "7.0.0-dev.20260217.1", "@typescript/native-preview-linux-arm": "7.0.0-dev.20260217.1", "@typescript/native-preview-linux-arm64": "7.0.0-dev.20260217.1", "@typescript/native-preview-linux-x64": "7.0.0-dev.20260217.1", "@typescript/native-preview-win32-arm64": "7.0.0-dev.20260217.1", "@typescript/native-preview-win32-x64": "7.0.0-dev.20260217.1" }, "bin": { "tsgo": "bin/tsgo.js" } }, "sha512-czUniBl1MsempdDkeDwfKThhHkeQzyLxn2aVcsCTSk2Ys84M8yy2eRdUZQrufwLL1Etcz+bv3SvZbBMcnPk/Ig=="],+ "@typescript/twoslash": ["@typescript/[email protected]", "", { "dependencies": { "@typescript/vfs": "1.3.5", "debug": "4.4.0", "lz-string": "1.5.0" } }, "sha512-kTwMUQ8xtAZaC4wb2XuLkPqFVBj2dNBueMQ89NWEuw87k2nLBbuafeG5cob/QEr6YduxIdTVUjix0MtC7mPlmg=="],- "@typescript/native-preview-darwin-arm64": ["@typescript/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-Mj8Mh+aTaGWURK65VuMxyOBhy+9OfXCHCL63zJPr/PqTNKub+GgGpGYKfSlbDBkqkB8UgURlI2CDRUoyOfvufQ=="],+ "@typescript/typescript-aix-ppc64": ["@typescript/[email protected]", "", { "os": "aix", "cpu": "ppc64" }, "sha512-DXDG+jIWxBHGdoO70tcHON33rCnSzsEZj9P13oyf/r/KEGIo6awsdSNVNjAw0uMwEpqRu75IrgCcW58YcVkZHg=="],- "@typescript/native-preview-darwin-x64": ["@typescript/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-txn4CJ7/zj+WcSdDL5nshs9he7M0DF5qZBU5glWAJP+uIZmRSyuxDoWZqtjrzmX+vs5IOzyKgYcDsBYFkjybwA=="],+ "@typescript/typescript-android-arm64": ["@typescript/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-UZx6PxoQavuvaVTrSf3aw0Oy/J/uJpRylipA0kzc038jMvZXh0UtE8vnQp20FqtdgD5bhXZ0aJrRJyoTSUO58Q=="],- "@typescript/native-preview-linux-arm": ["@typescript/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-gw+O550PhazyzsAi/oq1xztMM1PWSXtxq38tN15e/dRh0BXOt0bDUoEgIzFD0L5OkmiOlEIknROqvAVNa4QH3g=="],+ "@typescript/typescript-darwin-arm64": ["@typescript/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-q7mxblcyX0E7hXsY4k+Q6KWKK5mGmfVq+BDesdTgRVgjodk27aIxER77Zyj9+TgSTlCje8F7+JM6f6hl2BuNdw=="],- "@typescript/native-preview-linux-arm64": ["@typescript/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-aGCr3/g1ktJ+IRjLEWTdNmG3H2iwPWt9tBu7spRnIIvDcdlEHFf8NQ2Mwn3n54bVnXAN5nYxZmM7WEYYfNvD6w=="],+ "@typescript/typescript-darwin-x64": ["@typescript/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-D5EYqG5Wm/guw9+0j8+Mn1Jbr/gfS/VtFTuoH8PJtFbcqeDaQGMulc7SW8q51QG6Y3wGOGX3nbsTOw6fIKWWAA=="],- "@typescript/native-preview-linux-x64": ["@typescript/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-KAE4W+5VVRagA+xI6AxCSMVx2zb+8t15lMcB1cH5rIU2ZpnYa8K2ZXpSRMZGKNIFzcg6tKF9RyZvh4zMwZDnkQ=="],+ "@typescript/typescript-freebsd-arm64": ["@typescript/[email protected]", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-9A0XX0tcnH9qPdolSKKzSjTb93dlB0UEcAJbHYEsrFX2fkFNSum9+dvkQQJ9vLc+7vxHetDPujq9Qe6wx+Xhow=="],- "@typescript/native-preview-win32-arm64": ["@typescript/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-KUYWl+0tYShKoFKp0BAxECmLClT7qnhN5UEW9tsSih9tDka//qnQcWFx452Rw3fiQCqXjkntgwFFXrrvltQMpQ=="],+ "@typescript/typescript-freebsd-x64": ["@typescript/[email protected]", "", { "os": "freebsd", "cpu": "x64" }, "sha512-EDf/dBHfY0TxX3NmUTek0hbffeyZlh3+ls6WQW3ICB8vYxwYLFnzg7wkgEUvl9eRlpiJ/nmc2S8arPMzINJ7rg=="],- "@typescript/native-preview-win32-x64": ["@typescript/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-bje8xm+b0q3OSCY01/MZdDBnVISURunL9rCAob8pAu8qtRMvKYGWUsYwTH+fXGUViPAmdlafFd2E82K9VJYmHA=="],+ "@typescript/typescript-linux-arm": ["@typescript/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-AvN9HmzOQh46G4312ooSgMHhbB7DtnLwg8D9mo324X49B7weMwtJrBG1MxT9IyI8kzDd7YRtW+1hWGun7WG7Qw=="],- "@typescript/twoslash": ["@typescript/[email protected]", "", { "dependencies": { "@typescript/vfs": "1.3.5", "debug": "4.4.0", "lz-string": "1.5.0" } }, "sha512-kTwMUQ8xtAZaC4wb2XuLkPqFVBj2dNBueMQ89NWEuw87k2nLBbuafeG5cob/QEr6YduxIdTVUjix0MtC7mPlmg=="],+ "@typescript/typescript-linux-arm64": ["@typescript/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-hNqQBgQ5b5oGqN76QqbAU6CwYhJZ6iOcWc2kPTUs2OentgpxZktETziH6KIyRFJPaiBncognwn2ZLu3DNhHiWw=="],++ "@typescript/typescript-linux-loong64": ["@typescript/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-xbUustlBrFflt2pNEyG5ye+d4WGPc/rfr2xK29MXeobPSw297JqwuKRrvbKM5o3fE/eUM/c+urVm6jQ3IaMVTw=="],++ "@typescript/typescript-linux-mips64el": ["@typescript/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-fS4/G7/0bXZ3NSq3nBMAXyg65I3tO4S7j08VNQ2g1aNC/qq79gE7Qne1BNjVsjMFfHBVBFjQYoTQCjmVU2iFlg=="],++ "@typescript/typescript-linux-ppc64": ["@typescript/[email protected]", "", { "os": "linux", "cpu": "ppc64" }, "sha512-0upCCxYPX8X6gOwkvfv+Ee7/ufyy7k97mTrGE0e5BxLlnUEa+w+rtgnv2dsKcxFdwdeZYVlZKCqgN/xCBV08+A=="],++ "@typescript/typescript-linux-riscv64": ["@typescript/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-0jKU9YRgOPRgiy5V/UWv37kB53PaTpIbwGCbbOMUPPAkrjVRNOIAJaz7Wa7s3H7mdDebX1LopUEPEJR+7Xa7zg=="],++ "@typescript/typescript-linux-s390x": ["@typescript/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-j+d04s2kxaPQh6DLPb01sknAQfzsrdSZy15jBRHyLEZoaaQ19dVjbFRlkNVvYwUG7ZdP8+y5b/7RmPxdtHUKdQ=="],++ "@typescript/typescript-linux-x64": ["@typescript/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-kcD51ihf+pnI5KT4uQQYG04OpwznaZYBlIQhDhl8fflFd27NktxXsUeguxZyvUMyWfum7IF2bBS6Jv7ox0AgFQ=="],++ "@typescript/typescript-netbsd-arm64": ["@typescript/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-8W85YyoGK+rgGoSU9jJQUpELbrKcZcbdJk2jPNQ6UKDKI7ryPlPFTrV2jCE5RQuv4Tt96hMDTc33s4YfRrLFBA=="],++ "@typescript/typescript-netbsd-x64": ["@typescript/[email protected]", "", { "os": "none", "cpu": "x64" }, "sha512-iGsTE0ve2PG0AcyZinwAR0LnGEZhu/y4dceS0hZsYCaKdYETvQtvtlNWlmYKempsBr6C7Il7dMXHVk+VFm9u0g=="],++ "@typescript/typescript-openbsd-arm64": ["@typescript/[email protected]", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-Z2FERdHB9fAKI+KGqdWn04O7uNlnB+VYiEm6INE1aZuzzLNd3KBqQ6IpKUJF2ny4GigGU6nVu75XD9tAUODPng=="],++ "@typescript/typescript-openbsd-x64": ["@typescript/[email protected]", "", { "os": "openbsd", "cpu": "x64" }, "sha512-NVG3qeyCq/rJEOhaRjR3LsWgjrjo5vJW25omVLeHAVnpKIG4pE4cenwwKGR06DiJ1s0QTOymcJeKXMEpsiNBVg=="],++ "@typescript/typescript-sunos-x64": ["@typescript/[email protected]", "", { "os": "sunos", "cpu": "x64" }, "sha512-ovAdoWXEn2B5/fyWG69pLU3FWmQwPWOjQV5TFbcxtpnOv+R3g8ySGHl1NYRq7Lb/GYdFDvaGcZ+SiU7iKuiMsA=="],++ "@typescript/typescript-win32-arm64": ["@typescript/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-lJbo71IEOfL7ZZIZnArRaOLqjn9BAfoSzyUQn0aSjfSpDZL4ru0afUsdBfo6PQEjD6ssdmi0n/RwaPADX6bsvQ=="],++ "@typescript/typescript-win32-x64": ["@typescript/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-UKcHvbybY2tDTvFW2b1vwiAvDlIRooo69lh8CXWVhOQejcvpM5+IgbiFW9EIwR5Wi5X/v+BdN7gdWbigBuJ3rw=="],"@typescript/vfs": ["@typescript/[email protected]", "", { "dependencies": { "debug": "^4.1.1" }, "peerDependencies": { "typescript": "*" } }, "sha512-8Qs6/Tj2B8Uyo4lYJkopdCtrsfpF/ZlbTXK13Nq6JKN+Ih8FF9Oxg97gEp+zIS96wmkMdWUIETl35Yt9BITeiw=="],@@ -8807,6 +8835,8 @@"typescript-eslint": ["[email protected]", "", { "dependencies": { "@typescript-eslint/eslint-plugin": "8.71.2", "@typescript-eslint/parser": "8.71.2", "@typescript-eslint/typescript-estree": "8.71.2", "@typescript-eslint/utils": "8.71.2" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-Rz4effbMy2g9wnvOJZG6SbVavX313Lap1vNEbk1RUochzickvzP8P4HB+bkNg5e50eVz1hQGjh9K1omI1xB4Bw=="],+ "typescript-native": ["[email protected]", "", { "optionalDependencies": { "@typescript/typescript-aix-ppc64": "7.1.0-beta", "@typescript/typescript-android-arm64": "7.1.0-beta", "@typescript/typescript-darwin-arm64": "7.1.0-beta", "@typescript/typescript-darwin-x64": "7.1.0-beta", "@typescript/typescript-freebsd-arm64": "7.1.0-beta", "@typescript/typescript-freebsd-x64": "7.1.0-beta", "@typescript/typescript-linux-arm": "7.1.0-beta", "@typescript/typescript-linux-arm64": "7.1.0-beta", "@typescript/typescript-linux-loong64": "7.1.0-beta", "@typescript/typescript-linux-mips64el": "7.1.0-beta", "@typescript/typescript-linux-ppc64": "7.1.0-beta", "@typescript/typescript-linux-riscv64": "7.1.0-beta", "@typescript/typescript-linux-s390x": "7.1.0-beta", "@typescript/typescript-linux-x64": "7.1.0-beta", "@typescript/typescript-netbsd-arm64": "7.1.0-beta", "@typescript/typescript-netbsd-x64": "7.1.0-beta", "@typescript/typescript-openbsd-arm64": "7.1.0-beta", "@typescript/typescript-openbsd-x64": "7.1.0-beta", "@typescript/typescript-sunos-x64": "7.1.0-beta", "@typescript/typescript-win32-arm64": "7.1.0-beta", "@typescript/typescript-win32-x64": "7.1.0-beta" }, "bin": { "tsc": "bin/tsc" } }, "sha512-cjWjZAJDsmZzsNC5GwHNlW0YPM65jZa5oR0KyQcYX3KSVIfTvtBq//vewISyatKk4OLi5grZjHhIVE9fdrw1UQ=="],+"ufo": ["[email protected]", "", {}, "sha512-yDJTmhydvl5lJzBmy/hyOAA0d+aqCBuwl818haVdYCRrWV84o7YyeVm4QlVHStqNrrJSTb6jKuFAVqAFsr+K3Q=="],"uhyphen": ["[email protected]", "", {}, "sha512-qz3o9CHXmJJPGBdqzab7qAYuW8kQGKNEuoHFYrBwV6hWIMcpAmxDLXojcHfFr9US1Pe6zUswEIJIbLI610fuqA=="],diff --git a/package.json b/package.jsonindex eda35ce750..e40a9d1af5 100644--- a/package.json+++ b/package.json@@ -6,7 +6,7 @@"scripts": {"test": "turbo run lint test --no-update-notifier","typecheck": "bun check",- "ts-build": "tsc -b --verbose --watch",+ "ts-build": "node node_modules/typescript-native/bin/tsc -b --verbose --watch","stylecheck": "turbo run lint formatting --no-update-notifier && bun run checkskills","formatting": "turbo run formatting --no-update-notifier","format": "bun pre-commit.ts",@@ -77,7 +77,7 @@"vite": "6.4.4"},"dependencies": {- "@typescript/native-preview": "catalog:",+ "typescript-native": "catalog:","p-limit": "7.2.0","turbo": "2.11.6","typescript": "5.9.3"@@ -156,7 +156,7 @@"@vitest/browser-playwright": "5.0.3","playwright": "1.60.0","vitest": "5.0.3",- "@typescript/native-preview": "7.0.0-dev.20260217.1"+ "typescript-native": "npm:[email protected]"}}}diff --git a/packages/agent-plugin/package.json b/packages/agent-plugin/package.jsonindex a14f6cfdcf..8063e3622c 100644--- a/packages/agent-plugin/package.json+++ b/packages/agent-plugin/package.json@@ -21,7 +21,7 @@"devDependencies": {"@microsoft/vally": "0.12.0","@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:",+ "typescript-native": "catalog:","eslint": "catalog:"},"keywords": [diff --git a/packages/animated-emoji/package.json b/packages/animated-emoji/package.jsonindex ea684ff013..4cb126ee94 100644--- a/packages/animated-emoji/package.json+++ b/packages/animated-emoji/package.json@@ -8,7 +8,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"exports": {"./package.json": "./package.json",@@ -43,6 +43,6 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"}}diff --git a/packages/animation-utils/package.json b/packages/animation-utils/package.jsonindex d289260ba2..07db04a85d 100644--- a/packages/animation-utils/package.json+++ b/packages/animation-utils/package.json@@ -16,7 +16,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts",+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts","test": "bun test src"},"dependencies": {@@ -33,7 +33,7 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"exports": {"./package.json": "./package.json",diff --git a/packages/babel-loader/package.json b/packages/babel-loader/package.jsonindex c44cee4289..29082e976d 100644--- a/packages/babel-loader/package.json+++ b/packages/babel-loader/package.json@@ -10,7 +10,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "make": "tsgo -d"+ "make": "node node_modules/typescript-native/bin/tsc -d"},"files": ["dist"@@ -35,7 +35,7 @@"remotion": "workspace:*","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"peerDependencies": {"@remotion/bundler": "workspace:*"diff --git a/packages/brand/package.json b/packages/brand/package.jsonindex e3c772fe3d..22fbd40716 100644--- a/packages/brand/package.json+++ b/packages/brand/package.json@@ -45,7 +45,7 @@"@remotion/transitions": "workspace:*","@types/opentype.js": "1.3.4","@types/styled-components": "5.1.34",- "@typescript/native-preview": "catalog:",+ "typescript-native": "catalog:","codehike": "1.0.4","eslint": "catalog:","mediabunny": "catalog:",diff --git a/packages/browser-bundler/package.json b/packages/browser-bundler/package.jsonindex b8e97e74fb..02c5002179 100644--- a/packages/browser-bundler/package.json+++ b/packages/browser-bundler/package.json@@ -14,8 +14,8 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "watch": "tsgo -w",- "make": "tsgo && bun --env-file=../.env.bundle bundle.ts"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "node node_modules/typescript-native/bin/tsc && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -58,7 +58,7 @@"@testing-library/react": "16.1.0","@types/react": "catalog:","@types/react-dom": "catalog:",- "@typescript/native-preview": "catalog:",+ "typescript-native": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:"diff --git a/packages/browser-studio/package.json b/packages/browser-studio/package.jsonindex 212f166fa2..a3616faa86 100644--- a/packages/browser-studio/package.json+++ b/packages/browser-studio/package.json@@ -17,8 +17,8 @@"formatting": "oxfmt src e2e playwright.config.ts --check","format": "oxfmt src e2e playwright.config.ts","lint": "eslint src e2e playwright.config.ts",- "watch": "tsgo -w",- "make": "tsgo && bun --env-file=../.env.bundle bundle.ts"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "node node_modules/typescript-native/bin/tsc && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -58,7 +58,7 @@"@remotion/eslint-config-internal": "workspace:*","@types/react": "catalog:","@types/react-dom": "catalog:",- "@typescript/native-preview": "catalog:",+ "typescript-native": "catalog:","eslint": "catalog:","mediabunny": "catalog:","react": "catalog:",diff --git a/packages/bundler/package.json b/packages/bundler/package.jsonindex 730e300097..3c2a315fc9 100644--- a/packages/bundler/package.json+++ b/packages/bundler/package.json@@ -14,7 +14,7 @@"format": "oxfmt src","lint": "eslint src","test": "bun test src",- "make": "tsgo -d"+ "make": "node node_modules/typescript-native/bin/tsc -d"},"author": "Jonny Burger <[email protected]>","license": "SEE LICENSE IN LICENSE.md",@@ -40,7 +40,7 @@"react-dom": "catalog:","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/captions/package.json b/packages/captions/package.jsonindex ee17d3667c..d81f6db289 100644--- a/packages/captions/package.json+++ b/packages/captions/package.json@@ -16,7 +16,7 @@"format": "oxfmt src","lint": "eslint src","test": "bun test src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","license": "MIT",@@ -25,7 +25,7 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion"diff --git a/packages/claude-code-plugin/package.json b/packages/claude-code-plugin/package.jsonindex 8abf1018ec..5563488b95 100644--- a/packages/claude-code-plugin/package.json+++ b/packages/claude-code-plugin/package.json@@ -21,7 +21,7 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/cli/package.json b/packages/cli/package.jsonindex 575e49c725..927ad0ce54 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -16,7 +16,7 @@"format": "oxfmt src","lint": "eslint src","test": "bun test src",- "make": "tsgo -d"+ "make": "node node_modules/typescript-native/bin/tsc -d"},"bugs": {"url": "https://github.com/remotion-dev/remotion/issues"@@ -71,7 +71,7 @@"zod": "catalog:","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/cli/src/chalk/index.ts b/packages/cli/src/chalk/index.tsindex 8f0506f1f0..f181a2dce8 100644--- a/packages/cli/src/chalk/index.ts+++ b/packages/cli/src/chalk/index.ts@@ -1,3 +1,3 @@import {RenderInternals} from '@remotion/renderer';-export const {chalk} = RenderInternals;+export const {chalk}: typeof RenderInternals = RenderInternals;diff --git a/packages/cli/src/log.ts b/packages/cli/src/log.tsindex 830f44be5b..3d319c51de 100644--- a/packages/cli/src/log.ts+++ b/packages/cli/src/log.ts@@ -1,3 +1,3 @@import {RenderInternals} from '@remotion/renderer';-export const {Log} = RenderInternals;+export const {Log}: typeof RenderInternals = RenderInternals;diff --git a/packages/cli/src/parsed-cli.ts b/packages/cli/src/parsed-cli.tsindex c9679f0d2b..0aa3be9862 100644--- a/packages/cli/src/parsed-cli.ts+++ b/packages/cli/src/parsed-cli.ts@@ -91,7 +91,7 @@ const {previewSampleRateOption,rspackOption,skipSkillsOption,-} = BrowserSafeApis.options;+}: typeof BrowserSafeApis.options = BrowserSafeApis.options;export type CommandLineOptions = {[allowHtmlInCanvasOption.cliFlag]: TypeOfOption<diff --git a/packages/cloudrun/package.json b/packages/cloudrun/package.jsonindex 82a6eb1a34..a4955a67e9 100644--- a/packages/cloudrun/package.json+++ b/packages/cloudrun/package.json@@ -7,7 +7,7 @@"description": "Render Remotion videos on Google Cloud Run","main": "dist/index.js","scripts": {- "make": "tsgo -d && cp src/shared/sa-permissions.json dist/shared/sa-permissions.json",+ "make": "node node_modules/typescript-native/bin/tsc -d && cp src/shared/sa-permissions.json dist/shared/sa-permissions.json","makeruntime": "bun build.ts","lint": "eslint src","test": "bun test src",@@ -33,7 +33,7 @@"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:","@types/node": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"exports": {"./package.json": "./package.json",diff --git a/packages/cloudrun/src/cli/log.ts b/packages/cloudrun/src/cli/log.tsindex 830f44be5b..3d319c51de 100644--- a/packages/cloudrun/src/cli/log.ts+++ b/packages/cloudrun/src/cli/log.ts@@ -1,3 +1,3 @@import {RenderInternals} from '@remotion/renderer';-export const {Log} = RenderInternals;+export const {Log}: typeof RenderInternals = RenderInternals;diff --git a/packages/codemods/package.json b/packages/codemods/package.jsonindex ff78a229ea..9e3ef78327 100644--- a/packages/codemods/package.json+++ b/packages/codemods/package.json@@ -14,8 +14,8 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "watch": "tsgo -w",- "make": "tsgo && bun --env-file=../.env.bundle bundle.ts"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "node node_modules/typescript-native/bin/tsc && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -49,7 +49,7 @@},"devDependencies": {"@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:",+ "typescript-native": "catalog:","eslint": "catalog:"},"keywords": [diff --git a/packages/core/ensure-correct-version.ts b/packages/core/ensure-correct-version.tsindex b0500eff31..49b4249b0d 100644--- a/packages/core/ensure-correct-version.ts+++ b/packages/core/ensure-correct-version.ts@@ -19,7 +19,7 @@ export const VERSION = '${version}';fs.writeFileSync(path.resolve(process.cwd(), 'src/version.ts'), src);cp.execSync('bun run make');-cp.execSync('bun x tsgo -d');+cp.execSync('node node_modules/typescript-native/bin/tsc -d');const distFile = fs.readFileSync('dist/esm/version.mjs', 'utf-8');diff --git a/packages/core/package.json b/packages/core/package.jsonindex 92dc844907..baa78ec550 100644--- a/packages/core/package.json+++ b/packages/core/package.json@@ -14,7 +14,7 @@"prepublishOnly": "bun ensure-correct-version.ts && cp ../../README.md . && cp ../../LICENSE.md .","lint": "eslint src","test": "bun test src/test",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"bugs": {"url": "https://github.com/remotion-dev/remotion/issues"@@ -37,7 +37,7 @@"zod": "catalog:","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["video",diff --git a/packages/core/src/canvas-image/CanvasImage.tsx b/packages/core/src/canvas-image/CanvasImage.tsxindex 85ee03290c..f935eb90e3 100644--- a/packages/core/src/canvas-image/CanvasImage.tsx+++ b/packages/core/src/canvas-image/CanvasImage.tsx@@ -163,7 +163,7 @@ const loadImage = ({return;}- image.crossOrigin = crossOrigin ?? 'anonymous';+ image.crossOrigin = crossOrigin || 'anonymous';image.src = src;});};diff --git a/packages/create-video/package.json b/packages/create-video/package.jsonindex 61fc6a8ab8..b900c9ba2c 100644--- a/packages/create-video/package.json+++ b/packages/create-video/package.json@@ -14,7 +14,7 @@"format": "oxfmt src","lint": "eslint src","test": "bun test src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","license": "SEE LICENSE IN LICENSE.md",@@ -31,7 +31,7 @@"react": "catalog:","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"exports": {"./package.json": "./package.json",diff --git a/packages/design/package.json b/packages/design/package.jsonindex e5431d0681..4ecaff1346 100644--- a/packages/design/package.json+++ b/packages/design/package.json@@ -15,8 +15,8 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "watch": "tsgo -w",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"dependencies": {"@radix-ui/react-select": "2.1.1",@@ -42,7 +42,7 @@"@tailwindcss/cli": "4.2.0","tailwind-merge": "2.6.0","bun-plugin-tailwind": "0.1.2",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": [],"publishConfig": {diff --git a/packages/docusaurus-plugin/package.json b/packages/docusaurus-plugin/package.jsonindex 6b4e614808..1348231df6 100644--- a/packages/docusaurus-plugin/package.json+++ b/packages/docusaurus-plugin/package.json@@ -5,7 +5,7 @@"types": "dist/index.d.ts","scripts": {"lint": "eslint src",- "make": "tsgo -d",+ "make": "node node_modules/typescript-native/bin/tsc -d","test": "bun test src"},"author": "Jonny Burger <[email protected]>",@@ -26,7 +26,7 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"private": true,"repository": {diff --git a/packages/effects/package.json b/packages/effects/package.jsonindex 1869383420..a1a639b0a2 100644--- a/packages/effects/package.json+++ b/packages/effects/package.json@@ -16,8 +16,8 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "watch": "tsgo -w",- "make": "tsgo && bun --env-file=../.env.bundle bundle.ts"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "node node_modules/typescript-native/bin/tsc && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -630,7 +630,7 @@"@vitest/browser-playwright": "catalog:","eslint": "catalog:","vitest": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/elevenlabs/package.json b/packages/elevenlabs/package.jsonindex 20fbc255de..0ec2c28a20 100644--- a/packages/elevenlabs/package.json+++ b/packages/elevenlabs/package.json@@ -15,7 +15,7 @@"format": "oxfmt src","lint": "eslint src","test": "bun test src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","license": "MIT",@@ -27,7 +27,7 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/enable-scss/package.json b/packages/enable-scss/package.jsonindex 7e4492e659..1fe78999bf 100644--- a/packages/enable-scss/package.json+++ b/packages/enable-scss/package.json@@ -10,7 +10,7 @@"module": "dist/esm/index.mjs","scripts": {"lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts",+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts","formatting": "oxfmt src --check","format": "oxfmt src"},@@ -32,7 +32,7 @@"@remotion/bundler": "workspace:*","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/eslint-config-flat/package.json b/packages/eslint-config-flat/package.jsonindex 1d2f9de971..f63c43b5e3 100644--- a/packages/eslint-config-flat/package.json+++ b/packages/eslint-config-flat/package.json@@ -14,7 +14,7 @@"lint": "eslint src","formatting": "oxfmt src --check","format": "oxfmt src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"bugs": {"url": "https://github.com/remotion-dev/remotion/issues"@@ -35,7 +35,7 @@"eslint-plugin-react": "7.37.4","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/eslint-config-internal/package.json b/packages/eslint-config-internal/package.jsonindex 70c87527c9..4b4d43d94e 100644--- a/packages/eslint-config-internal/package.json+++ b/packages/eslint-config-internal/package.json@@ -7,7 +7,7 @@"license": "SEE LICENSE IN LICENSE.md","main": "dist/index.js","scripts": {- "make": "tsgo -d"+ "make": "node node_modules/typescript-native/bin/tsc -d"},"exports": {".": {@@ -21,7 +21,7 @@"devDependencies": {"eslint": "catalog:","@types/eslint__eslintrc": "2.1.2",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"dependencies": {"@typescript-eslint/eslint-plugin": "8.71.2",diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.jsonindex b37b0e0e13..84670c29f4 100644--- a/packages/eslint-config/package.json+++ b/packages/eslint-config/package.json@@ -13,7 +13,7 @@"lint": "eslint src","formatting": "oxfmt src --check","format": "oxfmt src",- "make": "tsgo -d"+ "make": "node node_modules/typescript-native/bin/tsc -d"},"bugs": {"url": "https://github.com/remotion-dev/remotion/issues"@@ -32,7 +32,7 @@"eslint-plugin-react-hooks": "4.6.0","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.jsonindex df3e34496e..a6d9b4093d 100644--- a/packages/eslint-plugin/package.json+++ b/packages/eslint-plugin/package.json@@ -7,7 +7,7 @@"description": "Rules for writing Remotion code","scripts": {"test": "node src/tests/execute.mjs",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"main": "dist/index.js","bugs": {@@ -31,7 +31,7 @@"eslint-v9": "npm:[email protected]","eslint-v10": "npm:[email protected]","typescript-eslint": "8.71.2",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"exports": {"./package.json": "./package.json",diff --git a/packages/example-videos/package.json b/packages/example-videos/package.jsonindex ac3f94d162..6545db4897 100644--- a/packages/example-videos/package.json+++ b/packages/example-videos/package.json@@ -10,7 +10,7 @@"formatting": "prettier src --check","lint": "eslint src","download-media": "bun download-cached-example-media.ts",- "make": "tsgo -d && bun download-cached-example-media.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun download-cached-example-media.ts"},"author": "Jonny Burger","license": "MIT",@@ -23,7 +23,7 @@"dotenv": "17.3.1","eslint": "catalog:","prettier": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"private": true}diff --git a/packages/example/package.json b/packages/example/package.jsonindex 390b2072d6..edd49fe6bf 100644--- a/packages/example/package.json+++ b/packages/example/package.json@@ -115,6 +115,7 @@"zod": "catalog:"},"devDependencies": {+ "typescript": "5.9.3","@playwright/test": "1.60.0","sharp": "catalog:","@types/dom-webcodecs": "catalog:",diff --git a/packages/fonts/package.json b/packages/fonts/package.jsonindex 4ff747b06c..a9311c1cdc 100644--- a/packages/fonts/package.json+++ b/packages/fonts/package.json@@ -12,7 +12,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"keywords": ["remotion",@@ -29,7 +29,7 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"publishConfig": {"access": "public"diff --git a/packages/gif/package.json b/packages/gif/package.jsonindex 732d2f1205..29f9801e0d 100644--- a/packages/gif/package.json+++ b/packages/gif/package.json@@ -18,7 +18,7 @@"format": "oxfmt src","lint": "eslint src","test": "bun test src/test",- "make": "tsgo -d && node build.mjs && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && node build.mjs && bun --env-file=../.env.bundle bundle.ts"},"exports": {"./package.json": "./package.json",@@ -40,7 +40,7 @@"webpack": "5.105.0","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"peerDependencies": {"react": ">=16.8.0",diff --git a/packages/google-fonts/package.json b/packages/google-fonts/package.jsonindex 8a01406baf..3e75ce13c7 100644--- a/packages/google-fonts/package.json+++ b/packages/google-fonts/package.json@@ -8,7 +8,7 @@"main": "dist/cjs/index.js","module": "dist/esm/index.mjs","scripts": {- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts",+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts","generate": "bun --env-file=.env scripts/update-font-db.ts","test": "bun test test","formatting": "oxfmt src --check",@@ -22,7 +22,7 @@"@types/css-font-loading-module": "0.0.14","@types/prettier": "2.7.2","postcss": "8.5.23",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"types": "dist/cjs/index.d.ts","typesVersions": {diff --git a/packages/gsap/package.json b/packages/gsap/package.jsonindex 69abc01fde..3468fd3e48 100644--- a/packages/gsap/package.json+++ b/packages/gsap/package.json@@ -14,8 +14,8 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "watch": "tsgo -w",- "make": "tsgo && bun --env-file=../.env.bundle bundle.ts"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "node node_modules/typescript-native/bin/tsc && bun --env-file=../.env.bundle bundle.ts"},"author": "Brayden Blackwell","contributors": [],@@ -48,7 +48,7 @@"@happy-dom/global-registrator": "14.5.1","eslint": "catalog:","gsap": "3.15.0",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/install-whisper-cpp/package.json b/packages/install-whisper-cpp/package.jsonindex d20bde2829..70cda0fbb7 100644--- a/packages/install-whisper-cpp/package.json+++ b/packages/install-whisper-cpp/package.json@@ -14,7 +14,7 @@"format": "oxfmt src","lint": "eslint src","test": "bun test src",- "make": "tsgo -d"+ "make": "node node_modules/typescript-native/bin/tsc -d"},"author": "Jonny Burger <[email protected]>","license": "SEE LICENSE IN LICENSE.md",@@ -25,7 +25,7 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/it-tests/package.json b/packages/it-tests/package.jsonindex 42f0022ae9..0ca72a55d0 100644--- a/packages/it-tests/package.json+++ b/packages/it-tests/package.json@@ -11,13 +11,13 @@"testmonorepo": "bun test src/monorepo --run --timeout 40000","testtemplates": "bun test src/templates --timeout 400000","testlambda": "exit 0",- "lint": "tsgo --noEmit",+ "lint": "node node_modules/typescript-native/bin/tsc --noEmit","formatting": "oxfmt src --check","format": "oxfmt src"},"private": true,"devDependencies": {- "@typescript/native-preview": "catalog:",+ "typescript-native": "catalog:","@mdx-js/loader": "2.3.0","@remotion/babel-loader": "workspace:*","@types/node": "catalog:",diff --git a/packages/kimi-code-plugin/package.json b/packages/kimi-code-plugin/package.jsonindex f0df40403c..55bd500f78 100644--- a/packages/kimi-code-plugin/package.json+++ b/packages/kimi-code-plugin/package.json@@ -21,7 +21,7 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/lambda-client/package.json b/packages/lambda-client/package.jsonindex e777dbd309..b3ea1e34d9 100644--- a/packages/lambda-client/package.json+++ b/packages/lambda-client/package.json@@ -10,7 +10,7 @@"format": "oxfmt src","test": "bun test src","lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","license": "UNLICENSED",@@ -33,7 +33,7 @@"eslint": "catalog:","next": "catalog:","@types/mime-types": "2.1.1",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"publishConfig": {"access": "public"diff --git a/packages/lambda/package.json b/packages/lambda/package.jsonindex 26a00f3ad8..4c257f095b 100644--- a/packages/lambda/package.json+++ b/packages/lambda/package.json@@ -12,7 +12,7 @@"lint": "eslint src","testlambda": "exit 0","test": "bun test src/test/unit",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts",+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts","makeruntime": "bun build.ts","prepublishOnly": "bun build.ts && bun ensure-version-match.js"},@@ -51,7 +51,7 @@"next": "catalog:","pureimage": "0.4.13","@types/node": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"peerDependencies": {"@remotion/bundler": "workspace:*"diff --git a/packages/lambda/src/cli/log.ts b/packages/lambda/src/cli/log.tsindex 96a4fa994b..9a4ff04c6a 100644--- a/packages/lambda/src/cli/log.ts+++ b/packages/lambda/src/cli/log.ts@@ -1,3 +1,3 @@import {CliInternals} from '@remotion/cli';-export const {Log} = CliInternals;+export const {Log}: typeof CliInternals = CliInternals;diff --git a/packages/layout-utils/package.json b/packages/layout-utils/package.jsonindex e36fdd8f1e..ac2cb379a0 100644--- a/packages/layout-utils/package.json+++ b/packages/layout-utils/package.json@@ -12,7 +12,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts",+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts","testlayoututils": "vitest src/test --browser --run","studio": "cd ../example && bunx remotion studio ../layout-utils/src/test/studio.ts --public-dir=../example-videos/videos","remotion": "cd ../example && bunx remotion studio ../layout-utils/src/test/studio.ts --public-dir=../example-videos/videos"@@ -30,7 +30,7 @@"@remotion/eslint-config-internal": "workspace:*","@vitejs/plugin-react": "catalog:","@vitest/browser-playwright": "catalog:",- "@typescript/native-preview": "catalog:",+ "typescript-native": "catalog:","eslint": "catalog:","playwright": "catalog:","react": "catalog:",diff --git a/packages/licensing/package.json b/packages/licensing/package.jsonindex 0cc322662d..0bde0e96b4 100644--- a/packages/licensing/package.json+++ b/packages/licensing/package.json@@ -10,7 +10,7 @@"lint": "eslint src","formatting": "oxfmt src --check","format": "oxfmt src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts",+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts","test": "bun test src/test/prod-domain.test.ts src/test/register-usage-event-retry.test.ts"},"author": "Jonny Burger <[email protected]>",@@ -28,7 +28,7 @@"eslint": "catalog:","msw": "2.12.7","remotion": "workspace:*",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"homepage": "https://www.remotion.dev/docs/licensing","exports": {diff --git a/packages/light-leaks/package.json b/packages/light-leaks/package.jsonindex 5b449b0981..e2be053f0e 100644--- a/packages/light-leaks/package.json+++ b/packages/light-leaks/package.json@@ -14,8 +14,8 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "watch": "tsgo -w",- "make": "tsgo && bun --env-file=../.env.bundle bundle.ts"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "node node_modules/typescript-native/bin/tsc && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -45,7 +45,7 @@"react-dom": "catalog:","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/lottie/package.json b/packages/lottie/package.jsonindex 4e01bc11d4..07110f727f 100644--- a/packages/lottie/package.json+++ b/packages/lottie/package.json@@ -13,7 +13,7 @@"format": "oxfmt src","lint": "eslint src","test": "bun test src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"bugs": {"url": "https://github.com/remotion-dev/remotion/issues"@@ -47,7 +47,7 @@"lottie-web": "5.13.0","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/mac-cursors/package.json b/packages/mac-cursors/package.jsonindex 7e45fdcf14..b80f825641 100644--- a/packages/mac-cursors/package.json+++ b/packages/mac-cursors/package.json@@ -14,8 +14,8 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "watch": "tsgo -w",- "make": "tsgo && bun --env-file=../.env.bundle bundle.ts"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "node node_modules/typescript-native/bin/tsc && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -43,7 +43,7 @@"react-dom": "catalog:","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/maptiler/package.json b/packages/maptiler/package.jsonindex 9cec01fdd0..40b6ae40db 100644--- a/packages/maptiler/package.json+++ b/packages/maptiler/package.json@@ -13,8 +13,8 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "watch": "tsgo -w",- "make": "tsgo && bun --env-file=../.env.bundle bundle.ts"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "node node_modules/typescript-native/bin/tsc && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -44,7 +44,7 @@"react-dom": "catalog:","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/mcp/package.json b/packages/mcp/package.jsonindex 417a9e6e4f..e4e70043a3 100644--- a/packages/mcp/package.json+++ b/packages/mcp/package.json@@ -15,7 +15,7 @@},"scripts": {"lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"files": ["dist"@@ -31,7 +31,7 @@"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:","@types/command-line-args": "5.2.3",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/media-parser/package.json b/packages/media-parser/package.jsonindex 40e434bde3..114f0b59a8 100644--- a/packages/media-parser/package.json+++ b/packages/media-parser/package.json@@ -9,7 +9,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts",+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts","prepublishOnly": "bun ensure-correct-version.ts"},"devDependencies": {@@ -19,7 +19,7 @@"eslint": "catalog:","mediabunny": "catalog:","@types/bun": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"publishConfig": {"access": "public"diff --git a/packages/media-utils/package.json b/packages/media-utils/package.jsonindex efaf05cd07..6a1a127969 100644--- a/packages/media-utils/package.json+++ b/packages/media-utils/package.json@@ -10,7 +10,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts",+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts","test": "bun test src"},"types": "dist/index.d.ts",@@ -31,7 +31,7 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/media/package.json b/packages/media/package.jsonindex 3afef0279c..66cd82df18 100644--- a/packages/media/package.json+++ b/packages/media/package.json@@ -16,9 +16,9 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "watch": "tsgo -w",+ "watch": "node node_modules/typescript-native/bin/tsc -w","test": "node src/test/execute.mjs",- "make": "tsgo && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc && bun --env-file=../.env.bundle bundle.ts"},"dependencies": {"mediabunny": "catalog:",@@ -38,7 +38,7 @@"react": "catalog:","react-dom": "catalog:","vitest": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": [],"publishConfig": {diff --git a/packages/motion-blur/package.json b/packages/motion-blur/package.jsonindex 68347106a2..66ec370e5d 100644--- a/packages/motion-blur/package.json+++ b/packages/motion-blur/package.json@@ -12,7 +12,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"author": "Matt McGillivray, Ilija Boshkov <[email protected]>, Jonny Burger <[email protected]>","contributors": [],@@ -42,7 +42,7 @@"remotion": "workspace:*","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/noise/package.json b/packages/noise/package.jsonindex 7aba2081f3..ce80f415c6 100644--- a/packages/noise/package.json+++ b/packages/noise/package.json@@ -12,7 +12,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts",+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts","test": "bun test src"},"exports": {@@ -41,7 +41,7 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/openai-whisper/package.json b/packages/openai-whisper/package.jsonindex de732eb327..4a12bc41ba 100644--- a/packages/openai-whisper/package.json+++ b/packages/openai-whisper/package.json@@ -15,7 +15,7 @@"format": "oxfmt src","lint": "eslint src","test": "bun test src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","license": "MIT",@@ -28,7 +28,7 @@"openai": "catalog:","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion"diff --git a/packages/paths/package.json b/packages/paths/package.jsonindex 57c7a8c397..f74cf45a4f 100644--- a/packages/paths/package.json+++ b/packages/paths/package.json@@ -13,7 +13,7 @@"format": "oxfmt src","lint": "eslint src","test": "bun test src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","license": "MIT",@@ -28,7 +28,7 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"dependencies": {"remotion": "workspace:*"diff --git a/packages/player-a11y/package.json b/packages/player-a11y/package.jsonindex dd40757129..ff365ba81f 100644--- a/packages/player-a11y/package.json+++ b/packages/player-a11y/package.json@@ -14,8 +14,8 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "watch": "tsgo -w",- "make": "tsgo && bun --env-file=../.env.bundle bundle.ts"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "node node_modules/typescript-native/bin/tsc && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -44,7 +44,7 @@"react-dom": "catalog:","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/player/package.json b/packages/player/package.jsonindex c7591b33f7..903d4e4ee2 100644--- a/packages/player/package.json+++ b/packages/player/package.json@@ -12,7 +12,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "make": "tsgo -d && bun ensure-correct-version.ts && bun --env-file=../.env.bundle bundle.ts",+ "make": "node node_modules/typescript-native/bin/tsc -d && bun ensure-correct-version.ts && bun --env-file=../.env.bundle bundle.ts","test": "bun test src","prerelease": "cp ../../README.md . && cp ../../LICENSE.md ."},@@ -51,7 +51,7 @@"zod": "catalog:","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/preload/package.json b/packages/preload/package.jsonindex 02a4ca6fba..aa83cb0ebe 100644--- a/packages/preload/package.json+++ b/packages/preload/package.json@@ -11,7 +11,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "make": "tsgo -d"+ "make": "node node_modules/typescript-native/bin/tsc -d"},"author": "Jonny Burger","contributors": [],@@ -31,7 +31,7 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"homepage": "https://www.remotion.dev/docs/preload"}diff --git a/packages/promo-pages/package.json b/packages/promo-pages/package.jsonindex e48335da35..312c1b516c 100644--- a/packages/promo-pages/package.json+++ b/packages/promo-pages/package.json@@ -34,6 +34,7 @@"@mediabunny/mp3-encoder": "catalog:"},"devDependencies": {+ "typescript": "5.9.3","@remotion/eslint-config-internal": "workspace:*","@eslint/eslintrc": "3.1.0","@types/react": "catalog:",diff --git a/packages/react18-tests/package.json b/packages/react18-tests/package.jsonindex 08631e9c5b..fa3d34daf2 100644--- a/packages/react18-tests/package.json+++ b/packages/react18-tests/package.json@@ -9,7 +9,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "make": "tsgo -d",+ "make": "node node_modules/typescript-native/bin/tsc -d","testwebrenderer": "vitest src/test --browser --run","studio": "cd ../example && bunx remotion studio ../react18-tests/src/test/studio.ts"},@@ -35,7 +35,7 @@"vitest-browser-react": "2.3.0","@types/react": "18.3.1","@types/react-dom": "18.3.1",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"peerDependencies": {"react": ">=18.0.0",diff --git a/packages/renderer/package.json b/packages/renderer/package.jsonindex afb23b9a3b..b2cf887e9c 100644--- a/packages/renderer/package.json+++ b/packages/renderer/package.json@@ -12,8 +12,8 @@"format": "oxfmt src","lint": "eslint src","test": "bun test src",- "watch": "tsgo -w",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","license": "SEE LICENSE IN LICENSE.md",@@ -38,7 +38,7 @@"@happy-dom/global-registrator": "14.5.1","react": "catalog:","react-dom": "catalog:",- "@typescript/native-preview": "catalog:",+ "typescript-native": "catalog:","@types/ws": "8.5.10","@remotion/example-videos": "workspace:*","@remotion/eslint-config-internal": "workspace:*",diff --git a/packages/rive/package.json b/packages/rive/package.jsonindex 602257b31d..f7dfe21cbb 100644--- a/packages/rive/package.json+++ b/packages/rive/package.json@@ -13,7 +13,7 @@"format": "oxfmt src","lint": "eslint src","test": "bun test src/test",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"bugs": {"url": "https://github.com/remotion-dev/remotion/issues"@@ -34,7 +34,7 @@"react-dom": "catalog:","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"publishConfig": {"access": "public"diff --git a/packages/rough-notation/package.json b/packages/rough-notation/package.jsonindex 5f192f9c3e..ab60d33622 100644--- a/packages/rough-notation/package.json+++ b/packages/rough-notation/package.json@@ -14,8 +14,8 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "watch": "tsgo -w",- "make": "tsgo && bun --env-file=../.env.bundle bundle.ts"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "node node_modules/typescript-native/bin/tsc && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [@@ -47,7 +47,7 @@"react-dom": "catalog:","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/rounded-text-box/package.json b/packages/rounded-text-box/package.jsonindex 9430b4e759..2318105544 100644--- a/packages/rounded-text-box/package.json+++ b/packages/rounded-text-box/package.json@@ -12,7 +12,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"exports": {"./package.json": "./package.json",@@ -30,7 +30,7 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"author": "Jonny Burger <[email protected]>","maintainers": [diff --git a/packages/sdk/package.json b/packages/sdk/package.jsonindex 8f3f70bd7d..9e07a61c93 100644--- a/packages/sdk/package.json+++ b/packages/sdk/package.json@@ -14,8 +14,8 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "watch": "tsgo -w",- "make": "tsgo && bun --env-file=../.env.bundle bundle.ts"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "node node_modules/typescript-native/bin/tsc && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -45,7 +45,7 @@"@happy-dom/global-registrator": "14.5.1","@remotion/eslint-config-internal": "workspace:*","@testing-library/react": "16.1.0",- "@typescript/native-preview": "catalog:",+ "typescript-native": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:"diff --git a/packages/sdk/src/use-sync-external-store.ts b/packages/sdk/src/use-sync-external-store.tsindex 7f15652aeb..0a44016296 100644--- a/packages/sdk/src/use-sync-external-store.ts+++ b/packages/sdk/src/use-sync-external-store.ts@@ -6,6 +6,10 @@ type UseSyncExternalStore = <TSnapshot>(getServerSnapshot?: () => TSnapshot,) => TSnapshot;-export const {useSyncExternalStore} = Internals as typeof Internals & {+export const {+ useSyncExternalStore,+}: typeof Internals & {+ useSyncExternalStore: UseSyncExternalStore;+} = Internals as typeof Internals & {useSyncExternalStore: UseSyncExternalStore;};diff --git a/packages/serverless-client/package.json b/packages/serverless-client/package.jsonindex f0f1b53b4c..759a541157 100644--- a/packages/serverless-client/package.json+++ b/packages/serverless-client/package.json@@ -10,7 +10,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","test": "bun test src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -28,7 +28,7 @@"@remotion/renderer": "workspace:*","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"exports": {"./package.json": "./package.json",diff --git a/packages/serverless/package.json b/packages/serverless/package.jsonindex 71048320a3..1376c4e5ef 100644--- a/packages/serverless/package.json+++ b/packages/serverless/package.json@@ -11,7 +11,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","test": "bun test src",- "make": "tsgo -d"+ "make": "node node_modules/typescript-native/bin/tsc -d"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -31,7 +31,7 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"exports": {".": "./dist/index.js",diff --git a/packages/sfx/package.json b/packages/sfx/package.jsonindex cc7c873dab..cc8a9a1450 100644--- a/packages/sfx/package.json+++ b/packages/sfx/package.json@@ -13,8 +13,8 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "watch": "tsgo -w",- "make": "tsgo && bun --env-file=../.env.bundle bundle.ts"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "node node_modules/typescript-native/bin/tsc && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -33,7 +33,7 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/shapes/package.json b/packages/shapes/package.jsonindex bc25fcd4e5..8612f79d9e 100644--- a/packages/shapes/package.json+++ b/packages/shapes/package.json@@ -11,7 +11,7 @@"format": "oxfmt src","lint": "eslint src","test": "bun test src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"types": "dist/index.d.ts","module": "dist/esm/index.mjs",@@ -36,7 +36,7 @@"@happy-dom/global-registrator": "14.5.1","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["svg",diff --git a/packages/skia/package.json b/packages/skia/package.jsonindex 25dea5eca7..eb5d1d1970 100644--- a/packages/skia/package.json+++ b/packages/skia/package.json@@ -12,7 +12,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>, William Candillon <[email protected]>","contributors": [],@@ -38,7 +38,7 @@"remotion": "workspace:*","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/skills/package.json b/packages/skills/package.jsonindex a28dfe2afa..a5dd104501 100644--- a/packages/skills/package.json+++ b/packages/skills/package.json@@ -18,7 +18,7 @@"@remotion/shapes": "workspace:*","@remotion/three": "workspace:*","@remotion/cli": "workspace:*",- "@typescript/native-preview": "catalog:",+ "typescript-native": "catalog:","@remotion/lottie": "workspace:*","@remotion/google-fonts": "workspace:*"}diff --git a/packages/starburst/package.json b/packages/starburst/package.jsonindex 6d2b36c861..5896353dcb 100644--- a/packages/starburst/package.json+++ b/packages/starburst/package.json@@ -14,8 +14,8 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "watch": "tsgo -w",- "make": "tsgo && bun --env-file=../.env.bundle bundle.ts"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "node node_modules/typescript-native/bin/tsc && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -45,7 +45,7 @@"react-dom": "catalog:","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/streaming/package.json b/packages/streaming/package.jsonindex ddc39c560b..3942ecbb65 100644--- a/packages/streaming/package.json+++ b/packages/streaming/package.json@@ -11,7 +11,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","test": "bun test src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -25,7 +25,7 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"exports": {"./package.json": "./package.json",diff --git a/packages/studio-protocol/package.json b/packages/studio-protocol/package.jsonindex cc76902f28..5c088fe25c 100644--- a/packages/studio-protocol/package.json+++ b/packages/studio-protocol/package.json@@ -14,8 +14,8 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "watch": "tsgo -w",- "make": "tsgo && bun --env-file=../.env.bundle bundle.ts"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "node node_modules/typescript-native/bin/tsc && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -38,7 +38,7 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/studio-protocol/src/effect-drag-data.ts b/packages/studio-protocol/src/effect-drag-data.tsindex a0afc08f6a..e601d8fddd 100644--- a/packages/studio-protocol/src/effect-drag-data.ts+++ b/packages/studio-protocol/src/effect-drag-data.ts@@ -22,7 +22,9 @@ export type EffectDragData = {};};-const effectConfigSchema = z.record(z.string(), z.json());+// TypeScript 7.1 beta cannot expand Zod's recursive JSON schema internals.+const jsonSchema = z.json() as unknown as z.ZodMiniType<z.JSONType, z.JSONType>;+const effectConfigSchema = z.record(z.string(), jsonSchema);const effectDragDataSchema = z.object({type: z.literal('remotion-effect'),version: z.literal(1),diff --git a/packages/studio-server/package.json b/packages/studio-server/package.jsonindex bdca21294b..7b20164978 100644--- a/packages/studio-server/package.json+++ b/packages/studio-server/package.json@@ -11,7 +11,7 @@"test": "bun test src","formatting": "oxfmt src --check","format": "oxfmt src",- "make": "tsgo -d"+ "make": "node node_modules/typescript-native/bin/tsc -d"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -48,7 +48,7 @@"eslint": "catalog:","prettier": "catalog:","@types/node": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"exports": {".": "./dist/index.js",diff --git a/packages/studio-server/src/codemods/paste-effects.ts b/packages/studio-server/src/codemods/paste-effects.tsindex 6e8b436f51..b0cdb11ff5 100644--- a/packages/studio-server/src/codemods/paste-effects.ts+++ b/packages/studio-server/src/codemods/paste-effects.ts@@ -1,6 +1,7 @@import {CodemodsInternals} from '@remotion/codemods';-const {pasteEffects: pasteEffectsCodemod} = CodemodsInternals;+const {pasteEffects: pasteEffectsCodemod}: typeof CodemodsInternals =+ CodemodsInternals;type PasteEffectsInput = Parameters<typeof pasteEffectsCodemod>[0] & {readonly targetFileName: string;diff --git a/packages/studio-server/src/codemods/update-effect-props/update-effect-props.ts b/packages/studio-server/src/codemods/update-effect-props/update-effect-props.tsindex e2f6e12f47..adc2d6687a 100644--- a/packages/studio-server/src/codemods/update-effect-props/update-effect-props.ts+++ b/packages/studio-server/src/codemods/update-effect-props/update-effect-props.ts@@ -15,7 +15,8 @@ export type {UpdateEffectPropsResult,};-export const {enumerateEffectArrayElements} = CodemodsInternals;+export const {enumerateEffectArrayElements}: typeof CodemodsInternals =+ CodemodsInternals;export const updateEffectProps = async ({input,diff --git a/packages/studio-server/src/preview-server/routes/can-update-default-props.ts b/packages/studio-server/src/preview-server/routes/can-update-default-props.tsindex f1e7dd6e27..38dcf211bb 100644--- a/packages/studio-server/src/preview-server/routes/can-update-default-props.ts+++ b/packages/studio-server/src/preview-server/routes/can-update-default-props.ts@@ -3,7 +3,9 @@ import {CodemodsInternals} from '@remotion/codemods';import type {CanUpdateDefaultPropsResponse} from '@remotion/studio-shared';import {getProjectInfo} from '../project-info';-export const {computeCanUpdateDefaultPropsFromContent} = CodemodsInternals;+export const {+ computeCanUpdateDefaultPropsFromContent,+}: typeof CodemodsInternals = CodemodsInternals;export const checkIfTypeScriptFile = (file: string) => {if (diff --git a/packages/studio-server/src/preview-server/routes/can-update-effect-props.ts b/packages/studio-server/src/preview-server/routes/can-update-effect-props.tsindex 9f1b871923..b4f9d881dc 100644--- a/packages/studio-server/src/preview-server/routes/can-update-effect-props.ts+++ b/packages/studio-server/src/preview-server/routes/can-update-effect-props.ts@@ -293,7 +293,8 @@ export const computeEffectPropStatus = ({};};-export const {computeEffectPropsStatusesFromContent} = CodemodsInternals;+export const {computeEffectPropsStatusesFromContent}: typeof CodemodsInternals =+ CodemodsInternals;export const computeEffectPropsStatusesFromFile = ({fileName,diff --git a/packages/studio-server/src/preview-server/routes/find-in-file.ts b/packages/studio-server/src/preview-server/routes/find-in-file.tsindex 274e3e669b..a6605d743b 100644--- a/packages/studio-server/src/preview-server/routes/find-in-file.ts+++ b/packages/studio-server/src/preview-server/routes/find-in-file.ts@@ -7,7 +7,7 @@ import type {import {resolveFileInsideProject} from '../../helpers/resolve-file-inside-project';import type {ApiHandler} from '../api-types';-export const {findSearchPosition} = CodemodsInternals;+export const {findSearchPosition}: typeof CodemodsInternals = CodemodsInternals;export const findInFileHandler: ApiHandler<FindInFileRequest,diff --git a/packages/studio-shared/package.json b/packages/studio-shared/package.jsonindex 417720156f..c3dbcaee26 100644--- a/packages/studio-shared/package.json+++ b/packages/studio-shared/package.json@@ -12,7 +12,7 @@"test": "bun test src","formatting": "oxfmt src --check","format": "oxfmt src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -27,7 +27,7 @@"@remotion/renderer": "workspace:*","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"publishConfig": {"access": "public"diff --git a/packages/studio-shared/src/react-refresh-event.ts b/packages/studio-shared/src/react-refresh-event.tsindex e9e61f810a..61d093381e 100644--- a/packages/studio-shared/src/react-refresh-event.ts+++ b/packages/studio-shared/src/react-refresh-event.ts@@ -6,5 +6,7 @@ declare global {}}-export const {REACT_REFRESH_STARTED_EVENT, REACT_REFRESH_FINISHED_EVENT} =- Internals;+export const {+ REACT_REFRESH_STARTED_EVENT,+ REACT_REFRESH_FINISHED_EVENT,+}: typeof Internals = Internals;diff --git a/packages/studio/package.json b/packages/studio/package.jsonindex c14c9cdb9c..c6c0f3ea0e 100644--- a/packages/studio/package.json+++ b/packages/studio/package.json@@ -8,7 +8,7 @@"main": "dist","scripts": {"lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts",+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts","test": "bun test src","formatting": "oxfmt src --check","format": "oxfmt src"@@ -67,7 +67,7 @@"@testing-library/react": "16.1.0","@types/prismjs": "1.26.4","@types/semver": "7.5.3",- "@typescript/native-preview": "catalog:",+ "typescript-native": "catalog:","eslint": "catalog:","react": "catalog:","react-dom": "catalog:"diff --git a/packages/studio/src/components/Timeline/get-timeline-keyframes.ts b/packages/studio/src/components/Timeline/get-timeline-keyframes.tsindex 541cee2edf..ea6b7b9de5 100644--- a/packages/studio/src/components/Timeline/get-timeline-keyframes.ts+++ b/packages/studio/src/components/Timeline/get-timeline-keyframes.ts@@ -9,4 +9,4 @@ export const {getKeyframeSourceFrame,getTimelineKeyframes,resolveKeyframeSourceFrame,-} = CanvasInternals;+}: typeof CanvasInternals = CanvasInternals;diff --git a/packages/studio/src/components/Timeline/timeline-translate-utils.ts b/packages/studio/src/components/Timeline/timeline-translate-utils.tsindex 3f6f83931d..88edcdc569 100644--- a/packages/studio/src/components/Timeline/timeline-translate-utils.ts+++ b/packages/studio/src/components/Timeline/timeline-translate-utils.ts@@ -11,4 +11,4 @@ export const {parseTranslateWithUnits,serializeTranslate,serializeTranslateWithUnits,-} = CanvasInternals;+}: typeof CanvasInternals = CanvasInternals;diff --git a/packages/studio/src/components/selected-outline-drag.ts b/packages/studio/src/components/selected-outline-drag.tsindex c1f914c8bf..a5e7085c1d 100644--- a/packages/studio/src/components/selected-outline-drag.ts+++ b/packages/studio/src/components/selected-outline-drag.ts@@ -101,7 +101,7 @@ export const getSelectedOutlineActiveSchema = ({export const {isCanvasOutlineDragPastThreshold: isSelectedOutlineDragPastThreshold,clearCanvasOutlineDragOverrides: clearSelectedOutlineDragOverrides,-} = CanvasInternals;+}: typeof CanvasInternals = CanvasInternals;export type SelectedOutlineStaticDragChange = CanvasOutlineStaticDragChange;export type SelectedOutlineKeyframedDragChange =diff --git a/packages/studio/src/components/selected-outline-measurement.ts b/packages/studio/src/components/selected-outline-measurement.tsindex 855a4bf88e..5116aa8b32 100644--- a/packages/studio/src/components/selected-outline-measurement.ts+++ b/packages/studio/src/components/selected-outline-measurement.ts@@ -26,7 +26,7 @@ export const {cropCanvasOutlinePoints: cropOutlinePoints,getTransformedSvgViewportPoints,measureCanvasOutlineTargets: measureOutlineTargets,-} = CanvasInternals;+}: typeof CanvasInternals = CanvasInternals;export const pointToString = (point: OutlinePoint) => `${point.x},${point.y}`;diff --git a/packages/studio/src/components/selected-outline-order.ts b/packages/studio/src/components/selected-outline-order.tsindex 69a5bf5758..a79d2c8123 100644--- a/packages/studio/src/components/selected-outline-order.ts+++ b/packages/studio/src/components/selected-outline-order.ts@@ -1,3 +1,4 @@import {CanvasInternals} from '@remotion/sdk';-export const {orderCanvasOutlinesForRendering: orderOutlinesForRendering} =- CanvasInternals;+export const {+ orderCanvasOutlinesForRendering: orderOutlinesForRendering,+}: typeof CanvasInternals = CanvasInternals;diff --git a/packages/studio/src/components/selected-outline-snap.ts b/packages/studio/src/components/selected-outline-snap.tsindex 5b6d22066a..3e1b78c534 100644--- a/packages/studio/src/components/selected-outline-snap.ts+++ b/packages/studio/src/components/selected-outline-snap.ts@@ -14,6 +14,6 @@ export const {canvasOutlineSnapThresholdPx: selectedOutlineSnapThresholdPx,findCanvasOutlineSnap: findSelectedOutlineSnap,getCanvasOutlineSnapTargets: getSelectedOutlineSnapTargets,-} = CanvasInternals;+}: typeof CanvasInternals = CanvasInternals;export const selectedOutlineSnapIndicatorColor = SELECTED_OUTLINE_SNAP_COLOR;diff --git a/packages/studio/src/components/selected-outline-types.ts b/packages/studio/src/components/selected-outline-types.tsindex 3af71a9edf..bed11aa95b 100644--- a/packages/studio/src/components/selected-outline-types.ts+++ b/packages/studio/src/components/selected-outline-types.ts@@ -223,7 +223,9 @@ export type SelectedOutlineRotationDragState = {export type SequenceWithSelectedOutline = CanvasSelectableOutline;-export const {canvasTranslateFieldKey: translateFieldKey} = CanvasInternals;+export const {+ canvasTranslateFieldKey: translateFieldKey,+}: typeof CanvasInternals = CanvasInternals;export const scaleFieldKey = 'style.scale';export const rotateFieldKey = 'style.rotate';export const transformOriginFieldKey = 'style.transformOrigin';diff --git a/packages/studio/src/components/selected-outline-uv.ts b/packages/studio/src/components/selected-outline-uv.tsindex 610f339850..95cc7334b1 100644--- a/packages/studio/src/components/selected-outline-uv.ts+++ b/packages/studio/src/components/selected-outline-uv.ts@@ -28,7 +28,7 @@ import {export const {getCanvasOutlinePoint: getUvHandlePosition,getCanvasOutlineUv: getUvCoordinateForPoint,-} = CanvasInternals;+}: typeof CanvasInternals = CanvasInternals;export type UvCoordinate = readonly [number, number];diff --git a/packages/studio/src/helpers/get-connected-compositions.ts b/packages/studio/src/helpers/get-connected-compositions.tsindex c15d33ca64..c9fc6fda46 100644--- a/packages/studio/src/helpers/get-connected-compositions.ts+++ b/packages/studio/src/helpers/get-connected-compositions.ts@@ -1,2 +1,3 @@import {CanvasInternals} from '@remotion/sdk';-export const {getConnectedCompositions} = CanvasInternals;+export const {getConnectedCompositions}: typeof CanvasInternals =+ CanvasInternals;diff --git a/packages/studio/src/helpers/pointer-session.ts b/packages/studio/src/helpers/pointer-session.tsindex b187741307..f9f6412e47 100644--- a/packages/studio/src/helpers/pointer-session.ts+++ b/packages/studio/src/helpers/pointer-session.ts@@ -7,4 +7,4 @@ export const {observePointerRelease,startCapturedPointerSession,startDeferredCapturedPointerSession,-} = CanvasInternals;+}: typeof CanvasInternals = CanvasInternals;diff --git a/packages/studio/src/helpers/timeline-node-path-key.ts b/packages/studio/src/helpers/timeline-node-path-key.tsindex 164778f675..a70a41977c 100644--- a/packages/studio/src/helpers/timeline-node-path-key.ts+++ b/packages/studio/src/helpers/timeline-node-path-key.ts@@ -2,7 +2,8 @@ import {CanvasInternals} from '@remotion/sdk';import {stringifySequenceExpandedRowKey} from '@remotion/studio-shared';import type {SequenceNodePathInfo} from './get-timeline-sequence-sort-key';-export const {timelineSequenceNodePathToKey} = CanvasInternals;+export const {timelineSequenceNodePathToKey}: typeof CanvasInternals =+ CanvasInternals;export const timelineNodePathInfoToKey = (info: SequenceNodePathInfo): string =>[diff --git a/packages/studio/src/helpers/use-runtime-values.ts b/packages/studio/src/helpers/use-runtime-values.tsindex 1508aee260..76a46d32a3 100644--- a/packages/studio/src/helpers/use-runtime-values.ts+++ b/packages/studio/src/helpers/use-runtime-values.ts@@ -82,5 +82,6 @@ export const useRuntimeValueSelector = <T>({);};-export const {useCanvasRuntimeValueSnapshots: useRuntimeValueSnapshots} =- CanvasInternals;+export const {+ useCanvasRuntimeValueSnapshots: useRuntimeValueSnapshots,+}: typeof CanvasInternals = CanvasInternals;diff --git a/packages/studio/src/helpers/use-sync-external-store.ts b/packages/studio/src/helpers/use-sync-external-store.tsindex 7f15652aeb..0a44016296 100644--- a/packages/studio/src/helpers/use-sync-external-store.ts+++ b/packages/studio/src/helpers/use-sync-external-store.ts@@ -6,6 +6,10 @@ type UseSyncExternalStore = <TSnapshot>(getServerSnapshot?: () => TSnapshot,) => TSnapshot;-export const {useSyncExternalStore} = Internals as typeof Internals & {+export const {+ useSyncExternalStore,+}: typeof Internals & {+ useSyncExternalStore: UseSyncExternalStore;+} = Internals as typeof Internals & {useSyncExternalStore: UseSyncExternalStore;};diff --git a/packages/svg-3d-engine/package.json b/packages/svg-3d-engine/package.jsonindex fb863121b0..708de2d11c 100644--- a/packages/svg-3d-engine/package.json+++ b/packages/svg-3d-engine/package.json@@ -6,14 +6,14 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"main": "dist/cjs/index.js","types": "dist/cjs/index.d.ts","module": "dist/esm/index.mjs","scripts": {"lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"exports": {"./package.json": "./package.json",diff --git a/packages/tailwind-v4/package.json b/packages/tailwind-v4/package.jsonindex 69e4a0de8a..f88e6bb300 100644--- a/packages/tailwind-v4/package.json+++ b/packages/tailwind-v4/package.json@@ -10,7 +10,7 @@"module": "dist/esm/index.mjs","scripts": {"lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -31,7 +31,7 @@"@remotion/bundler": "workspace:*","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/tailwind/package.json b/packages/tailwind/package.jsonindex 51c98002ab..b46b4ebeca 100644--- a/packages/tailwind/package.json+++ b/packages/tailwind/package.json@@ -10,7 +10,7 @@"module": "dist/esm/index.mjs","scripts": {"lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -35,7 +35,7 @@"autoprefixer": "10.4.20","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/test-utils/package.json b/packages/test-utils/package.jsonindex 94620a6a1a..1c62e99582 100644--- a/packages/test-utils/package.json+++ b/packages/test-utils/package.json@@ -7,7 +7,7 @@"main": "dist","scripts": {"lint": "eslint src",- "make": "tsgo -d"+ "make": "node node_modules/typescript-native/bin/tsc -d"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -21,7 +21,7 @@"remotion": "workspace:*","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"private": true}diff --git a/packages/three/package.json b/packages/three/package.jsonindex 5debca5a7d..d400b3a64a 100644--- a/packages/three/package.json+++ b/packages/three/package.json@@ -12,7 +12,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"author": "Björn Zeutzheim","contributors": [],@@ -41,7 +41,7 @@"three": "catalog:","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/timeline-utils/package.json b/packages/timeline-utils/package.jsonindex d016b0e01b..04e6615111 100644--- a/packages/timeline-utils/package.json+++ b/packages/timeline-utils/package.json@@ -10,7 +10,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts",+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts","test": "bun test src"},"types": "dist/index.d.ts",@@ -28,7 +28,7 @@"@mediabunny/server": "catalog:","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"publishConfig": {"access": "public"diff --git a/packages/transitions/package.json b/packages/transitions/package.jsonindex 6bead6b6be..9bae0c02d5 100644--- a/packages/transitions/package.json+++ b/packages/transitions/package.json@@ -13,7 +13,7 @@"lint": "eslint src","formatting": "oxfmt src --check","format": "oxfmt src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger","contributors": [],@@ -35,7 +35,7 @@"@remotion/player": "workspace:*","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"peerDependencies": {"react": ">=16.8.0",diff --git a/packages/vercel/package.json b/packages/vercel/package.jsonindex 244f1b4789..d282e321eb 100644--- a/packages/vercel/package.json+++ b/packages/vercel/package.json@@ -13,8 +13,8 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "watch": "tsgo -w",- "make": "bun --env-file=../.env.bundle bundle.ts && tsgo && bun check -p tsconfig.scripts.json"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "bun --env-file=../.env.bundle bundle.ts && node node_modules/typescript-native/bin/tsc && bun check -p tsconfig.scripts.json"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -42,7 +42,7 @@"@vercel/blob": "2.3.0","@vercel/sandbox": "1.6.0","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/video-matting/package.json b/packages/video-matting/package.jsonindex f98869a79b..9b30bfee36 100644--- a/packages/video-matting/package.json+++ b/packages/video-matting/package.json@@ -14,8 +14,8 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "watch": "tsgo -w",- "make": "tsgo && bun --env-file=../.env.bundle bundle.ts"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "node node_modules/typescript-native/bin/tsc && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -41,7 +41,7 @@"devDependencies": {"@huggingface/transformers": "catalog:","@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:",+ "typescript-native": "catalog:","eslint": "catalog:"},"keywords": [diff --git a/packages/web-renderer/package.json b/packages/web-renderer/package.jsonindex 3a34493204..4a860ba439 100644--- a/packages/web-renderer/package.json+++ b/packages/web-renderer/package.json@@ -10,8 +10,8 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "make": "tsgo && bun --env-file=../.env.bundle bundle.ts",- "watch": "tsgo -w",+ "make": "node node_modules/typescript-native/bin/tsc && bun --env-file=../.env.bundle bundle.ts",+ "watch": "node node_modules/typescript-native/bin/tsc -w","testwebrenderer": "vitest src/test --browser --run","studio": "cd ../example && bunx remotion studio ../web-renderer/src/test/studio.ts --public-dir=../example-videos/videos","remotion": "cd ../example && bunx remotion studio ../web-renderer/src/test/studio.ts --public-dir=../example-videos/videos"@@ -38,7 +38,7 @@"@remotion/three": "workspace:*","@remotion/transitions": "workspace:*","@types/three": "catalog:",- "@typescript/native-preview": "catalog:",+ "typescript-native": "catalog:","@vitejs/plugin-react": "catalog:","@vitest/browser-playwright": "catalog:","playwright": "catalog:",diff --git a/packages/webcodecs/package.json b/packages/webcodecs/package.jsonindex 2ada793a17..2921f6fa1a 100644--- a/packages/webcodecs/package.json+++ b/packages/webcodecs/package.json@@ -15,8 +15,8 @@"format": "oxfmt src","lint": "eslint src","test": "bun test src/test",- "watch": "tsgo -w",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"files": ["dist",@@ -37,7 +37,7 @@"vite": "6.4.3","@playwright/test": "1.60.0","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": [],"publishConfig": {diff --git a/packages/webcodecs/src/log.ts b/packages/webcodecs/src/log.tsindex cc2aee0abe..12c762be94 100644--- a/packages/webcodecs/src/log.ts+++ b/packages/webcodecs/src/log.ts@@ -1,7 +1,7 @@import type {MediaParserLogLevel} from '@remotion/media-parser';import {MediaParserInternals} from '@remotion/media-parser';-const {Log} = MediaParserInternals;+const {Log}: typeof MediaParserInternals = MediaParserInternals;export {Log};diff --git a/packages/whisper-web/package.json b/packages/whisper-web/package.jsonindex 5844fde58d..906b126fb7 100644--- a/packages/whisper-web/package.json+++ b/packages/whisper-web/package.json@@ -9,7 +9,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"author": "Hunain Ahmed <[email protected]>","license": "UNLICENSED",@@ -19,7 +19,7 @@"devDependencies": {"@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"publishConfig": {"access": "public"diff --git a/packages/whisper-webgpu/package.json b/packages/whisper-webgpu/package.jsonindex f6594bdf2d..dfdf08f451 100644--- a/packages/whisper-webgpu/package.json+++ b/packages/whisper-webgpu/package.json@@ -14,8 +14,8 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "watch": "tsgo -w",- "make": "tsgo && bun --env-file=../.env.bundle bundle.ts"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "node node_modules/typescript-native/bin/tsc && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -41,7 +41,7 @@"devDependencies": {"@huggingface/transformers": "catalog:","@remotion/eslint-config-internal": "workspace:*",- "@typescript/native-preview": "catalog:",+ "typescript-native": "catalog:","eslint": "catalog:"},"keywords": [diff --git a/packages/zod-types-v3/package.json b/packages/zod-types-v3/package.jsonindex 5a3663e182..1fcec16f95 100644--- a/packages/zod-types-v3/package.json+++ b/packages/zod-types-v3/package.json@@ -13,8 +13,8 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "watch": "tsgo -w",- "make": "tsgo && bun --env-file=../.env.bundle bundle.ts"+ "watch": "node node_modules/typescript-native/bin/tsc -w",+ "make": "node node_modules/typescript-native/bin/tsc && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],@@ -41,7 +41,7 @@"zod": "3.22.3","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["remotion",diff --git a/packages/zod-types/package.json b/packages/zod-types/package.jsonindex 711ab1063e..e42245d7d6 100644--- a/packages/zod-types/package.json+++ b/packages/zod-types/package.json@@ -12,7 +12,7 @@"formatting": "oxfmt src --check","format": "oxfmt src","lint": "eslint src",- "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"+ "make": "node node_modules/typescript-native/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger","contributors": [],@@ -27,7 +27,7 @@"zod": "catalog:","@remotion/eslint-config-internal": "workspace:*","eslint": "catalog:",- "@typescript/native-preview": "catalog:"+ "typescript-native": "catalog:"},"keywords": ["zod",diff --git a/publish.ts b/publish.tsindex 11c9ddd240..bd9ab38a8b 100644--- a/publish.ts+++ b/publish.ts@@ -64,7 +64,7 @@ const packagesToPublish: {dir: string;name: string;hasLicense: boolean;- hasTsgoBuild: boolean;+ hasNativeTypescriptBuild: boolean;hasPrepublishOnly: boolean;packagePath: string;}[] = [];@@ -106,7 +106,9 @@ for (const dir of dirs) {dir,name: packageJson.name,hasLicense: packageJson.license?.includes('LICENSE.md') === true,- hasTsgoBuild: /\btsgo\b/.test(packageJson.scripts?.make ?? ''),+ hasNativeTypescriptBuild: /\btypescript-native[\\/]bin[\\/]tsc\b/.test(+ packageJson.scripts?.make ?? '',+ ),hasPrepublishOnly: typeof packageJson.scripts?.prepublishOnly === 'string',packagePath,});@@ -121,11 +123,11 @@ if (!listOnly) {const validatedTarballs = new Map<string, string>();try {- // Validate the exact archives that will be published. A successful tsgo build+ // Validate the exact archives that will be published. A successful native TypeScript build// once left dist/render-queue/queue.js empty in @remotion/[email protected].const preflightResults = await Promise.allSettled(packagesToPublish- .filter(({hasTsgoBuild}) => hasTsgoBuild)+ .filter(({hasNativeTypescriptBuild}) => hasNativeTypescriptBuild).map(({dir, name, hasLicense, hasPrepublishOnly, packagePath}) =>p(async () => {const licensePath = path.join(packagePath, 'LICENSE.md');