🎥 Make videos programmatically with React
align
Jonny Burgered1fb5fdd080
diff --git a/packages/create-video/src/templates.tsx b/packages/create-video/src/templates.tsxindex fd4fdc4b67..3b6d541d88 100644--- a/packages/create-video/src/templates.tsx+++ b/packages/create-video/src/templates.tsx@@ -46,7 +46,8 @@ export type Template = {| 'code-hike';defaultBranch: string;featuredOnHomePage: string | null;- previewURL?: string | null;+ previewURL: string | null;+ templateInMonorepo: string | null;} & DynamicTemplate;type Truthy<T> = T extends false | '' | 0 | null | undefined ? never : T;@@ -75,6 +76,7 @@ export const FEATURED_TEMPLATES: Template[] = [defaultBranch: 'main',featuredOnHomePage: 'Hello World',previewURL: 'https://remotion-helloworld.vercel.app/?/HelloWorld',+ templateInMonorepo: null,},{homePageLabel: 'Next.js (App dir)',@@ -93,6 +95,8 @@ export const FEATURED_TEMPLATES: Template[] = [type: 'video' as const,defaultBranch: 'main',featuredOnHomePage: 'Next.js',+ previewURL: null,+ templateInMonorepo: null,},{homePageLabel: 'Next.js (App dir + TailwindCSS)',@@ -111,6 +115,8 @@ export const FEATURED_TEMPLATES: Template[] = [type: 'video' as const,defaultBranch: 'main',featuredOnHomePage: null,+ previewURL: null,+ templateInMonorepo: null,},{homePageLabel: 'Next.js (Pages dir)',@@ -129,6 +135,8 @@ export const FEATURED_TEMPLATES: Template[] = [type: 'video' as const,defaultBranch: 'main',featuredOnHomePage: null,+ previewURL: null,+ templateInMonorepo: null,},{@@ -149,6 +157,7 @@ export const FEATURED_TEMPLATES: Template[] = [defaultBranch: 'main',featuredOnHomePage: 'Blank',previewURL: 'https://template-empty.vercel.app/?/MyComp',+ templateInMonorepo: 'template-blank',},{homePageLabel: 'JavaScript',@@ -169,6 +178,7 @@ export const FEATURED_TEMPLATES: Template[] = [featuredOnHomePage: 'JavaScript',previewURL:'https://template-helloworld-javascript.vercel.app/?/HelloWorld',+ templateInMonorepo: null,},{homePageLabel: 'Remix',@@ -187,6 +197,8 @@ export const FEATURED_TEMPLATES: Template[] = [type: 'image' as const,defaultBranch: 'main',featuredOnHomePage: null,+ previewURL: null,+ templateInMonorepo: null,},{homePageLabel: '3D',@@ -206,6 +218,7 @@ export const FEATURED_TEMPLATES: Template[] = [defaultBranch: 'main',featuredOnHomePage: null,previewURL: 'https://template-three-remotion.vercel.app/',+ templateInMonorepo: null,},{homePageLabel: 'Stills',@@ -225,6 +238,7 @@ export const FEATURED_TEMPLATES: Template[] = [defaultBranch: 'main',featuredOnHomePage: null,previewURL: 'https://template-still.vercel.app/?/PreviewCard',+ templateInMonorepo: null,},{homePageLabel: 'Text-To-Speech (Azure)',@@ -243,6 +257,8 @@ export const FEATURED_TEMPLATES: Template[] = [type: 'video' as const,defaultBranch: 'master',featuredOnHomePage: null,+ previewURL: null,+ templateInMonorepo: null,},{homePageLabel: 'Text-To-Speech (Google)',@@ -261,6 +277,8 @@ export const FEATURED_TEMPLATES: Template[] = [type: 'video' as const,defaultBranch: 'master',featuredOnHomePage: null,+ previewURL: null,+ templateInMonorepo: null,},{homePageLabel: 'Audiogram',@@ -279,6 +297,8 @@ export const FEATURED_TEMPLATES: Template[] = [type: 'video' as const,defaultBranch: 'main',featuredOnHomePage: null,+ previewURL: null,+ templateInMonorepo: null,},{homePageLabel: 'Skia',@@ -296,6 +316,8 @@ export const FEATURED_TEMPLATES: Template[] = [type: 'video' as const,defaultBranch: 'main',featuredOnHomePage: null,+ previewURL: null,+ templateInMonorepo: null,},{homePageLabel: 'Tailwind',@@ -315,6 +337,7 @@ export const FEATURED_TEMPLATES: Template[] = [defaultBranch: 'main',featuredOnHomePage: null,previewURL: 'https://template-tailwind-remotion.vercel.app/?/MyComp',+ templateInMonorepo: null,},{homePageLabel: 'Overlay',@@ -338,6 +361,8 @@ export const FEATURED_TEMPLATES: Template[] = [type: 'video' as const,defaultBranch: 'main',featuredOnHomePage: null,+ previewURL: null,+ templateInMonorepo: null,},{homePageLabel: 'Code Hike',@@ -362,6 +387,7 @@ export const FEATURED_TEMPLATES: Template[] = [defaultBranch: 'main',featuredOnHomePage: null,previewURL: 'https://template-code-hike.vercel.app/',+ templateInMonorepo: null,},{homePageLabel: 'Stargazer',@@ -380,6 +406,8 @@ export const FEATURED_TEMPLATES: Template[] = [type: 'video' as const,defaultBranch: 'main',featuredOnHomePage: null,+ previewURL: null,+ templateInMonorepo: null,},{homePageLabel: 'TikTok',@@ -398,5 +426,7 @@ export const FEATURED_TEMPLATES: Template[] = [type: 'video' as const,defaultBranch: 'main',featuredOnHomePage: null,+ previewURL: null,+ templateInMonorepo: null,},].filter(truthy);diff --git a/packages/it-tests/src/templates/publish.ts b/packages/it-tests/src/templates/publish.tsindex 84128d5b94..384cfae12d 100644--- a/packages/it-tests/src/templates/publish.ts+++ b/packages/it-tests/src/templates/publish.ts@@ -1,18 +1,44 @@import {$} from 'bun';+import {cpSync} from 'node:fs';import {tmpdir} from 'node:os';import path from 'path';-const folder = path.join(process.cwd(), '..', 'template-blank');+const publish = async () => {+ const folder = path.join(process.cwd(), '..', 'template-blank');-const tmpDir = tmpdir();-const workingDir = path.join(tmpDir, `template-${Math.random()}`);+ const tmpDir = tmpdir();+ const workingDir = path.join(tmpDir, `template-${Math.random()}`);-const files = await $`git ls-files`.cwd(folder);-const filesInTemplate = files.stdout.toString('utf-8');-console.log({filesInTemplate});-console.log(workingDir);+ const files = await $`git ls-files`.cwd(folder).quiet();+ const filesInTemplate = files.stdout.toString('utf-8').trim().split('\n');-await $`git clone [email protected]:remotion-dev/template-empty.git ${workingDir}`;-await $`git checkout -b ${Math.random().toString().replace('0.', '')}`.cwd(- workingDir,-);+ const branchName = `${Math.random().toString().replace('0.', '')}`;++ await $`git clone [email protected]:remotion-dev/template-empty.git ${workingDir}`;+ await $`git checkout -b ${branchName}`.cwd(workingDir);++ for (const file of filesInTemplate) {+ const src = path.join(folder, file);+ const dst = path.join(workingDir, file);+ cpSync(src, dst);++ if (file === 'package.json') {+ const dstFile = await Bun.file(dst).text();+ const currentVersion = dstFile.replaceAll('workspace:*', '^4.0.0');+ await Bun.write(dst, currentVersion);+ }+ }++ await $`git add .`.cwd(workingDir).nothrow();+ const hasChanges = await $`git status --porcelain`.cwd(workingDir).text();+ if (!hasChanges) {+ console.log('No changes');+ return;+ }++ await $`git commit -m "Update template"`.cwd(workingDir);+ await $`git diff main ${branchName}`.cwd(workingDir).quiet().text();+ await $`git push origin ${branchName}`.cwd(workingDir);+};++await publish();diff --git a/packages/it-tests/tsconfig.json b/packages/it-tests/tsconfig.jsonindex a5155734a1..c5a2be2d41 100644--- a/packages/it-tests/tsconfig.json+++ b/packages/it-tests/tsconfig.json@@ -4,8 +4,8 @@"jsx": "react-jsx","noEmit": true,"incremental": true,- "target": "ES2022",- "module": "ESNext"+ "module": "ESNext",+ "moduleResolution": "node"},"references": [{diff --git a/packages/template-blank/.eslintrc b/packages/template-blank/.eslintrcindex 644af06a99..3ad72802a8 100644--- a/packages/template-blank/.eslintrc+++ b/packages/template-blank/.eslintrc@@ -1,3 +1,3 @@{- "extends": "@remotion",+ "extends": "@remotion"}diff --git a/packages/template-blank/.prettierrc b/packages/template-blank/.prettierrcnew file mode 100644index 0000000000..37d5071748--- /dev/null+++ b/packages/template-blank/.prettierrc@@ -0,0 +1,5 @@+{+ "useTabs": false,+ "bracketSpacing": true,+ "tabWidth": 2+}diff --git a/packages/template-blank/package.json b/packages/template-blank/package.jsonindex ce2cc66b76..9f1ca5c70e 100644--- a/packages/template-blank/package.json+++ b/packages/template-blank/package.json@@ -1,28 +1,28 @@{- "name": "template-empty",- "version": "1.0.0",- "description": "My Remotion video",- "scripts": {- "start": "remotion studio",- "build": "remotion render MyComp out/video.mp4",- "upgrade": "remotion upgrade",- "test": "eslint src --ext ts,tsx,js,jsx && tsc"- },- "repository": {},- "license": "UNLICENSED",- "dependencies": {- "@remotion/cli": "workspace:*",- "react": "^18.0.0",- "react-dom": "^18.0.0",- "remotion": "workspace:*"- },- "devDependencies": {- "@remotion/eslint-config": "workspace:*",- "@types/react": "^18.0.26",- "@types/web": "^0.0.143",- "eslint": "^8.43.0",- "prettier": "^3.2.5",- "typescript": "^5.4.5"- },- "private": true+ "name": "template-empty",+ "version": "1.0.0",+ "description": "My Remotion video",+ "scripts": {+ "start": "remotion studio",+ "build": "remotion render MyComp out/video.mp4",+ "upgrade": "remotion upgrade",+ "test": "eslint src --ext ts,tsx,js,jsx && tsc"+ },+ "repository": {},+ "license": "UNLICENSED",+ "dependencies": {+ "@remotion/cli": "workspace:*",+ "react": "18.3.1",+ "react-dom": "18.3.1",+ "remotion": "workspace:*"+ },+ "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.3.3"+ },+ "private": true}diff --git a/packages/template-blank/remotion.config.ts b/packages/template-blank/remotion.config.tsindex 4449e02586..6fd1b558e1 100644--- a/packages/template-blank/remotion.config.ts+++ b/packages/template-blank/remotion.config.ts@@ -5,7 +5,7 @@* All configuration options: https://remotion.dev/docs/config*/-import {Config} from '@remotion/cli/config';+import { Config } from "@remotion/cli/config";-Config.setVideoImageFormat('jpeg');+Config.setVideoImageFormat("jpeg");Config.setOverwriteOutput(true);diff --git a/packages/template-blank/src/Composition.tsx b/packages/template-blank/src/Composition.tsxindex b0d1fe1be4..90c3114108 100644--- a/packages/template-blank/src/Composition.tsx+++ b/packages/template-blank/src/Composition.tsx@@ -1,3 +1,3 @@export const MyComposition = () => {- return null;+ return null;};diff --git a/packages/template-blank/src/Root.tsx b/packages/template-blank/src/Root.tsxindex 6483c979b6..43b0422cfa 100644--- a/packages/template-blank/src/Root.tsx+++ b/packages/template-blank/src/Root.tsx@@ -1,17 +1,17 @@-import {Composition} from 'remotion';-import {MyComposition} from './Composition';+import { Composition } from "remotion";+import { MyComposition } from "./Composition";export const RemotionRoot: React.FC = () => {- return (- <>- <Composition- id="MyComp"- component={MyComposition}- durationInFrames={60}- fps={30}- width={1280}- height={720}- />- </>- );+ return (+ <>+ <Composition+ id="MyComp"+ component={MyComposition}+ durationInFrames={60}+ fps={30}+ width={1280}+ height={720}+ />+ </>+ );};diff --git a/packages/template-blank/src/index.ts b/packages/template-blank/src/index.tsindex d831f7b0f1..f31c790edb 100644--- a/packages/template-blank/src/index.ts+++ b/packages/template-blank/src/index.ts@@ -1,4 +1,4 @@-import {registerRoot} from 'remotion';-import {RemotionRoot} from './Root';+import { registerRoot } from "remotion";+import { RemotionRoot } from "./Root";registerRoot(RemotionRoot);diff --git a/packages/template-blank/tsconfig.json b/packages/template-blank/tsconfig.jsonindex 0a292af5f2..bb881cc903 100644--- a/packages/template-blank/tsconfig.json+++ b/packages/template-blank/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/pnpm-lock.yaml b/pnpm-lock.yamlindex 2427712aed..b3a8bb7df9 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -1610,6 +1610,40 @@ importers:specifier: workspace:*version: link:../bundler+ packages/template-blank:+ dependencies:+ '@remotion/cli':+ specifier: workspace:*+ version: link:../cli+ 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+ 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.3.3+ version: 5.3.3+packages/test-utils:devDependencies:react:@@ -8368,7 +8402,7 @@ packages:dependencies:string-width: 5.1.2string-width-cjs: /[email protected]- strip-ansi: 7.0.1+ strip-ansi: 7.1.0strip-ansi-cjs: /[email protected]wrap-ansi: 8.1.0wrap-ansi-cjs: /[email protected]@@ -8657,7 +8691,7 @@ packages:engines: {node: '>= 8'}dependencies:'@nodelib/fs.scandir': 2.1.5- fastq: 1.13.0+ fastq: 1.17.1/@npmcli/[email protected]:resolution: {integrity: sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg==}@@ -12054,12 +12088,12 @@ packages:dependencies:acorn: 8.11.3resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}peerDependencies:acorn: ^6.0.0 || ^7.0.0 || ^8.0.0dependencies:- acorn: 8.11.3+ acorn: 8.12.1resolution: {integrity: sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==}@@ -12074,7 +12108,6 @@ packages:resolution: {integrity: sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==}engines: {node: '>=0.4.0'}hasBin: true- dev: falseresolution: {integrity: sha512-aT6camzM4xEA54YVJYSqxz1kv4IHnQZRtThJJHhUMRExaU5spC7jX5ugSwTaTgJliIgs4VhZOk7htClvQ/LmRA==}@@ -12860,7 +12893,7 @@ packages:chalk: 4.1.2cli-boxes: 3.0.0string-width: 5.1.2- type-fest: 2.12.2+ type-fest: 2.19.0widest-line: 4.0.1wrap-ansi: 8.0.1dev: false@@ -12871,7 +12904,7 @@ packages:dependencies:ansi-align: 3.0.1camelcase: 7.0.1- chalk: 5.2.0+ chalk: 5.3.0cli-boxes: 3.0.0string-width: 5.1.2type-fest: 2.19.0@@ -13118,11 +13151,6 @@ packages:ansi-styles: 4.3.0supports-color: 7.2.0- resolution: {integrity: sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA==}- engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}- dev: false-resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==}engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}@@ -13456,7 +13484,7 @@ packages:- supports-color- resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}+ resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=}resolution: {integrity: sha512-OAcsnTEYu1ARJqWVGwf4zh4JDfHZEaSNlNccFmt8YjB2l/n19/PF2viLINHc57vO4FKIAFl2FWASIGZZWZ2Kxw==}@@ -15208,8 +15236,8 @@ packages:resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}dependencies:- acorn: 8.11.3- acorn-jsx: 5.3.2([email protected])+ acorn: 8.12.1+ acorn-jsx: 5.3.2([email protected])eslint-visitor-keys: 3.4.3@@ -15549,16 +15577,10 @@ packages:strnum: 1.0.5dev: false- resolution: {integrity: sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==}- dependencies:- reusify: 1.0.4-resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==}dependencies:reusify: 1.0.4- dev: falseresolution: {integrity: sha512-WtySTkS4OKev5JtpHXnib4Gxiurzh5NCGvWrFaZ34m6JehfTUhKZvn9njTfw48t6JumVQOmrKqpmGcdwxnhqBQ==}@@ -16069,6 +16091,7 @@ packages:resolution: {integrity: sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==}+ deprecated: Glob versions prior to v9 are no longer supporteddependencies:fs.realpath: 1.0.0inflight: 1.0.6@@ -16079,6 +16102,7 @@ packages:resolution: {integrity: sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==}+ deprecated: Glob versions prior to v9 are no longer supporteddependencies:fs.realpath: 1.0.0inflight: 1.0.6@@ -16726,7 +16750,7 @@ packages:dependencies:'@tootallnate/once': 2.0.0agent-base: 6.0.2- debug: 4.3.4+ debug: 4.3.6([email protected])transitivePeerDependencies:- supports-color@@ -16773,7 +16797,7 @@ packages:engines: {node: '>= 6'}dependencies:agent-base: 6.0.2- debug: 4.3.4+ debug: 4.3.6([email protected])transitivePeerDependencies:- supports-color@@ -18515,8 +18539,8 @@ packages:resolution: {integrity: sha512-7YA7hF6i5eKOfFUzZ+0z6avRG52GpWR8DL+kN47y3f2KhxbBZMhmxe7auOeaTBrW2DenbbZTf1ea9tA2hDpC2Q==}dependencies:- acorn: 8.11.3- acorn-jsx: 5.3.2([email protected])+ acorn: 8.12.1+ acorn-jsx: 5.3.2([email protected])micromark-extension-mdx-expression: 1.0.8micromark-extension-mdx-jsx: 1.0.5micromark-extension-mdx-md: 1.0.1@@ -18527,8 +18551,8 @@ packages:resolution: {integrity: sha512-A873fJfhnJ2siZyUrJ31l34Uqwy4xIFmvPY1oj+Ean5PHcPBYzEsvqvWGaWcfEIr11O5Dlw3p2y0tZWpKHDejQ==}dependencies:- acorn: 8.11.3- acorn-jsx: 5.3.2([email protected])+ acorn: 8.12.1+ acorn-jsx: 5.3.2([email protected])micromark-extension-mdx-expression: 3.0.0micromark-extension-mdx-jsx: 3.0.0micromark-extension-mdx-md: 2.0.0@@ -19047,7 +19071,7 @@ packages:resolution: {integrity: sha512-NPVQvAY1xr1QoVeG0cy8yUYC7FQcOx6evl/RjT1wL5FvzPnzOysoqB/jmx/DhssT2dYa8nxECLAaFI/+gVLhDQ==}dependencies:- acorn: 8.11.3+ acorn: 8.12.1pathe: 1.1.2pkg-types: 1.0.3ufo: 1.3.2@@ -19550,7 +19574,7 @@ packages:resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==}engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}dependencies:- yocto-queue: 1.0.0+ yocto-queue: 1.1.1resolution: {integrity: sha512-H0jc0q1vOzlEk0TqAKXKZxdl7kX3OFUzCnNVUnq5Pc3DGo0kpeaMuPqxQn235HibwBEb0/pm9dgKTjXy66fBkg==}@@ -23022,7 +23046,7 @@ packages:dependencies:eastasianwidth: 0.2.0emoji-regex: 9.2.2- strip-ansi: 7.0.1+ strip-ansi: 7.1.0resolution: {integrity: sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==}@@ -23109,18 +23133,11 @@ packages:dependencies:ansi-regex: 5.0.1- resolution: {integrity: sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==}- engines: {node: '>=12'}- dependencies:- ansi-regex: 6.0.1-resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==}engines: {node: '>=12'}dependencies:ansi-regex: 6.0.1- dev: falseresolution: {integrity: sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g==}@@ -23567,7 +23584,7 @@ packages:hasBin: truedependencies:'@jridgewell/source-map': 0.3.6- acorn: 8.11.3+ acorn: 8.12.1commander: 2.20.3source-map-support: 0.5.21@@ -23922,11 +23939,6 @@ packages:engines: {node: '>=10'}dev: false- resolution: {integrity: sha512-qt6ylCGpLjZ7AaODxbpyBZSs9fCI9SkL3Z9q2oxMBQhs/uyY+VD8jHA8ULCGmWQJlBgqvO3EJeAngOHD8zQCrQ==}- engines: {node: '>=12.20'}- dev: false-resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==}engines: {node: '>=12.20'}@@ -24264,7 +24276,7 @@ packages:engines: {node: '>=14.16'}dependencies:boxen: 7.1.1- chalk: 5.2.0+ chalk: 5.3.0configstore: 6.0.0has-yarn: 3.0.0import-lazy: 4.0.0@@ -24847,7 +24859,7 @@ packages:hasBin: truedependencies:'@discoveryjs/json-ext': 0.5.7- acorn: 8.11.3+ acorn: 8.12.1acorn-walk: 8.3.2commander: 7.2.0debounce: 1.2.1@@ -25231,7 +25243,7 @@ packages:dependencies:ansi-styles: 6.1.0string-width: 5.1.2- strip-ansi: 7.0.1+ strip-ansi: 7.1.0dev: false@@ -25240,7 +25252,7 @@ packages:dependencies:ansi-styles: 6.1.0string-width: 5.1.2- strip-ansi: 7.0.1+ strip-ansi: 7.1.0resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}@@ -25359,14 +25371,9 @@ packages:resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}engines: {node: '>=10'}- resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==}- engines: {node: '>=12.20'}-resolution: {integrity: sha512-b4JR1PFR10y1mKjhHY9LaGo6tmrgjit7hxVIeAmyMw3jegXR4dhYqLaQF5zMXZxY7tLpMyJeLjr1C4rLmkVe8g==}engines: {node: '>=12.20'}- dev: falseresolution: {integrity: sha512-yOHG2x9vrpeO1VYSfBmixNL3E2lo5RjGOapUmGeroRSosht4vsYlM8Ci8v5Sulv5hd9ZU2ILZrOtZ4xEYmhf0A==}diff --git a/tsconfig.json b/tsconfig.jsonindex f224fe76ac..887203a38e 100644--- a/tsconfig.json+++ b/tsconfig.json@@ -114,6 +114,9 @@{"path": "./packages/tailwind"},+ {+ "path": "./packages/template-blank"+ },{"path": "./packages/studio"},