Skip to content

🎥 Make videos programmatically with React

upgrade and bring tiktok template

Jonny Burger434f43f4e981
diff --git a/package.json b/package.json
index 6c3a9a3305..47a1d28ccf 100644
--- a/package.json
+++ b/package.json
@@ -38,7 +38,7 @@
},
"dependencies": {
"turbo": "1.13.3",
- "typescript": "5.3.3"
+ "typescript": "5.6.2"
},
"packageManager": "[email protected]"
}
diff --git a/packages/create-video/src/templates.tsx b/packages/create-video/src/templates.tsx
index e4447a63bd..c9ebce2f9d 100644
--- a/packages/create-video/src/templates.tsx
+++ b/packages/create-video/src/templates.tsx
@@ -422,7 +422,7 @@ export const FEATURED_TEMPLATES: Template[] = [
defaultBranch: 'main',
featuredOnHomePage: null,
previewURL: null,
- templateInMonorepo: null,
- allowEnableTailwind: false,
+ templateInMonorepo: 'template-tiktok',
+ allowEnableTailwind: true,
},
].filter(truthy);
diff --git a/packages/it-tests/src/cloudrun/cloudrun-browser-bundle.test.ts b/packages/it-tests/src/cloudrun/cloudrun-browser-bundle.test.ts
index 7f191bb06c..b77c6fb7d7 100644
--- a/packages/it-tests/src/cloudrun/cloudrun-browser-bundle.test.ts
+++ b/packages/it-tests/src/cloudrun/cloudrun-browser-bundle.test.ts
@@ -13,7 +13,7 @@ test('Should not be able to bundle @remotion/cloudrun directly', async () => {
entryPoints: [require.resolve('@remotion/cloudrun')],
logLevel: 'silent',
}),
- ).toThrow(/Could not resolve "uglify-js"/);
+ ).toThrow(/Could not resolve "@swc\/wasm"/);
});
describe('Should be able to bundle @remotion/cloudrun/client with ESBuild', () => {
diff --git a/packages/it-tests/src/lambda/lambda-browser-bundle.test.ts b/packages/it-tests/src/lambda/lambda-browser-bundle.test.ts
index 883f574120..3da8ab3a5b 100644
--- a/packages/it-tests/src/lambda/lambda-browser-bundle.test.ts
+++ b/packages/it-tests/src/lambda/lambda-browser-bundle.test.ts
@@ -13,7 +13,7 @@ test('Should not be able to bundle @remotion/lambda directly', async () => {
entryPoints: [require.resolve('@remotion/lambda')],
logLevel: 'silent',
}),
- ).toThrow(/Could not resolve "uglify-js"/);
+ ).toThrow(/Could not resolve "@swc\/wasm"/);
});
describe('Should be able to bundle @remotion/lambda/client with ESBuild', () => {
diff --git a/packages/template-blank/package.json b/packages/template-blank/package.json
index 9f1ca5c70e..c5ecc2c22b 100644
--- a/packages/template-blank/package.json
+++ b/packages/template-blank/package.json
@@ -22,7 +22,7 @@
"@types/web": "0.0.78",
"eslint": "8.56.0",
"prettier": "3.2.5",
- "typescript": "5.3.3"
+ "typescript": "5.6.2"
},
"private": true
}
diff --git a/packages/template-code-hike/.eslintrc b/packages/template-code-hike/.eslintrc
new file mode 100644
index 0000000000..9ec5ca74c5
--- /dev/null
+++ b/packages/template-code-hike/.eslintrc
@@ -0,0 +1,3 @@
+{
+ "extends": "@remotion"
+}
diff --git a/packages/template-code-hike/.gitignore b/packages/template-code-hike/.gitignore
new file mode 100644
index 0000000000..b62197ba2f
--- /dev/null
+++ b/packages/template-code-hike/.gitignore
@@ -0,0 +1,7 @@
+node_modules
+dist
+.DS_Store
+.env
+
+# Ignore the output video from Git but not videos you import into src/.
+out
diff --git a/packages/template-code-hike/.prettierrc b/packages/template-code-hike/.prettierrc
new file mode 100644
index 0000000000..a8d69b60cb
--- /dev/null
+++ b/packages/template-code-hike/.prettierrc
@@ -0,0 +1,13 @@
+{
+ "singleQuote": true,
+ "bracketSpacing": false,
+ "useTabs": true,
+ "overrides": [
+ {
+ "files": ["*.yml"],
+ "options": {
+ "singleQuote": false
+ }
+ }
+ ]
+}
diff --git a/packages/template-code-hike/README.md b/packages/template-code-hike/README.md
new file mode 100644
index 0000000000..fea333b2ae
--- /dev/null
+++ b/packages/template-code-hike/README.md
@@ -0,0 +1,63 @@
+# Remotion video
+
+<p align="center">
+ <a href="https://github.com/remotion-dev/logo">
+ <picture>
+ <source media="(prefers-color-scheme: dark)" srcset="https://github.com/remotion-dev/logo/raw/main/animated-logo-banner-dark.gif">
+ <img alt="Animated Remotion Logo" src="https://github.com/remotion-dev/logo/raw/main/animated-logo-banner-light.gif">
+ </picture>
+ </a>
+</p>
+
+Welcome to your Remotion project!
+
+## Commands
+
+**Install Dependencies**
+
+```console
+npm i
+```
+
+**Start Preview**
+
+```console
+npm start
+```
+
+**Change code snippets**
+
+The snippets are located in the `public` folder.
+Change the code or create new files in there.
+
+**Render video**
+
+```console
+npm run build
+```
+
+**Upgrade Remotion**
+
+```console
+bun run upgrade
+```
+
+## More examples
+
+Visit the [Code Hike examples](https://github.com/code-hike/examples/tree/main/with-remotion) for more variants of code animations.
+
+## Docs
+
+Get started with Remotion by reading the [fundamentals page](https://www.remotion.dev/docs/the-fundamentals).
+
+## Help
+
+We provide help on our [Discord server](https://discord.gg/6VzzNDwUwV).
+
+## Issues
+
+Found an issue with Remotion? [File an issue here](https://github.com/remotion-dev/remotion/issues/new).
+
+## License
+
+Note that for some entities a company license is needed. [Read the terms here](https://github.com/remotion-dev/remotion/blob/main/LICENSE.md).
diff --git a/packages/template-code-hike/package.json b/packages/template-code-hike/package.json
new file mode 100644
index 0000000000..8509ea47b9
--- /dev/null
+++ b/packages/template-code-hike/package.json
@@ -0,0 +1,37 @@
+{
+ "name": "code-animation",
+ "version": "1.0.0",
+ "description": "My Remotion video",
+ "repository": {},
+ "license": "UNLICENSED",
+ "type": "module",
+ "dependencies": {
+ "@code-hike/lighter": "0.9.4",
+ "@remotion/cli": "workspace:*",
+ "@remotion/google-fonts": "workspace:*",
+ "@remotion/studio": "workspace:*",
+ "@remotion/layout-utils": "workspace:*",
+ "codehike": "1.0.0-beta.2",
+ "react": "18.3.1",
+ "react-dom": "18.3.1",
+ "remotion": "workspace:*",
+ "twoslash-cdn": "0.2.9",
+ "polished": "4.3.1",
+ "zod": "3.22.3"
+ },
+ "devDependencies": {
+ "@remotion/eslint-config": "workspace:*",
+ "@types/react": "18.3.1",
+ "@types/web": "0.0.78",
+ "eslint": "8.56.0",
+ "prettier": "3.2.5",
+ "typescript": "5.6.2"
+ },
+ "scripts": {
+ "start": "remotion studio",
+ "build": "remotion render Main out/video.mp4",
+ "upgrade": "remotion upgrade",
+ "test": "eslint src --ext ts,tsx,js,jsx && tsc"
+ },
+ "private": true
+}
diff --git a/packages/template-code-hike/public/code1.tsx b/packages/template-code-hike/public/code1.tsx
new file mode 100644
index 0000000000..8d180882fa
--- /dev/null
+++ b/packages/template-code-hike/public/code1.tsx
@@ -0,0 +1,7 @@
+const user = {
+ name: 'Lorem',
+ age: 26,
+};
+
+console.log(user);
+// ^?
diff --git a/packages/template-code-hike/public/code2.tsx b/packages/template-code-hike/public/code2.tsx
new file mode 100644
index 0000000000..f107f11704
--- /dev/null
+++ b/packages/template-code-hike/public/code2.tsx
@@ -0,0 +1,6 @@
+const user = {
+ name: 'Lorem',
+ age: 26,
+};
+// @errors: 2339
+console.log(user.location);
diff --git a/packages/template-code-hike/public/code3.tsx b/packages/template-code-hike/public/code3.tsx
new file mode 100644
index 0000000000..30d59fc95d
--- /dev/null
+++ b/packages/template-code-hike/public/code3.tsx
@@ -0,0 +1,8 @@
+const user = {
+ name: 'Lorem',
+ age: 26,
+ location: 'Ipsum',
+};
+
+console.log(user.location);
+// ^?
diff --git a/packages/template-code-hike/public/code4.swift b/packages/template-code-hike/public/code4.swift
new file mode 100644
index 0000000000..78382285ff
--- /dev/null
+++ b/packages/template-code-hike/public/code4.swift
@@ -0,0 +1,15 @@
+class Person {
+ var name: String
+ var age: Int
+
+ init(name: String, age: Int) {
+ self.name = name
+ self.age = age
+ }
+}
+
+let user = Person(name: "Lorem", age: 26)
+
+print(user.location)
+
+
diff --git a/packages/template-code-hike/remotion.config.ts b/packages/template-code-hike/remotion.config.ts
new file mode 100644
index 0000000000..dcbd615700
--- /dev/null
+++ b/packages/template-code-hike/remotion.config.ts
@@ -0,0 +1,4 @@
+import {Config} from '@remotion/cli/config';
+
+Config.setVideoImageFormat('jpeg');
+Config.setOverwriteOutput(true);
diff --git a/packages/template-code-hike/src/CodeTransition.tsx b/packages/template-code-hike/src/CodeTransition.tsx
new file mode 100644
index 0000000000..682c11fd4a
--- /dev/null
+++ b/packages/template-code-hike/src/CodeTransition.tsx
@@ -0,0 +1,96 @@
+import {Easing, interpolate} from 'remotion';
+import {continueRender, delayRender, useCurrentFrame} from 'remotion';
+import {Pre, HighlightedCode, AnnotationHandler} from 'codehike/code';
+import React, {useEffect, useLayoutEffect, useMemo, useState} from 'react';
+
+import {
+ calculateTransitions,
+ getStartingSnapshot,
+ TokenTransitionsSnapshot,
+} from 'codehike/utils/token-transitions';
+import {applyStyle} from './utils';
+import {callout} from './annotations/Callout';
+
+import {tokenTransitions} from './annotations/InlineToken';
+import {errorInline, errorMessage} from './annotations/Error';
+import {fontFamily, fontSize, tabSize} from './font';
+
+export function CodeTransition({
+ oldCode,
+ newCode,
+ durationInFrames = 30,
+}: {
+ oldCode: HighlightedCode | null;
+ newCode: HighlightedCode;
+ durationInFrames?: number;
+}) {
+ const frame = useCurrentFrame();
+
+ const ref = React.useRef<HTMLPreElement>(null);
+ const [oldSnapshot, setOldSnapshot] =
+ useState<TokenTransitionsSnapshot | null>(null);
+ const [handle] = React.useState(() => delayRender());
+
+ const prevCode: HighlightedCode = useMemo(() => {
+ return oldCode || {...newCode, tokens: [], annotations: []};
+ }, [newCode, oldCode]);
+
+ const code = useMemo(() => {
+ return oldSnapshot ? newCode : prevCode;
+ }, [newCode, prevCode, oldSnapshot]);
+
+ useEffect(() => {
+ if (!oldSnapshot) {
+ setOldSnapshot(getStartingSnapshot(ref.current!));
+ }
+ }, [oldSnapshot]);
+
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ useLayoutEffect(() => {
+ if (!oldSnapshot) {
+ setOldSnapshot(getStartingSnapshot(ref.current!));
+ return;
+ }
+ const transitions = calculateTransitions(ref.current!, oldSnapshot);
+ transitions.forEach(({element, keyframes, options}) => {
+ const delay = durationInFrames * options.delay;
+ const duration = durationInFrames * options.duration;
+ const linearProgress = interpolate(
+ frame,
+ [delay, delay + duration],
+ [0, 1],
+ {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ },
+ );
+ const progress = interpolate(linearProgress, [0, 1], [0, 1], {
+ easing: Easing.bezier(0.17, 0.67, 0.76, 0.91),
+ });
+
+ applyStyle({
+ element,
+ keyframes,
+ progress,
+ linearProgress,
+ });
+ });
+ continueRender(handle);
+ });
+
+ const handlers: AnnotationHandler[] = useMemo(() => {
+ return [tokenTransitions, callout, errorInline, errorMessage];
+ }, []);
+
+ const style: React.CSSProperties = useMemo(() => {
+ return {
+ position: 'relative',
+ fontSize,
+ lineHeight: 1.5,
+ fontFamily,
+ tabSize,
+ };
+ }, []);
+
+ return <Pre ref={ref} code={code} handlers={handlers} style={style} />;
+}
diff --git a/packages/template-code-hike/src/Main.tsx b/packages/template-code-hike/src/Main.tsx
new file mode 100644
index 0000000000..5a7b3f6b61
--- /dev/null
+++ b/packages/template-code-hike/src/Main.tsx
@@ -0,0 +1,74 @@
+import {AbsoluteFill, Series, useVideoConfig} from 'remotion';
+import {ProgressBar} from './ProgressBar';
+import {CodeTransition} from './CodeTransition';
+import {HighlightedCode} from 'codehike/code';
+import {ThemeColors, ThemeProvider} from './calculate-metadata/theme';
+import {useMemo} from 'react';
+import {RefreshOnCodeChange} from './ReloadOnCodeChange';
+import {verticalPadding} from './font';
+
+export type Props = {
+ steps: HighlightedCode[] | null;
+ themeColors: ThemeColors | null;
+ codeWidth: number | null;
+};
+
+export const Main: React.FC<Props> = ({steps, themeColors, codeWidth}) => {
+ if (!steps) {
+ throw new Error('Steps are not defined');
+ }
+
+ const {durationInFrames} = useVideoConfig();
+ const stepDuration = durationInFrames / steps.length;
+ const transitionDuration = 30;
+
+ if (!themeColors) {
+ throw new Error('Theme colors are not defined');
+ }
+
+ const outerStyle: React.CSSProperties = useMemo(() => {
+ return {
+ backgroundColor: themeColors.background,
+ };
+ }, [themeColors]);
+
+ const style: React.CSSProperties = useMemo(() => {
+ return {
+ padding: `${verticalPadding}px 0px`,
+ };
+ }, []);
+
+ return (
+ <ThemeProvider themeColors={themeColors}>
+ <AbsoluteFill style={outerStyle}>
+ <AbsoluteFill
+ style={{
+ width: codeWidth || '100%',
+ margin: 'auto',
+ }}
+ >
+ <ProgressBar steps={steps} />
+ <AbsoluteFill style={style}>
+ <Series>
+ {steps.map((step, index) => (
+ <Series.Sequence
+ key={index}
+ layout="none"
+ durationInFrames={stepDuration}
+ name={step.meta}
+ >
+ <CodeTransition
+ oldCode={steps[index - 1]}
+ newCode={step}
+ durationInFrames={transitionDuration}
+ />
+ </Series.Sequence>
+ ))}
+ </Series>
+ </AbsoluteFill>
+ </AbsoluteFill>
+ </AbsoluteFill>
+ <RefreshOnCodeChange />
+ </ThemeProvider>
+ );
+};
diff --git a/packages/template-code-hike/src/ProgressBar.tsx b/packages/template-code-hike/src/ProgressBar.tsx
new file mode 100644
index 0000000000..559d7f1161
--- /dev/null
+++ b/packages/template-code-hike/src/ProgressBar.tsx
@@ -0,0 +1,77 @@
+import {useMemo} from 'react';
+import {useCurrentFrame, useVideoConfig} from 'remotion';
+import {useThemeColors} from './calculate-metadata/theme';
+import React from 'react';
+
+const Step: React.FC<{
+ index: number;
+ currentStep: number;
+ currentStepProgress: number;
+}> = ({index, currentStep, currentStepProgress}) => {
+ const themeColors = useThemeColors();
+
+ const outer: React.CSSProperties = useMemo(() => {
+ return {
+ backgroundColor:
+ themeColors.editor.lineHighlightBackground ??
+ themeColors.editor.rangeHighlightBackground,
+ borderRadius: 6,
+ overflow: 'hidden',
+ height: '100%',
+ flex: 1,
+ };
+ }, [themeColors]);
+
+ const inner: React.CSSProperties = useMemo(() => {
+ return {
+ height: '100%',
+ backgroundColor: themeColors.icon.foreground,
+ width:
+ index > currentStep
+ ? 0
+ : index === currentStep
+ ? currentStepProgress * 100 + '%'
+ : '100%',
+ };
+ }, [themeColors.icon.foreground, index, currentStep, currentStepProgress]);
+
+ return (
+ <div style={outer}>
+ <div style={inner} />
+ </div>
+ );
+};
+
+export function ProgressBar({steps}: {steps: unknown[]}) {
+ const frame = useCurrentFrame();
+ const {durationInFrames} = useVideoConfig();
+
+ const stepDuration = durationInFrames / steps.length;
+ const currentStep = Math.floor(frame / stepDuration);
+ const currentStepProgress = (frame % stepDuration) / stepDuration;
+
+ const container: React.CSSProperties = useMemo(() => {
+ return {
+ position: 'absolute',
+ top: 48,
+ height: 6,
+ left: 0,
+ right: 0,
+ display: 'flex',
+ gap: 12,
+ };
+ }, []);
+
+ return (
+ <div style={container}>
+ {steps.map((_, index) => (
+ <Step
+ key={index}
+ currentStep={currentStep}
+ currentStepProgress={currentStepProgress}
+ index={index}
+ />
+ ))}
+ </div>
+ );
+}
diff --git a/packages/template-code-hike/src/ReloadOnCodeChange.tsx b/packages/template-code-hike/src/ReloadOnCodeChange.tsx
new file mode 100644
index 0000000000..e452015762
--- /dev/null
+++ b/packages/template-code-hike/src/ReloadOnCodeChange.tsx
@@ -0,0 +1,31 @@
+import {getStaticFiles, reevaluateComposition} from '@remotion/studio';
+import {useState} from 'react';
+import React, {useEffect} from 'react';
+import {watchPublicFolder} from '@remotion/studio';
+
+const getCurrentHash = () => {
+ const files = getStaticFiles();
+ const codeFiles = files.filter((file) => file.name.startsWith('code'));
+ const contents = codeFiles.map((file) => file.src + file.lastModified);
+ return contents.join('');
+};
+
+export const RefreshOnCodeChange: React.FC = () => {
+ const [files, setFiles] = useState(getCurrentHash());
+
+ useEffect(() => {
+ const {cancel} = watchPublicFolder(() => {
+ const hash = getCurrentHash();
+ if (hash !== files) {
+ setFiles(hash);
+ reevaluateComposition();
+ }
+ });
+
+ return () => {
+ cancel();
+ };
+ }, [files]);
+
+ return null;
+};
diff --git a/packages/template-code-hike/src/Root.tsx b/packages/template-code-hike/src/Root.tsx
new file mode 100644
index 0000000000..92b5a93b0e
--- /dev/null
+++ b/packages/template-code-hike/src/Root.tsx
@@ -0,0 +1,27 @@
+import {Composition} from 'remotion';
+import {Main} from './Main';
+
+import {calculateMetadata} from './calculate-metadata/calculate-metadata';
+import {schema} from './calculate-metadata/schema';
+
+export const RemotionRoot = () => {
+ return (
+ <Composition
+ id="Main"
+ component={Main}
+ defaultProps={{
+ steps: null,
+ themeColors: null,
+ theme: 'github-dark' as const,
+ codeWidth: null,
+ width: {
+ type: 'auto',
+ },
+ }}
+ fps={30}
+ height={1080}
+ calculateMetadata={calculateMetadata}
+ schema={schema}
+ />
+ );
+};
diff --git a/packages/template-code-hike/src/annotations/Callout.tsx b/packages/template-code-hike/src/annotations/Callout.tsx
new file mode 100644
index 0000000000..a9bb8cedd3
--- /dev/null
+++ b/packages/template-code-hike/src/annotations/Callout.tsx
@@ -0,0 +1,75 @@
+import {
+ InlineAnnotation,
+ AnnotationHandler,
+ InnerLine,
+ Pre,
+} from 'codehike/code';
+import {interpolate, useCurrentFrame} from 'remotion';
+import {useThemeColors} from '../calculate-metadata/theme';
+import {mix, readableColor} from 'polished';
+
+export const callout: AnnotationHandler = {
+ name: 'callout',
+ transform: (annotation: InlineAnnotation) => {
+ const {name, query, lineNumber, fromColumn, toColumn, data} = annotation;
+ return {
+ name,
+ query,
+ fromLineNumber: lineNumber,
+ toLineNumber: lineNumber,
+ data: {...data, column: (fromColumn + toColumn) / 2},
+ };
+ },
+ AnnotatedLine: ({annotation, ...props}) => {
+ const {column, codeblock} = annotation.data;
+ const {indentation} = props;
+ const frame = useCurrentFrame();
+
+ const opacity = interpolate(frame, [25, 35], [0, 1], {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ });
+
+ const themeColors = useThemeColors();
+
+ const color = readableColor(themeColors.background);
+ const calloutColor = mix(0.08, color, themeColors.background);
+
+ return (
+ <>
+ <InnerLine merge={props} />
+ <div
+ style={{
+ opacity,
+ minWidth: `${column + 4}ch`,
+ marginLeft: `${indentation}ch`,
+ width: 'fit-content',
+ backgroundColor: calloutColor,
+ padding: '1rem 2rem',
+ position: 'relative',
+ marginTop: '0.25rem',
+ whiteSpace: 'pre-wrap',
+ color: themeColors.editor.foreground,
+ }}
+ >
+ <div
+ style={{
+ left: `${column - indentation - 1}ch`,
+ position: 'absolute',
+ width: '1rem',
+ height: '1rem',
+ transform: 'rotate(45deg) translateY(-50%)',
+ top: '-2px',
+ backgroundColor: calloutColor,
+ }}
+ />
+ {codeblock ? (
+ <Pre code={codeblock} style={{margin: 0, fontFamily: 'inherit'}} />
+ ) : (
+ annotation.data.children || annotation.query
+ )}
+ </div>
+ </>
+ );
+ },
+};
diff --git a/packages/template-code-hike/src/annotations/Error.tsx b/packages/template-code-hike/src/annotations/Error.tsx
new file mode 100644
index 0000000000..2163f99c37
--- /dev/null
+++ b/packages/template-code-hike/src/annotations/Error.tsx
@@ -0,0 +1,76 @@
+import {InlineAnnotation, AnnotationHandler, InnerToken} from 'codehike/code';
+import {interpolate, useCurrentFrame} from 'remotion';
+import {useThemeColors} from '../calculate-metadata/theme';
+import {mix, readableColor} from 'polished';
+
+export const errorInline: AnnotationHandler = {
+ name: 'error',
+ transform: (annotation: InlineAnnotation) => {
+ const {query, lineNumber, data} = annotation;
+ return [
+ annotation,
+ {
+ name: 'error-message',
+ query,
+ fromLineNumber: lineNumber,
+ toLineNumber: lineNumber,
+ data,
+ },
+ ];
+ },
+ Inline: ({children}) => (
+ <span
+ style={{
+ // @ts-expect-error - React types
+ '--decoration': 'underline wavy red',
+ }}
+ >
+ {children}
+ </span>
+ ),
+ Token: (props) => {
+ return (
+ <InnerToken
+ merge={props}
+ style={{
+ textDecoration: 'var(--decoration)',
+ }}
+ />
+ );
+ },
+};
+
+export const errorMessage: AnnotationHandler = {
+ name: 'error-message',
+ Block: ({annotation, children}) => {
+ const frame = useCurrentFrame();
+ const opacity = interpolate(frame, [25, 35], [0, 1], {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ });
+ const themeColors = useThemeColors();
+
+ const color = readableColor(themeColors.background);
+ const calloutColor = mix(0.08, color, themeColors.background);
+
+ return (
+ <>
+ {children}
+ <div
+ style={{
+ opacity,
+ borderLeft: '4px solid red',
+ marginLeft: '-1rem',
+ backgroundColor: calloutColor,
+ padding: '1rem 2rem',
+ marginTop: '0.5rem',
+ whiteSpace: 'pre-wrap',
+ color: themeColors.editor.foreground,
+ }}
+ >
+ {annotation.data.children || annotation.query}
+ </div>
+ </>
+ );
+ },
+};
diff --git a/packages/template-code-hike/src/annotations/InlineToken.tsx b/packages/template-code-hike/src/annotations/InlineToken.tsx
new file mode 100644
index 0000000000..a08150adf7
--- /dev/null
+++ b/packages/template-code-hike/src/annotations/InlineToken.tsx
@@ -0,0 +1,8 @@
+import {AnnotationHandler, InnerToken} from 'codehike/code';
+
+export const tokenTransitions: AnnotationHandler = {
+ name: 'token-transitions',
+ Token: ({...props}) => (
+ <InnerToken merge={props} style={{display: 'inline-block'}} />
+ ),
+};
diff --git a/packages/template-code-hike/src/calculate-metadata/calculate-metadata.tsx b/packages/template-code-hike/src/calculate-metadata/calculate-metadata.tsx
new file mode 100644
index 0000000000..a360b0afa4
--- /dev/null
+++ b/packages/template-code-hike/src/calculate-metadata/calculate-metadata.tsx
@@ -0,0 +1,69 @@
+import {z} from 'zod';
+import {CalculateMetadataFunction} from 'remotion';
+import {getThemeColors} from '@code-hike/lighter';
+import {Props} from '../Main';
+import {schema} from './schema';
+import {processSnippet} from './process-snippet';
+import {getFiles} from './get-files';
+import {measureText} from '@remotion/layout-utils';
+import {
+ fontFamily,
+ fontSize,
+ horizontalPadding,
+ tabSize,
+ waitUntilDone,
+} from '../font';
+import {HighlightedCode} from 'codehike/code';
+
+export const calculateMetadata: CalculateMetadataFunction<
+ Props & z.infer<typeof schema>
+> = async ({props}) => {
+ const contents = await getFiles();
+
+ await waitUntilDone();
+ const widthPerCharacter = measureText({
+ text: 'A',
+ fontFamily,
+ fontSize,
+ validateFontIsLoaded: true,
+ }).width;
+
+ const maxCharacters = Math.max(
+ ...contents
+ .map(({value}) => value.split('\n'))
+ .flat()
+ .map((value) => value.replaceAll('\t', ' '.repeat(tabSize)).length)
+ .flat(),
+ );
+ const codeWidth = widthPerCharacter * maxCharacters;
+
+ const defaultStepDuration = 90;
+
+ const themeColors = await getThemeColors(props.theme);
+
+ const twoSlashedCode: HighlightedCode[] = [];
+ for (const snippet of contents) {
+ twoSlashedCode.push(await processSnippet(snippet, props.theme));
+ }
+
+ const naturalWidth = codeWidth + horizontalPadding * 2;
+ const divisibleByTwo = Math.ceil(naturalWidth / 2) * 2; // MP4 requires an even width
+
+ const minimumWidth = props.width.type === 'fixed' ? 0 : 1080;
+ const minimumWidthApplied = Math.max(minimumWidth, divisibleByTwo);
+
+ return {
+ durationInFrames: contents.length * defaultStepDuration,
+ width:
+ props.width.type === 'fixed'
+ ? Math.max(minimumWidthApplied, props.width.value)
+ : minimumWidthApplied,
+ props: {
+ theme: props.theme,
+ width: props.width,
+ steps: twoSlashedCode,
+ themeColors,
+ codeWidth,
+ },
+ };
+};
diff --git a/packages/template-code-hike/src/calculate-metadata/get-files.ts b/packages/template-code-hike/src/calculate-metadata/get-files.ts
new file mode 100644
index 0000000000..ba26d332ee
--- /dev/null
+++ b/packages/template-code-hike/src/calculate-metadata/get-files.ts
@@ -0,0 +1,20 @@
+import {getStaticFiles} from '@remotion/studio';
+
+export type PublicFolderFile = {
+ filename: string;
+ value: string;
+};
+
+export const getFiles = async () => {
+ const files = getStaticFiles();
+ const codeFiles = files.filter((file) => file.name.startsWith('code'));
+
+ const contents = codeFiles.map(async (file): Promise<PublicFolderFile> => {
+ const contents = await fetch(file.src);
+ const text = await contents.text();
+
+ return {filename: file.name, value: text};
+ });
+
+ return Promise.all(contents);
+};
diff --git a/packages/template-code-hike/src/calculate-metadata/process-snippet.ts b/packages/template-code-hike/src/calculate-metadata/process-snippet.ts
new file mode 100644
index 0000000000..7bd80c4d59
--- /dev/null
+++ b/packages/template-code-hike/src/calculate-metadata/process-snippet.ts
@@ -0,0 +1,72 @@
+import {highlight} from 'codehike/code';
+import {createTwoslashFromCDN} from 'twoslash-cdn';
+import {PublicFolderFile} from './get-files';
+import {Theme} from './theme';
+import {CompilerOptions, JsxEmit, ScriptTarget} from 'typescript';
+
+const compilerOptions: CompilerOptions = {
+ lib: ['dom', 'es2023'],
+ jsx: JsxEmit.ReactJSX,
+ target: ScriptTarget.ES2023,
+};
+
+const twoslash = createTwoslashFromCDN({
+ compilerOptions,
+});
+
+export const processSnippet = async (step: PublicFolderFile, theme: Theme) => {
+ const splitted = step.filename.split('.');
+ const extension = splitted[splitted.length - 1];
+
+ const twoslashResult =
+ extension === 'ts' || extension === 'tsx'
+ ? await twoslash.run(step.value, extension, {
+ compilerOptions,
+ })
+ : null;
+
+ const highlighted = await highlight(
+ {
+ lang: extension,
+ meta: '',
+ value: twoslashResult ? twoslashResult.code : step.value,
+ },
+ theme,
+ );
+
+ if (!twoslashResult) {
+ return highlighted;
+ }
+
+ // If it is TypeScript code, let's also generate callouts (^?) and errors
+ for (const {text, line, character, length} of twoslashResult.queries) {
+ const codeblock = await highlight(
+ {value: text, lang: 'ts', meta: 'callout'},
+ theme,
+ );
+ highlighted.annotations.push({
+ name: 'callout',
+ query: text,
+ lineNumber: line + 1,
+ data: {
+ character,
+ codeblock,
+ },
+ fromColumn: character,
+ toColumn: character + length,
+ });
+ }
+
+ for (const {text, line, character, length} of twoslashResult.errors) {
+ highlighted.annotations.push({
+ name: 'error',
+ query: text,
+ lineNumber: line + 1,
+ data: {character},
+ fromColumn: character,
+ toColumn: character + length,
+ });
+ }
+
+ return highlighted;
+};
diff --git a/packages/template-code-hike/src/calculate-metadata/schema.ts b/packages/template-code-hike/src/calculate-metadata/schema.ts
new file mode 100644
index 0000000000..60bc473fc7
--- /dev/null
+++ b/packages/template-code-hike/src/calculate-metadata/schema.ts
@@ -0,0 +1,17 @@
+import {z} from 'zod';
+import {themeSchema} from './theme';
+
+export const width = z.discriminatedUnion('type', [
+ z.object({
+ type: z.literal('auto'),
+ }),
+ z.object({
+ type: z.literal('fixed'),
+ value: z.number().step(1),
+ }),
+]);
+
+export const schema = z.object({
+ theme: themeSchema,
+ width,
+});
diff --git a/packages/template-code-hike/src/calculate-metadata/theme.tsx b/packages/template-code-hike/src/calculate-metadata/theme.tsx
new file mode 100644
index 0000000000..b40c0880c5
--- /dev/null
+++ b/packages/template-code-hike/src/calculate-metadata/theme.tsx
@@ -0,0 +1,57 @@
+import {z} from 'zod';
+import {getThemeColors} from '@code-hike/lighter';
+import React from 'react';
+
+export type ThemeColors = Awaited<ReturnType<typeof getThemeColors>>;
+
+export const themeSchema = z.enum([
+ 'dark-plus',
+ 'dracula-soft',
+ 'dracula',
+ 'github-dark',
+ 'github-dark-dimmed',
+ 'github-light',
+ 'light-plus',
+ 'material-darker',
+ 'material-default',
+ 'material-lighter',
+ 'material-ocean',
+ 'material-palenight',
+ 'min-dark',
+ 'min-light',
+ 'monokai',
+ 'nord',
+ 'one-dark-pro',
+ 'poimandres',
+ 'slack-dark',
+ 'slack-ochin',
+ 'solarized-dark',
+ 'solarized-light',
+]);
+
+export type Theme = z.infer<typeof themeSchema>;
+
+export const ThemeColorsContext = React.createContext<ThemeColors | null>(null);
+
+export const useThemeColors = () => {
+ const themeColors = React.useContext(ThemeColorsContext);
+ if (!themeColors) {
+ throw new Error('ThemeColorsContext not found');
+ }
+
+ return themeColors;
+};
+
+export const ThemeProvider = ({
+ children,
+ themeColors,
+}: {
+ children: React.ReactNode;
+ themeColors: ThemeColors;
+}) => {
+ return (
+ <ThemeColorsContext.Provider value={themeColors}>
+ {children}
+ </ThemeColorsContext.Provider>
+ );
+};
diff --git a/packages/template-code-hike/src/font.ts b/packages/template-code-hike/src/font.ts
new file mode 100644
index 0000000000..d8718357cf
--- /dev/null
+++ b/packages/template-code-hike/src/font.ts
@@ -0,0 +1,7 @@
+import {loadFont} from '@remotion/google-fonts/RobotoMono';
+
+export const {fontFamily, waitUntilDone} = loadFont();
+export const fontSize = 40;
+export const tabSize = 3;
+export const horizontalPadding = 60;
+export const verticalPadding = 84;
diff --git a/packages/template-code-hike/src/index.ts b/packages/template-code-hike/src/index.ts
new file mode 100644
index 0000000000..d831f7b0f1
--- /dev/null
+++ b/packages/template-code-hike/src/index.ts
@@ -0,0 +1,4 @@
+import {registerRoot} from 'remotion';
+import {RemotionRoot} from './Root';
+
+registerRoot(RemotionRoot);
diff --git a/packages/template-code-hike/src/utils.ts b/packages/template-code-hike/src/utils.ts
new file mode 100644
index 0000000000..53583a930f
--- /dev/null
+++ b/packages/template-code-hike/src/utils.ts
@@ -0,0 +1,26 @@
+import {TokenTransition} from 'codehike/utils/token-transitions';
+import {interpolate, interpolateColors} from 'remotion';
+
+export function applyStyle({
+ element,
+ keyframes,
+ progress,
+ linearProgress,
+}: {
+ element: HTMLElement;
+ keyframes: TokenTransition['keyframes'];
+ progress: number;
+ linearProgress: number;
+}) {
+ const {translateX, translateY, color, opacity} = keyframes;
+
+ if (opacity) {
+ element.style.opacity = linearProgress.toString();
+ }
+ if (color) {
+ element.style.color = interpolateColors(progress, [0, 1], color);
+ }
+ const x = translateX ? interpolate(progress, [0, 1], translateX) : 0;
+ const y = translateY ? interpolate(progress, [0, 1], translateY) : 0;
+ element.style.translate = `${x}px ${y}px`;
+}
diff --git a/packages/template-code-hike/tsconfig.json b/packages/template-code-hike/tsconfig.json
new file mode 100644
index 0000000000..084df63683
--- /dev/null
+++ b/packages/template-code-hike/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "target": "ES2021",
+ "module": "Preserve",
+ "moduleResolution": "Bundler",
+ "jsx": "react-jsx",
+ "outDir": "./dist",
+ "strict": true,
+ "noEmit": true,
+ "lib": ["ES2021"],
+ "esModuleInterop": true,
+ "skipLibCheck": true,
+ "forceConsistentCasingInFileNames": true,
+ "noUnusedLocals": true
+ },
+ "exclude": ["public"]
+}
diff --git a/packages/template-helloworld/package.json b/packages/template-helloworld/package.json
index 98def98b9a..fc72b85d9f 100644
--- a/packages/template-helloworld/package.json
+++ b/packages/template-helloworld/package.json
@@ -24,7 +24,7 @@
"@types/web": "0.0.78",
"eslint": "8.56.0",
"prettier": "3.2.5",
- "typescript": "5.3.3"
+ "typescript": "5.6.2"
},
"private": true
}
diff --git a/packages/template-next-app-tailwind/package.json b/packages/template-next-app-tailwind/package.json
index 943a749104..3d4bd838a3 100644
--- a/packages/template-next-app-tailwind/package.json
+++ b/packages/template-next-app-tailwind/package.json
@@ -47,6 +47,6 @@
"postcss": "8.4.47",
"prettier": "3.2.5",
"tailwindcss": "3.4.13",
- "typescript": "5.3.3"
+ "typescript": "5.6.2"
}
}
diff --git a/packages/template-next-app/package.json b/packages/template-next-app/package.json
index 59b9b3f9e7..c5f45b555f 100644
--- a/packages/template-next-app/package.json
+++ b/packages/template-next-app/package.json
@@ -35,7 +35,7 @@
"dotenv": "16.0.3",
"eslint": "8.56.0",
"eslint-config-next": "14.2.13",
- "typescript": "5.3.3",
+ "typescript": "5.6.2",
"prettier": "3.2.5"
}
}
diff --git a/packages/template-next-pages/package.json b/packages/template-next-pages/package.json
index dbb4fc0726..f9e6f730f4 100644
--- a/packages/template-next-pages/package.json
+++ b/packages/template-next-pages/package.json
@@ -35,7 +35,7 @@
"@types/web": "0.0.78",
"eslint": "8.56.0",
"eslint-config-next": "14.2.13",
- "typescript": "5.3.3",
+ "typescript": "5.6.2",
"prettier": "3.2.5"
}
}
diff --git a/packages/template-overlay/.github/workflows/render-video.yml b/packages/template-overlay/.github/workflows/render-video.yml
deleted file mode 100644
index 8fdd260f8a..0000000000
--- a/packages/template-overlay/.github/workflows/render-video.yml
+++ /dev/null
@@ -1,21 +0,0 @@
-on: workflow_dispatch
-
-name: Render video
-jobs:
- render:
- name: Render video
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@main
- - uses: actions/setup-node@main
- - run: sudo apt update
- - run: sudo apt install ffmpeg
- - run: npm i
- - run: echo $WORKFLOW_INPUT > input-props.json
- env:
- WORKFLOW_INPUT: ${{ toJson(github.event.inputs) }}
- - run: npm run build -- --props="./input-props.json"
- - uses: actions/upload-artifact@v2
- with:
- name: video.mp4
- path: out/video.mp4
diff --git a/packages/template-overlay/.vscode/settings.json b/packages/template-overlay/.vscode/settings.json
deleted file mode 100644
index 9165da4444..0000000000
--- a/packages/template-overlay/.vscode/settings.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "editor.tabSize": 2,
- "typescript.tsdk": "node_modules/typescript/lib",
- "typescript.enablePromptUseWorkspaceTsdk": true
-}
diff --git a/packages/template-overlay/package.json b/packages/template-overlay/package.json
index a55af4428f..390a0d6ece 100644
--- a/packages/template-overlay/package.json
+++ b/packages/template-overlay/package.json
@@ -16,7 +16,7 @@
"@types/web": "0.0.78",
"eslint": "8.56.0",
"prettier": "3.2.5",
- "typescript": "5.3.3"
+ "typescript": "5.6.2"
},
"dependencies": {
"@remotion/cli": "workspace:*",
diff --git a/packages/template-overlay/tsconfig.json b/packages/template-overlay/tsconfig.json
index 0a292af5f2..bb881cc903 100644
--- a/packages/template-overlay/tsconfig.json
+++ b/packages/template-overlay/tsconfig.json
@@ -1,15 +1,15 @@
{
- "compilerOptions": {
- "target": "ES2018",
- "module": "commonjs",
- "jsx": "react-jsx",
- "outDir": "./dist",
- "strict": true,
- "noEmit": true,
- "lib": ["es2015"],
- "esModuleInterop": true,
- "skipLibCheck": true,
- "forceConsistentCasingInFileNames": true,
- "noUnusedLocals": true
- }
+ "compilerOptions": {
+ "target": "ES2018",
+ "module": "commonjs",
+ "jsx": "react-jsx",
+ "outDir": "./dist",
+ "strict": true,
+ "noEmit": true,
+ "lib": ["es2015"],
+ "esModuleInterop": true,
+ "skipLibCheck": true,
+ "forceConsistentCasingInFileNames": true,
+ "noUnusedLocals": true
+ }
}
diff --git a/packages/template-remix/package.json b/packages/template-remix/package.json
index d57f848520..92a7dffe09 100644
--- a/packages/template-remix/package.json
+++ b/packages/template-remix/package.json
@@ -43,6 +43,6 @@
"eslint": "8.56.0",
"prettier": "3.2.5",
"ts-node": "10.9.1",
- "typescript": "5.3.3"
+ "typescript": "5.6.2"
}
}
diff --git a/packages/template-skia/package.json b/packages/template-skia/package.json
index 0085ec49c1..2d53229ad7 100644
--- a/packages/template-skia/package.json
+++ b/packages/template-skia/package.json
@@ -27,7 +27,7 @@
"@types/web": "0.0.78",
"eslint": "8.56.0",
"prettier": "3.2.5",
- "typescript": "5.3.3"
+ "typescript": "5.6.2"
},
"private": true
}
diff --git a/packages/template-still/package.json b/packages/template-still/package.json
index 476c96d74b..018ebc60e5 100644
--- a/packages/template-still/package.json
+++ b/packages/template-still/package.json
@@ -1,44 +1,44 @@
{
- "name": "template-still",
- "version": "1.0.0",
- "description": "A template for designing still images with dynamic data with built-in server for deploying to the cloud.",
- "scripts": {
- "start": "node dist/server/index.js",
- "build": "tsc",
- "dev": "remotion studio",
- "render": "remotion still PreviewCard out/still.png",
- "upgrade": "remotion upgrade",
- "server": "bun src/server/index.ts",
- "test": "eslint src --ext ts,tsx,js,jsx && tsc"
- },
- "repository": {},
- "license": "UNLICENSED",
- "dependencies": {
- "@aws-sdk/client-s3": "3.645.0",
- "@remotion/bundler": "workspace:*",
- "@remotion/cli": "workspace:*",
- "@remotion/renderer": "workspace:*",
- "@remotion/zod-types": "workspace:*",
- "@types/express": "4.17.13",
- "@types/express-rate-limit": "5.1.3",
- "@types/node": "20.14.11",
- "@types/react": "18.3.1",
- "@types/web": "0.0.78",
- "dotenv": "16.0.3",
- "express": "4.17.1",
- "express-rate-limit": "5.3.0",
- "p-limit": "3.1.0",
- "react": "18.3.1",
- "react-dom": "18.3.1",
- "remotion": "workspace:*",
- "zod": "3.22.3"
- },
- "devDependencies": {
- "@remotion/eslint-config": "workspace:*",
- "eslint": "8.56.0",
- "prettier": "3.2.5",
- "bun": "1.1.5",
- "typescript": "5.3.3"
- },
- "private": true
+ "name": "template-still",
+ "version": "1.0.0",
+ "description": "A template for designing still images with dynamic data with built-in server for deploying to the cloud.",
+ "scripts": {
+ "start": "node dist/server/index.js",
+ "build": "tsc",
+ "dev": "remotion studio",
+ "render": "remotion still PreviewCard out/still.png",
+ "upgrade": "remotion upgrade",
+ "server": "bun src/server/index.ts",
+ "test": "eslint src --ext ts,tsx,js,jsx && tsc"
+ },
+ "repository": {},
+ "license": "UNLICENSED",
+ "dependencies": {
+ "@aws-sdk/client-s3": "3.645.0",
+ "@remotion/bundler": "workspace:*",
+ "@remotion/cli": "workspace:*",
+ "@remotion/renderer": "workspace:*",
+ "@remotion/zod-types": "workspace:*",
+ "@types/express": "4.17.13",
+ "@types/express-rate-limit": "5.1.3",
+ "@types/node": "20.14.11",
+ "@types/react": "18.3.1",
+ "@types/web": "0.0.78",
+ "dotenv": "16.0.3",
+ "express": "4.17.1",
+ "express-rate-limit": "5.3.0",
+ "p-limit": "3.1.0",
+ "react": "18.3.1",
+ "react-dom": "18.3.1",
+ "remotion": "workspace:*",
+ "zod": "3.22.3"
+ },
+ "devDependencies": {
+ "@remotion/eslint-config": "workspace:*",
+ "eslint": "8.56.0",
+ "prettier": "3.2.5",
+ "bun": "1.1.5",
+ "typescript": "5.6.2"
+ },
+ "private": true
}
diff --git a/packages/template-still/src/server/cache.ts b/packages/template-still/src/server/cache.ts
index 9fba062dbf..a200b2efe3 100644
--- a/packages/template-still/src/server/cache.ts
+++ b/packages/template-still/src/server/cache.ts
@@ -50,5 +50,8 @@ export const saveToCache = async (imageHash: string, file: Buffer) => {
return writeToS3(imageHash, file);
}
- return fs.promises.writeFile(await getFileFromHash(imageHash), file);
+ return fs.promises.writeFile(
+ await getFileFromHash(imageHash),
+ new Uint8Array(file),
+ );
};
diff --git a/packages/template-three/package.json b/packages/template-three/package.json
index 8e04bbac1b..cfb6c83f2c 100644
--- a/packages/template-three/package.json
+++ b/packages/template-three/package.json
@@ -1,35 +1,35 @@
{
- "name": "remotion-template-three",
- "version": "1.0.0",
- "description": "A React Three Fiber Project",
- "scripts": {
- "start": "remotion studio",
- "build": "remotion render Scene",
- "upgrade": "remotion upgrade",
- "test": "eslint src --ext ts,tsx,js,jsx && tsc"
- },
- "repository": {},
- "license": "UNLICENSED",
- "dependencies": {
- "@react-three/fiber": "8.13.5",
- "@remotion/cli": "workspace:*",
- "@remotion/media-utils": "workspace:*",
- "@remotion/three": "workspace:*",
- "@remotion/zod-types": "workspace:*",
- "react": "18.3.1",
- "react-dom": "18.3.1",
- "remotion": "workspace:*",
- "three": "0.158.0",
- "zod": "3.22.3"
- },
- "devDependencies": {
- "@remotion/eslint-config": "workspace:*",
- "@types/react": "18.3.1",
- "@types/three": "0.157.2",
- "@types/web": "0.0.78",
- "eslint": "8.56.0",
- "prettier": "3.2.5",
- "typescript": "5.3.3"
- },
- "private": true
+ "name": "remotion-template-three",
+ "version": "1.0.0",
+ "description": "A React Three Fiber Project",
+ "scripts": {
+ "start": "remotion studio",
+ "build": "remotion render Scene",
+ "upgrade": "remotion upgrade",
+ "test": "eslint src --ext ts,tsx,js,jsx && tsc"
+ },
+ "repository": {},
+ "license": "UNLICENSED",
+ "dependencies": {
+ "@react-three/fiber": "8.13.5",
+ "@remotion/cli": "workspace:*",
+ "@remotion/media-utils": "workspace:*",
+ "@remotion/three": "workspace:*",
+ "@remotion/zod-types": "workspace:*",
+ "react": "18.3.1",
+ "react-dom": "18.3.1",
+ "remotion": "workspace:*",
+ "three": "0.158.0",
+ "zod": "3.22.3"
+ },
+ "devDependencies": {
+ "@remotion/eslint-config": "workspace:*",
+ "@types/react": "18.3.1",
+ "@types/three": "0.157.2",
+ "@types/web": "0.0.78",
+ "eslint": "8.56.0",
+ "prettier": "3.2.5",
+ "typescript": "5.6.2"
+ },
+ "private": true
}
diff --git a/packages/template-tiktok/.eslintrc b/packages/template-tiktok/.eslintrc
new file mode 100644
index 0000000000..7b92cd5e3a
--- /dev/null
+++ b/packages/template-tiktok/.eslintrc
@@ -0,0 +1,6 @@
+{
+ "extends": "@remotion",
+ "globals": {
+ "process": "readonly",
+ },
+}
diff --git a/packages/template-tiktok/.gitignore b/packages/template-tiktok/.gitignore
new file mode 100644
index 0000000000..fc574063a4
--- /dev/null
+++ b/packages/template-tiktok/.gitignore
@@ -0,0 +1,8 @@
+node_modules
+dist
+.DS_Store
+.env
+
+# Ignore the output video from Git but not videos you import into src/.
+out
+whisper.cpp
diff --git a/packages/template-tiktok/.prettierrc b/packages/template-tiktok/.prettierrc
new file mode 100644
index 0000000000..37d5071748
--- /dev/null
+++ b/packages/template-tiktok/.prettierrc
@@ -0,0 +1,5 @@
+{
+ "useTabs": false,
+ "bracketSpacing": true,
+ "tabWidth": 2
+}
diff --git a/packages/template-tiktok/README.md b/packages/template-tiktok/README.md
new file mode 100644
index 0000000000..b74ca19055
--- /dev/null
+++ b/packages/template-tiktok/README.md
@@ -0,0 +1,83 @@
+# Remotion video
+
+<p align="center">
+ <a href="https://github.com/remotion-dev/logo">
+ <picture>
+ <source media="(prefers-color-scheme: dark)" srcset="https://github.com/remotion-dev/logo/raw/main/animated-logo-banner-dark.gif">
+ <img alt="Animated Remotion Logo" src="https://github.com/remotion-dev/logo/raw/main/animated-logo-banner-light.gif">
+ </picture>
+ </a>
+</p>
+
+Welcome to your Remotion project!
+
+## Commands
+
+**Install Dependencies**
+
+```console
+npm i
+```
+
+**Start Preview**
+
+```console
+npm start
+```
+
+**Render video**
+
+```console
+npm run build
+```
+
+**Upgrade Remotion**
+
+```console
+npm run upgrade
+```
+
+## Captioning
+
+Replace the `sample-video.mp4` with your video file.
+Caption all the videos in you `public` by running the following command:
+
+```console
+node sub.mjs
+```
+
+Only caption a specific video:
+
+```console
+node sub.mjs <path-to-video-file>
+```
+
+Only caption a specific folder:
+
+```console
+node sub.mjs <path-to-folder>
+```
+
+## Configure Whisper.cpp
+
+Captioning will download Whisper.cpp and the 1.5GB big `medium.en` model. To configure which model is being used, you can configure the variables in `whisper-config.mjs`.
+
+### Non-English languages
+
+To support non-English languages, you need to change the `WHISPER_MODEL` variable in `whisper-config.mjs` to a model that does not have a `.en` sufix.
+
+## Docs
+
+Get started with Remotion by reading the [fundamentals page](https://www.remotion.dev/docs/the-fundamentals).
+
+## Help
+
+We provide help on our [Discord server](https://remotion.dev/discord).
+
+## Issues
+
+Found an issue with Remotion? [File an issue here](https://github.com/remotion-dev/remotion/issues/new).
+
+## License
+
+Note that for some entities a company license is needed. [Read the terms here](https://github.com/remotion-dev/remotion/blob/main/LICENSE.md).
diff --git a/packages/template-tiktok/package.json b/packages/template-tiktok/package.json
new file mode 100644
index 0000000000..008a8e797a
--- /dev/null
+++ b/packages/template-tiktok/package.json
@@ -0,0 +1,35 @@
+{
+ "name": "template-tiktok",
+ "version": "1.0.0",
+ "description": "A Remotion template for TikTok-style captions",
+ "scripts": {
+ "start": "remotion studio",
+ "build": "remotion render CaptionedVideo",
+ "upgrade": "remotion upgrade",
+ "test": "eslint src --ext ts,tsx,js,jsx && tsc",
+ "create-subtitles": "node sub.mjs"
+ },
+ "repository": {},
+ "license": "UNLICENSED",
+ "dependencies": {
+ "@remotion/cli": "workspace:*",
+ "@remotion/zod-types": "workspace:*",
+ "@remotion/animation-utils": "workspace:*",
+ "@remotion/layout-utils": "workspace:*",
+ "@remotion/media-utils": "workspace:*",
+ "react": "18.3.1",
+ "react-dom": "18.3.1",
+ "remotion": "workspace:*",
+ "zod": "3.22.3"
+ },
+ "devDependencies": {
+ "@remotion/eslint-config": "workspace:*",
+ "@remotion/install-whisper-cpp": "workspace:*",
+ "@types/react": "18.3.1",
+ "@types/web": "0.0.78",
+ "eslint": "8.56.0",
+ "prettier": "3.2.5",
+ "typescript": "5.6.2"
+ },
+ "private": true
+}
diff --git a/packages/template-tiktok/public/sample-video.mp4 b/packages/template-tiktok/public/sample-video.mp4
new file mode 100644
index 0000000000..9f4b2fb712
Binary files /dev/null and b/packages/template-tiktok/public/sample-video.mp4 differ
diff --git a/packages/template-tiktok/public/theboldfont-license.rtf b/packages/template-tiktok/public/theboldfont-license.rtf
new file mode 100644
index 0000000000..0464261ac7
--- /dev/null
+++ b/packages/template-tiktok/public/theboldfont-license.rtf
@@ -0,0 +1,41 @@
+{\rtf1\ansi\ansicpg1252\cocoartf1504\cocoasubrtf840
+{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
+{\colortbl;\red255\green255\blue255;\red0\green0\blue0;\red255\green255\blue255;}
+{\*\expandedcolortbl;;\csgenericrgb\c0\c0\c0;\cssrgb\c100000\c100000\c100000;}
+\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0
+\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
+
+\f0\fs24 \cf0 \
+Thank you for downloading \
+
+\b\fs28 THE BOLD FONT.
+\b0\fs24 \
+\
+It is a 100% free font so you can use it as much as you like for whatever you like.\
+Of course every donation for my effort would be highly appreciated. You can find a donate button on the DaFont page where you downloaded the font.\
+\
+Did you know that there is also a
+\b PRO
+\b0 version available. It comes with lowercase characters and has way more glyphs that the free version. You can get it at:\
+\
+{\field{\*\fldinst{HYPERLINK "https://the-bold-font.com/"}}{\fldrslt
+\b\fs28 WWW.THE-BOLD-FONT.COM }}
+\b \
+
+\b0 \
+Thank you so much and have fun designing with
+\b\fs28 THE BOLD FONT
+\b0\fs24 !\
+\
+\
+\pard\pardeftab720\sl380\partightenfactor0
+\cf2 \cb3 \expnd0\expndtw0\kerning0
+Yours sincerely,\
+Sven Pels\
+
+\b\fs28 THE BOLD FONT.\
+
+\b0\fs24 \
+Copyright \'a9 2023
+\b THE BOLD FONT.
+\b0 Sven Pels. All rights reserved.}
\ No newline at end of file
diff --git a/packages/template-tiktok/public/theboldfont.ttf b/packages/template-tiktok/public/theboldfont.ttf
new file mode 100644
index 0000000000..34b573d53f
Binary files /dev/null and b/packages/template-tiktok/public/theboldfont.ttf differ
diff --git a/packages/template-tiktok/remotion.config.ts b/packages/template-tiktok/remotion.config.ts
new file mode 100644
index 0000000000..2fb58bae46
--- /dev/null
+++ b/packages/template-tiktok/remotion.config.ts
@@ -0,0 +1,9 @@
+// See all configuration options: https://remotion.dev/docs/config
+// Each option also is available as a CLI flag: https://remotion.dev/docs/cli
+
+// Note: When using the Node.JS APIs, the config file doesn't apply. Instead, pass options directly to the APIs
+
+import { Config } from "@remotion/cli/config";
+
+Config.setVideoImageFormat("jpeg");
+Config.setOverwriteOutput(true);
diff --git a/packages/template-tiktok/src/CaptionedVideo/NoCaptionFile.tsx b/packages/template-tiktok/src/CaptionedVideo/NoCaptionFile.tsx
new file mode 100644
index 0000000000..541ffff1f2
--- /dev/null
+++ b/packages/template-tiktok/src/CaptionedVideo/NoCaptionFile.tsx
@@ -0,0 +1,21 @@
+import React from "react";
+import { AbsoluteFill } from "remotion";
+
+export const NoCaptionFile: React.FC = () => {
+ return (
+ <AbsoluteFill
+ style={{
+ height: "auto",
+ width: "100%",
+ backgroundColor: "white",
+ fontSize: 50,
+ padding: 30,
+ top: undefined,
+ fontFamily: "sans-serif",
+ }}
+ >
+ No caption file found in the public folder. <br /> Run `node sub.mjs` to
+ install Whisper.cpp and create one.
+ </AbsoluteFill>
+ );
+};
diff --git a/packages/template-tiktok/src/CaptionedVideo/Subtitle.tsx b/packages/template-tiktok/src/CaptionedVideo/Subtitle.tsx
new file mode 100644
index 0000000000..6574d6aef5
--- /dev/null
+++ b/packages/template-tiktok/src/CaptionedVideo/Subtitle.tsx
@@ -0,0 +1,36 @@
+import React from "react";
+import {
+ AbsoluteFill,
+ spring,
+ useCurrentFrame,
+ useVideoConfig,
+} from "remotion";
+import { Word } from "./Word";
+
+const Subtitle: React.FC<{ text: string }> = ({ text }) => {
+ const frame = useCurrentFrame();
+ const { fps } = useVideoConfig();
+
+ const enter = spring({
+ frame,
+ fps,
+ config: {
+ damping: 200,
+ },
+ durationInFrames: 5,
+ });
+
+ // Overlay stroked text with normal text to create an effect where the stroke is outside
+ return (
+ <AbsoluteFill>
+ <AbsoluteFill>
+ <Word stroke enterProgress={enter} text={text} />
+ </AbsoluteFill>
+ <AbsoluteFill>
+ <Word enterProgress={enter} text={text} stroke={false} />
+ </AbsoluteFill>
+ </AbsoluteFill>
+ );
+};
+
+export default Subtitle;
diff --git a/packages/template-tiktok/src/CaptionedVideo/Word.tsx b/packages/template-tiktok/src/CaptionedVideo/Word.tsx
new file mode 100644
index 0000000000..c6523a19d2
--- /dev/null
+++ b/packages/template-tiktok/src/CaptionedVideo/Word.tsx
@@ -0,0 +1,52 @@
+import React from "react";
+import { AbsoluteFill, interpolate, useVideoConfig } from "remotion";
+import { TheBoldFont } from "../load-font";
+import { fitText } from "@remotion/layout-utils";
+import { makeTransform, scale, translateY } from "@remotion/animation-utils";
+
+const fontFamily = TheBoldFont;
+
+export const Word: React.FC<{
+ enterProgress: number;
+ text: string;
+ stroke: boolean;
+}> = ({ enterProgress, text, stroke }) => {
+ const { width } = useVideoConfig();
+ const desiredFontSize = 120;
+
+ const fittedText = fitText({
+ fontFamily,
+ text,
+ withinWidth: width * 0.8,
+ });
+
+ const fontSize = Math.min(desiredFontSize, fittedText.fontSize);
+
+ return (
+ <AbsoluteFill
+ style={{
+ justifyContent: "center",
+ alignItems: "center",
+ top: undefined,
+ bottom: 350,
+ height: 150,
+ }}
+ >
+ <div
+ style={{
+ fontSize,
+ color: "white",
+ WebkitTextStroke: stroke ? "20px black" : undefined,
+ transform: makeTransform([
+ scale(interpolate(enterProgress, [0, 1], [0.8, 1])),
+ translateY(interpolate(enterProgress, [0, 1], [50, 0])),
+ ]),
+ fontFamily,
+ textTransform: "uppercase",
+ }}
+ >
+ {text}
+ </div>
+ </AbsoluteFill>
+ );
+};
diff --git a/packages/template-tiktok/src/CaptionedVideo/index.tsx b/packages/template-tiktok/src/CaptionedVideo/index.tsx
new file mode 100644
index 0000000000..44a8eb815c
--- /dev/null
+++ b/packages/template-tiktok/src/CaptionedVideo/index.tsx
@@ -0,0 +1,120 @@
+import { useCallback, useEffect, useState } from "react";
+import {
+ AbsoluteFill,
+ CalculateMetadataFunction,
+ cancelRender,
+ continueRender,
+ delayRender,
+ getStaticFiles,
+ OffthreadVideo,
+ Sequence,
+ useVideoConfig,
+ watchStaticFile,
+} from "remotion";
+import { z } from "zod";
+import Subtitle from "./Subtitle";
+import { getVideoMetadata } from "@remotion/media-utils";
+import { loadFont } from "../load-font";
+import { NoCaptionFile } from "./NoCaptionFile";
+
+export type SubtitleProp = {
+ startInSeconds: number;
+ text: string;
+};
+
+export const captionedVideoSchema = z.object({
+ src: z.string(),
+});
+
+export const calculateCaptionedVideoMetadata: CalculateMetadataFunction<
+ z.infer<typeof captionedVideoSchema>
+> = async ({ props }) => {
+ const fps = 30;
+ const metadata = await getVideoMetadata(props.src);
+
+ return {
+ fps,
+ durationInFrames: Math.floor(metadata.durationInSeconds * fps),
+ };
+};
+
+const getFileExists = (file: string) => {
+ const files = getStaticFiles();
+ const fileExists = files.find((f) => {
+ return f.src === file;
+ });
+ return Boolean(fileExists);
+};
+
+export const CaptionedVideo: React.FC<{
+ src: string;
+}> = ({ src }) => {
+ const [subtitles, setSubtitles] = useState<SubtitleProp[]>([]);
+ const [handle] = useState(() => delayRender());
+ const { fps } = useVideoConfig();
+
+ const subtitlesFile = src
+ .replace(/.mp4$/, ".json")
+ .replace(/.mkv$/, ".json")
+ .replace(/.mov$/, ".json")
+ .replace(/.webm$/, ".json");
+
+ const fetchSubtitles = useCallback(async () => {
+ try {
+ await loadFont();
+ const res = await fetch(subtitlesFile);
+ const data = await res.json();
+ setSubtitles(data.transcription);
+ continueRender(handle);
+ } catch (e) {
+ cancelRender(e);
+ }
+ }, [handle, subtitlesFile]);
+
+ useEffect(() => {
+ fetchSubtitles();
+
+ const c = watchStaticFile(subtitlesFile, () => {
+ fetchSubtitles();
+ });
+
+ return () => {
+ c.cancel();
+ };
+ }, [fetchSubtitles, src, subtitlesFile]);
+
+ return (
+ <AbsoluteFill style={{ backgroundColor: "white" }}>
+ <AbsoluteFill>
+ <OffthreadVideo
+ style={{
+ objectFit: "cover",
+ }}
+ src={src}
+ />
+ </AbsoluteFill>
+ {subtitles.map((subtitle, index) => {
+ const nextSubtitle = subtitles[index + 1] ?? null;
+ const subtitleStartFrame = subtitle.startInSeconds * fps;
+ const subtitleEndFrame = Math.min(
+ nextSubtitle ? nextSubtitle.startInSeconds * fps : Infinity,
+ subtitleStartFrame + fps,
+ );
+ const durationInFrames = subtitleEndFrame - subtitleStartFrame;
+ if (durationInFrames <= 0) {
+ return null;
+ }
+
+ return (
+ <Sequence
+ from={subtitleStartFrame}
+ durationInFrames={durationInFrames}
+ >
+ <Subtitle key={index} text={subtitle.text} />;
+ </Sequence>
+ );
+ })}
+ {getFileExists(subtitlesFile) ? null : <NoCaptionFile />}
+ </AbsoluteFill>
+ );
+};
diff --git a/packages/template-tiktok/src/Root.tsx b/packages/template-tiktok/src/Root.tsx
new file mode 100644
index 0000000000..dcc401d9ed
--- /dev/null
+++ b/packages/template-tiktok/src/Root.tsx
@@ -0,0 +1,24 @@
+import { Composition, staticFile } from "remotion";
+import {
+ CaptionedVideo,
+ calculateCaptionedVideoMetadata,
+ captionedVideoSchema,
+} from "./CaptionedVideo";
+
+// Each <Composition> is an entry in the sidebar!
+
+export const RemotionRoot: React.FC = () => {
+ return (
+ <Composition
+ id="CaptionedVideo"
+ component={CaptionedVideo}
+ calculateMetadata={calculateCaptionedVideoMetadata}
+ schema={captionedVideoSchema}
+ width={1080}
+ height={1920}
+ defaultProps={{
+ src: staticFile("sample-video.mp4"),
+ }}
+ />
+ );
+};
diff --git a/packages/template-tiktok/src/index.ts b/packages/template-tiktok/src/index.ts
new file mode 100644
index 0000000000..14dff4c457
--- /dev/null
+++ b/packages/template-tiktok/src/index.ts
@@ -0,0 +1,7 @@
+// This is your entry file! Refer to it when you render:
+// npx remotion render <entry-file> HelloWorld out/video.mp4
+
+import { registerRoot } from "remotion";
+import { RemotionRoot } from "./Root";
+
+registerRoot(RemotionRoot);
diff --git a/packages/template-tiktok/src/load-font.ts b/packages/template-tiktok/src/load-font.ts
new file mode 100644
index 0000000000..0d137ab42c
--- /dev/null
+++ b/packages/template-tiktok/src/load-font.ts
@@ -0,0 +1,25 @@
+import { continueRender, delayRender, staticFile } from "remotion";
+
+export const TheBoldFont = `TheBoldFont`;
+
+let loaded = false;
+
+export const loadFont = async (): Promise<void> => {
+ if (loaded) {
+ return Promise.resolve();
+ }
+
+ const waitForFont = delayRender();
+
+ loaded = true;
+
+ const font = new FontFace(
+ TheBoldFont,
+ `url('${staticFile("theboldfont.ttf")}') format('truetype')`,
+ );
+
+ await font.load();
+ document.fonts.add(font);
+
+ continueRender(waitForFont);
+};
diff --git a/packages/template-tiktok/sub.mjs b/packages/template-tiktok/sub.mjs
new file mode 100644
index 0000000000..12fb22e81f
--- /dev/null
+++ b/packages/template-tiktok/sub.mjs
@@ -0,0 +1,148 @@
+import {execSync} from 'node:child_process';
+import {
+ existsSync,
+ rmSync,
+ writeFileSync,
+ lstatSync,
+ mkdirSync,
+ readdirSync,
+} from 'node:fs';
+import path from 'path';
+import {
+ WHISPER_LANG,
+ WHISPER_MODEL,
+ WHISPER_PATH,
+ WHISPER_VERSION,
+} from './whisper-config.mjs';
+import {
+ convertToCaptions,
+ downloadWhisperModel,
+ installWhisperCpp,
+ transcribe,
+} from '@remotion/install-whisper-cpp';
+
+const extractToTempAudioFile = (fileToTranscribe, tempOutFile) => {
+ // Extracting audio from mp4 and save it as 16khz wav file
+ execSync(
+ `npx remotion ffmpeg -i ${fileToTranscribe} -ar 16000 ${tempOutFile} -y`,
+ {stdio: ['ignore', 'inherit']},
+ );
+};
+
+const subFile = async (filePath, fileName, folder) => {
+ const outPath = path.join(
+ process.cwd(),
+ 'public',
+ folder,
+ fileName.replace('.wav', '.json'),
+ );
+
+ const result = await transcribe({
+ inputPath: filePath,
+ model: WHISPER_MODEL,
+ tokenLevelTimestamps: true,
+ whisperPath: WHISPER_PATH,
+ printOutput: false,
+ translateToEnglish: false,
+ language: WHISPER_LANG,
+ });
+
+ const {captions} = convertToCaptions({
+ transcription: result.transcription,
+ combineTokensWithinMilliseconds: 200,
+ });
+ writeFileSync(
+ outPath.replace('webcam', 'subs'),
+ JSON.stringify(
+ {
+ ...result,
+ transcription: captions,
+ },
+ null,
+ 2,
+ ),
+ );
+};
+
+const processVideo = async (fullPath, entry, directory) => {
+ if (
+ !fullPath.endsWith('.mp4') &&
+ !fullPath.endsWith('.webm') &&
+ !fullPath.endsWith('.mkv') &&
+ !fullPath.endsWith('.mov')
+ ) {
+ return;
+ }
+
+ const isTranscribed = existsSync(
+ fullPath
+ .replace(/.mp4$/, '.json')
+ .replace(/.mkv$/, '.json')
+ .replace(/.mov$/, '.json')
+ .replace(/.webm$/, '.json')
+ .replace('webcam', 'subs'),
+ );
+ if (isTranscribed) {
+ return;
+ }
+ let shouldRemoveTempDirectory = false;
+ if (!existsSync(path.join(process.cwd(), 'temp'))) {
+ mkdirSync(`temp`);
+ shouldRemoveTempDirectory = true;
+ }
+ console.log('Extracting audio from file', entry);
+
+ const tempWavFileName = entry.split('.')[0] + '.wav';
+ const tempOutFilePath = path.join(process.cwd(), `temp/${tempWavFileName}`);
+
+ extractToTempAudioFile(fullPath, tempOutFilePath);
+ await subFile(
+ tempOutFilePath,
+ tempWavFileName,
+ path.relative('public', directory),
+ );
+ if (shouldRemoveTempDirectory) {
+ rmSync(path.join(process.cwd(), 'temp'), {recursive: true});
+ }
+};
+
+const processDirectory = async (directory) => {
+ const entries = readdirSync(directory).filter((f) => f !== '.DS_Store');
+
+ for (const entry of entries) {
+ const fullPath = path.join(directory, entry);
+ const stat = lstatSync(fullPath);
+
+ if (stat.isDirectory()) {
+ await processDirectory(fullPath); // Recurse into subdirectories
+ } else {
+ await processVideo(fullPath, entry, directory);
+ }
+ }
+};
+
+await installWhisperCpp({to: WHISPER_PATH, version: WHISPER_VERSION});
+await downloadWhisperModel({folder: WHISPER_PATH, model: WHISPER_MODEL});
+
+// Read arguments for filename if given else process all files in the directory
+const hasArgs = process.argv.length > 2;
+
+if (!hasArgs) {
+ await processDirectory(path.join(process.cwd(), 'public'));
+ process.exit(0);
+}
+
+for (const arg of process.argv.slice(2)) {
+ const fullPath = path.join(process.cwd(), arg);
+ const stat = lstatSync(fullPath);
+
+ if (stat.isDirectory()) {
+ await processDirectory(fullPath);
+ continue;
+ }
+
+ console.log(`Processing file ${fullPath}`);
+ const directory = path.dirname(fullPath);
+ const fileName = path.basename(fullPath);
+ await processVideo(fullPath, fileName, directory);
+}
diff --git a/packages/template-tiktok/tsconfig.json b/packages/template-tiktok/tsconfig.json
new file mode 100644
index 0000000000..0a292af5f2
--- /dev/null
+++ b/packages/template-tiktok/tsconfig.json
@@ -0,0 +1,15 @@
+{
+ "compilerOptions": {
+ "target": "ES2018",
+ "module": "commonjs",
+ "jsx": "react-jsx",
+ "outDir": "./dist",
+ "strict": true,
+ "noEmit": true,
+ "lib": ["es2015"],
+ "esModuleInterop": true,
+ "skipLibCheck": true,
+ "forceConsistentCasingInFileNames": true,
+ "noUnusedLocals": true
+ }
+}
diff --git a/packages/template-tiktok/whisper-config.mjs b/packages/template-tiktok/whisper-config.mjs
new file mode 100644
index 0000000000..c888e32813
--- /dev/null
+++ b/packages/template-tiktok/whisper-config.mjs
@@ -0,0 +1,35 @@
+import path from 'node:path';
+
+// Where to install Whisper.cpp to
+export const WHISPER_PATH = path.join(process.cwd(), 'whisper.cpp');
+
+// The version of Whisper.cpp to install
+export const WHISPER_VERSION = '1.5.5';
+
+// Which model to use.
+// | Model | Disk | Mem |
+// |------------|--------|----------|
+// | tiny | 75 MB | ~390 MB |
+// | tiny.en | 75 MB | ~390 MB |
+// | base | 142 MB | ~500 MB |
+// | base.en | 142 MB | ~500 MB |
+// | small | 466 MB | ~1.0 GB |
+// | small.en | 466 MB | ~1.0 GB |
+// | medium | 1.5 GB | ~2.6 GB |
+// | medium.en | 1.5 GB | ~2.6 GB |
+// | large-v1 | 2.9 GB | ~4.7 GB |
+// | large-v2 | 2.9 GB | ~4.7 GB |
+// | large | 2.9 GB | ~4.7 GB |
+
+/**
+ * @type {import('@remotion/install-whisper-cpp').WhisperModel}
+ */
+export const WHISPER_MODEL = 'medium.en';
+
+// Language to transcribe
+// If you set another language than 'en', remove .en from the WHISPER_MODEL
+// List of languages: https://github.com/openai/whisper/blob/main/whisper/tokenizer.py
+/**
+ * @type {import('@remotion/install-whisper-cpp').Language}
+ */
+export const WHISPER_LANG = 'en';
diff --git a/packages/template-tts-azure/package.json b/packages/template-tts-azure/package.json
index 919ccf6172..2bb3e7087e 100644
--- a/packages/template-tts-azure/package.json
+++ b/packages/template-tts-azure/package.json
@@ -30,7 +30,7 @@
"eslint": "8.56.0",
"prettier": "3.2.5",
"ts-node": "10.9.1",
- "typescript": "5.3.3",
+ "typescript": "5.6.2",
"zod": "3.22.3"
}
}
diff --git a/packages/template-tts-google/package.json b/packages/template-tts-google/package.json
index 1732385f31..62de3b38a1 100644
--- a/packages/template-tts-google/package.json
+++ b/packages/template-tts-google/package.json
@@ -18,7 +18,7 @@
"eslint": "8.56.0",
"prettier": "3.2.5",
"ts-node": "10.9.1",
- "typescript": "5.3.3"
+ "typescript": "5.6.2"
},
"dependencies": {
"@google-cloud/text-to-speech": "4.2.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 15fe6e1eea..d6ba854216 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -15,12 +15,12 @@ importers:
specifier: 1.13.3
version: 1.13.3
typescript:
- specifier: 5.3.3
- version: 5.3.3
+ specifier: 5.6.2
+ version: 5.6.2
devDependencies:
'@jonny/eslint-config':
specifier: 3.0.281
'@types/bun':
specifier: 1.0.12
version: 1.0.12
@@ -47,7 +47,7 @@ importers:
version: 3.2.5
prettier-plugin-organize-imports:
specifier: 3.2.4
packages/ai-improvements:
dependencies:
@@ -101,7 +101,7 @@ importers:
version: link:../transitions
astro:
specifier: 4.15.4
- version: 4.15.4([email protected])
+ version: 4.15.4([email protected])
lottie-web:
specifier: 5.12.2
version: 5.12.2
@@ -257,7 +257,7 @@ importers:
devDependencies:
'@fig/eslint-config-autocomplete':
specifier: 1.2.1
'@remotion/renderer':
specifier: workspace:*
version: link:../renderer
@@ -344,13 +344,13 @@ importers:
version: 1.1.0(@types/[email protected])([email protected])
'@remix-run/node':
specifier: ^2.11.2
- version: 2.11.2([email protected])
+ version: 2.11.2([email protected])
'@remix-run/react':
specifier: ^2.11.2
'@remix-run/serve':
specifier: ^2.11.2
- version: 2.11.2([email protected])
+ version: 2.11.2([email protected])
'@remotion/media-parser':
specifier: workspace:*
version: link:../media-parser
@@ -387,7 +387,7 @@ importers:
devDependencies:
'@remix-run/dev':
specifier: ^2.11.2
autoprefixer:
specifier: 10.4.20
version: 10.4.20([email protected])
@@ -402,7 +402,7 @@ importers:
version: 5.4.6(@types/[email protected])
vite-tsconfig-paths:
specifier: ^4.2.1
packages/core:
devDependencies:
@@ -480,19 +480,19 @@ importers:
version: 7.15.4(@babel/[email protected])
'@docusaurus/core':
specifier: 3.4.0
'@docusaurus/plugin-content-blog':
specifier: 3.4.0
'@docusaurus/plugin-google-gtag':
specifier: 3.4.0
'@docusaurus/preset-classic':
specifier: 3.4.0
'@docusaurus/theme-common':
specifier: 3.4.0
'@docusaurus/types':
specifier: 3.4.0
@@ -645,7 +645,7 @@ importers:
version: 18.3.1([email protected])
remark-shiki-twoslash:
specifier: ^3.1.3
- version: 3.1.3([email protected])
+ version: 3.1.3([email protected])
remotion:
specifier: workspace:*
version: link:../core
@@ -706,7 +706,7 @@ importers:
version: 0.10.1
shiki-twoslash:
specifier: 3.1.2
- version: 3.1.2([email protected])
+ version: 3.1.2([email protected])
unified:
specifier: ^11.0.5
version: 11.0.5
@@ -737,10 +737,10 @@ importers:
version: link:../eslint-plugin
'@typescript-eslint/eslint-plugin':
specifier: 6.21.0
- version: 6.21.0(@typescript-eslint/[email protected])([email protected])([email protected])
+ version: 6.21.0(@typescript-eslint/[email protected])([email protected])([email protected])
'@typescript-eslint/parser':
specifier: 6.21.0
eslint:
specifier: '>=7.15.0'
version: 8.56.0
@@ -758,7 +758,7 @@ importers:
dependencies:
'@typescript-eslint/utils':
specifier: 5.19.0
eslint:
specifier: '>=7.0.0'
version: 8.56.0
@@ -948,7 +948,7 @@ importers:
version: 0.158.0
ts-unused-exports:
specifier: ^7.0.1
- version: 7.0.3([email protected])
+ version: 7.0.3([email protected])
use-asset:
specifier: ^1.0.4
version: 1.0.4([email protected])
@@ -964,7 +964,7 @@ importers:
version: 0.1.11
prettier-plugin-organize-imports:
specifier: 3.2.4
sharp:
specifier: 0.32.6
version: 0.32.6
@@ -1638,8 +1638,66 @@ importers:
specifier: 3.2.5
version: 3.2.5
typescript:
- specifier: 5.3.3
- version: 5.3.3
+ specifier: 5.6.2
+ version: 5.6.2
+
+ packages/template-code-hike:
+ dependencies:
+ '@code-hike/lighter':
+ specifier: 0.9.4
+ version: 0.9.4
+ '@remotion/cli':
+ specifier: workspace:*
+ version: link:../cli
+ '@remotion/google-fonts':
+ specifier: workspace:*
+ version: link:../google-fonts
+ '@remotion/layout-utils':
+ specifier: workspace:*
+ version: link:../layout-utils
+ '@remotion/studio':
+ specifier: workspace:*
+ version: link:../studio
+ codehike:
+ specifier: 1.0.0-beta.2
+ version: 1.0.0-beta.2
+ polished:
+ specifier: 4.3.1
+ version: 4.3.1
+ react:
+ specifier: 18.3.1
+ version: 18.3.1
+ react-dom:
+ specifier: 18.3.1
+ version: 18.3.1([email protected])
+ remotion:
+ specifier: workspace:*
+ version: link:../core
+ twoslash-cdn:
+ specifier: 0.2.9
+ version: 0.2.9([email protected])
+ zod:
+ specifier: 3.22.3
+ version: 3.22.3
+ devDependencies:
+ '@remotion/eslint-config':
+ specifier: workspace:*
+ version: link:../eslint-config
+ '@types/react':
+ specifier: 18.3.1
+ version: 18.3.1
+ '@types/web':
+ specifier: 0.0.78
+ version: 0.0.78
+ eslint:
+ specifier: 8.56.0
+ version: 8.56.0
+ prettier:
+ specifier: 3.2.5
+ version: 3.2.5
+ typescript:
+ specifier: 5.6.2
+ version: 5.6.2
packages/template-helloworld:
dependencies:
@@ -1678,8 +1736,8 @@ importers:
specifier: 3.2.5
version: 3.2.5
typescript:
- specifier: 5.3.3
- version: 5.3.3
+ specifier: 5.6.2
+ version: 5.6.2
packages/template-javascript:
dependencies:
@@ -1774,13 +1832,13 @@ importers:
version: 8.56.0
eslint-config-next:
specifier: 14.2.13
prettier:
specifier: 3.2.5
version: 3.2.5
typescript:
- specifier: 5.3.3
- version: 5.3.3
+ specifier: 5.6.2
+ version: 5.6.2
packages/template-next-app-tailwind:
dependencies:
@@ -1859,7 +1917,7 @@ importers:
version: 8.56.0
eslint-config-next:
specifier: 14.2.13
postcss:
specifier: 8.4.47
version: 8.4.47
@@ -1870,8 +1928,8 @@ importers:
specifier: 3.4.13
version: 3.4.13
typescript:
- specifier: 5.3.3
- version: 5.3.3
+ specifier: 5.6.2
+ version: 5.6.2
packages/template-next-pages:
dependencies:
@@ -1938,13 +1996,13 @@ importers:
version: 8.56.0
eslint-config-next:
specifier: 14.2.13
prettier:
specifier: 3.2.5
version: 3.2.5
typescript:
- specifier: 5.3.3
- version: 5.3.3
+ specifier: 5.6.2
+ version: 5.6.2
packages/template-overlay:
dependencies:
@@ -1980,8 +2038,8 @@ importers:
specifier: 3.2.5
version: 3.2.5
typescript:
- specifier: 5.3.3
- version: 5.3.3
+ specifier: 5.6.2
+ version: 5.6.2
packages/template-remix:
dependencies:
@@ -1990,13 +2048,13 @@ importers:
version: 2.12.1
'@remix-run/node':
specifier: 2.12.1
- version: 2.12.1([email protected])
+ version: 2.12.1([email protected])
'@remix-run/react':
specifier: 2.12.1
'@remix-run/serve':
specifier: 2.12.1
- version: 2.12.1([email protected])
+ version: 2.12.1([email protected])
'@remix-run/vercel':
specifier: 1.19.3
version: 1.19.3(@vercel/[email protected])
@@ -2011,7 +2069,7 @@ importers:
version: link:../player
'@vercel/remix':
specifier: 2.5.1
isbot:
specifier: 4.1.0
version: 4.1.0
@@ -2027,10 +2085,10 @@ importers:
devDependencies:
'@remix-run/dev':
specifier: 2.12.1
'@remix-run/eslint-config':
specifier: 2.12.1
'@remotion/eslint-plugin':
specifier: workspace:*
version: link:../eslint-plugin
@@ -2054,10 +2112,10 @@ importers:
version: 3.2.5
ts-node:
specifier: 10.9.1
- version: 10.9.1(@types/[email protected])([email protected])
+ version: 10.9.1(@types/[email protected])([email protected])
typescript:
- specifier: 5.3.3
- version: 5.3.3
+ specifier: 5.6.2
+ version: 5.6.2
packages/template-skia:
dependencies:
@@ -2105,8 +2163,8 @@ importers:
specifier: 3.2.5
version: 3.2.5
typescript:
- specifier: 5.3.3
- version: 5.3.3
+ specifier: 5.6.2
+ version: 5.6.2
packages/template-still:
dependencies:
@@ -2178,8 +2236,8 @@ importers:
specifier: 3.2.5
version: 3.2.5
typescript:
- specifier: 5.3.3
- version: 5.3.3
+ specifier: 5.6.2
+ version: 5.6.2
packages/template-three:
dependencies:
@@ -2233,8 +2291,60 @@ importers:
specifier: 3.2.5
version: 3.2.5
typescript:
- specifier: 5.3.3
- version: 5.3.3
+ specifier: 5.6.2
+ version: 5.6.2
+
+ packages/template-tiktok:
+ dependencies:
+ '@remotion/animation-utils':
+ specifier: workspace:*
+ version: link:../animation-utils
+ '@remotion/cli':
+ specifier: workspace:*
+ version: link:../cli
+ '@remotion/layout-utils':
+ specifier: workspace:*
+ version: link:../layout-utils
+ '@remotion/media-utils':
+ specifier: workspace:*
+ version: link:../media-utils
+ '@remotion/zod-types':
+ specifier: workspace:*
+ version: link:../zod-types
+ react:
+ specifier: 18.3.1
+ version: 18.3.1
+ react-dom:
+ specifier: 18.3.1
+ version: 18.3.1([email protected])
+ remotion:
+ specifier: workspace:*
+ version: link:../core
+ zod:
+ specifier: 3.22.3
+ version: 3.22.3
+ devDependencies:
+ '@remotion/eslint-config':
+ specifier: workspace:*
+ version: link:../eslint-config
+ '@remotion/install-whisper-cpp':
+ specifier: workspace:*
+ version: link:../install-whisper-cpp
+ '@types/react':
+ specifier: 18.3.1
+ version: 18.3.1
+ '@types/web':
+ specifier: 0.0.78
+ version: 0.0.78
+ eslint:
+ specifier: 8.56.0
+ version: 8.56.0
+ prettier:
+ specifier: 3.2.5
+ version: 3.2.5
+ typescript:
+ specifier: 5.6.2
+ version: 5.6.2
packages/template-tts-azure:
dependencies:
@@ -2286,10 +2396,10 @@ importers:
version: 3.2.5
ts-node:
specifier: 10.9.1
- version: 10.9.1(@types/[email protected])([email protected])
+ version: 10.9.1(@types/[email protected])([email protected])
typescript:
- specifier: 5.3.3
- version: 5.3.3
+ specifier: 5.6.2
+ version: 5.6.2
zod:
specifier: 3.22.3
version: 3.22.3
@@ -2368,10 +2478,10 @@ importers:
version: 3.2.5
ts-node:
specifier: 10.9.1
- version: 10.9.1(@types/[email protected])([email protected])
+ version: 10.9.1(@types/[email protected])([email protected])
typescript:
- specifier: 5.3.3
- version: 5.3.3
+ specifier: 5.6.2
+ version: 5.6.2
packages/test-utils:
devDependencies:
@@ -6800,6 +6910,12 @@ packages:
'@babel/helper-validator-identifier': 7.24.7
to-fast-properties: 2.0.0
+ /@code-hike/[email protected]:
+ resolution: {integrity: sha512-WnYhKFaYDHOVKXyII5iYegve/W3jgV9kOfo34rKDXdZjTFbCJMbTPzdG+SKfvUtw7lzWWuJGmu0WQJ0/PDhL0g==}
+ dependencies:
+ ansi-sequence-parser: 1.1.1
+ dev: false
+
resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==}
engines: {node: '>=0.1.90'}
@@ -7170,7 +7286,7 @@ packages:
- '@algolia/client-search'
dev: false
resolution: {integrity: sha512-g+0wwmN2UJsBqy2fQRQ6fhXruoEa62JDeEa5d8IdTJlMoaDaEDfHh7WjwGRn4opuTQWpjAwP/fbcgyHKlE+64w==}
engines: {node: '>=18.0'}
hasBin: true
@@ -7224,10 +7340,10 @@ packages:
mini-css-extract-plugin: 2.9.0([email protected])
p-map: 4.0.0
postcss: 8.4.47
prompts: 2.4.2
react: 18.3.1
react-dom: 18.3.1([email protected])
react-helmet-async: 1.3.0([email protected])([email protected])
react-loadable: /@docusaurus/[email protected]([email protected])
@@ -7351,14 +7467,14 @@ packages:
- webpack-cli
dev: false
resolution: {integrity: sha512-vv6ZAj78ibR5Jh7XBUT4ndIjmlAxkijM3Sx5MAAzC1gyv0vupDQNhzuFg1USQmQVj3P5I6bquk12etPV3LJ+Xw==}
engines: {node: '>=18.0'}
peerDependencies:
react: ^18.0.0
react-dom: ^18.0.0
dependencies:
'@docusaurus/logger': 3.4.0
'@docusaurus/mdx-loader': 3.4.0(@docusaurus/[email protected])(@swc/[email protected])([email protected])([email protected])
'@docusaurus/types': 3.4.0(@swc/[email protected])([email protected])([email protected])
@@ -7396,14 +7512,14 @@ packages:
- webpack-cli
dev: false
resolution: {integrity: sha512-HkUCZffhBo7ocYheD9oZvMcDloRnGhBMOZRyVcAQRFmZPmNqSyISlXA1tQCIxW+r478fty97XXAGjNYzBjpCsg==}
engines: {node: '>=18.0'}
peerDependencies:
react: ^18.0.0
react-dom: ^18.0.0
dependencies:
'@docusaurus/logger': 3.4.0
'@docusaurus/mdx-loader': 3.4.0(@docusaurus/[email protected])(@swc/[email protected])([email protected])([email protected])
'@docusaurus/module-type-aliases': 3.4.0(@swc/[email protected])([email protected])([email protected])
@@ -7440,14 +7556,14 @@ packages:
- webpack-cli
dev: false
resolution: {integrity: sha512-h2+VN/0JjpR8fIkDEAoadNjfR3oLzB+v1qSXbIAKjQ46JAHx3X22n9nqS+BWSQnTnp1AjkjSvZyJMekmcwxzxg==}
engines: {node: '>=18.0'}
peerDependencies:
react: ^18.0.0
react-dom: ^18.0.0
dependencies:
'@docusaurus/mdx-loader': 3.4.0(@docusaurus/[email protected])(@swc/[email protected])([email protected])([email protected])
'@docusaurus/types': 3.4.0(@swc/[email protected])([email protected])([email protected])
'@docusaurus/utils': 3.4.0(@docusaurus/[email protected])(@swc/[email protected])
@@ -7476,14 +7592,14 @@ packages:
- webpack-cli
dev: false
resolution: {integrity: sha512-uV7FDUNXGyDSD3PwUaf5YijX91T5/H9SX4ErEcshzwgzWwBtK37nUWPU3ZLJfeTavX3fycTOqk9TglpOLaWkCg==}
engines: {node: '>=18.0'}
peerDependencies:
react: ^18.0.0
react-dom: ^18.0.0
dependencies:
'@docusaurus/types': 3.4.0(@swc/[email protected])([email protected])([email protected])
'@docusaurus/utils': 3.4.0(@docusaurus/[email protected])(@swc/[email protected])
fs-extra: 11.2.0
@@ -7510,14 +7626,14 @@ packages:
- webpack-cli
dev: false
resolution: {integrity: sha512-mCArluxEGi3cmYHqsgpGGt3IyLCrFBxPsxNZ56Mpur0xSlInnIHoeLDH7FvVVcPJRPSQ9/MfRqLsainRw+BojA==}
engines: {node: '>=18.0'}
peerDependencies:
react: ^18.0.0
react-dom: ^18.0.0
dependencies:
'@docusaurus/types': 3.4.0(@swc/[email protected])([email protected])([email protected])
'@docusaurus/utils-validation': 3.4.0(@docusaurus/[email protected])(@swc/[email protected])
react: 18.3.1
@@ -7542,14 +7658,14 @@ packages:
- webpack-cli
dev: false
resolution: {integrity: sha512-Dsgg6PLAqzZw5wZ4QjUYc8Z2KqJqXxHxq3vIoyoBWiLEEfigIs7wHR+oiWUQy3Zk9MIk6JTYj7tMoQU0Jm3nqA==}
engines: {node: '>=18.0'}
peerDependencies:
react: ^18.0.0
react-dom: ^18.0.0
dependencies:
'@docusaurus/types': 3.4.0(@swc/[email protected])([email protected])([email protected])
'@docusaurus/utils-validation': 3.4.0(@docusaurus/[email protected])(@swc/[email protected])
'@types/gtag.js': 0.0.12
@@ -7575,14 +7691,14 @@ packages:
- webpack-cli
dev: false
resolution: {integrity: sha512-O9tX1BTwxIhgXpOLpFDueYA9DWk69WCbDRrjYoMQtFHSkTyE7RhNgyjSPREUWJb9i+YUg3OrsvrBYRl64FCPCQ==}
engines: {node: '>=18.0'}
peerDependencies:
react: ^18.0.0
react-dom: ^18.0.0
dependencies:
'@docusaurus/types': 3.4.0(@swc/[email protected])([email protected])([email protected])
'@docusaurus/utils-validation': 3.4.0(@docusaurus/[email protected])(@swc/[email protected])
react: 18.3.1
@@ -7607,14 +7723,14 @@ packages:
- webpack-cli
dev: false
resolution: {integrity: sha512-+0VDvx9SmNrFNgwPoeoCha+tRoAjopwT0+pYO1xAbyLcewXSemq+eLxEa46Q1/aoOaJQ0qqHELuQM7iS2gp33Q==}
engines: {node: '>=18.0'}
peerDependencies:
react: ^18.0.0
react-dom: ^18.0.0
dependencies:
'@docusaurus/logger': 3.4.0
'@docusaurus/types': 3.4.0(@swc/[email protected])([email protected])([email protected])
'@docusaurus/utils': 3.4.0(@docusaurus/[email protected])(@swc/[email protected])
@@ -7644,25 +7760,25 @@ packages:
- webpack-cli
dev: false
resolution: {integrity: sha512-Ohj6KB7siKqZaQhNJVMBBUzT3Nnp6eTKqO+FXO3qu/n1hJl3YLwVKTWBg28LF7MWrKu46UuYavwMRxud0VyqHg==}
engines: {node: '>=18.0'}
peerDependencies:
react: ^18.0.0
react-dom: ^18.0.0
dependencies:
- '@docusaurus/plugin-google-analytics': 3.4.0(@swc/[email protected])([email protected])([email protected])([email protected])([email protected])
- '@docusaurus/plugin-google-tag-manager': 3.4.0(@swc/[email protected])([email protected])([email protected])([email protected])([email protected])
+ '@docusaurus/plugin-google-analytics': 3.4.0(@swc/[email protected])([email protected])([email protected])([email protected])([email protected])
+ '@docusaurus/plugin-google-tag-manager': 3.4.0(@swc/[email protected])([email protected])([email protected])([email protected])([email protected])
'@docusaurus/types': 3.4.0(@swc/[email protected])([email protected])([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
@@ -7697,20 +7813,20 @@ packages:
react: 18.3.1
dev: false
resolution: {integrity: sha512-0IPtmxsBYv2adr1GnZRdMkEQt1YW6tpzrUPj02YxNpvJ5+ju4E13J5tB4nfdaen/tfR1hmpSPlTFPvTf4kwy8Q==}
engines: {node: '>=18.0'}
peerDependencies:
react: ^18.0.0
react-dom: ^18.0.0
dependencies:
'@docusaurus/mdx-loader': 3.4.0(@docusaurus/[email protected])(@swc/[email protected])([email protected])([email protected])
'@docusaurus/module-type-aliases': 3.4.0(@swc/[email protected])([email protected])([email protected])
'@docusaurus/theme-translations': 3.4.0
'@docusaurus/types': 3.4.0(@swc/[email protected])([email protected])([email protected])
'@docusaurus/utils': 3.4.0(@docusaurus/[email protected])(@swc/[email protected])
@@ -7751,7 +7867,7 @@ packages:
- webpack-cli
dev: false
resolution: {integrity: sha512-0A27alXuv7ZdCg28oPE8nH/Iz73/IUejVaCazqu9elS4ypjiLhK3KfzdSQBnL/g7YfHSlymZKdiOHEo8fJ0qMA==}
engines: {node: '>=18.0'}
peerDependencies:
@@ -7760,9 +7876,9 @@ packages:
dependencies:
'@docusaurus/mdx-loader': 3.4.0(@docusaurus/[email protected])(@swc/[email protected])([email protected])([email protected])
'@docusaurus/module-type-aliases': 3.4.0(@swc/[email protected])([email protected])([email protected])
'@docusaurus/utils': 3.4.0(@docusaurus/[email protected])(@swc/[email protected])
'@docusaurus/utils-common': 3.4.0(@docusaurus/[email protected])
'@types/history': 4.7.11
@@ -7795,7 +7911,7 @@ packages:
- webpack-cli
dev: false
resolution: {integrity: sha512-aiHFx7OCw4Wck1z6IoShVdUWIjntC8FHCw9c5dR8r3q4Ynh+zkS8y2eFFunN/DL6RXPzpnvKCg3vhLQYJDmT9Q==}
engines: {node: '>=18.0'}
peerDependencies:
@@ -7803,10 +7919,10 @@ packages:
react-dom: ^18.0.0
dependencies:
'@docusaurus/logger': 3.4.0
'@docusaurus/theme-translations': 3.4.0
'@docusaurus/utils': 3.4.0(@docusaurus/[email protected])(@swc/[email protected])
'@docusaurus/utils-validation': 3.4.0(@docusaurus/[email protected])(@swc/[email protected])
@@ -8804,13 +8920,13 @@ packages:
resolution: {integrity: sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
resolution: {integrity: sha512-ZPmN0QAfsGbLwx3An20iZxSVZrEEPXoCf5V3mTVdDAo90IhD0O9991153n98cCggD7LemPOWei0GRvRso2MKgg==}
peerDependencies:
eslint: '>=8'
dependencies:
- '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/[email protected])([email protected])([email protected])
- '@typescript-eslint/parser': 5.62.0([email protected])([email protected])
+ '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/[email protected])([email protected])([email protected])
+ '@typescript-eslint/parser': 5.62.0([email protected])([email protected])
'@withfig/eslint-plugin-fig-linter': 1.4.1
eslint: 8.56.0
eslint-plugin-compat: 4.2.0([email protected])
@@ -9741,11 +9857,11 @@ packages:
chalk: 4.1.2
dev: false
resolution: {integrity: sha512-+fA/Xi7xy6IC8j2K1MqhUWbchCQVGimIHsem5wknoFcgqmxY8E4Cu4fsdOQBgbOgV/aWNOOVOJ2nGkCQE5cdzQ==}
dependencies:
- '@typescript-eslint/eslint-plugin': 7.5.0(@typescript-eslint/[email protected])([email protected])([email protected])
- '@typescript-eslint/parser': 7.5.0([email protected])([email protected])
+ '@typescript-eslint/eslint-plugin': 7.5.0(@typescript-eslint/[email protected])([email protected])([email protected])
+ '@typescript-eslint/parser': 7.5.0([email protected])([email protected])
eslint-plugin-10x: 1.5.2([email protected])
eslint-plugin-react: 7.34.1([email protected])
eslint-plugin-react-hooks: 4.6.0([email protected])
@@ -10843,7 +10959,7 @@ packages:
engines: {node: '>=18.0.0'}
dev: false
resolution: {integrity: sha512-9DGb2UOIO4jOdws04Z+KmCeEBqbP36XvJZdcd4w16wDGI0I1ZY1c5ro58tB/7zPwN40s9MD9UzCYm6P+EkdeAg==}
engines: {node: '>=18.0.0'}
hasBin: true
@@ -10873,11 +10989,11 @@ packages:
'@babel/types': 7.24.0
'@mdx-js/mdx': 2.3.0
'@npmcli/package-json': 4.0.1
- '@remix-run/node': 2.11.2([email protected])
+ '@remix-run/node': 2.11.2([email protected])
'@remix-run/router': 1.19.1
- '@remix-run/serve': 2.11.2([email protected])
- '@remix-run/server-runtime': 2.11.2([email protected])
+ '@remix-run/serve': 2.11.2([email protected])
+ '@remix-run/server-runtime': 2.11.2([email protected])
'@types/mdx': 2.0.5
'@vanilla-extract/integration': 6.5.0(@types/[email protected])
arg: 5.0.2
@@ -10917,7 +11033,7 @@ packages:
set-cookie-parser: 2.7.0
tar-fs: 2.1.1
tsconfig-paths: 4.2.0
- typescript: 5.3.3
+ typescript: 5.6.2
vite: 5.4.6(@types/[email protected])
ws: 7.5.5
transitivePeerDependencies:
@@ -10936,7 +11052,7 @@ packages:
- ts-node
- utf-8-validate
resolution: {integrity: sha512-XjvpQZDvPL5L2NPUL9suwn0eo/WCHSewivpEEm2G1Ke06xL7LenIc8HzwkgsJqDrfvxePAFPj+RCcrygQvtMzA==}
engines: {node: '>=18.0.0'}
hasBin: true
@@ -10966,11 +11082,11 @@ packages:
'@babel/types': 7.24.0
'@mdx-js/mdx': 2.3.0
'@npmcli/package-json': 4.0.1
- '@remix-run/node': 2.12.1([email protected])
+ '@remix-run/node': 2.12.1([email protected])
'@remix-run/router': 1.19.2
- '@remix-run/serve': 2.12.1([email protected])
- '@remix-run/server-runtime': 2.12.1([email protected])
+ '@remix-run/serve': 2.12.1([email protected])
+ '@remix-run/server-runtime': 2.12.1([email protected])
'@types/mdx': 2.0.5
'@vanilla-extract/integration': 6.5.0(@types/[email protected])
arg: 5.0.2
@@ -11010,7 +11126,7 @@ packages:
set-cookie-parser: 2.7.0
tar-fs: 2.1.1
tsconfig-paths: 4.2.0
- typescript: 5.3.3
+ typescript: 5.6.2
ws: 7.5.5
transitivePeerDependencies:
- '@types/node'
@@ -11029,7 +11145,7 @@ packages:
- utf-8-validate
dev: true
resolution: {integrity: sha512-R/1zoLdI7ld8J2+LmFbb0BQAkcdjPYHX8wO7b3zEmoLDBdv2B6nHPBDigIHHzP8XROIlUaZJ5/cpqX8Y9U2O+Q==}
engines: {node: '>=18.0.0'}
peerDependencies:
@@ -11044,21 +11160,21 @@ packages:
'@babel/eslint-parser': 7.25.1(@babel/[email protected])([email protected])
'@babel/preset-react': 7.24.7(@babel/[email protected])
'@rushstack/eslint-patch': 1.10.4
- '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/[email protected])([email protected])([email protected])
- '@typescript-eslint/parser': 5.62.0([email protected])([email protected])
+ '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/[email protected])([email protected])([email protected])
+ '@typescript-eslint/parser': 5.62.0([email protected])([email protected])
eslint: 8.56.0
eslint-import-resolver-node: 0.3.7
eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
eslint-plugin-import: 2.30.0(@typescript-eslint/[email protected])([email protected])([email protected])
- eslint-plugin-jest: 26.9.0(@typescript-eslint/[email protected])([email protected])([email protected])
+ eslint-plugin-jest: 26.9.0(@typescript-eslint/[email protected])([email protected])([email protected])
eslint-plugin-jest-dom: 4.0.3([email protected])
eslint-plugin-jsx-a11y: 6.10.0([email protected])
eslint-plugin-node: 11.1.0([email protected])
eslint-plugin-react: 7.32.2([email protected])
eslint-plugin-react-hooks: 4.6.0([email protected])
- eslint-plugin-testing-library: 5.11.1([email protected])([email protected])
+ eslint-plugin-testing-library: 5.11.1([email protected])([email protected])
react: 18.3.1
- typescript: 5.3.3
+ typescript: 5.6.2
transitivePeerDependencies:
- eslint-import-resolver-webpack
- eslint-plugin-import-x
@@ -11066,7 +11182,7 @@ packages:
- supports-color
dev: true
resolution: {integrity: sha512-ebyvHJKRBDgQGNBMxsILt21IwMTjGxQxlr0VNxRJo5rNd5CcuULpx/PPmsBc1gsc/Jx9aUXpT7a9l0UEOc6+jw==}
engines: {node: '>=18.0.0'}
peerDependencies:
@@ -11076,11 +11192,11 @@ packages:
typescript:
optional: true
dependencies:
- '@remix-run/node': 2.11.2([email protected])
+ '@remix-run/node': 2.11.2([email protected])
express: 4.19.2
- typescript: 5.3.3
+ typescript: 5.6.2
resolution: {integrity: sha512-CW5coZXxk8251Tr0Fh9jmhda5Xt/BWfnUyD7jxth30irpWAEQcsaBu4pSDKuRvnJ8j2o7087EBnUn7oCB4ofNg==}
engines: {node: '>=18.0.0'}
peerDependencies:
@@ -11090,9 +11206,9 @@ packages:
typescript:
optional: true
dependencies:
- '@remix-run/node': 2.12.1([email protected])
+ '@remix-run/node': 2.12.1([email protected])
express: 4.19.2
- typescript: 5.3.3
+ typescript: 5.6.2
/@remix-run/[email protected]:
resolution: {integrity: sha512-z5qrVL65xLXIUpU4mkR4MKlMeKARLepgHAk4W5YY3IBXOreRqOGUC70POViYmY7x38c2Ia1NwqL80H+0h7jbMw==}
@@ -11109,7 +11225,7 @@ packages:
stream-slice: 0.1.2
dev: false
resolution: {integrity: sha512-gRNFM61EOYWNmYgf+pvBt6MrirWlkDz1G6RQsJNowtRqbYoy05AdDe5HiHGF5w8ZMAZVeXnZiwbL0Nt7ykYBCA==}
engines: {node: '>=18.0.0'}
peerDependencies:
@@ -11118,16 +11234,16 @@ packages:
typescript:
optional: true
dependencies:
- '@remix-run/server-runtime': 2.11.2([email protected])
+ '@remix-run/server-runtime': 2.11.2([email protected])
'@remix-run/web-fetch': 4.4.2
'@web3-storage/multipart-parser': 1.0.0
cookie-signature: 1.2.1
source-map-support: 0.5.21
stream-slice: 0.1.2
- typescript: 5.3.3
+ typescript: 5.6.2
undici: 6.19.8
resolution: {integrity: sha512-d+IHvEEU3qziporgpEyKFvKdmNaDu+a/9pIxBkNKVWdKx2JR0VRFIaUxxpxISWtkJcoNuERhW2xYa6YvtFp4ig==}
engines: {node: '>=18.0.0'}
peerDependencies:
@@ -11136,16 +11252,16 @@ packages:
typescript:
optional: true
dependencies:
- '@remix-run/server-runtime': 2.12.1([email protected])
+ '@remix-run/server-runtime': 2.12.1([email protected])
'@remix-run/web-fetch': 4.4.2
'@web3-storage/multipart-parser': 1.0.0
cookie-signature: 1.2.1
source-map-support: 0.5.21
stream-slice: 0.1.2
- typescript: 5.3.3
+ typescript: 5.6.2
undici: 6.19.8
resolution: {integrity: sha512-UI442xzHAiokmsfrYOabMQB024+IizmRhZBGcNa42QjJWsNqogy1bNwYhzEpB6oQEB1wF3vwOKK1AD1/iYA/9A==}
engines: {node: '>=18.0.0'}
peerDependencies:
@@ -11154,7 +11270,7 @@ packages:
typescript:
optional: true
dependencies:
- '@remix-run/server-runtime': 2.5.1([email protected])
+ '@remix-run/server-runtime': 2.5.1([email protected])
'@remix-run/web-fetch': 4.4.2
'@remix-run/web-file': 3.1.0
'@remix-run/web-stream': 1.1.0
@@ -11162,10 +11278,10 @@ packages:
cookie-signature: 1.2.1
source-map-support: 0.5.21
stream-slice: 0.1.2
- typescript: 5.3.3
+ typescript: 5.6.2
dev: false
resolution: {integrity: sha512-SjjuK3aD/9wnIC5r0ZBNCpVSwEwt67YOQM7DCXhHiS8BtCvAxWEC4k4t8CvO9IwBG0gczqxzSqASH7U1RVtWqw==}
engines: {node: '>=18.0.0'}
peerDependencies:
@@ -11177,15 +11293,15 @@ packages:
optional: true
dependencies:
'@remix-run/router': 1.19.1
- '@remix-run/server-runtime': 2.11.2([email protected])
+ '@remix-run/server-runtime': 2.11.2([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
react-router: 6.26.1([email protected])
react-router-dom: 6.26.1([email protected])([email protected])
turbo-stream: 2.3.0
- typescript: 5.3.3
+ typescript: 5.6.2
resolution: {integrity: sha512-+AFR6oCcAndlUZvr42dNrY2zprhf5Yo5Wl7TBocO3YPmwLkdrzJz+e8Sezk25qgHBB9cCTigt+yyliXmsZ1mpg==}
engines: {node: '>=18.0.0'}
peerDependencies:
@@ -11197,13 +11313,13 @@ packages:
optional: true
dependencies:
'@remix-run/router': 1.19.2
- '@remix-run/server-runtime': 2.12.1([email protected])
+ '@remix-run/server-runtime': 2.12.1([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
react-router: 6.26.2([email protected])
react-router-dom: 6.26.2([email protected])([email protected])
turbo-stream: 2.4.0
- typescript: 5.3.3
+ typescript: 5.6.2
/@remix-run/[email protected]:
resolution: {integrity: sha512-ACXpdMM9hmKZww21yEqWwiLws/UPLhNKvimN8RrYSqPSvB3ov7sLvAcfvaxePeLvccTQKGdkDIhLYApZVDFuKg==}
@@ -11223,13 +11339,13 @@ packages:
engines: {node: '>=14'}
dev: false
resolution: {integrity: sha512-f1ETbCAlkSO3kg1zcQyLVHxI2r1TXqV2nfPgX/5+7QmA1dEHJD3OhvSmbvopwSMSfi1jzuyRbJo04yK4aJ8ztg==}
engines: {node: '>=18.0.0'}
hasBin: true
dependencies:
- '@remix-run/express': 2.11.2([email protected])([email protected])
- '@remix-run/node': 2.11.2([email protected])
+ '@remix-run/express': 2.11.2([email protected])([email protected])
+ '@remix-run/node': 2.11.2([email protected])
chokidar: 3.5.3
compression: 1.7.4
express: 4.19.2
@@ -11240,13 +11356,13 @@ packages:
- supports-color
- typescript
resolution: {integrity: sha512-J9BL5t2Alz45G/17vjD7YRuiRM+V4rJi63Kj+bmewuKWNXDEyij2LqgZJpkoHpkNsQFGiaBMNGc8bPd8RRmrxA==}
engines: {node: '>=18.0.0'}
hasBin: true
dependencies:
- '@remix-run/express': 2.12.1([email protected])([email protected])
- '@remix-run/node': 2.12.1([email protected])
+ '@remix-run/express': 2.12.1([email protected])([email protected])
+ '@remix-run/node': 2.12.1([email protected])
chokidar: 3.5.3
compression: 1.7.4
express: 4.19.2
@@ -11269,7 +11385,7 @@ packages:
source-map: 0.7.3
dev: false
resolution: {integrity: sha512-abG6ENj0X3eHqDxqO2thWM2NSEiPnqyt58z1BbiQCv+t8g0Zuqd5QHbB4wzdNvfS0vKhg+jJiigcJneAc4sZzw==}
engines: {node: '>=18.0.0'}
peerDependencies:
@@ -11285,9 +11401,9 @@ packages:
set-cookie-parser: 2.7.0
source-map: 0.7.3
turbo-stream: 2.3.0
- typescript: 5.3.3
+ typescript: 5.6.2
resolution: {integrity: sha512-iuj9ju34f0LztPpd5dVuTXgt4x/MJeRsBiLuEx02nDSMGoNCAIx2LdeNYvE+XXdsf1Ht2NMlpRU+HBPCz3QLZg==}
engines: {node: '>=18.0.0'}
peerDependencies:
@@ -11303,9 +11419,9 @@ packages:
set-cookie-parser: 2.7.0
source-map: 0.7.3
turbo-stream: 2.4.0
- typescript: 5.3.3
+ typescript: 5.6.2
resolution: {integrity: sha512-bP31jrVbYTJ2eP5sxZfDgT1YyXzDlzsfMxGYVzpaoLCYDJAekq1QpHLLXKGOXhmyb46O9rdhlQKfwD6WpAxr3A==}
engines: {node: '>=18.0.0'}
peerDependencies:
@@ -11320,7 +11436,7 @@ packages:
cookie: 0.6.0
set-cookie-parser: 2.7.0
source-map: 0.7.3
- typescript: 5.3.3
+ typescript: 5.6.2
dev: false
/@remix-run/[email protected](@vercel/[email protected]):
@@ -13080,7 +13196,7 @@ packages:
dev: false
optional: true
- /@typescript-eslint/[email protected](@typescript-eslint/[email protected])([email protected])([email protected]):
+ /@typescript-eslint/[email protected](@typescript-eslint/[email protected])([email protected])([email protected]):
resolution: {integrity: sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@@ -13092,23 +13208,23 @@ packages:
optional: true
dependencies:
'@eslint-community/regexpp': 4.10.0
- '@typescript-eslint/parser': 5.62.0([email protected])([email protected])
+ '@typescript-eslint/parser': 5.62.0([email protected])([email protected])
'@typescript-eslint/scope-manager': 5.62.0
- '@typescript-eslint/type-utils': 5.62.0([email protected])([email protected])
- '@typescript-eslint/utils': 5.62.0([email protected])([email protected])
+ '@typescript-eslint/type-utils': 5.62.0([email protected])([email protected])
+ '@typescript-eslint/utils': 5.62.0([email protected])([email protected])
debug: 4.3.6([email protected])
eslint: 8.56.0
graphemer: 1.4.0
ignore: 5.2.4
natural-compare-lite: 1.4.0
semver: 7.5.3
- tsutils: 3.21.0([email protected])
- typescript: 5.3.3
+ tsutils: 3.21.0([email protected])
+ typescript: 5.6.2
transitivePeerDependencies:
- supports-color
dev: true
- /@typescript-eslint/[email protected](@typescript-eslint/[email protected])([email protected])([email protected]):
+ /@typescript-eslint/[email protected](@typescript-eslint/[email protected])([email protected])([email protected]):
resolution: {integrity: sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
@@ -13120,10 +13236,10 @@ packages:
optional: true
dependencies:
'@eslint-community/regexpp': 4.10.0
- '@typescript-eslint/parser': 6.21.0([email protected])([email protected])
+ '@typescript-eslint/parser': 6.21.0([email protected])([email protected])
'@typescript-eslint/scope-manager': 6.21.0
- '@typescript-eslint/type-utils': 6.21.0([email protected])([email protected])
- '@typescript-eslint/utils': 6.21.0([email protected])([email protected])
+ '@typescript-eslint/type-utils': 6.21.0([email protected])([email protected])
+ '@typescript-eslint/utils': 6.21.0([email protected])([email protected])
'@typescript-eslint/visitor-keys': 6.21.0
debug: 4.3.4
eslint: 8.56.0
@@ -13131,12 +13247,12 @@ packages:
ignore: 5.2.4
natural-compare: 1.4.0
semver: 7.5.4
- ts-api-utils: 1.0.3([email protected])
- typescript: 5.3.3
+ ts-api-utils: 1.0.3([email protected])
+ typescript: 5.6.2
transitivePeerDependencies:
- supports-color
- /@typescript-eslint/[email protected](@typescript-eslint/[email protected])([email protected])([email protected]):
+ /@typescript-eslint/[email protected](@typescript-eslint/[email protected])([email protected])([email protected]):
resolution: {integrity: sha512-HpqNTH8Du34nLxbKgVMGljZMG0rJd2O9ecvr2QLYp+7512ty1j42KnsFwspPXg1Vh8an9YImf6CokUBltisZFQ==}
engines: {node: ^18.18.0 || >=20.0.0}
peerDependencies:
@@ -13148,10 +13264,10 @@ packages:
optional: true
dependencies:
'@eslint-community/regexpp': 4.10.0
- '@typescript-eslint/parser': 7.5.0([email protected])([email protected])
+ '@typescript-eslint/parser': 7.5.0([email protected])([email protected])
'@typescript-eslint/scope-manager': 7.5.0
- '@typescript-eslint/type-utils': 7.5.0([email protected])([email protected])
- '@typescript-eslint/utils': 7.5.0([email protected])([email protected])
+ '@typescript-eslint/type-utils': 7.5.0([email protected])([email protected])
+ '@typescript-eslint/utils': 7.5.0([email protected])([email protected])
'@typescript-eslint/visitor-keys': 7.5.0
debug: 4.3.6([email protected])
eslint: 8.56.0
@@ -13159,13 +13275,13 @@ packages:
ignore: 5.2.4
natural-compare: 1.4.0
semver: 7.6.3
- ts-api-utils: 1.0.3([email protected])
- typescript: 5.3.3
+ ts-api-utils: 1.0.3([email protected])
+ typescript: 5.6.2
transitivePeerDependencies:
- supports-color
dev: true
resolution: {integrity: sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@@ -13177,15 +13293,15 @@ packages:
dependencies:
'@typescript-eslint/scope-manager': 5.62.0
'@typescript-eslint/types': 5.62.0
- '@typescript-eslint/typescript-estree': 5.62.0([email protected])
+ '@typescript-eslint/typescript-estree': 5.62.0([email protected])
debug: 4.3.6([email protected])
eslint: 8.56.0
- typescript: 5.3.3
+ typescript: 5.6.2
transitivePeerDependencies:
- supports-color
dev: true
resolution: {integrity: sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
@@ -13197,15 +13313,15 @@ packages:
dependencies:
'@typescript-eslint/scope-manager': 6.21.0
'@typescript-eslint/types': 6.21.0
- '@typescript-eslint/typescript-estree': 6.21.0([email protected])
+ '@typescript-eslint/typescript-estree': 6.21.0([email protected])
'@typescript-eslint/visitor-keys': 6.21.0
debug: 4.3.6([email protected])
eslint: 8.56.0
- typescript: 5.3.3
+ typescript: 5.6.2
transitivePeerDependencies:
- supports-color
resolution: {integrity: sha512-cj+XGhNujfD2/wzR1tabNsidnYRaFfEkcULdcIyVBYcXjBvBKOes+mpMBP7hMpOyk+gBcfXsrg4NBGAStQyxjQ==}
engines: {node: ^18.18.0 || >=20.0.0}
peerDependencies:
@@ -13217,11 +13333,11 @@ packages:
dependencies:
'@typescript-eslint/scope-manager': 7.5.0
'@typescript-eslint/types': 7.5.0
- '@typescript-eslint/typescript-estree': 7.5.0([email protected])
+ '@typescript-eslint/typescript-estree': 7.5.0([email protected])
'@typescript-eslint/visitor-keys': 7.5.0
debug: 4.3.6([email protected])
eslint: 8.56.0
- typescript: 5.3.3
+ typescript: 5.6.2
transitivePeerDependencies:
- supports-color
dev: true
@@ -13256,7 +13372,7 @@ packages:
'@typescript-eslint/visitor-keys': 7.5.0
dev: true
resolution: {integrity: sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@@ -13266,17 +13382,17 @@ packages:
typescript:
optional: true
dependencies:
- '@typescript-eslint/typescript-estree': 5.62.0([email protected])
- '@typescript-eslint/utils': 5.62.0([email protected])([email protected])
+ '@typescript-eslint/typescript-estree': 5.62.0([email protected])
+ '@typescript-eslint/utils': 5.62.0([email protected])([email protected])
debug: 4.3.6([email protected])
eslint: 8.56.0
- tsutils: 3.21.0([email protected])
- typescript: 5.3.3
+ tsutils: 3.21.0([email protected])
+ typescript: 5.6.2
transitivePeerDependencies:
- supports-color
dev: true
resolution: {integrity: sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
@@ -13286,16 +13402,16 @@ packages:
typescript:
optional: true
dependencies:
- '@typescript-eslint/typescript-estree': 6.21.0([email protected])
- '@typescript-eslint/utils': 6.21.0([email protected])([email protected])
+ '@typescript-eslint/typescript-estree': 6.21.0([email protected])
+ '@typescript-eslint/utils': 6.21.0([email protected])([email protected])
debug: 4.3.6([email protected])
eslint: 8.56.0
- ts-api-utils: 1.0.3([email protected])
- typescript: 5.3.3
+ ts-api-utils: 1.0.3([email protected])
+ typescript: 5.6.2
transitivePeerDependencies:
- supports-color
resolution: {integrity: sha512-A021Rj33+G8mx2Dqh0nMO9GyjjIBK3MqgVgZ2qlKf6CJy51wY/lkkFqq3TqqnH34XyAHUkq27IjlUkWlQRpLHw==}
engines: {node: ^18.18.0 || >=20.0.0}
peerDependencies:
@@ -13305,12 +13421,12 @@ packages:
typescript:
optional: true
dependencies:
- '@typescript-eslint/typescript-estree': 7.5.0([email protected])
- '@typescript-eslint/utils': 7.5.0([email protected])([email protected])
+ '@typescript-eslint/typescript-estree': 7.5.0([email protected])
+ '@typescript-eslint/utils': 7.5.0([email protected])([email protected])
debug: 4.3.6([email protected])
eslint: 8.56.0
- ts-api-utils: 1.0.3([email protected])
- typescript: 5.3.3
+ ts-api-utils: 1.0.3([email protected])
+ typescript: 5.6.2
transitivePeerDependencies:
- supports-color
dev: true
@@ -13333,7 +13449,7 @@ packages:
engines: {node: ^18.18.0 || >=20.0.0}
dev: true
- /@typescript-eslint/[email protected]([email protected]):
+ /@typescript-eslint/[email protected]([email protected]):
resolution: {integrity: sha512-dRPuD4ocXdaE1BM/dNR21elSEUPKaWgowCA0bqJ6YbYkvtrPVEvZ+zqcX5a8ECYn3q5iBSSUcBBD42ubaOp0Hw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@@ -13348,12 +13464,12 @@ packages:
globby: 11.1.0
is-glob: 4.0.3
semver: 7.5.3
- tsutils: 3.21.0([email protected])
- typescript: 5.3.3
+ tsutils: 3.21.0([email protected])
+ typescript: 5.6.2
transitivePeerDependencies:
- supports-color
- /@typescript-eslint/[email protected]([email protected]):
+ /@typescript-eslint/[email protected]([email protected]):
resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@@ -13368,13 +13484,13 @@ packages:
globby: 11.1.0
is-glob: 4.0.3
semver: 7.5.3
- tsutils: 3.21.0([email protected])
- typescript: 5.3.3
+ tsutils: 3.21.0([email protected])
+ typescript: 5.6.2
transitivePeerDependencies:
- supports-color
dev: true
- /@typescript-eslint/[email protected]([email protected]):
+ /@typescript-eslint/[email protected]([email protected]):
resolution: {integrity: sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
@@ -13390,12 +13506,12 @@ packages:
is-glob: 4.0.3
minimatch: 9.0.3
semver: 7.6.3
- ts-api-utils: 1.0.3([email protected])
- typescript: 5.3.3
+ ts-api-utils: 1.0.3([email protected])
+ typescript: 5.6.2
transitivePeerDependencies:
- supports-color
- /@typescript-eslint/[email protected]([email protected]):
+ /@typescript-eslint/[email protected]([email protected]):
resolution: {integrity: sha512-YklQQfe0Rv2PZEueLTUffiQGKQneiIEKKnfIqPIOxgM9lKSZFCjT5Ad4VqRKj/U4+kQE3fa8YQpskViL7WjdPQ==}
engines: {node: ^18.18.0 || >=20.0.0}
peerDependencies:
@@ -13411,13 +13527,13 @@ packages:
is-glob: 4.0.3
minimatch: 9.0.3
semver: 7.6.3
- ts-api-utils: 1.0.3([email protected])
- typescript: 5.3.3
+ ts-api-utils: 1.0.3([email protected])
+ typescript: 5.6.2
transitivePeerDependencies:
- supports-color
dev: true
resolution: {integrity: sha512-ZuEckdupXpXamKvFz/Ql8YnePh2ZWcwz7APICzJL985Rp5C2AYcHO62oJzIqNhAMtMK6XvrlBTZeNG8n7gS3lQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@@ -13426,7 +13542,7 @@ packages:
'@types/json-schema': 7.0.13
'@typescript-eslint/scope-manager': 5.19.0
'@typescript-eslint/types': 5.19.0
- '@typescript-eslint/typescript-estree': 5.19.0([email protected])
+ '@typescript-eslint/typescript-estree': 5.19.0([email protected])
eslint: 8.56.0
eslint-scope: 5.1.1
eslint-utils: 3.0.0([email protected])
@@ -13434,7 +13550,7 @@ packages:
- supports-color
- typescript
resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@@ -13445,7 +13561,7 @@ packages:
'@types/semver': 7.5.3
'@typescript-eslint/scope-manager': 5.62.0
'@typescript-eslint/types': 5.62.0
- '@typescript-eslint/typescript-estree': 5.62.0([email protected])
+ '@typescript-eslint/typescript-estree': 5.62.0([email protected])
eslint: 8.56.0
eslint-scope: 5.1.1
semver: 7.5.3
@@ -13454,7 +13570,7 @@ packages:
- typescript
dev: true
resolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
@@ -13465,14 +13581,14 @@ packages:
'@types/semver': 7.5.3
'@typescript-eslint/scope-manager': 6.21.0
'@typescript-eslint/types': 6.21.0
- '@typescript-eslint/typescript-estree': 6.21.0([email protected])
+ '@typescript-eslint/typescript-estree': 6.21.0([email protected])
eslint: 8.56.0
semver: 7.6.3
transitivePeerDependencies:
- supports-color
- typescript
resolution: {integrity: sha512-3vZl9u0R+/FLQcpy2EHyRGNqAS/ofJ3Ji8aebilfJe+fobK8+LbIFmrHciLVDxjDoONmufDcnVSF38KwMEOjzw==}
engines: {node: ^18.18.0 || >=20.0.0}
peerDependencies:
@@ -13483,7 +13599,7 @@ packages:
'@types/semver': 7.5.3
'@typescript-eslint/scope-manager': 7.5.0
'@typescript-eslint/types': 7.5.0
- '@typescript-eslint/typescript-estree': 7.5.0([email protected])
+ '@typescript-eslint/typescript-estree': 7.5.0([email protected])
eslint: 8.56.0
semver: 7.6.3
transitivePeerDependencies:
@@ -13565,6 +13681,14 @@ packages:
- supports-color
dev: false
+ /@typescript/[email protected]:
+ resolution: {integrity: sha512-AJS307bPgbsZZ9ggCT3wwpg3VbTKMFNHfaY/uF0ahSkYYrPF2dSSKDNIDIQAHm9qJqbLvCsSJH7yN4Vs/CsMMg==}
+ dependencies:
+ debug: 4.3.6([email protected])
+ transitivePeerDependencies:
+ - supports-color
+ dev: false
+
resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
@@ -13682,9 +13806,9 @@ packages:
react: '*'
react-dom: '*'
dependencies:
- '@remix-run/dev': 2.11.2(@remix-run/[email protected])(@remix-run/[email protected])([email protected])([email protected])
- '@remix-run/node': 2.11.2([email protected])
- '@remix-run/server-runtime': 2.11.2([email protected])
+ '@remix-run/dev': 2.11.2(@remix-run/[email protected])(@remix-run/[email protected])([email protected])([email protected])
+ '@remix-run/node': 2.11.2([email protected])
+ '@remix-run/server-runtime': 2.11.2([email protected])
'@vercel/static-config': 3.0.0
isbot: 3.8.0
react: 18.3.1
@@ -13692,15 +13816,15 @@ packages:
ts-morph: 12.0.0
dev: false
resolution: {integrity: sha512-b38Av3htXlF5L/Gy0vufWtSPLQOCKTYGLANWIrpLnB2m3Ro8Q56SgkBE1iMqVnHQ6A32fyAXg9y0BrVRRLhy6A==}
engines: {node: '>=18.0.0'}
peerDependencies:
react: '*'
react-dom: '*'
dependencies:
- '@remix-run/node': 2.5.1([email protected])
- '@remix-run/server-runtime': 2.5.1([email protected])
+ '@remix-run/node': 2.5.1([email protected])
+ '@remix-run/server-runtime': 2.5.1([email protected])
isbot: 3.8.0
react: 18.3.1
react-dom: 18.3.1([email protected])
@@ -13931,12 +14055,12 @@ packages:
acorn: 8.11.3
acorn-walk: 8.3.2
resolution: {integrity: sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==}
peerDependencies:
acorn: ^8
dependencies:
- acorn: 8.11.3
+ acorn: 8.12.1
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
@@ -14102,6 +14226,10 @@ packages:
resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==}
engines: {node: '>=12'}
+ resolution: {integrity: sha512-vJXt3yiaUL4UU546s3rPXlsry/RnM730G1+HkpKE012AN0sx1eOrxSu95oKDIonskeLTijMgqWZ3uDEe3NFvyg==}
+ dev: false
+
resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==}
engines: {node: '>=4'}
@@ -14331,7 +14459,7 @@ packages:
resolution: {integrity: sha512-ISvCdHdlTDlH5IpxQJIex7BWBywFWgjJSVdwst+/iQCoEYnyOaQ95+X1JGshuBjGp6nxKUy1jMgE3zPqN7fQdg==}
hasBin: true
resolution: {integrity: sha512-wqy+m3qygt9DmCSqMsckxyK4ccCUFtti2d/WlLkEpAlqHgyDIg20zRTLHO2v/H4YeSlJ8sAcN0RW2FhOeYbINg==}
engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0'}
hasBin: true
@@ -14391,7 +14519,7 @@ packages:
string-width: 7.2.0
strip-ansi: 7.1.0
tinyexec: 0.3.0
- tsconfck: 3.1.3([email protected])
+ tsconfck: 3.1.3([email protected])
unist-util-visit: 5.0.0
vfile: 6.0.3
vite: 5.4.6(@types/[email protected])
@@ -14401,7 +14529,7 @@ packages:
yargs-parser: 21.1.1
zod: 3.23.8
zod-to-json-schema: 3.23.2([email protected])
optionalDependencies:
sharp: 0.33.5
transitivePeerDependencies:
@@ -15308,6 +15436,18 @@ packages:
resolution: {integrity: sha512-67ueh2IRGst/51p0n6FvPrnRjAGHY5F8xdjkgrYE7DDzpJe6qA07RYQ9VcoUeo5ATOjSOiWpSL3SWBRRbempMw==}
dev: false
+ resolution: {integrity: sha512-mmZSqgKT97R2+2UiXB3CowYXlZp94iZDcsSlQEq9Mr8sYNU/RudS4rrxL5zFQae8DBVKhsC4oEy2ow0M9ivJfw==}
+ dependencies:
+ '@code-hike/lighter': 0.9.4
+ diff: 5.2.0
+ estree-util-visit: 2.0.0
+ mdast-util-mdx-jsx: 3.1.2
+ unist-util-visit: 5.0.0
+ transitivePeerDependencies:
+ - supports-color
+ dev: false
+
resolution: {integrity: sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==}
dev: false
@@ -15616,7 +15756,7 @@ packages:
path-type: 4.0.0
dev: false
resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==}
engines: {node: '>=14'}
peerDependencies:
@@ -15629,7 +15769,7 @@ packages:
js-yaml: 4.1.0
parse-json: 5.2.0
path-type: 4.0.0
- typescript: 5.3.3
+ typescript: 5.6.2
dev: false
@@ -17290,7 +17430,7 @@ packages:
optionalDependencies:
source-map: 0.6.1
resolution: {integrity: sha512-aro1EKAoyYchnO/3Tlo91hnNBO7QO7qnv/79MAFC+4Jq8TdUVKQlht5d2F+YjrePjdpOvfL+mV9JPfyYNwkk1g==}
peerDependencies:
eslint: ^7.23.0 || ^8.0.0
@@ -17301,8 +17441,8 @@ packages:
dependencies:
'@next/eslint-plugin-next': 14.2.13
'@rushstack/eslint-patch': 1.10.4
- '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/[email protected])([email protected])([email protected])
- '@typescript-eslint/parser': 6.21.0([email protected])([email protected])
+ '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/[email protected])([email protected])([email protected])
+ '@typescript-eslint/parser': 6.21.0([email protected])([email protected])
eslint: 8.56.0
eslint-import-resolver-node: 0.3.9
eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
@@ -17310,7 +17450,7 @@ packages:
eslint-plugin-jsx-a11y: 6.10.0([email protected])
eslint-plugin-react: 7.34.1([email protected])
eslint-plugin-react-hooks: 4.6.0([email protected])
- typescript: 5.3.3
+ typescript: 5.6.2
transitivePeerDependencies:
- eslint-import-resolver-webpack
- eslint-plugin-import-x
@@ -17418,7 +17558,7 @@ packages:
eslint-import-resolver-webpack:
optional: true
dependencies:
- '@typescript-eslint/parser': 5.62.0([email protected])([email protected])
+ '@typescript-eslint/parser': 5.62.0([email protected])([email protected])
debug: 3.2.7
eslint: 8.56.0
eslint-import-resolver-node: 0.3.7
@@ -17448,7 +17588,7 @@ packages:
eslint-import-resolver-webpack:
optional: true
dependencies:
- '@typescript-eslint/parser': 5.62.0([email protected])([email protected])
+ '@typescript-eslint/parser': 5.62.0([email protected])([email protected])
debug: 3.2.7
eslint: 8.56.0
eslint-import-resolver-node: 0.3.9
@@ -17478,7 +17618,7 @@ packages:
eslint-import-resolver-webpack:
optional: true
dependencies:
- '@typescript-eslint/parser': 6.21.0([email protected])([email protected])
+ '@typescript-eslint/parser': 6.21.0([email protected])([email protected])
debug: 3.2.7
eslint: 8.56.0
eslint-import-resolver-node: 0.3.9
@@ -17533,7 +17673,7 @@ packages:
optional: true
dependencies:
'@rtsao/scc': 1.1.0
- '@typescript-eslint/parser': 5.62.0([email protected])([email protected])
+ '@typescript-eslint/parser': 5.62.0([email protected])([email protected])
array-includes: 3.1.8
array.prototype.findlastindex: 1.2.5
array.prototype.flat: 1.3.2
@@ -17569,7 +17709,7 @@ packages:
optional: true
dependencies:
'@rtsao/scc': 1.1.0
- '@typescript-eslint/parser': 6.21.0([email protected])([email protected])
+ '@typescript-eslint/parser': 6.21.0([email protected])([email protected])
array-includes: 3.1.8
array.prototype.findlastindex: 1.2.5
array.prototype.flat: 1.3.2
@@ -17606,7 +17746,7 @@ packages:
requireindex: 1.2.0
dev: true
resolution: {integrity: sha512-TWJxWGp1J628gxh2KhaH1H1paEdgE2J61BBF1I59c6xWeL5+D1BzMxGDN/nXAfX+aSkR5u80K+XhskK6Gwq9ng==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@@ -17619,8 +17759,8 @@ packages:
jest:
optional: true
dependencies:
- '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/[email protected])([email protected])([email protected])
- '@typescript-eslint/utils': 5.19.0([email protected])([email protected])
+ '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/[email protected])([email protected])([email protected])
+ '@typescript-eslint/utils': 5.19.0([email protected])([email protected])
eslint: 8.56.0
transitivePeerDependencies:
- supports-color
@@ -17734,13 +17874,13 @@ packages:
string.prototype.matchall: 4.0.11
dev: true
resolution: {integrity: sha512-5eX9e1Kc2PqVRed3taaLnAAqPZGEX75C+M/rXzUAI3wIg/ZxzUm1OVAwfe/O+vE+6YXOLetSe9g5GKD2ecXipw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0, npm: '>=6'}
peerDependencies:
eslint: ^7.5.0 || ^8.0.0
dependencies:
- '@typescript-eslint/utils': 5.62.0([email protected])([email protected])
+ '@typescript-eslint/utils': 5.62.0([email protected])([email protected])
eslint: 8.56.0
transitivePeerDependencies:
- supports-color
@@ -18443,7 +18583,7 @@ packages:
cross-spawn: 7.0.3
signal-exit: 4.1.0
resolution: {integrity: sha512-x1wumpHOEf4gDROmKTaB6i4/Q6H3LwmjVO7fIX47vBwlZbtPjU33hgoMuD/Q/y6SU8bnuYSoN6ZQOLshGp0T/g==}
engines: {node: '>=10', yarn: '>=1.0.0'}
peerDependencies:
@@ -18471,7 +18611,7 @@ packages:
schema-utils: 2.7.0
semver: 7.5.3
tapable: 1.1.3
- typescript: 5.3.3
+ typescript: 5.6.2
webpack: 5.94.0(@swc/[email protected])
dev: false
@@ -22880,6 +23020,13 @@ packages:
'@babel/runtime': 7.15.4
dev: false
+ resolution: {integrity: sha512-OBatVyC/N7SCW/FaDHrSd+vn0o5cS855TOmYi4OkdWUMSJCET/xip//ch8xGUvtr3i44X9LVyWwQlRMTN3pwSA==}
+ engines: {node: '>=10'}
+ dependencies:
+ '@babel/runtime': 7.24.8
+ dev: false
+
resolution: {integrity: sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==}
engines: {node: '>= 0.4'}
@@ -23185,7 +23332,7 @@ packages:
dependencies:
lilconfig: 2.1.0
postcss: 8.4.47
- ts-node: 10.9.1(@types/[email protected])([email protected])
+ ts-node: 10.9.1(@types/[email protected])([email protected])
yaml: 2.2.2
@@ -23203,14 +23350,14 @@ packages:
webpack: 5.94.0
dev: false
resolution: {integrity: sha512-iW5WTTBSC5BfsBJ9daFMPVrLT36MrNiC6fqOZTTaHjBNX6Pfd5p+hSBqe/fEeNd7pc13QiAyGt7VdGMw4eRC4A==}
engines: {node: '>= 14.15.0'}
peerDependencies:
postcss: ^7.0.0 || ^8.0.1
webpack: ^5.0.0
dependencies:
- cosmiconfig: 8.3.6([email protected])
+ cosmiconfig: 8.3.6([email protected])
jiti: 1.21.6
postcss: 8.4.47
semver: 7.6.3
@@ -23807,7 +23954,7 @@ packages:
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
engines: {node: '>= 0.8.0'}
resolution: {integrity: sha512-6m8WBhIp0dfwu0SkgfOxJqh+HpdyfqSSLfKKRZSFbDuEQXDDndb8fTpRWkUrX/uBenkex3MgnVk0J3b3Y5byog==}
peerDependencies:
'@volar/vue-language-plugin-pug': ^1.0.4
@@ -23821,7 +23968,7 @@ packages:
optional: true
dependencies:
prettier: 3.2.5
- typescript: 5.3.3
+ typescript: 5.6.2
dev: true
@@ -24199,7 +24346,7 @@ packages:
react: 18.3.1
dev: false
resolution: {integrity: sha512-84Ivxmr17KjUupyqzFode6xKhjwuEJDROWKJy/BthkL7Wn6NJ8h4WE6k/exAv6ImS+0oZLRRW5j/aINMHyeGeQ==}
engines: {node: '>=14'}
peerDependencies:
@@ -24218,7 +24365,7 @@ packages:
escape-string-regexp: 4.0.0
filesize: 8.0.7
find-up: 5.0.0
- fork-ts-checker-webpack-plugin: 6.5.1([email protected])([email protected])([email protected])
+ fork-ts-checker-webpack-plugin: 6.5.1([email protected])([email protected])([email protected])
global-modules: 2.0.0
globby: 11.1.0
gzip-size: 6.0.0
@@ -24233,7 +24380,7 @@ packages:
shell-quote: 1.7.3
strip-ansi: 6.0.1
text-table: 0.2.0
- typescript: 5.3.3
+ typescript: 5.6.2
webpack: 5.94.0(@swc/[email protected])
transitivePeerDependencies:
- eslint
@@ -24835,7 +24982,7 @@ packages:
vfile: 6.0.2
dev: false
resolution: {integrity: sha512-4e8OH3ySOCw5wUbDcPszokOKjKuebOqlP2WlySvC7ITBOq27BiGsFlq+FNWhxppZ+JzhTWah4gQrnMjX3KDbAQ==}
peerDependencies:
typescript: '>3'
@@ -24846,9 +24993,9 @@ packages:
fenceparser: 1.1.1
regenerator-runtime: 0.13.9
shiki: 0.10.1
- shiki-twoslash: 3.1.2([email protected])
+ shiki-twoslash: 3.1.2([email protected])
tslib: 2.1.0
- typescript: 5.3.3
+ typescript: 5.6.2
unist-util-visit: 2.0.3
transitivePeerDependencies:
- supports-color
@@ -25573,7 +25720,7 @@ packages:
rechoir: 0.6.2
dev: false
resolution: {integrity: sha512-JBcRIIizi+exIA/OUhYkV6jtyeZco0ykCkIRd5sgwIt1Pm4pz+maoaRZpm6SkhPwvif4fCA7xOtJOykhpIV64Q==}
peerDependencies:
typescript: '>3'
@@ -25582,7 +25729,7 @@ packages:
'@typescript/vfs': 1.3.4
fenceparser: 1.1.1
shiki: 0.10.1
- typescript: 5.3.3
+ typescript: 5.6.2
transitivePeerDependencies:
- supports-color
dev: false
@@ -26599,13 +26746,13 @@ packages:
resolution: {integrity: sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==}
resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==}
engines: {node: '>=16.13.0'}
peerDependencies:
typescript: '>=4.2.0'
dependencies:
- typescript: 5.3.3
+ typescript: 5.6.2
resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
@@ -26648,7 +26795,7 @@ packages:
yn: 3.1.1
dev: false
resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==}
hasBin: true
peerDependencies:
@@ -26674,7 +26821,7 @@ packages:
create-require: 1.1.1
diff: 4.0.2
make-error: 1.3.6
- typescript: 5.3.3
+ typescript: 5.6.2
v8-compile-cache-lib: 3.0.1
yn: 3.1.1
@@ -26682,7 +26829,7 @@ packages:
resolution: {integrity: sha512-FZIXf1ksVyLcfr7M317jbB67XFJhOO1YqdTcuGaq9q5jLUoTikukZ+98TPjKiP2jC5CgmYdWWYs0s2nLSU0/1A==}
dev: false
resolution: {integrity: sha512-D0VdTiTfrmZM7tViQEMuzG0+giU5z5crn4vjK+f1dnxTKcNx23Vc2lpMgd1vP3lYrwnvJofZmCnvEuJ7XUeV2Q==}
hasBin: true
peerDependencies:
@@ -26690,10 +26837,10 @@ packages:
dependencies:
chalk: 4.1.2
tsconfig-paths: 3.11.0
- typescript: 5.3.3
+ typescript: 5.6.2
dev: false
resolution: {integrity: sha512-ulNZP1SVpRDesxeMLON/LtWM8HIgAJEIVpVVhBM6gsmvQ8+Rh+ZG7FWGvHh7Ah3pRABwVJWklWCr/BTZSv0xnQ==}
engines: {node: ^18 || >=20}
hasBin: true
@@ -26703,7 +26850,7 @@ packages:
typescript:
optional: true
dependencies:
- typescript: 5.3.3
+ typescript: 5.6.2
resolution: {integrity: sha512-7ecdYDnIdmv639mmDwslG6KQg1Z9STTz1j7Gcz0xa+nshh/gKDAHcPxRbWOsA3SPp0tXP2leTcY9Kw+NAkfZzA==}
@@ -26746,14 +26893,14 @@ packages:
resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==}
dev: false
resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==}
engines: {node: '>= 6'}
peerDependencies:
typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta'
dependencies:
tslib: 1.14.1
- typescript: 5.3.3
+ typescript: 5.6.2
resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==}
@@ -26827,6 +26974,33 @@ packages:
turbo-windows-arm64: 1.13.3
dev: false
+ resolution: {integrity: sha512-FnEl2+L49j5chaH6HYlbPa299PztzMi7xuhllxmWaHUx9VkTdmpdXjkR0kz2PwwT4zxUPrSFCaQetcTQRreWrw==}
+ peerDependencies:
+ typescript: '*'
+ dependencies:
+ twoslash: 0.2.9([email protected])
+ typescript: 5.6.2
+ transitivePeerDependencies:
+ - supports-color
+ dev: false
+
+ resolution: {integrity: sha512-uKQl8UboT6JU4VAtYaSI3DbNtgaNhFaTpCSMy/n3tRl5lMlMhrjiuNKdqx15xjcviconuGJ9oObkz1h9zJFrJg==}
+ dev: false
+
+ resolution: {integrity: sha512-oj7XY6h8E9nTZBmfRE1gpsSSUqAQo5kcIpFkXyQPp8UCsyCQsUlP2bJ2s32o02c1n5+xl4h9rcCsQ1F97Z6LZg==}
+ peerDependencies:
+ typescript: '*'
+ dependencies:
+ '@typescript/vfs': 1.5.0
+ twoslash-protocol: 0.2.9
+ typescript: 5.6.2
+ transitivePeerDependencies:
+ - supports-color
+ dev: false
+
resolution: {integrity: sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==}
engines: {node: '>= 0.8.0'}
@@ -26935,8 +27109,8 @@ packages:
hasBin: true
dev: false
- resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==}
+ resolution: {integrity: sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==}
engines: {node: '>=14.17'}
hasBin: true
@@ -27470,7 +27644,7 @@ packages:
- supports-color
- terser
resolution: {integrity: sha512-0Vd/a6po6Q+86rPlntHye7F31zA2URZMbH8M3saAZ/xR9QoGN/L21bxEGfXdWmFdNkqPpRdxFT7nmNe12e9/uA==}
peerDependencies:
vite: '*'
@@ -27480,7 +27654,7 @@ packages:
dependencies:
debug: 4.3.6([email protected])
globrex: 0.1.2
- tsconfck: 3.1.3([email protected])
+ tsconfck: 3.1.3([email protected])
vite: 5.4.6(@types/[email protected])
transitivePeerDependencies:
- supports-color
@@ -27924,8 +28098,8 @@ packages:
'@webassemblyjs/ast': 1.12.1
'@webassemblyjs/wasm-edit': 1.12.1
'@webassemblyjs/wasm-parser': 1.12.1
- acorn: 8.11.3
- acorn-import-attributes: 1.9.5([email protected])
+ acorn: 8.12.1
+ acorn-import-attributes: 1.9.5([email protected])
browserslist: 4.23.2
chrome-trace-event: 1.0.3
enhanced-resolve: 5.17.1
@@ -27962,8 +28136,8 @@ packages:
'@webassemblyjs/ast': 1.12.1
'@webassemblyjs/wasm-edit': 1.12.1
'@webassemblyjs/wasm-parser': 1.12.1
- acorn: 8.11.3
- acorn-import-attributes: 1.9.5([email protected])
+ acorn: 8.12.1
+ acorn-import-attributes: 1.9.5([email protected])
browserslist: 4.23.2
chrome-trace-event: 1.0.3
enhanced-resolve: 5.17.1
@@ -28000,8 +28174,8 @@ packages:
'@webassemblyjs/ast': 1.12.1
'@webassemblyjs/wasm-edit': 1.12.1
'@webassemblyjs/wasm-parser': 1.12.1
- acorn: 8.11.3
- acorn-import-attributes: 1.9.5([email protected])
+ acorn: 8.12.1
+ acorn-import-attributes: 1.9.5([email protected])
browserslist: 4.23.2
chrome-trace-event: 1.0.3
enhanced-resolve: 5.17.1
@@ -28390,13 +28564,13 @@ packages:
zod: 3.23.8
dev: false
resolution: {integrity: sha512-x30XE43V+InwGpvTySRNz9kB7qFU8DlyEy7BsSTCHPH1R0QasMmHWZDCzYm6bVXtj/9NNJAZF3jW8rzFvH5OFA==}
peerDependencies:
typescript: ^4.9.4 || ^5.0.2
zod: ^3
dependencies:
- typescript: 5.3.3
+ typescript: 5.6.2
zod: 3.23.8
dev: false
diff --git a/tsconfig.json b/tsconfig.json
index 095a706ab6..efa966b114 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -150,6 +150,12 @@
{
"path": "./packages/template-remix"
},
+ {
+ "path": "./packages/template-tiktok"
+ },
+ {
+ "path": "./packages/template-code-hike"
+ },
{
"path": "./packages/studio"
},