diff --git a/ts/@live-compositor/core/src/compositor.ts b/ts/@live-compositor/core/src/compositor.ts index db26c6ba5..9889f75cb 100644 --- a/ts/@live-compositor/core/src/compositor.ts +++ b/ts/@live-compositor/core/src/compositor.ts @@ -6,12 +6,6 @@ import { intoRegisterOutput } from './api/output'; import { intoRegisterInput } from './api/input'; import { onCompositorEvent } from './event'; -export async function createLiveCompositor(manager: CompositorManager): Promise { - const compositor = new LiveCompositor(manager); - await compositor['setupInstance'](); - return compositor; -} - export class LiveCompositor { private manager: CompositorManager; private api: ApiClient; @@ -24,7 +18,7 @@ export class LiveCompositor { this.store = new _liveCompositorInternals.InstanceContextStore(); } - private async setupInstance() { + public async init(): Promise { this.manager.registerEventListener((event: unknown) => onCompositorEvent(this.store, event)); await this.manager.setupInstance(); } diff --git a/ts/@live-compositor/core/src/index.ts b/ts/@live-compositor/core/src/index.ts index f5462377a..4d82a0b65 100644 --- a/ts/@live-compositor/core/src/index.ts +++ b/ts/@live-compositor/core/src/index.ts @@ -1,3 +1,3 @@ export { ApiClient, ApiRequest } from './api'; -export { LiveCompositor, createLiveCompositor } from './compositor'; +export { LiveCompositor } from './compositor'; export { CompositorManager } from './compositorManager'; diff --git a/ts/@live-compositor/node/src/index.ts b/ts/@live-compositor/node/src/index.ts index 8ba6f901f..716ba8aec 100644 --- a/ts/@live-compositor/node/src/index.ts +++ b/ts/@live-compositor/node/src/index.ts @@ -1,15 +1,11 @@ -import { - LiveCompositor as CoreLiveCompositor, - CompositorManager, - createLiveCompositor, -} from '@live-compositor/core'; +import { LiveCompositor as CoreLiveCompositor, CompositorManager } from '@live-compositor/core'; import LocallySpawnedInstance from './manager/locallySpawnedInstance'; import ExistingInstance from './manager/existingInstance'; export { LocallySpawnedInstance, ExistingInstance }; export default class LiveCompositor extends CoreLiveCompositor { - public static async create(manager?: CompositorManager): Promise { - return await createLiveCompositor(manager ?? LocallySpawnedInstance.defaultManager()); + constructor(manager?: CompositorManager) { + super(manager ?? LocallySpawnedInstance.defaultManager()); } } diff --git a/ts/create-live-compositor/.eslintignore b/ts/create-live-compositor/.eslintignore new file mode 100644 index 000000000..0d842b9e0 --- /dev/null +++ b/ts/create-live-compositor/.eslintignore @@ -0,0 +1,2 @@ +dist +templates diff --git a/ts/create-live-compositor/.eslintrc.json b/ts/create-live-compositor/.eslintrc.json new file mode 100644 index 000000000..b80891633 --- /dev/null +++ b/ts/create-live-compositor/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "extends": [ + "../.eslintrc.base.json" + ] +} diff --git a/ts/create-live-compositor/.gitignore b/ts/create-live-compositor/.gitignore new file mode 100644 index 000000000..f06235c46 --- /dev/null +++ b/ts/create-live-compositor/.gitignore @@ -0,0 +1,2 @@ +node_modules +dist diff --git a/ts/create-live-compositor/README.md b/ts/create-live-compositor/README.md new file mode 100644 index 000000000..5a41eba27 --- /dev/null +++ b/ts/create-live-compositor/README.md @@ -0,0 +1,7 @@ +# `create-live-compositor` + +To start new project using Live Compositor run: + +``` +npm create live-compositor +``` diff --git a/ts/create-live-compositor/package.json b/ts/create-live-compositor/package.json new file mode 100644 index 000000000..3add41c86 --- /dev/null +++ b/ts/create-live-compositor/package.json @@ -0,0 +1,34 @@ +{ + "name": "create-live-compositor", + "version": "0.1.0-rc.0", + "description": "", + "main": "dist/index.js", + "scripts": { + "lint": "eslint .", + "typecheck": "tsc --noEmit", + "watch": "tsc --watch --preserveWatchOutput", + "build": "tsc", + "clean": "rimraf dist", + "prepublishOnly": "npm run clean && npm run build" + }, + "author": "", + "license": "MIT", + "bugs": { + "url": "https://github.com/software-mansion/live-compositor/issues" + }, + "homepage": "https://github.com/software-mansion/live-compositor", + "files": [ + "/dist", + "/templates" + ], + "bin": { + "create-live-compositor": "./dist/index.js" + }, + "dependencies": { + "chalk": "^4.1.2", + "prompts": "^2.4.2" + }, + "devDependencies": { + "@types/prompts": "^2.4.9" + } +} diff --git a/ts/create-live-compositor/src/createNodeProject.ts b/ts/create-live-compositor/src/createNodeProject.ts new file mode 100644 index 000000000..8295695ae --- /dev/null +++ b/ts/create-live-compositor/src/createNodeProject.ts @@ -0,0 +1,10 @@ +import { ProjectOptions } from './options'; +import { ensureProjectDir } from './utils/workingdir'; +import { runPackageManagerInstall } from './utils/packageManager'; +import { applyTemplate } from './template'; + +export async function createNodeProject(options: ProjectOptions) { + await ensureProjectDir(options.directory); + await applyTemplate(options.directory, options.runtime.templateName, options.projectName); + await runPackageManagerInstall(options.packageManager, options.directory); +} diff --git a/ts/create-live-compositor/src/index.ts b/ts/create-live-compositor/src/index.ts new file mode 100644 index 000000000..7846c0faf --- /dev/null +++ b/ts/create-live-compositor/src/index.ts @@ -0,0 +1,5 @@ +#!/usr/bin/env node + +import run from './run'; + +void run(); diff --git a/ts/create-live-compositor/src/options.ts b/ts/create-live-compositor/src/options.ts new file mode 100644 index 000000000..976a1812e --- /dev/null +++ b/ts/create-live-compositor/src/options.ts @@ -0,0 +1,85 @@ +import { Choice, selectPrompt, textPrompt } from './utils/prompts'; +import path from 'path'; +import { PackageManager } from './utils/packageManager'; + +export type ProjectOptions = { + projectName: string; + directory: string; + packageManager: PackageManager; + runtime: BrowserOptions | NodeOptions; +}; + +type BrowserOptions = { + type: 'browser'; + embeddedWasm: boolean; + templateName: 'vite' | 'next'; +}; + +type NodeOptions = { + type: 'node'; + templateName: string; +}; + +type Runtime = 'node' | 'browser'; + +const packageManagers: Choice[] = [ + { value: 'npm', title: 'npm' }, + { value: 'yarn', title: 'yarn' }, + { value: 'pnpm', title: 'pnpm' }, +]; + +export async function resolveOptions(): Promise { + const projectName = await textPrompt('Project name: ', 'live-compositor-app'); + // TODO: replace + // const runtime = await selectPrompt('Select environment:', [ + // { value: 'node', title: 'Node.js' }, + // { value: 'browser', title: 'Browser' }, + // ] as const); + const runtime: Runtime = 'node' as any; + + const packageManager = await selectPrompt('Select package manager: ', packageManagers); + + let runtimeOptions: ProjectOptions['runtime']; + if (runtime === 'browser') { + runtimeOptions = await resolveBrowserOptions(); + } else if (runtime === 'node') { + runtimeOptions = await resolveNodeOptions(); + } else { + throw new Error('Unknown runtime'); + } + + return { + runtime: runtimeOptions, + packageManager, + projectName, + directory: path.join(process.cwd(), 'app'), + }; +} + +export async function resolveBrowserOptions(): Promise { + const usageType = await selectPrompt('Where do you want to run the LiveCompositor server?', [ + { value: 'external', title: 'Run as an external instance and communicate over the network.' }, + { value: 'wasm', title: 'Embed LiveCompositor in the browser and render using WebGL.' }, + ]); + const templateName = await selectPrompt('Select project template:', [ + { value: 'vite', title: 'Vite + React' }, + { value: 'next', title: 'Next.js' }, + ] as const); + + return { + type: 'browser', + embeddedWasm: usageType === 'wasm', + templateName, + }; +} + +export async function resolveNodeOptions(): Promise { + const templateName = await selectPrompt('Select project template: ', [ + { title: 'minimal', value: 'node-minimal' }, + { title: 'Express.js + Redux', value: 'node-express-redux' }, + ] as const); + return { + type: 'node', + templateName, + }; +} diff --git a/ts/create-live-compositor/src/run.ts b/ts/create-live-compositor/src/run.ts new file mode 100644 index 000000000..55e6548ab --- /dev/null +++ b/ts/create-live-compositor/src/run.ts @@ -0,0 +1,15 @@ +import chalk from 'chalk'; +import { resolveOptions } from './options'; +import { createNodeProject } from './createNodeProject'; + +export default async function () { + const options = await resolveOptions(); + if (options.runtime.type === 'node') { + console.log('Generating Node.js LiveCompositor project'); + await createNodeProject(options); + } else { + throw new Error('Unknown project type.'); + } + console.log(); + console.log(chalk.green('Project created successfully.')); +} diff --git a/ts/create-live-compositor/src/template.ts b/ts/create-live-compositor/src/template.ts new file mode 100644 index 000000000..ef100aa26 --- /dev/null +++ b/ts/create-live-compositor/src/template.ts @@ -0,0 +1,23 @@ +import fs from 'fs-extra'; +import path from 'path'; + +const TEMPLATES_ROOT = path.join(__dirname, '../templates'); + +export async function applyTemplate( + destination: string, + templateName: string, + projectName: string +): Promise { + const templatePath = path.join(TEMPLATES_ROOT, templateName); + await fs.copy(templatePath, destination); + + await fs.remove(path.join(destination, 'node_modules')); + await fs.remove(path.join(destination, 'dist')); + + const packageJsonPath = path.join(destination, 'package.json'); + const packageJson = JSON.parse(await fs.readFile(packageJsonPath, 'utf8')); + delete packageJson?.scripts?.['start']; + delete packageJson['private']; + packageJson.name = projectName; + await fs.writeFile(packageJsonPath, JSON.stringify(packageJson, null, 2) + '\n', 'utf8'); +} diff --git a/ts/create-live-compositor/src/utils/packageManager.ts b/ts/create-live-compositor/src/utils/packageManager.ts new file mode 100644 index 000000000..d16542468 --- /dev/null +++ b/ts/create-live-compositor/src/utils/packageManager.ts @@ -0,0 +1,13 @@ +import { spawn } from './spawn'; + +export type PackageManager = 'npm' | 'yarn' | 'pnpm'; + +export async function runPackageManagerInstall(pm: PackageManager, cwd?: string): Promise { + const args: string[] = []; + if (['pnpm', 'npm'].includes(pm)) { + args.push('install'); + } + await spawn(pm, args, { + cwd: cwd ?? process.cwd(), + }); +} diff --git a/ts/create-live-compositor/src/utils/prompts.ts b/ts/create-live-compositor/src/utils/prompts.ts new file mode 100644 index 000000000..6a573da67 --- /dev/null +++ b/ts/create-live-compositor/src/utils/prompts.ts @@ -0,0 +1,38 @@ +import { constants } from 'os'; +import prompts, { Answers, Options, Choice as PromptChoice, PromptObject } from 'prompts'; + +export interface Choice extends PromptChoice { + value: T; +} + +async function promptWrapper( + questions: PromptObject | Array>, + options?: Options +): Promise> { + return await prompts(questions, { + onCancel() { + process.exit(constants.signals.SIGINT + 128); // Exit code 130 used when process is interrupted with ctrl+c. + }, + ...options, + }); +} + +export async function confirmPrompt(message: string, initial?: boolean): Promise { + const { value } = await promptWrapper({ + type: 'confirm', + message, + name: 'value', + initial: initial ?? false, + }); + return !!value; +} + +export async function selectPrompt(message: string, choices: Choice[]): Promise { + const { value } = await promptWrapper({ type: 'select', message, name: 'value', choices }); + return value; +} + +export async function textPrompt(message: string, initial?: string): Promise { + const { value } = await promptWrapper({ type: 'text', message, name: 'value', initial }); + return value; +} diff --git a/ts/create-live-compositor/src/utils/spawn.ts b/ts/create-live-compositor/src/utils/spawn.ts new file mode 100644 index 000000000..cb0c33a66 --- /dev/null +++ b/ts/create-live-compositor/src/utils/spawn.ts @@ -0,0 +1,23 @@ +import { ChildProcess, SpawnOptions, spawn as nodeSpawn } from 'child_process'; + +export interface SpawnPromise extends Promise { + child: ChildProcess; +} + +export function spawn(command: string, args: string[], options: SpawnOptions): SpawnPromise { + const child = nodeSpawn(command, args, { + stdio: 'inherit', + ...options, + }); + const promise = new Promise((res, rej) => { + child.on('exit', code => { + if (code === 0) { + res(); + } else { + rej(new Error(`Command "${command} ${args.join(' ')}" failed with exit code ${code}.`)); + } + }); + }) as SpawnPromise; + promise.child = child; + return promise; +} diff --git a/ts/create-live-compositor/src/utils/workingdir.ts b/ts/create-live-compositor/src/utils/workingdir.ts new file mode 100644 index 000000000..f9ad5c186 --- /dev/null +++ b/ts/create-live-compositor/src/utils/workingdir.ts @@ -0,0 +1,20 @@ +import fs from 'fs-extra'; +import { confirmPrompt } from './prompts'; + +export async function ensureProjectDir(directory: string) { + const alreadyExists = await fs.pathExists(directory); + if (alreadyExists) { + const stat = await fs.stat(directory); + // remove cwd unless it's an empty directory + if (!stat.isDirectory || (await fs.readdir(directory)).length > 0) { + if (await confirmPrompt(`Path "${directory}" already exists, Do you want to override it?`)) { + console.log(`Removing ${directory}.`); + await fs.remove(directory); + } else { + console.error('Aboring ...'); + process.exit(1); + } + } + } + await fs.mkdirp(directory); +} diff --git a/ts/create-live-compositor/templates/node-express-redux/.gitignore b/ts/create-live-compositor/templates/node-express-redux/.gitignore new file mode 100644 index 000000000..f06235c46 --- /dev/null +++ b/ts/create-live-compositor/templates/node-express-redux/.gitignore @@ -0,0 +1,2 @@ +node_modules +dist diff --git a/ts/create-live-compositor/templates/node-express-redux/package.json b/ts/create-live-compositor/templates/node-express-redux/package.json new file mode 100644 index 000000000..662521acd --- /dev/null +++ b/ts/create-live-compositor/templates/node-express-redux/package.json @@ -0,0 +1,26 @@ +{ + "name": "node-express-redux", + "private": true, + "version": "1.0.0", + "description": "Live Compositor app", + "main": "./dist/index.js", + "license": "MIT", + "scripts": { + "start": "ts-node ./src/index.ts", + "build": "tsc" + }, + "dependencies": { + "@live-compositor/node": "0.1.0-rc.0", + "@reduxjs/toolkit": "^2.2.7", + "express": "^4.21.0", + "live-compositor": "0.1.0-rc.0", + "react": "^18.3.1", + "react-redux": "^9.1.2" + }, + "devDependencies": { + "@types/express": "^4.17.21", + "@types/node": "^20.14.10", + "@types/react": "^18.2.25", + "typescript": "^5.5.3" + } +} diff --git a/ts/create-live-compositor/templates/node-express-redux/src/App.tsx b/ts/create-live-compositor/templates/node-express-redux/src/App.tsx new file mode 100644 index 000000000..2cc1e64c8 --- /dev/null +++ b/ts/create-live-compositor/templates/node-express-redux/src/App.tsx @@ -0,0 +1,57 @@ +import { View, Text, useInputStreams, InputStream, Tiles } from 'live-compositor'; +import { Provider, useSelector } from "react-redux" + +import { showInstructionsSlice, store } from "./store" + +export default function App() { + return ( + + + + ) +} + +function OutputScene() { + const inputs = useInputStreams(); + const showInstructions = useSelector(showInstructionsSlice.selectors.shouldShow) + return ( + + {showInstructions ? : undefined} + + {Object.values(inputs).map((input) => ( + + ))} + + + ); +} + +function Instructions() { + return ( + + + Open index.ts and get started. + + + This example renders static text and sends the output stream via RTP to local port + 8001. Generated code includes a helpers in liveCompositorFfplayHelper.ts that display output + stream using ffplay, make sure to remove them for any real production use. + + + Where to go next? + + - ./src/App.tsx defines content of the streams. + + + - ./src/routes.ts controls HTTP API that can be used to interact with this example. + + + - ./compositor.tsx exposes LiveCompositor instance that can be used to add/remove new streams/images/shader. + + + - ./store.ts implements Redux store that is used for storing global state and sharing it between express API and React. + + + + ) +} diff --git a/ts/create-live-compositor/templates/node-express-redux/src/compositor.tsx b/ts/create-live-compositor/templates/node-express-redux/src/compositor.tsx new file mode 100644 index 000000000..07aa59170 --- /dev/null +++ b/ts/create-live-compositor/templates/node-express-redux/src/compositor.tsx @@ -0,0 +1,32 @@ +import LiveCompositor from '@live-compositor/node'; +import App from './App'; +import { ffplayStartPlayerAsync } from './liveCompositorFfplayHelper'; + +export const Compositor = new LiveCompositor(); + +export async function initializeCompositor() { + await Compositor.init(); + + // Display output with `ffplay`. + await ffplayStartPlayerAsync('127.0.0.0', 8001); + + await Compositor.registerOutput('output_1', { + type: 'rtp_stream', + port: 8001, + ip: '127.0.0.1', + transportProtocol: 'udp', + video: { + encoder: { + type: 'ffmpeg_h264', + preset: 'ultrafast', + }, + resolution: { + width: 1920, + height: 1080, + }, + root: , + }, + }); + + await Compositor.start(); +} diff --git a/ts/create-live-compositor/templates/node-express-redux/src/index.ts b/ts/create-live-compositor/templates/node-express-redux/src/index.ts new file mode 100644 index 000000000..740a906c7 --- /dev/null +++ b/ts/create-live-compositor/templates/node-express-redux/src/index.ts @@ -0,0 +1,10 @@ +import { initializeCompositor } from './compositor'; +import { app } from './routes'; + +async function run() { + await initializeCompositor(); + + app.listen(3000); +} + +void run(); diff --git a/ts/create-live-compositor/templates/node-express-redux/src/liveCompositorFfplayHelper.ts b/ts/create-live-compositor/templates/node-express-redux/src/liveCompositorFfplayHelper.ts new file mode 100644 index 000000000..e28f150dd --- /dev/null +++ b/ts/create-live-compositor/templates/node-express-redux/src/liveCompositorFfplayHelper.ts @@ -0,0 +1,59 @@ +import os from 'os'; +import path from 'path'; +import fs from 'fs'; +import { ChildProcess, spawn as nodeSpawn, SpawnOptions } from 'child_process'; + +const TMP_SDP_DIR = path.join(os.tmpdir(), 'live-composiotor-sdp'); + +/** + * Util function that displays video send over RTP to specified port. + * This is only for debugging, do not use for production use cases. + */ +export async function ffplayStartPlayerAsync(ip: string, videoPort: number): Promise { + if (!fs.existsSync(TMP_SDP_DIR)) { + fs.mkdirSync(TMP_SDP_DIR); + } + const sdpFilePath = path.join(TMP_SDP_DIR, `video_input_${videoPort}.sdp`); + writeVideoSdpFile(ip, videoPort, sdpFilePath); + void spawn('ffplay', ['-protocol_whitelist', 'file,rtp,udp', sdpFilePath], {}); + // give time for ffplay to start + await new Promise(res => setTimeout(() => res(), 2000)); +} + +export interface SpawnPromise extends Promise { + child: ChildProcess; +} + +export function spawn(command: string, args: string[], options: SpawnOptions): SpawnPromise { + const child = nodeSpawn(command, args, { + stdio: 'inherit', + ...options, + }); + const promise = new Promise((res, rej) => { + child.on('exit', code => { + if (code === 0) { + res(); + } else { + rej(new Error(`Command "${command} ${args.join(' ')}" failed with exit code ${code}.`)); + } + }); + }) as SpawnPromise; + promise.child = child; + return promise; +} + +function writeVideoSdpFile(ip: string, port: number, destination: string): void { + fs.writeFileSync( + destination, + ` +v=0 +o=- 0 0 IN IP4 ${ip} +s=No Name +c=IN IP4 ${ip} +m=video ${port} RTP/AVP 96 +a=rtpmap:96 H264/90000 +a=fmtp:96 packetization-mode=1 +a=rtcp-mux +` + ); +} diff --git a/ts/create-live-compositor/templates/node-express-redux/src/routes.ts b/ts/create-live-compositor/templates/node-express-redux/src/routes.ts new file mode 100644 index 000000000..31357208a --- /dev/null +++ b/ts/create-live-compositor/templates/node-express-redux/src/routes.ts @@ -0,0 +1,22 @@ +import express, { json } from 'express'; +import { Compositor } from './compositor'; +import { showInstructionsSlice, store } from './store'; + +export const app = express(); + +app.use(json()); + +// curl -XPOST -H "Content-type: application/json" -d '{ "inputId": "input_1", "mp4Url": "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" }' 'http://localhost:3000/add-stream' +app.post('/add-stream', async (req, res) => { + await Compositor.registerInput(req.body.inputId, { + type: 'mp4', + url: req.body.mp4Url, + }); + res.send({}); +}); + +// curl -XPOST 'http://localhost:3000/toggle-instructions' +app.post('/toggle-instructions', async (_req, res) => { + store.dispatch(showInstructionsSlice.actions.toggle()); + res.send({}); +}); diff --git a/ts/create-live-compositor/templates/node-express-redux/src/store.ts b/ts/create-live-compositor/templates/node-express-redux/src/store.ts new file mode 100644 index 000000000..339c03e1e --- /dev/null +++ b/ts/create-live-compositor/templates/node-express-redux/src/store.ts @@ -0,0 +1,40 @@ +import type { Action, ThunkAction } from "@reduxjs/toolkit" +import { combineSlices, configureStore, createSlice } from "@reduxjs/toolkit" + +export const showInstructionsSlice = createSlice({ + name: "instructions", + initialState: true, + reducers: create => ({ + toggle: create.reducer(state => !state) + }), + selectors: { + shouldShow: state => state, + } +}) + +// `combineSlices` automatically combines the reducers using +// their `reducerPath`s, therefore we no longer need to call `combineReducers`. +const rootReducer = combineSlices(showInstructionsSlice) +// Infer the `RootState` type from the root reducer +export type RootState = ReturnType + +export const makeStore = (preloadedState?: Partial) => { + const store = configureStore({ + reducer: rootReducer, + preloadedState, + }) + return store +} + +export const store = makeStore() + +// Infer the type of `store` +export type AppStore = typeof store +// Infer the `AppDispatch` type from the store itself +export type AppDispatch = AppStore["dispatch"] +export type AppThunk = ThunkAction< + ThunkReturnType, + RootState, + unknown, + Action +> diff --git a/ts/create-live-compositor/templates/node-express-redux/tsconfig.json b/ts/create-live-compositor/templates/node-express-redux/tsconfig.json new file mode 100644 index 000000000..46807cca8 --- /dev/null +++ b/ts/create-live-compositor/templates/node-express-redux/tsconfig.json @@ -0,0 +1,11 @@ +{ + "compilerOptions": { + "moduleResolution": "NodeNext", + "module": "NodeNext", + "strict": true, + "esModuleInterop": true, + "declaration": true, + "outDir": "dist", + "jsx": "react-jsx" + } +} diff --git a/ts/create-live-compositor/templates/node-minimal/.gitignore b/ts/create-live-compositor/templates/node-minimal/.gitignore new file mode 100644 index 000000000..f06235c46 --- /dev/null +++ b/ts/create-live-compositor/templates/node-minimal/.gitignore @@ -0,0 +1,2 @@ +node_modules +dist diff --git a/ts/create-live-compositor/templates/node-minimal/package.json b/ts/create-live-compositor/templates/node-minimal/package.json new file mode 100644 index 000000000..fd5c20864 --- /dev/null +++ b/ts/create-live-compositor/templates/node-minimal/package.json @@ -0,0 +1,22 @@ +{ + "name": "node-minimal", + "private": true, + "version": "1.0.0", + "description": "Live Compositor app", + "main": "./dist/index.js", + "license": "MIT", + "scripts": { + "start": "ts-node ./src/App.tsx", + "build": "tsc" + }, + "dependencies": { + "@live-compositor/node": "0.1.0-rc.0", + "live-compositor": "0.1.0-rc.0", + "react": "^18.3.1" + }, + "devDependencies": { + "@types/node": "^20.14.10", + "@types/react": "^18.3.3", + "typescript": "^5.5.3" + } +} diff --git a/ts/create-live-compositor/templates/node-minimal/src/App.tsx b/ts/create-live-compositor/templates/node-minimal/src/App.tsx new file mode 100644 index 000000000..d64257740 --- /dev/null +++ b/ts/create-live-compositor/templates/node-minimal/src/App.tsx @@ -0,0 +1,50 @@ +import LiveCompositor from '@live-compositor/node'; +import { View, Text } from 'live-compositor'; +import { ffplayStartPlayerAsync } from './liveCompositorFfplayHelper'; + +function App() { + return ( + + + Open index.ts and get started + + + This example renders static text and sends the output stream via RTP to local port + 8001. Generated code includes a helpers in liveCompositorFfplayHelper.ts that display output + stream using ffplay, make sure to remove them for any real production use. + + + + ); +} + +async function run() { + const compositor = new LiveCompositor(); + await compositor.init(); + + // Display output with `ffplay`. + await ffplayStartPlayerAsync('127.0.0.0', 8001); + + await compositor.registerOutput('output_1', { + type: 'rtp_stream', + port: 8001, + ip: '127.0.0.1', + transportProtocol: 'udp', + video: { + encoder: { + type: 'ffmpeg_h264', + preset: 'ultrafast', + }, + resolution: { + width: 1920, + height: 1080, + }, + root: , + }, + }); + + // Connect any additional inputs/images/shader you might need before the start. + + await compositor.start(); +} +void run(); diff --git a/ts/create-live-compositor/templates/node-minimal/src/liveCompositorFfplayHelper.ts b/ts/create-live-compositor/templates/node-minimal/src/liveCompositorFfplayHelper.ts new file mode 100644 index 000000000..9e5f0f963 --- /dev/null +++ b/ts/create-live-compositor/templates/node-minimal/src/liveCompositorFfplayHelper.ts @@ -0,0 +1,59 @@ +import os from 'os'; +import path from 'path'; +import fs from 'fs'; +import { ChildProcess, spawn as nodeSpawn, SpawnOptions } from 'child_process'; + +const TMP_SDP_DIR = path.join(os.tmpdir(), 'live-composiotor-sdp'); + +/* + * Util function that displays video send over RTP to specified port. + * This is only for debugging, do not use for production use cases. + */ +export async function ffplayStartPlayerAsync(ip: string, videoPort: number): Promise { + if (!fs.existsSync(TMP_SDP_DIR)) { + fs.mkdirSync(TMP_SDP_DIR); + } + const sdpFilePath = path.join(TMP_SDP_DIR, `video_input_${videoPort}.sdp`); + writeVideoSdpFile(ip, videoPort, sdpFilePath); + void spawn('ffplay', ['-protocol_whitelist', 'file,rtp,udp', sdpFilePath], {}); + // give time for ffplay to start + await new Promise(res => setTimeout(() => res(), 2000)); +} + +export interface SpawnPromise extends Promise { + child: ChildProcess; +} + +export function spawn(command: string, args: string[], options: SpawnOptions): SpawnPromise { + const child = nodeSpawn(command, args, { + stdio: 'inherit', + ...options, + }); + const promise = new Promise((res, rej) => { + child.on('exit', code => { + if (code === 0) { + res(); + } else { + rej(new Error(`Command "${command} ${args.join(' ')}" failed with exit code ${code}.`)); + } + }); + }) as SpawnPromise; + promise.child = child; + return promise; +} + +function writeVideoSdpFile(ip: string, port: number, destination: string): void { + fs.writeFileSync( + destination, + ` +v=0 +o=- 0 0 IN IP4 ${ip} +s=No Name +c=IN IP4 ${ip} +m=video ${port} RTP/AVP 96 +a=rtpmap:96 H264/90000 +a=fmtp:96 packetization-mode=1 +a=rtcp-mux +` + ); +} diff --git a/ts/create-live-compositor/templates/node-minimal/tsconfig.json b/ts/create-live-compositor/templates/node-minimal/tsconfig.json new file mode 100644 index 000000000..46807cca8 --- /dev/null +++ b/ts/create-live-compositor/templates/node-minimal/tsconfig.json @@ -0,0 +1,11 @@ +{ + "compilerOptions": { + "moduleResolution": "NodeNext", + "module": "NodeNext", + "strict": true, + "esModuleInterop": true, + "declaration": true, + "outDir": "dist", + "jsx": "react-jsx" + } +} diff --git a/ts/create-live-compositor/tsconfig.json b/ts/create-live-compositor/tsconfig.json new file mode 100644 index 000000000..e95d8d0fd --- /dev/null +++ b/ts/create-live-compositor/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "../tsconfig.base.json", + "compilerOptions": { + "outDir": "dist" + }, + "include": [ + "./src/**/*" + ] +} diff --git a/ts/examples/node-examples/src/audio.tsx b/ts/examples/node-examples/src/audio.tsx index 1d66d6a31..1516b5b55 100644 --- a/ts/examples/node-examples/src/audio.tsx +++ b/ts/examples/node-examples/src/audio.tsx @@ -51,7 +51,8 @@ function InputTile({ inputId, mute }: { inputId: string; mute: boolean }) { async function run() { await downloadAllAssets(); - const compositor = await LiveCompositor.create(); + const compositor = new LiveCompositor(); + await compositor.init(); await sleep(2000); diff --git a/ts/examples/node-examples/src/dynamic-inputs.tsx b/ts/examples/node-examples/src/dynamic-inputs.tsx index 3b60e6776..241bd6f7f 100644 --- a/ts/examples/node-examples/src/dynamic-inputs.tsx +++ b/ts/examples/node-examples/src/dynamic-inputs.tsx @@ -43,7 +43,8 @@ function InputTile({ inputId }: { inputId: string }) { async function run() { await downloadAllAssets(); - const compositor = await LiveCompositor.create(); + const compositor = new LiveCompositor(); + await compositor.init(); void ffplayStartPlayerAsync('127.0.0.1', 8001); await sleep(2000); diff --git a/ts/examples/node-examples/src/dynamic-outputs.tsx b/ts/examples/node-examples/src/dynamic-outputs.tsx index 3b22cefb3..9f4718498 100644 --- a/ts/examples/node-examples/src/dynamic-outputs.tsx +++ b/ts/examples/node-examples/src/dynamic-outputs.tsx @@ -33,7 +33,8 @@ function InputTile({ inputId }: { inputId: string }) { async function run() { await fs.mkdirp(path.join(__dirname, '../.workingdir')); await downloadAllAssets(); - const compositor = await LiveCompositor.create(); + const compositor = new LiveCompositor(); + await compositor.init(); const RESOLUTION = { width: 1920, diff --git a/ts/examples/node-examples/src/dynamic-text.tsx b/ts/examples/node-examples/src/dynamic-text.tsx index fb1f5a209..1d93ae4d0 100644 --- a/ts/examples/node-examples/src/dynamic-text.tsx +++ b/ts/examples/node-examples/src/dynamic-text.tsx @@ -52,7 +52,8 @@ function ExampleApp() { } async function run() { - const compositor = await LiveCompositor.create(); + const compositor = new LiveCompositor(); + await compositor.init(); void ffplayStartPlayerAsync('127.0.0.1', 8001); await sleep(2000); diff --git a/ts/examples/node-examples/src/simple.tsx b/ts/examples/node-examples/src/simple.tsx index 697cdb704..c2811c84d 100644 --- a/ts/examples/node-examples/src/simple.tsx +++ b/ts/examples/node-examples/src/simple.tsx @@ -41,7 +41,8 @@ function ExampleApp() { } async function run() { - const compositor = await LiveCompositor.create(); + const compositor = new LiveCompositor(); + await compositor.init(); void ffplayStartPlayerAsync('127.0.0.1', 8001); await sleep(2000); diff --git a/ts/examples/vite-browser-render/.gitignore b/ts/examples/vite-browser-render/.gitignore index a547bf36d..1f05e5163 100644 --- a/ts/examples/vite-browser-render/.gitignore +++ b/ts/examples/vite-browser-render/.gitignore @@ -22,3 +22,4 @@ dist-ssr *.njsproj *.sln *.sw? +*.tsbuildinfo diff --git a/ts/lerna.json b/ts/lerna.json index 4ebcddbfc..b6f1d57fa 100644 --- a/ts/lerna.json +++ b/ts/lerna.json @@ -1,9 +1,11 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "0.0.0", + "version": "independent", "packages": [ "@live-compositor/*", "live-compositor", - "examples/*" + "examples/*", + "create-live-compositor", + "create-live-compositor/templates/*" ] } diff --git a/ts/package-lock.json b/ts/package-lock.json index 9acb5c108..1f60dc59e 100644 --- a/ts/package-lock.json +++ b/ts/package-lock.json @@ -13,7 +13,10 @@ "@live-compositor/node", "@live-compositor/browser-render", "examples/node-examples", - "examples/vite-browser-render" + "examples/vite-browser-render", + "create-live-compositor", + "create-live-compositor/templates/node-minimal", + "create-live-compositor/templates/node-express-redux" ], "devDependencies": { "@typescript-eslint/eslint-plugin": "^7.16.0", @@ -24,7 +27,8 @@ "eslint-plugin-prettier": "^5.1.3", "json-schema-to-typescript": "^15.0.1", "lerna": "^8.1.8", - "prettier": "^3.3.2" + "prettier": "^3.3.2", + "typescript": "^5.5.3" } }, "@live-compositor/browser-render": { @@ -90,6 +94,82 @@ "node": ">=18" } }, + "create-live-compositor": { + "version": "0.1.0-rc.0", + "license": "MIT", + "dependencies": { + "chalk": "^4.1.2", + "prompts": "^2.4.2" + }, + "bin": { + "create-live-compositor": "dist/index.js" + }, + "devDependencies": { + "@types/prompts": "^2.4.9" + } + }, + "create-live-compositor-app": { + "name": "create-live-compositor", + "version": "0.1.0-rc.0", + "extraneous": true, + "license": "MIT", + "dependencies": { + "prompts": "^2.4.2" + }, + "bin": { + "create-live-compositor": "dist/index.js" + }, + "devDependencies": { + "@types/prompts": "^2.4.9" + } + }, + "create-live-compositor/templates/node-express-redux": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "@live-compositor/node": "0.1.0-rc.0", + "@reduxjs/toolkit": "^2.2.7", + "express": "^4.21.0", + "live-compositor": "0.1.0-rc.0", + "react": "^18.3.1", + "react-redux": "^9.1.2" + }, + "devDependencies": { + "@types/express": "^4.17.21", + "@types/node": "^20.14.10", + "@types/react": "^18.2.25", + "typescript": "^5.5.3" + } + }, + "create-live-compositor/templates/node-minimal": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "@live-compositor/node": "0.1.0-rc.0", + "live-compositor": "0.1.0-rc.0", + "react": "^18.3.1" + }, + "devDependencies": { + "@types/node": "^20.14.10", + "@types/react": "^18.3.3", + "typescript": "^5.5.3" + } + }, + "create-live-compositor/templates/node-ts-template": { + "name": "node-template", + "version": "1.0.0", + "extraneous": true, + "license": "MIT", + "dependencies": { + "@live-compositor/node": "0.1.0-rc.0", + "@types/node": "^20.14.10", + "express": "^4.21.0", + "live-compositor": "0.1.0-rc.0" + }, + "devDependencies": { + "@types/express": "^4.17.21" + } + }, "examples/node-examples": { "version": "1.0.0", "license": "MIT", @@ -2478,6 +2558,29 @@ "url": "https://opencollective.com/unts" } }, + "node_modules/@reduxjs/toolkit": { + "version": "2.2.7", + "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-2.2.7.tgz", + "integrity": "sha512-faI3cZbSdFb8yv9dhDTmGwclW0vk0z5o1cia+kf7gCbaCwHI5e+7tP57mJUv22pNcNbeA62GSrPpfrUfdXcQ6g==", + "dependencies": { + "immer": "^10.0.3", + "redux": "^5.0.1", + "redux-thunk": "^3.1.0", + "reselect": "^5.1.0" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18", + "react-redux": "^7.2.1 || ^8.1.3 || ^9.0.0" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + }, + "react-redux": { + "optional": true + } + } + }, "node_modules/@rollup/plugin-typescript": { "version": "11.1.6", "resolved": "https://registry.npmjs.org/@rollup/plugin-typescript/-/plugin-typescript-11.1.6.tgz", @@ -2975,6 +3078,25 @@ "@babel/types": "^7.20.7" } }, + "node_modules/@types/body-parser": { + "version": "1.19.5", + "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.5.tgz", + "integrity": "sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==", + "dev": true, + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "node_modules/@types/connect": { + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", + "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@types/estree": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", @@ -2982,6 +3104,30 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/express": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz", + "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==", + "dev": true, + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "node_modules/@types/express-serve-static-core": { + "version": "4.19.5", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.5.tgz", + "integrity": "sha512-y6W03tvrACO72aijJ5uF02FRq5cgDR9lUxddQ8vyF+GvmjJQqbzDcJngEjURc+ZsG31VI3hODNZJ2URj86pzmg==", + "dev": true, + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*", + "@types/send": "*" + } + }, "node_modules/@types/fs-extra": { "version": "11.0.4", "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-11.0.4.tgz", @@ -2992,6 +3138,12 @@ "@types/node": "*" } }, + "node_modules/@types/http-errors": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.4.tgz", + "integrity": "sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==", + "dev": true + }, "node_modules/@types/json-schema": { "version": "7.0.15", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", @@ -3022,6 +3174,12 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/mime": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz", + "integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==", + "dev": true + }, "node_modules/@types/minimatch": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", @@ -3063,18 +3221,40 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/prompts": { + "version": "2.4.9", + "resolved": "https://registry.npmjs.org/@types/prompts/-/prompts-2.4.9.tgz", + "integrity": "sha512-qTxFi6Buiu8+50/+3DGIWLHM6QuWsEKugJnnP6iv2Mc4ncxE4A/OJkjuVOA+5X0X1S/nq5VJRa8Lu+nwcvbrKA==", + "dev": true, + "dependencies": { + "@types/node": "*", + "kleur": "^3.0.3" + } + }, "node_modules/@types/prop-types": { "version": "15.7.12", "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz", "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==", - "dev": true, + "devOptional": true, "license": "MIT" }, + "node_modules/@types/qs": { + "version": "6.9.16", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.16.tgz", + "integrity": "sha512-7i+zxXdPD0T4cKDuxCUXJ4wHcsJLwENa6Z3dCu8cfCK743OGy5Nu1RmAGqDPsoTDINVEcdXKRvR/zre+P2Ku1A==", + "dev": true + }, + "node_modules/@types/range-parser": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz", + "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==", + "dev": true + }, "node_modules/@types/react": { "version": "18.3.6", "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.6.tgz", "integrity": "sha512-CnGaRYNu2iZlkGXGrOYtdg5mLK8neySj0woZ4e2wF/eli2E6Sazmq5X+Nrj6OBrrFVQfJWTUFeqAzoRhWQXYvg==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/prop-types": "*", @@ -3101,6 +3281,32 @@ "@types/react": "*" } }, + "node_modules/@types/send": { + "version": "0.17.4", + "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz", + "integrity": "sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==", + "dev": true, + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "node_modules/@types/serve-static": { + "version": "1.15.7", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.7.tgz", + "integrity": "sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==", + "dev": true, + "dependencies": { + "@types/http-errors": "*", + "@types/node": "*", + "@types/send": "*" + } + }, + "node_modules/@types/use-sync-external-store": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz", + "integrity": "sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA==" + }, "node_modules/@types/uuid": { "version": "10.0.0", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-10.0.0.tgz", @@ -3452,6 +3658,18 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, "node_modules/acorn": { "version": "8.12.1", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", @@ -3648,6 +3866,11 @@ "node": ">=8" } }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" + }, "node_modules/array-ify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", @@ -3959,6 +4182,42 @@ "readable-stream": "^3.4.0" } }, + "node_modules/body-parser": { + "version": "1.20.3", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", + "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.13.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/body-parser/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/body-parser/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, "node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -4058,6 +4317,14 @@ "node": ">=12.17" } }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/cacache": { "version": "18.0.4", "resolved": "https://registry.npmjs.org/cacache/-/cacache-18.0.4.tgz", @@ -4093,7 +4360,6 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", - "dev": true, "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", @@ -4172,7 +4438,6 @@ "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -4514,6 +4779,25 @@ "dev": true, "license": "ISC" }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/conventional-changelog-angular": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-7.0.0.tgz", @@ -4693,6 +4977,19 @@ "dev": true, "license": "MIT" }, + "node_modules/cookie": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" + }, "node_modules/core-util-is": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", @@ -4727,6 +5024,10 @@ } } }, + "node_modules/create-live-compositor": { + "resolved": "create-live-compositor", + "link": true + }, "node_modules/create-require": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", @@ -4764,7 +5065,7 @@ "version": "3.1.3", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/dargs": { @@ -4935,7 +5236,6 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", - "dev": true, "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", @@ -4987,6 +5287,14 @@ "node": ">=0.4.0" } }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/deprecation": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", @@ -4994,6 +5302,15 @@ "dev": true, "license": "ISC" }, + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, "node_modules/detect-indent": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz", @@ -5104,6 +5421,11 @@ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", "license": "MIT" }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" + }, "node_modules/ejs": { "version": "3.1.10", "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz", @@ -5133,6 +5455,14 @@ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", "license": "MIT" }, + "node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/encoding": { "version": "0.1.13", "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", @@ -5284,7 +5614,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", - "dev": true, "license": "MIT", "dependencies": { "get-intrinsic": "^1.2.4" @@ -5297,7 +5626,6 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -5408,6 +5736,11 @@ "node": ">=6" } }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" + }, "node_modules/escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", @@ -5953,6 +6286,14 @@ "node": ">=0.10.0" } }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/eventemitter3": { "version": "4.0.7", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", @@ -6002,6 +6343,60 @@ "dev": true, "license": "Apache-2.0" }, + "node_modules/express": { + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.0.tgz", + "integrity": "sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.3", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.3.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.3", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.10", + "proxy-addr": "~2.0.7", + "qs": "6.13.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.19.0", + "serve-static": "1.16.2", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/express/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/express/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, "node_modules/external-editor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", @@ -6183,6 +6578,36 @@ "node": ">=8" } }, + "node_modules/finalhandler": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz", + "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/finalhandler/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/finalhandler/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, "node_modules/find-up": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", @@ -6293,6 +6718,22 @@ "node": ">= 6" } }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/front-matter": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/front-matter/-/front-matter-4.0.2.tgz", @@ -6394,7 +6835,6 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "dev": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" @@ -6453,7 +6893,6 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", - "dev": true, "license": "MIT", "dependencies": { "es-errors": "^1.3.0", @@ -6848,7 +7287,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "dev": true, "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3" @@ -6916,7 +7354,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -6926,7 +7363,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", - "dev": true, "license": "MIT", "dependencies": { "es-define-property": "^1.0.0" @@ -6939,7 +7375,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -6952,7 +7387,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -6988,7 +7422,6 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "dev": true, "license": "MIT", "dependencies": { "function-bind": "^1.1.2" @@ -7024,6 +7457,21 @@ "dev": true, "license": "BSD-2-Clause" }, + "node_modules/http-errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, "node_modules/http-proxy-agent": { "version": "7.0.2", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", @@ -7066,7 +7514,6 @@ "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dev": true, "license": "MIT", "dependencies": { "safer-buffer": ">= 2.1.2 < 3" @@ -7145,6 +7592,15 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/immer": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/immer/-/immer-10.1.1.tgz", + "integrity": "sha512-s2MPrmjovJcoMaHtx6K11Ra7oD05NT97w1IC5zpMkT6Atjr7H8LjaDd81iIxUYpMKSRRNMJE703M1Fhr/TctHw==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/immer" + } + }, "node_modules/import-fresh": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", @@ -7218,7 +7674,6 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true, "license": "ISC" }, "node_modules/ini": { @@ -7340,6 +7795,14 @@ "node": ">= 12" } }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "engines": { + "node": ">= 0.10" + } + }, "node_modules/is-array-buffer": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", @@ -8072,6 +8535,14 @@ "node": ">=0.10.0" } }, + "node_modules/kleur": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", + "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", + "engines": { + "node": ">=6" + } + }, "node_modules/lerna": { "version": "8.1.8", "resolved": "https://registry.npmjs.org/lerna/-/lerna-8.1.8.tgz", @@ -8493,6 +8964,14 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/meow": { "version": "8.1.2", "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", @@ -8731,6 +9210,14 @@ "node": ">=10" } }, + "node_modules/merge-descriptors": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", + "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", @@ -8748,6 +9235,14 @@ "node": ">= 8" } }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/micromatch": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", @@ -8762,11 +9257,21 @@ "node": ">=8.6" } }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.6" @@ -8776,7 +9281,6 @@ "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "dev": true, "license": "MIT", "dependencies": { "mime-db": "1.52.0" @@ -9149,7 +9653,6 @@ "version": "0.6.3", "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.6" @@ -9166,6 +9669,10 @@ "resolved": "examples/node-examples", "link": true }, + "node_modules/node-express-redux": { + "resolved": "create-live-compositor/templates/node-express-redux", + "link": true + }, "node_modules/node-fetch": { "version": "2.6.7", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", @@ -9244,6 +9751,10 @@ "dev": true, "license": "MIT" }, + "node_modules/node-minimal": { + "resolved": "create-live-compositor/templates/node-minimal", + "link": true + }, "node_modules/node-releases": { "version": "2.0.18", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", @@ -9613,7 +10124,6 @@ "version": "1.13.2", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -9703,6 +10213,17 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -10065,6 +10586,14 @@ "parse-path": "^7.0.0" } }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", @@ -10123,6 +10652,11 @@ "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", "license": "ISC" }, + "node_modules/path-to-regexp": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", + "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==" + }, "node_modules/path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", @@ -10423,6 +10957,18 @@ "node": ">=10" } }, + "node_modules/prompts": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", + "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", + "dependencies": { + "kleur": "^3.0.3", + "sisteransi": "^1.0.5" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/promzard": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/promzard/-/promzard-1.0.2.tgz", @@ -10443,6 +10989,18 @@ "dev": true, "license": "MIT" }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, "node_modules/proxy-from-env": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", @@ -10460,6 +11018,20 @@ "node": ">=6" } }, + "node_modules/qs": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", + "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", + "dependencies": { + "side-channel": "^1.0.6" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -10491,11 +11063,32 @@ "node": ">=8" } }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", + "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, "node_modules/react": { "version": "18.3.1", "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", - "license": "MIT", "dependencies": { "loose-envify": "^1.1.0" }, @@ -10539,6 +11132,28 @@ "react": "^18.3.1" } }, + "node_modules/react-redux": { + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-9.1.2.tgz", + "integrity": "sha512-0OA4dhM1W48l3uzmv6B7TXPCGmokUU4p1M44DGN2/D9a1FjVPukVjER1PcPX97jIg6aUeLq1XJo1IpfbgULn0w==", + "dependencies": { + "@types/use-sync-external-store": "^0.0.3", + "use-sync-external-store": "^1.0.0" + }, + "peerDependencies": { + "@types/react": "^18.2.25", + "react": "^18.0", + "redux": "^5.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "redux": { + "optional": true + } + } + }, "node_modules/react-refresh": { "version": "0.14.2", "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.2.tgz", @@ -10833,6 +11448,19 @@ "node": ">=8" } }, + "node_modules/redux": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/redux/-/redux-5.0.1.tgz", + "integrity": "sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==" + }, + "node_modules/redux-thunk": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-3.1.0.tgz", + "integrity": "sha512-NW2r5T6ksUKXCabzhL9z+h206HQw/NJkcLm1GPImRQ8IzfXwRGqjVhKJGauHirT0DAuyy6hjdnMZaRoAcy0Klw==", + "peerDependencies": { + "redux": "^5.0.0" + } + }, "node_modules/regexp.prototype.flags": { "version": "1.5.2", "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", @@ -10862,6 +11490,11 @@ "node": ">=0.10.0" } }, + "node_modules/reselect": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/reselect/-/reselect-5.1.1.tgz", + "integrity": "sha512-K/BG6eIky/SBpzfHZv/dd+9JBFiS4SWV7FIujVyJRux6e45+73RaUHXLmIR1f7WOMaQ0U1km6qwklRQxpJJY0w==" + }, "node_modules/resolve": { "version": "1.22.8", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", @@ -11248,7 +11881,6 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true, "funding": [ { "type": "github", @@ -11287,7 +11919,6 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "devOptional": true, "license": "MIT" }, "node_modules/scheduler": { @@ -11312,6 +11943,69 @@ "node": ">=10" } }, + "node_modules/send": { + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", + "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/send/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, + "node_modules/send/node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/send/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/serve-static": { + "version": "1.16.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", + "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", + "dependencies": { + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.19.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, "node_modules/set-blocking": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", @@ -11323,7 +12017,6 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", - "dev": true, "license": "MIT", "dependencies": { "define-data-property": "^1.1.4", @@ -11353,6 +12046,11 @@ "node": ">= 0.4" } }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, "node_modules/shallow-clone": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", @@ -11391,7 +12089,6 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", - "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.7", @@ -11436,6 +12133,11 @@ "node": "^16.14.0 || >=18.0.0" } }, + "node_modules/sisteransi": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", + "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==" + }, "node_modules/slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", @@ -11599,6 +12301,14 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, + "node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", @@ -11819,7 +12529,6 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -12104,6 +12813,14 @@ "node": ">=8.0" } }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "engines": { + "node": ">=0.6" + } + }, "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", @@ -12270,6 +12987,18 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, "node_modules/typed-array-buffer": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz", @@ -12698,6 +13427,14 @@ "node": ">= 10.0.0" } }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/upath": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz", @@ -12750,6 +13487,14 @@ "punycode": "^2.1.0" } }, + "node_modules/use-sync-external-store": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.2.tgz", + "integrity": "sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw==", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -12757,6 +13502,14 @@ "dev": true, "license": "MIT" }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", + "engines": { + "node": ">= 0.4.0" + } + }, "node_modules/uuid": { "version": "10.0.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", @@ -12797,6 +13550,14 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/vite": { "version": "5.4.5", "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.5.tgz", diff --git a/ts/package.json b/ts/package.json index 22dec5b08..6686c3a2d 100644 --- a/ts/package.json +++ b/ts/package.json @@ -18,7 +18,10 @@ "@live-compositor/node", "@live-compositor/browser-render", "examples/node-examples", - "examples/vite-browser-render" + "examples/vite-browser-render", + "create-live-compositor", + "create-live-compositor/templates/node-minimal", + "create-live-compositor/templates/node-express-redux" ], "devDependencies": { "@typescript-eslint/eslint-plugin": "^7.16.0", @@ -29,7 +32,8 @@ "eslint-plugin-prettier": "^5.1.3", "json-schema-to-typescript": "^15.0.1", "lerna": "^8.1.8", - "prettier": "^3.3.2" + "prettier": "^3.3.2", + "typescript": "^5.5.3" }, "overrides": { "rollup-plugin-copy": {