🎥 Make videos programmatically with React
add still template
Jonny Burgerbf5955341ad2
diff --git a/packages/create-video/src/templates.tsx b/packages/create-video/src/templates.tsxindex df993c4fd4..a391dac846 100644--- a/packages/create-video/src/templates.tsx+++ b/packages/create-video/src/templates.tsx@@ -245,7 +245,7 @@ export const FEATURED_TEMPLATES: Template[] = [defaultBranch: 'main',featuredOnHomePage: null,previewURL: 'https://template-still.vercel.app/?/PreviewCard',- templateInMonorepo: null,+ templateInMonorepo: 'template-still',allowEnableTailwind: false,},{diff --git a/packages/template-still/.dockerignore b/packages/template-still/.dockerignorenew file mode 100644index 0000000000..3c3629e647--- /dev/null+++ b/packages/template-still/.dockerignore@@ -0,0 +1 @@+node_modulesdiff --git a/packages/template-still/.env.example b/packages/template-still/.env.examplenew file mode 100644index 0000000000..050f42e146--- /dev/null+++ b/packages/template-still/.env.example@@ -0,0 +1,4 @@+# If you'd like to configure a S3 cache, you can do so by providing AWS+# credentials that have access to S3+AWS_ACCESS_KEY_ID=<Enter AWS Access Key ID>+AWS_SECRET_ACCESS_KEY=<Enter secret Access Key>diff --git a/packages/template-still/.eslintrc b/packages/template-still/.eslintrcnew file mode 100644index 0000000000..67f9fd93c1--- /dev/null+++ b/packages/template-still/.eslintrc@@ -0,0 +1,3 @@+{+ "extends": "@remotion",+}diff --git a/packages/template-still/.gitignore b/packages/template-still/.gitignorenew file mode 100644index 0000000000..4beb836bb8--- /dev/null+++ b/packages/template-still/.gitignore@@ -0,0 +1,6 @@+node_modules+dist+.DS_Store+.env++outdiff --git a/packages/template-still/.prettierrc b/packages/template-still/.prettierrcnew file mode 100644index 0000000000..37d5071748--- /dev/null+++ b/packages/template-still/.prettierrc@@ -0,0 +1,5 @@+{+ "useTabs": false,+ "bracketSpacing": true,+ "tabWidth": 2+}diff --git a/packages/template-still/Dockerfile b/packages/template-still/Dockerfilenew file mode 100644index 0000000000..1cf5601739--- /dev/null+++ b/packages/template-still/Dockerfile@@ -0,0 +1,32 @@+# This is a dockerized version of a server that you can easily deploy somewhere.+# If you don't want server rendering, you can safely delete this file.++FROM node:20-bookworm++RUN apt install -y \+ libnss3 \+ libdbus-1-3 \+ libatk1.0-0 \+ libgbm-dev \+ libasound2 \+ libxrandr2 \+ libxkbcommon-dev \+ libxfixes3 \+ libxcomposite1 \+ libxdamage1 \+ libatk-bridge2.0-0 \+ libcups2++RUN mkdir app+COPY . ./app++WORKDIR /app++RUN npm i++# Run everything after as non-privileged user.+USER pptruser++EXPOSE 8000++CMD ["npm", "run", "server"]diff --git a/packages/template-still/README.md b/packages/template-still/README.mdnew file mode 100644index 0000000000..b10e0f7d96--- /dev/null+++ b/packages/template-still/README.md@@ -0,0 +1,95 @@+# Remotion Still Image template++A template for designing still images with dynamic data with built-in server for deploying to the cloud.++<p align="center">+ <img src="https://remotion-still.herokuapp.com/PreviewCard.jpeg?title=Still%20image%20generator&description=Dynamic%20images%20generation%20service%20with%20full%20design%20freedom&slogan=Powered%20by%0ARemotion&c=1">+</p>++## Commands++**Design mode: Create an image in React**++```console+npm run dev+```++**Render it**++```console+npm run render+```++**Keep Remotion up to date**++```console+npm run upgrade+```++## Server++You can run a server that serves dynamic images based on it's URL. Run++```console+npm run server+```++And then visit `http://localhost:8000/PreviewCard.png?title=Hello+World` in your browser to render an image.++- Specify the ID of the composition you want to render after the `/`. You can edit the compositions in `src/Video.tsx`.+- Add either a `.png` or a `.jpeg` extension depending on which image format you want.+- You can add input props to your React component by adding query strings: `?title=Hello+World&description=foobar` will pass `{"title": "Hello World", "description": "foo bar"}` to the component.++### Caching++In `src/server/config.ts`, you can configure three types of caching:++- `"filesystem"`, the default, will cache generated images locally. This is a good way of caching if you host the server on a non-ephemereal platform and have enough storage.+- `"none"` will disable all caching and calculate all images on the fly.++- `"s3-bucket"` will cache images in a S3 bucket. If you choose this option, you need to provide `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` environment variables containing AWS credentials which have permission of reading and writing to S3 as well as configure a bucket name and region in `src/server/config.ts`.++<details>+<summary>How to set up an S3 bucket</summary>+<ul>+<li>Go to https://s3.console.aws.amazon.com/s3/home and create a new bucket. You can leave the "Deny all public access" checkbox checked.+</li>+<li>+Fill out region and bucket name in <code>src/server/config.ts</code>.+</li>+<li>+Go to https://console.aws.amazon.com/iamv2/home?#/users to create a new user. While creating, enable "Programmatic Access". When adding permissions, choose "Attach existing policies directly" and then search for "AmazonS3FullAccess" and assign it.+</li>+<li>+In the last step you will get a value for <code>AWS_ACCESS_KEY_ID</code> and <code>AWS_SECRET_ACCESS_KEY</code> which you need to set as an environment variable. Locally, you can rename the <code>.env.example</code> file to <code>.env</code>. When you deploy the server, you can set the environment variables in the dashboard of your provider.+</li>+</ul>+</details>++### Deploy to Heroku++To deploy the server to Heroku, you need to add the Google Chrome Buildpack. Go to the settings of your Heroku app and in the `Buildpacks` section, add `https://github.com/heroku/heroku-buildpack-google-chrome` as a buildpack.++### Deploy to DigitalOcean++The easiest way to deploy to DigitalOcean is to use the dockerized image and run it on the DigitalOcean App Platform. Go to https://cloud.digitalocean.com/apps/new and connect your Github repository and deploy the++### Serverless++Use [Remotion Lambda](https://remotion.dev/lambda) if you want to render stills inside a Lambda function.++## 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-still/package.json b/packages/template-still/package.jsonnew file mode 100644index 0000000000..476c96d74b--- /dev/null+++ b/packages/template-still/package.json@@ -0,0 +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+}diff --git a/packages/template-still/remotion.config.ts b/packages/template-still/remotion.config.tsnew file mode 100644index 0000000000..97a5bfd051--- /dev/null+++ b/packages/template-still/remotion.config.ts@@ -0,0 +1,10 @@+/**+ * Note: When using the Node.JS APIs, the config file+ * doesn't apply. Instead, pass options directly to the APIs.+ *+ * All configuration options: https://remotion.dev/docs/config+ */+import { Config } from "@remotion/cli/config";++Config.setVideoImageFormat("jpeg");+Config.setOverwriteOutput(true);diff --git a/packages/template-still/src/PreviewCard.tsx b/packages/template-still/src/PreviewCard.tsxnew file mode 100644index 0000000000..e837f28e73--- /dev/null+++ b/packages/template-still/src/PreviewCard.tsx@@ -0,0 +1,92 @@+import React from "react";+import { AbsoluteFill } from "remotion";+import "./fonts.css";+import { Swirl } from "./Swirl";+import { z } from "zod";+import { zColor } from "@remotion/zod-types";++const fontFamily = "Inter";++const absContainer: React.CSSProperties = {+ backgroundColor: "white",+};++const container: React.CSSProperties = {+ flex: 1,+ padding: 100,+ fontFamily,+ // Setting this property allows you to set a linebreak via URL parameter %0A+ whiteSpace: "pre-wrap",+};++const titleStyle: React.CSSProperties = {+ fontSize: "5.5em",+ marginTop: 0,+ fontWeight: 700,+ marginBottom: 0,+};++const descriptionStyle: React.CSSProperties = {+ color: "#61778a",+ fontSize: "3.2em",+ margin: 0,+ marginTop: 20,+ lineHeight: 1.3,+ fontWeight: 500,+ maxWidth: "90%",+ maxLines: 2,+ overflow: "hidden",+ textOverflow: "ellipsis",+ lineClamp: 2,+};++const gradientText: React.CSSProperties = {+ background: "linear-gradient(to right, black, #666)",+ WebkitBackgroundClip: "text",+ WebkitTextFillColor: "transparent",+ fontFamily,+};++const sloganStyle: React.CSSProperties = {+ position: "absolute",+ bottom: 58,+ right: 100,+ fontSize: 36,+ lineHeight: 1.1,+ fontWeight: 700,+ textAlign: "right",+ whiteSpace: "pre",+};++export const myCompSchema = z.object({+ title: z.string(),+ description: z.string(),+ color: zColor(),+});++export const PreviewCard: React.FC<z.infer<typeof myCompSchema>> = ({+ title,+ description,+ color,+}) => {+ return (+ <AbsoluteFill style={absContainer}>+ <AbsoluteFill>+ <div style={container}>+ <div style={titleStyle}>+ <span style={gradientText}>{title}</span>+ </div>+ <p style={descriptionStyle}>{description}</p>+ <div style={sloganStyle}>+ Make videos+ <br />+ programmatically+ </div>+ </div>+ </AbsoluteFill>+ <AbsoluteFill>+ <Swirl color={color} />+ </AbsoluteFill>+ </AbsoluteFill>+ );+};diff --git a/packages/template-still/src/Root.tsx b/packages/template-still/src/Root.tsxnew file mode 100644index 0000000000..456b51c794--- /dev/null+++ b/packages/template-still/src/Root.tsx@@ -0,0 +1,22 @@+import { Still } from "remotion";+import { PreviewCard } from "./PreviewCard";+import { myCompSchema } from "./PreviewCard";++export const RemotionRoot: React.FC = () => {+ return (+ <>+ <Still+ id="PreviewCard"+ component={PreviewCard}+ width={1200}+ height={627}+ schema={myCompSchema}+ defaultProps={{+ title: "Welcome to Remotion" as const,+ description: "Edit Video.tsx to change template" as const,+ color: "#0B84F3" as const,+ }}+ />+ </>+ );+};diff --git a/packages/template-still/src/Swirl.tsx b/packages/template-still/src/Swirl.tsxnew file mode 100644index 0000000000..507f334cc2--- /dev/null+++ b/packages/template-still/src/Swirl.tsx@@ -0,0 +1,57 @@+import { useEffect, useRef } from "react";+import { interpolate, useCurrentFrame, useVideoConfig } from "remotion";++function point({+ x,+ y,+ canvas,+ color,+ thickness,+}: {+ x: number;+ y: number;+ canvas: CanvasRenderingContext2D;+ color: string;+ thickness: number;+}) {+ canvas.beginPath();+ canvas.fillStyle = color;+ canvas.arc(x, y, thickness, 0, 2 * Math.PI, true);+ canvas.fill();+ canvas.closePath();+}++export const Swirl: React.FC<{+ color: string;+}> = ({ color }) => {+ const ref = useRef<HTMLCanvasElement>(null);+ const frame = useCurrentFrame();+ const { width, height } = useVideoConfig();++ useEffect(() => {+ const ctx = ref.current?.getContext("2d");+ if (!ctx) {+ return;+ }+ ctx.clearRect(0, 0, width, height);+ const start = 110;+ const end = width - 450;+ for (let i = start; i < end; i++) {+ const swirlProgress = interpolate(i, [start, end], [0, 1], {});+ const swirl = interpolate(swirlProgress, [0, 1], [0, Math.PI * 23]);+ const yOffset = Math.sin(swirl) * 15;++ point({+ x: i,+ y: height - 90 + yOffset,+ canvas: ctx,+ color,+ thickness: 8,+ });+ }+ }, [color, frame, height, width]);++ return (+ <canvas ref={ref} style={{ width, height }} width={width} height={height} />+ );+};diff --git a/packages/template-still/src/fonts.css b/packages/template-still/src/fonts.cssnew file mode 100644index 0000000000..26a59b9d0d--- /dev/null+++ b/packages/template-still/src/fonts.css@@ -0,0 +1 @@+@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700;900");diff --git a/packages/template-still/src/index.ts b/packages/template-still/src/index.tsnew file mode 100644index 0000000000..f31c790edb--- /dev/null+++ b/packages/template-still/src/index.ts@@ -0,0 +1,4 @@+import { registerRoot } from "remotion";+import { RemotionRoot } from "./Root";++registerRoot(RemotionRoot);diff --git a/packages/template-still/src/server/cache.ts b/packages/template-still/src/server/cache.tsnew file mode 100644index 0000000000..9fba062dbf--- /dev/null+++ b/packages/template-still/src/server/cache.ts@@ -0,0 +1,54 @@+import fs, { createReadStream } from "fs";+import os from "os";+import path from "path";+import { Readable } from "stream";+import { CACHE_MODE } from "./config";+import { existsOnS3, getOnS3, writeToS3 } from "./s3";++const cacheDir = fs.promises.mkdtemp(path.join(os.tmpdir(), "remotion-"));++/**+ * There are three ways of caching.+ - `"filesystem"`, the default, will cache generated images locally. This is a good way of caching if you host the server on a non-ephemereal platform and have enough storage.+ - `"none"` will disable all caching and calculate all images on the fly.+ - `"s3-bucket"` will cache images in a S3 bucket. If you choose this option, you need to provide `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` environment variables containing AWS credentials which have permission of reading and writing to S3 as well as configure a bucket name and region in `src/server/config.ts`. See README on how to configure it.+ */++const getFileFromHash = async (imageHash: string) => {+ return path.join(await cacheDir, imageHash);+};++export const isInCache = async (imageHash: string): Promise<boolean> => {+ if (CACHE_MODE === "none") {+ return false;+ }+ if (CACHE_MODE === "s3-bucket") {+ return existsOnS3(imageHash);+ }++ return fs.existsSync(await getFileFromHash(imageHash));+};++export const getFromCache = async (imageHash: string): Promise<Readable> => {+ if (CACHE_MODE === "none") {+ throw new TypeError("No cache enabled");+ }++ if (CACHE_MODE === "s3-bucket") {+ return getOnS3(imageHash);+ }++ return createReadStream(await getFileFromHash(imageHash));+};++export const saveToCache = async (imageHash: string, file: Buffer) => {+ if (CACHE_MODE === "none") {+ return;+ }++ if (CACHE_MODE === "s3-bucket") {+ return writeToS3(imageHash, file);+ }++ return fs.promises.writeFile(await getFileFromHash(imageHash), file);+};diff --git a/packages/template-still/src/server/config.ts b/packages/template-still/src/server/config.tsnew file mode 100644index 0000000000..b392dd511c--- /dev/null+++ b/packages/template-still/src/server/config.ts@@ -0,0 +1,17 @@+/**+ * Select between 3 cache modes:+ * - "filesystem" will save rendered images in a temporary directory in the filesystem+ * - "s3-bucket" will cache images in a S3 bucket+ * - "none" will not use any caching and calculate all images on the fly.+ */+export const CACHE_MODE: CacheMode = "filesystem";++/**+ * If you selected "s3-bucket":+ * - Create an S3 bucket and specify it here alongside the S3 region+ * - Create an .env file with AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables+ */+export const AWS_BUCKET_NAME = "remotion-image-cache";+export const AWS_REGION = "eu-central-1";++type CacheMode = "filesystem" | "s3-bucket" | "none";diff --git a/packages/template-still/src/server/handler.ts b/packages/template-still/src/server/handler.tsnew file mode 100644index 0000000000..a8e5b017f2--- /dev/null+++ b/packages/template-still/src/server/handler.ts@@ -0,0 +1,23 @@+import { Request, Response } from "express";+import pLimit from "p-limit";++// Only allow to process 1 image at a time+const limited = pLimit(1);++export const handler = (+ fn: (req: Request, res: Response) => Promise<unknown>,+) => {+ return async function (request: Request, response: Response): Promise<void> {+ try {+ await limited(() => fn(request, response));+ } catch (err) {+ console.log((err as Error).stack);+ response.set("content-type", "application/json");+ const statusCode = (err as { status: number }).status || 500;+ response.status(statusCode).json({+ success: false,+ error: (err as Error).message,+ });+ }+ };+};diff --git a/packages/template-still/src/server/help-text.ts b/packages/template-still/src/server/help-text.tsnew file mode 100644index 0000000000..9e236a2a31--- /dev/null+++ b/packages/template-still/src/server/help-text.ts@@ -0,0 +1,6 @@+export const helpText = (port: number) => `+The server is now running on port ${port}.++Go to http://localhost:${port}/PreviewCard.png?title=Hello+World in your browser to render a still image. See the README.md how to configure the server+and deploy it to the cloud.+`;diff --git a/packages/template-still/src/server/image-types.ts b/packages/template-still/src/server/image-types.tsnew file mode 100644index 0000000000..13ff869733--- /dev/null+++ b/packages/template-still/src/server/image-types.ts@@ -0,0 +1,25 @@+type ImageFormat = "png" | "jpeg";++export const getImageType = (imageParam: string): ImageFormat => {+ if (imageParam === "png") {+ return "png";+ }+ if (imageParam === "jpeg" || imageParam === "jpg") {+ return "jpeg";+ }++ throw new TypeError(+ "Invalid image format - your URL path should end in .png or .jpeg.",+ );+};++export const getMimeType = (imageFormat: ImageFormat) => {+ if (imageFormat === "jpeg") {+ return "image/jpeg";+ }+ if (imageFormat === "png") {+ return "image/png";+ }++ throw new TypeError("Unexpected image format");+};diff --git a/packages/template-still/src/server/index.ts b/packages/template-still/src/server/index.tsnew file mode 100644index 0000000000..443c5bccd6--- /dev/null+++ b/packages/template-still/src/server/index.ts@@ -0,0 +1,95 @@+import { bundle } from "@remotion/bundler";+import {+ ensureBrowser,+ renderStill,+ selectComposition,+} from "@remotion/renderer";+import dotenv from "dotenv";+import express from "express";+import rateLimit from "express-rate-limit";+import fs from "fs";+import os from "os";+import path from "path";+import { getFromCache, isInCache, saveToCache } from "./cache";+import { handler } from "./handler";+import { helpText } from "./help-text";+import { getImageType, getMimeType } from "./image-types";+import { getImageHash } from "./make-hash";+import { sendFile } from "./send-file";++dotenv.config();++const app = express();+const port = process.env.PORT || 8000;++const webpackBundling = bundle(path.join(process.cwd(), "src/index.ts"));+const tmpDir = fs.promises.mkdtemp(path.join(os.tmpdir(), "remotion-"));++enum Params {+ compositionname,+ format,+}++// This setting will reveal the real IP address of the user, so we can apply rate limiting.+app.set("trust proxy", 1);++// Not more than 20 requests per minute per user+app.use(+ rateLimit({+ windowMs: 1 * 60 * 1000,+ max: 20,+ }),+);++// The image is rendered when /[CompositionName].[imageformat] is called.+// Props are passed via query string.+app.get(+ `/:${Params.compositionname}.:${Params.format}(png|jpe?g)`,+ handler(async (req, res) => {+ const inputProps = req.query;+ const compName = req.params[Params.compositionname];+ const imageFormat = getImageType(req.params[Params.format]);++ res.set("content-type", getMimeType(imageFormat));++ // Calculate a unique identifier for our image,+ // if it exists, return it from cache+ const hash = getImageHash(+ JSON.stringify({+ compName,+ imageFormat,+ inputProps,+ }),+ );++ if (await isInCache(hash)) {+ const file = await getFromCache(hash);+ return sendFile(res, file);+ }++ const output = path.join(await tmpDir, hash);++ const webpackBundle = await webpackBundling;+ const composition = await selectComposition({+ id: compName,+ inputProps,+ serveUrl: webpackBundle,+ });+ await renderStill({+ composition,+ serveUrl: webpackBundle,+ output,+ inputProps,+ imageFormat,+ });++ await sendFile(res, fs.createReadStream(output));+ await saveToCache(hash, await fs.promises.readFile(output));+ await fs.promises.unlink(output);+ }),+);++ensureBrowser().then(() => {+ app.listen(port);+ console.log(helpText(Number(port)));+});diff --git a/packages/template-still/src/server/make-hash.ts b/packages/template-still/src/server/make-hash.tsnew file mode 100644index 0000000000..51677c3373--- /dev/null+++ b/packages/template-still/src/server/make-hash.ts@@ -0,0 +1,5 @@+import crypto from "crypto";++export const getImageHash = (obj: unknown): string => {+ return crypto.createHash("md5").update(JSON.stringify(obj)).digest("hex");+};diff --git a/packages/template-still/src/server/s3.ts b/packages/template-still/src/server/s3.tsnew file mode 100644index 0000000000..afa4fa8872--- /dev/null+++ b/packages/template-still/src/server/s3.ts@@ -0,0 +1,46 @@+import {+ GetObjectCommand,+ HeadObjectCommand,+ PutObjectCommand,+ S3Client,+} from "@aws-sdk/client-s3";+import { Readable } from "stream";+import { AWS_BUCKET_NAME, AWS_REGION } from "./config";++const client = new S3Client({+ region: AWS_REGION,+});++export const existsOnS3 = async (key: string) => {+ try {+ await client.send(+ new HeadObjectCommand({+ Bucket: AWS_BUCKET_NAME,+ Key: key,+ }),+ );+ return true;+ } catch (err) {+ return false;+ }+};++export const getOnS3 = async (key: string): Promise<Readable> => {+ const obj = await client.send(+ new GetObjectCommand({+ Bucket: AWS_BUCKET_NAME,+ Key: key,+ }),+ );+ return obj.Body as Readable;+};++export const writeToS3 = async (key: string, read: Buffer) => {+ await client.send(+ new PutObjectCommand({+ Bucket: AWS_BUCKET_NAME,+ Key: key,+ Body: read,+ }),+ );+};diff --git a/packages/template-still/src/server/send-file.ts b/packages/template-still/src/server/send-file.tsnew file mode 100644index 0000000000..d8db230adc--- /dev/null+++ b/packages/template-still/src/server/send-file.ts@@ -0,0 +1,19 @@+import { Response } from "express";+import { Readable } from "stream";++export const sendFile = async (+ res: Response,+ data: Readable,+): Promise<void> => {+ return new Promise<void>((resolve, reject) => {+ data+ .pipe(res)+ .on("close", () => {+ res.end();+ resolve();+ })+ .on("error", (err) => {+ reject(err);+ });+ });+};diff --git a/packages/template-still/tsconfig.json b/packages/template-still/tsconfig.jsonnew file mode 100644index 0000000000..9112e81d0f--- /dev/null+++ b/packages/template-still/tsconfig.json@@ -0,0 +1,16 @@+{+ "compilerOptions": {+ "target": "ES2018",+ "module": "commonjs",+ "jsx": "react-jsx",+ "rootDir": "./src",+ "outDir": "./dist",+ "strict": true,+ "lib": ["es2015"],+ "esModuleInterop": true,+ "skipLibCheck": true,+ "forceConsistentCasingInFileNames": true,+ "noUnusedLocals": true+ },+ "exclude": ["remotion.config.ts"]+}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 6d48c91d1b..94c3fcc4ea 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -2108,6 +2108,79 @@ importers:specifier: 5.3.3version: 5.3.3+ packages/template-still:+ dependencies:+ '@aws-sdk/client-s3':+ specifier: 3.645.0+ version: 3.645.0+ '@remotion/bundler':+ specifier: workspace:*+ version: link:../bundler+ '@remotion/cli':+ specifier: workspace:*+ version: link:../cli+ '@remotion/renderer':+ specifier: workspace:*+ version: link:../renderer+ '@remotion/zod-types':+ specifier: workspace:*+ version: link:../zod-types+ '@types/express':+ specifier: 4.17.13+ version: 4.17.13+ '@types/express-rate-limit':+ specifier: 5.1.3+ version: 5.1.3+ '@types/node':+ specifier: 20.14.11+ version: 20.14.11+ '@types/react':+ specifier: 18.3.1+ version: 18.3.1+ '@types/web':+ specifier: 0.0.78+ version: 0.0.78+ dotenv:+ specifier: 16.0.3+ version: 16.0.3+ express:+ specifier: 4.17.1+ version: 4.17.1+ express-rate-limit:+ specifier: 5.3.0+ version: 5.3.0+ p-limit:+ specifier: 3.1.0+ version: 3.1.0+ 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+ bun:+ specifier: 1.1.5+ version: 1.1.5+ 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/template-three:dependencies:'@react-three/fiber':@@ -8550,11 +8623,6 @@ packages:resolution: {integrity: sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==}engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}- /@eslint-community/[email protected]:- resolution: {integrity: sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==}- engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}- dev: true-/@eslint/[email protected]:resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}@@ -9349,6 +9417,70 @@ packages:resolution: {integrity: sha512-hkjo6MuIK/kQR5CrGNdAPZhS01ZCXuWDRJ187zh6qqF2+yMHZpD9fAYpX8q2bOO6Ryhl3XpCT6kUX76N8hhm4Q==}dev: false+ /@oven/[email protected]:+ resolution: {integrity: sha512-z0k3W2XEfa11OVUW0vp9pWLlpcPKY6TtpwPvREXCA0nFWj9LxbIRr5FZ1U6+M0gCRlx+5XOpSsWQ7+/HJcDgSg==}+ cpu: [arm64]+ os: [darwin]+ requiresBuild: true+ dev: true+ optional: true++ /@oven/[email protected]:+ resolution: {integrity: sha512-w3bHmbgrU0L8fCzW0uf0MYPo2DMekHG0w2SSQ+ZspkGQ11ppTu7FJZxZMAw8UQAAX3FgltFnaI1p6J9gkv4MMw==}+ cpu: [x64]+ os: [darwin]+ requiresBuild: true+ dev: true+ optional: true++ /@oven/[email protected]:+ resolution: {integrity: sha512-Pv1QDb69u6JMXfWiAE638aUWzsARGxWDQ1J1YLxOJVzbEe9f8qvMPZX7yP4OcfFMyc1ZcFrd7kDSkXQHZ/DeTg==}+ cpu: [x64]+ os: [darwin]+ requiresBuild: true+ dev: true+ optional: true++ /@oven/[email protected]:+ resolution: {integrity: sha512-iObapm21/EsuQN3Z3m/DwAyjeGQaYuwC+KocPT29n7Tv+C/bubIEtikrmSGfA2CiSA5n6dFsFGk/t/uFfUuVMA==}+ cpu: [arm64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@oven/[email protected]:+ resolution: {integrity: sha512-ENUbLzO/tKpzUp04e9u+jZi+RFIpIJ/RQy7WKTstzce3fZqAsfh65CJE7TqKvFpHEDNxaRqJRg7yUonSCO1BmA==}+ cpu: [x64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@oven/[email protected]:+ resolution: {integrity: sha512-KrvxD5sUf0WcdjVJm2LyGJqPzBldYWT4EQy+N5c5gzFnrEKSXOsj5lFE2vPNICS8Zvwzt8zLr0OwKq/WU93xTQ==}+ cpu: [x64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@oven/[email protected]:+ resolution: {integrity: sha512-OCkUFyhbLR0kzAzuZg7pAa48TQFukYlaHTPH7ZWJkuS4ewFsDiYE+ET1BFn0LoRPlK/IhR8F6S21cH1elrlWCw==}+ cpu: [x64]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ /@oven/[email protected]:+ resolution: {integrity: sha512-kLRNRrQhCqXXoc0E6y9lBYbec6Sd7zIZtasoO6V7pYatMEaDB1ufIktmM5YVtCGYqNJ1+zNsENuU9xxPuprPDA==}+ cpu: [x64]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true+/@pkgjs/[email protected]:resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}engines: {node: '>=14'}@@ -11813,12 +11945,10 @@ packages:/@types/[email protected]:resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==}- /@types/[email protected]:- resolution: {integrity: sha512-3UJuW+Qxhzwjq3xhwXm2onQcFHn76frIYVbTu+kn24LFxI+dEhdfISDFovPB8VpEgW8oQCTpRuCe+0zJxB7NEA==}+ /@types/[email protected]:+ resolution: {integrity: sha512-H+TYy3K53uPU2TqPGFYaiWc2xJV6+bIFkDd/Ma2/h67Pa6ARk9kWE0p/K9OH1Okm0et9Sfm66fmXoAxsH2PHXg==}dependencies:- '@types/node': 20.14.11- '@types/qs': 6.9.7- '@types/range-parser': 1.2.4+ '@types/express': 4.17.13dev: false/@types/[email protected]:@@ -11834,7 +11964,7 @@ packages:resolution: {integrity: sha512-6bSZTPaTIACxn48l50SR+axgrqm6qXFIxrdAKaG6PaJk3+zuUr35hBlgT7vOmJcum+OEaIBLtHV/qloEAFITeA==}dependencies:'@types/body-parser': 1.19.1- '@types/express-serve-static-core': 4.17.24+ '@types/express-serve-static-core': 4.17.35'@types/qs': 6.9.7'@types/serve-static': 1.13.10dev: false@@ -12149,7 +12279,7 @@ packages:/@types/[email protected]:resolution: {integrity: sha512-d/Hs3nWDxNL2xAczmOVZNj92YZCS6RGxfBPjKzuu/XirCgXdpKEb88dYNbrYGint6IVWLNP+yonwVAuRC0T2Dg==}dependencies:- '@types/express': 4.17.21+ '@types/express': 4.17.13dev: false/@types/[email protected]:@@ -12261,12 +12391,12 @@ packages:typescript:optional: truedependencies:- '@eslint-community/regexpp': 4.5.1+ '@eslint-community/regexpp': 4.10.0'@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])- debug: 4.3.4+ debug: 4.3.6([email protected])eslint: 8.56.0graphemer: 1.4.0ignore: 5.2.4@@ -12348,7 +12478,7 @@ packages:'@typescript-eslint/scope-manager': 5.62.0'@typescript-eslint/types': 5.62.0'@typescript-eslint/typescript-estree': 5.62.0([email protected])- debug: 4.3.4+ debug: 4.3.6([email protected])eslint: 8.56.0typescript: 5.3.3transitivePeerDependencies:@@ -13846,6 +13976,24 @@ packages:resolution: {integrity: sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w==}+ resolution: {integrity: sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==}+ engines: {node: '>= 0.8'}+ dependencies:+ bytes: 3.1.0+ content-type: 1.0.5+ debug: 2.6.9+ depd: 1.1.2+ http-errors: 1.7.2+ iconv-lite: 0.4.24+ on-finished: 2.3.0+ qs: 6.7.0+ raw-body: 2.4.0+ type-is: 1.6.18+ transitivePeerDependencies:+ - supports-color+ dev: false+resolution: {integrity: sha512-SAAwOxgoCKMGs9uUAUFHygfLAyaniaoun6I8mFY9pRAJL9+Kec34aU+oIjDhTycub1jozEfEwx1W1IuOYxVSFw==}engines: {node: '>= 0.8'}@@ -14011,6 +14159,23 @@ packages:'@types/ws': 8.5.10dev: true+ resolution: {integrity: sha512-9gVjgPLGQqKEAcuTL1x/hn7PUYvWHlx/tm3//xIRkJk55IVWXcmFM6kQtV+Jn9k5x3wvtAd8a3RRyk2alyKPjA==}+ cpu: [arm64, x64]+ os: [darwin, linux, win32]+ hasBin: true+ requiresBuild: true+ optionalDependencies:+ '@oven/bun-darwin-aarch64': 1.1.5+ '@oven/bun-darwin-x64': 1.1.5+ '@oven/bun-darwin-x64-baseline': 1.1.5+ '@oven/bun-linux-aarch64': 1.1.5+ '@oven/bun-linux-x64': 1.1.5+ '@oven/bun-linux-x64-baseline': 1.1.5+ '@oven/bun-windows-x64': 1.1.5+ '@oven/bun-windows-x64-baseline': 1.1.5+ dev: true+resolution: {integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==}engines: {node: '>=10.16.0'}@@ -14022,6 +14187,11 @@ packages:resolution: {integrity: sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=}engines: {node: '>= 0.8'}+ resolution: {integrity: sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==}+ engines: {node: '>= 0.8'}+ dev: false+resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==}engines: {node: '>= 0.8'}@@ -14534,6 +14704,13 @@ packages:engines: {node: '>= 0.6'}dev: false+ resolution: {integrity: sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==}+ engines: {node: '>= 0.6'}+ dependencies:+ safe-buffer: 5.1.2+ dev: false+resolution: {integrity: sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==}engines: {node: '>= 0.6'}@@ -14564,6 +14741,11 @@ packages:resolution: {integrity: sha512-78KWk9T26NhzXtuL26cIJ8/qNHANyJ/ZYrmEXFzUmhZdjpBv+DlWlOANRTGBt48YcyslsLrj0bMLFTmXvLRCOw==}engines: {node: '>=6.6.0'}+ resolution: {integrity: sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==}+ engines: {node: '>= 0.6'}+ dev: false+resolution: {integrity: sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==}engines: {node: '>= 0.6'}@@ -15409,7 +15591,6 @@ packages:resolution: {integrity: sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==}engines: {node: '>=12'}- dev: trueresolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==}@@ -17021,6 +17202,48 @@ packages:engines: {node: '>=6'}dev: true+ resolution: {integrity: sha512-qJhfEgCnmteSeZAeuOKQ2WEIFTX5ajrzE0xS6gCOBCoRQcU+xEzQmgYQQTpzCcqUAAzTEtu4YEih4pnLfvNtew==}+ dev: false++ resolution: {integrity: sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==}+ engines: {node: '>= 0.10.0'}+ dependencies:+ accepts: 1.3.8+ array-flatten: 1.1.1+ body-parser: 1.19.0+ content-disposition: 0.5.3+ content-type: 1.0.5+ cookie: 0.4.0+ cookie-signature: 1.0.6+ debug: 2.6.9+ depd: 1.1.2+ encodeurl: 1.0.2+ escape-html: 1.0.3+ etag: 1.8.1+ finalhandler: 1.1.2+ fresh: 0.5.2+ merge-descriptors: 1.0.1+ methods: 1.1.2+ on-finished: 2.3.0+ parseurl: 1.3.3+ path-to-regexp: 0.1.7+ proxy-addr: 2.0.7+ qs: 6.7.0+ range-parser: 1.2.1+ safe-buffer: 5.1.2+ send: 0.17.1+ serve-static: 1.14.1+ setprototypeof: 1.1.1+ statuses: 1.5.0+ type-is: 1.6.18+ utils-merge: 1.0.1+ vary: 1.1.2+ transitivePeerDependencies:+ - supports-color+ dev: false+resolution: {integrity: sha512-yuSQpz5I+Ch7gFrPCk4/c+dIBKlQUxtgwqzph132bsT6qhuzss6I8cLJQz7B3rFblzd6wtcI0ZbGltH/C4LjUg==}engines: {node: '>= 0.10.0'}@@ -17455,7 +17678,7 @@ packages:resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==}- resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==}+ resolution: {integrity: sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=}engines: {node: '>= 0.6'}@@ -18328,6 +18551,28 @@ packages:statuses: 1.5.0dev: false+ resolution: {integrity: sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==}+ engines: {node: '>= 0.6'}+ dependencies:+ depd: 1.1.2+ inherits: 2.0.3+ setprototypeof: 1.1.1+ statuses: 1.5.0+ toidentifier: 1.0.0+ dev: false++ resolution: {integrity: sha512-ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw==}+ engines: {node: '>= 0.6'}+ dependencies:+ depd: 1.1.2+ inherits: 2.0.4+ setprototypeof: 1.1.1+ statuses: 1.5.0+ toidentifier: 1.0.0+ dev: false+resolution: {integrity: sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==}engines: {node: '>= 0.6'}@@ -18363,7 +18608,7 @@ packages:transitivePeerDependencies:- supports-color- /[email protected](@types/[email protected]):+ /[email protected](@types/[email protected]):resolution: {integrity: sha512-m/4FxX17SUvz4lJ5WPXOHDUuCwIqXLfLHs1s0uZ3oYjhoXlx9csYxaOa0ElDEJ+h8Q4iJ1s+lTMbiCa4EXIJqg==}engines: {node: '>=12.0.0'}peerDependencies:@@ -18372,7 +18617,7 @@ packages:'@types/express':optional: truedependencies:- '@types/express': 4.17.21+ '@types/express': 4.17.13'@types/http-proxy': 1.17.8http-proxy: 1.18.1is-glob: 4.0.3@@ -19913,7 +20158,7 @@ packages:'@babel/runtime': 7.24.8- resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==}+ resolution: {integrity: sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=}engines: {node: '>= 0.6'}@@ -19924,7 +20169,7 @@ packages:dev: false- resolution: {integrity: sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==}+ resolution: {integrity: sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=}resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}@@ -20745,6 +20990,10 @@ packages:resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==}+ resolution: {integrity: sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==}+ dev: false+resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}@@ -22712,6 +22961,11 @@ packages:dependencies:side-channel: 1.0.6+ resolution: {integrity: sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==}+ engines: {node: '>=0.6'}+ dev: false+resolution: {integrity: sha512-IhMFgUmuNpyRfxA90umL7ByLlgRXu6tIfKPpF5TmcfRLlLCckfP/g3IQmju6jjpu+Hh8rA+2p6A27ZSPOOHdKw==}engines: {node: '>=0.6'}@@ -22756,6 +23010,16 @@ packages:resolution: {integrity: sha512-sln+pNSc8NGaHoLzwNBssFSf/rSYkqeBXzX1AtJlkJiUaVSJSbRAWJk+4omsXkN+EJalzkZhWQ3th1m0FpR5xA==}dev: false+ resolution: {integrity: sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==}+ engines: {node: '>= 0.8'}+ dependencies:+ bytes: 3.1.0+ http-errors: 1.7.2+ iconv-lite: 0.4.24+ unpipe: 1.0.0+ dev: false+resolution: {integrity: sha512-UlTNLIcu0uzb4D2f4WltY6cVjLi+/jEN4lgEUj3E04tpMDpUlkBo/eSn6zou9hum2VMNpCCUone0O0WeJim07g==}engines: {node: '>= 0.8'}@@ -23887,6 +24151,27 @@ packages:engines: {node: '>=10'}hasBin: true+ resolution: {integrity: sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==}+ engines: {node: '>= 0.8.0'}+ dependencies:+ debug: 2.6.9+ depd: 1.1.2+ destroy: 1.0.4+ encodeurl: 1.0.2+ escape-html: 1.0.3+ etag: 1.8.1+ fresh: 0.5.2+ http-errors: 1.7.3+ mime: 1.6.0+ ms: 2.1.1+ on-finished: 2.3.0+ range-parser: 1.2.1+ statuses: 1.5.0+ transitivePeerDependencies:+ - supports-color+ dev: false+resolution: {integrity: sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==}engines: {node: '>= 0.8.0'}@@ -23961,6 +24246,18 @@ packages:- supports-colordev: false+ resolution: {integrity: sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==}+ engines: {node: '>= 0.8.0'}+ dependencies:+ encodeurl: 1.0.2+ escape-html: 1.0.3+ parseurl: 1.3.3+ send: 0.17.1+ transitivePeerDependencies:+ - supports-color+ dev: false+resolution: {integrity: sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==}engines: {node: '>= 0.8.0'}@@ -24011,6 +24308,10 @@ packages:resolution: {integrity: sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==}dev: false+ resolution: {integrity: sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==}+ dev: false+resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==}@@ -25039,6 +25340,11 @@ packages:dependencies:is-number: 7.0.0+ resolution: {integrity: sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==}+ engines: {node: '>=0.6'}+ dev: false+resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==}engines: {node: '>=0.6'}@@ -25817,7 +26123,7 @@ packages:dev: false- resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==}+ resolution: {integrity: sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=}engines: {node: '>= 0.4.0'}@@ -26337,7 +26643,7 @@ packages:dependencies:'@types/bonjour': 3.5.10'@types/connect-history-api-fallback': 1.3.5- '@types/express': 4.17.21+ '@types/express': 4.17.13'@types/serve-index': 1.9.1'@types/serve-static': 1.13.10'@types/sockjs': 0.3.33@@ -26349,10 +26655,10 @@ packages:compression: 1.7.4connect-history-api-fallback: 2.0.0default-gateway: 6.0.3- express: 4.17.3+ express: 4.19.2graceful-fs: 4.2.11html-entities: 2.5.2- http-proxy-middleware: 2.0.4(@types/[email protected])+ http-proxy-middleware: 2.0.4(@types/[email protected])ipaddr.js: 2.0.1launch-editor: 2.8.0open: 8.4.2