create-video 4.0.423 → 4.0.425

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/log.d.ts CHANGED
@@ -1,14 +1,14 @@
1
1
  import chalk from 'chalk';
2
2
  export declare const Log: {
3
3
  chalk: chalk.Chalk & chalk.ChalkFunction & {
4
- supportsColor: chalk.ColorSupport | false;
4
+ supportsColor: false | chalk.ColorSupport;
5
5
  Level: chalk.Level;
6
- Color: ("black" | "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "blackBright" | "redBright" | "greenBright" | "yellowBright" | "blueBright" | "magentaBright" | "cyanBright" | "whiteBright") | ("bgBlack" | "bgRed" | "bgGreen" | "bgYellow" | "bgBlue" | "bgMagenta" | "bgCyan" | "bgWhite" | "bgGray" | "bgGrey" | "bgBlackBright" | "bgRedBright" | "bgGreenBright" | "bgYellowBright" | "bgBlueBright" | "bgMagentaBright" | "bgCyanBright" | "bgWhiteBright");
7
- ForegroundColor: "black" | "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "blackBright" | "redBright" | "greenBright" | "yellowBright" | "blueBright" | "magentaBright" | "cyanBright" | "whiteBright";
8
- BackgroundColor: "bgBlack" | "bgRed" | "bgGreen" | "bgYellow" | "bgBlue" | "bgMagenta" | "bgCyan" | "bgWhite" | "bgGray" | "bgGrey" | "bgBlackBright" | "bgRedBright" | "bgGreenBright" | "bgYellowBright" | "bgBlueBright" | "bgMagentaBright" | "bgCyanBright" | "bgWhiteBright";
9
- Modifiers: "bold" | "reset" | "dim" | "italic" | "underline" | "inverse" | "hidden" | "strikethrough" | "visible";
6
+ Color: ("bgBlack" | "bgBlackBright" | "bgBlue" | "bgBlueBright" | "bgCyan" | "bgCyanBright" | "bgGray" | "bgGreen" | "bgGreenBright" | "bgGrey" | "bgMagenta" | "bgMagentaBright" | "bgRed" | "bgRedBright" | "bgWhite" | "bgWhiteBright" | "bgYellow" | "bgYellowBright") | ("black" | "blackBright" | "blue" | "blueBright" | "cyan" | "cyanBright" | "gray" | "green" | "greenBright" | "grey" | "magenta" | "magentaBright" | "red" | "redBright" | "white" | "whiteBright" | "yellow" | "yellowBright");
7
+ ForegroundColor: "black" | "blackBright" | "blue" | "blueBright" | "cyan" | "cyanBright" | "gray" | "green" | "greenBright" | "grey" | "magenta" | "magentaBright" | "red" | "redBright" | "white" | "whiteBright" | "yellow" | "yellowBright";
8
+ BackgroundColor: "bgBlack" | "bgBlackBright" | "bgBlue" | "bgBlueBright" | "bgCyan" | "bgCyanBright" | "bgGray" | "bgGreen" | "bgGreenBright" | "bgGrey" | "bgMagenta" | "bgMagentaBright" | "bgRed" | "bgRedBright" | "bgWhite" | "bgWhiteBright" | "bgYellow" | "bgYellowBright";
9
+ Modifiers: "bold" | "dim" | "hidden" | "inverse" | "italic" | "reset" | "strikethrough" | "underline" | "visible";
10
10
  stderr: chalk.Chalk & {
11
- supportsColor: chalk.ColorSupport | false;
11
+ supportsColor: false | chalk.ColorSupport;
12
12
  };
13
13
  };
14
14
  verbose: (message?: any, ...optionalParams: any[]) => void;
@@ -1,14 +1,14 @@
1
- export declare const isVsCodeDerivative: (editor: Editor) => editor is "code" | "code-insiders" | "vscodium" | "cursor" | "Cursor.exe" | "Code.exe" | "Code - Insiders.exe" | "VSCodium.exe" | "windsurf" | "Windsurf.exe";
1
+ export declare const isVsCodeDerivative: (editor: "/Applications/AppCode.app/Contents/MacOS/appcode" | "/Applications/Atom Beta.app/Contents/MacOS/Atom Beta" | "/Applications/CLion.app/Contents/MacOS/clion" | "/Applications/GoLand.app/Contents/MacOS/goland" | "/Applications/IntelliJ IDEA.app/Contents/MacOS/idea" | "/Applications/PhpStorm.app/Contents/MacOS/phpstorm" | "/Applications/PyCharm CE.app/Contents/MacOS/pycharm" | "/Applications/PyCharm.app/Contents/MacOS/pycharm" | "/Applications/Rider.app/Contents/MacOS/rider" | "/Applications/RubyMine.app/Contents/MacOS/rubymine" | "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" | "/Applications/Sublime Text Dev.app/Contents/SharedSupport/bin/subl" | "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" | "/Applications/WebStorm.app/Contents/MacOS/webstorm" | "Brackets.exe" | "Code - Insiders.exe" | "Code.exe" | "Cursor.exe" | "VSCodium.exe" | "Windsurf.exe" | "Zed.exe" | "atom" | "atom.exe" | "brackets" | "clion.exe" | "clion64.exe" | "code" | "code-insiders" | "cursor" | "emacs" | "goland" | "goland.exe" | "goland64.exe" | "gvim" | "idea" | "idea.exe" | "idea64.exe" | "mvim" | "nano" | "notepad++.exe" | "phpstorm" | "phpstorm.exe" | "phpstorm64.exe" | "pycharm" | "pycharm.exe" | "pycharm64.exe" | "rider" | "rider.exe" | "rider64.exe" | "rubymine" | "rubymine.exe" | "rubymine64.exe" | "sublime_text" | "sublime_text.exe" | "vim" | "vscodium" | "webstorm" | "webstorm.exe" | "webstorm64.exe" | "windsurf" | "zed") => editor is "Code - Insiders.exe" | "Code.exe" | "Cursor.exe" | "VSCodium.exe" | "Windsurf.exe" | "code" | "code-insiders" | "cursor" | "vscodium" | "windsurf";
2
2
  export declare function isTerminalEditor(editor: Editor): boolean;
3
3
  declare const editorNames: readonly ["atom", "/Applications/Atom Beta.app/Contents/MacOS/Atom Beta", "brackets", "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl", "/Applications/Sublime Text Dev.app/Contents/SharedSupport/bin/subl", "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl", "code", "code-insiders", "vscodium", "cursor", "Cursor.exe", "/Applications/AppCode.app/Contents/MacOS/appcode", "/Applications/CLion.app/Contents/MacOS/clion", "/Applications/IntelliJ IDEA.app/Contents/MacOS/idea", "/Applications/PhpStorm.app/Contents/MacOS/phpstorm", "/Applications/PyCharm.app/Contents/MacOS/pycharm", "/Applications/PyCharm CE.app/Contents/MacOS/pycharm", "/Applications/RubyMine.app/Contents/MacOS/rubymine", "/Applications/WebStorm.app/Contents/MacOS/webstorm", "/Applications/GoLand.app/Contents/MacOS/goland", "/Applications/Rider.app/Contents/MacOS/rider", "mvim", "emacs", "gvim", "idea", "phpstorm", "pycharm", "rubymine", "sublime_text", "vim", "webstorm", "goland", "rider", "Brackets.exe", "Code.exe", "Code - Insiders.exe", "VSCodium.exe", "atom.exe", "sublime_text.exe", "notepad++.exe", "clion.exe", "clion64.exe", "idea.exe", "idea64.exe", "phpstorm.exe", "phpstorm64.exe", "pycharm.exe", "pycharm64.exe", "rubymine.exe", "rubymine64.exe", "webstorm.exe", "webstorm64.exe", "goland.exe", "goland64.exe", "rider.exe", "rider64.exe", "nano", "windsurf", "Windsurf.exe", "Zed.exe", "Cursor.exe", "zed"];
4
- export declare const getDisplayNameForEditor: (editor: Editor) => string;
4
+ export declare const getDisplayNameForEditor: (editor: "/Applications/AppCode.app/Contents/MacOS/appcode" | "/Applications/Atom Beta.app/Contents/MacOS/Atom Beta" | "/Applications/CLion.app/Contents/MacOS/clion" | "/Applications/GoLand.app/Contents/MacOS/goland" | "/Applications/IntelliJ IDEA.app/Contents/MacOS/idea" | "/Applications/PhpStorm.app/Contents/MacOS/phpstorm" | "/Applications/PyCharm CE.app/Contents/MacOS/pycharm" | "/Applications/PyCharm.app/Contents/MacOS/pycharm" | "/Applications/Rider.app/Contents/MacOS/rider" | "/Applications/RubyMine.app/Contents/MacOS/rubymine" | "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" | "/Applications/Sublime Text Dev.app/Contents/SharedSupport/bin/subl" | "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" | "/Applications/WebStorm.app/Contents/MacOS/webstorm" | "Brackets.exe" | "Code - Insiders.exe" | "Code.exe" | "Cursor.exe" | "VSCodium.exe" | "Windsurf.exe" | "Zed.exe" | "atom" | "atom.exe" | "brackets" | "clion.exe" | "clion64.exe" | "code" | "code-insiders" | "cursor" | "emacs" | "goland" | "goland.exe" | "goland64.exe" | "gvim" | "idea" | "idea.exe" | "idea64.exe" | "mvim" | "nano" | "notepad++.exe" | "phpstorm" | "phpstorm.exe" | "phpstorm64.exe" | "pycharm" | "pycharm.exe" | "pycharm64.exe" | "rider" | "rider.exe" | "rider64.exe" | "rubymine" | "rubymine.exe" | "rubymine64.exe" | "sublime_text" | "sublime_text.exe" | "vim" | "vscodium" | "webstorm" | "webstorm.exe" | "webstorm64.exe" | "windsurf" | "zed") => string;
5
5
  type Editor = (typeof editorNames)[number];
6
6
  type ProcessAndCommand = {
7
7
  process: string;
8
8
  command: Editor;
9
9
  };
10
10
  export declare function guessEditor(): Promise<ProcessAndCommand[]>;
11
- export declare function launchEditor({ colNumber, editor, fileName, lineNumber, vsCodeNewWindow, }: {
11
+ export declare function launchEditor({ colNumber, editor, fileName, lineNumber, vsCodeNewWindow }: {
12
12
  fileName: string;
13
13
  lineNumber: number;
14
14
  colNumber: number;
@@ -1,10 +1,10 @@
1
1
  import type { Template } from './templates';
2
2
  export type PackageManager = 'npm' | 'yarn' | 'pnpm' | 'bun';
3
3
  export declare const selectPackageManager: () => PackageManager;
4
- export declare const getInstallCommand: (manager: PackageManager) => "yarn" | "npm i" | "pnpm i" | "bun install" | undefined;
5
- export declare const getRunCommand: (manager: PackageManager) => "npm run" | "yarn run" | "pnpm run" | "bun run";
6
- export declare const getRenderCommand: (manager: PackageManager) => "npx remotion render" | "yarn remotion render" | "pnpm exec remotion render" | "bunx remotion render";
7
- export declare const getUpgradeCommand: (manager: PackageManager) => "npx remotion upgrade" | "yarn remotion upgrade" | "pnpm exec remotion upgrade" | "bunx remotion upgrade";
4
+ export declare const getInstallCommand: (manager: PackageManager) => "bun install" | "npm i" | "pnpm i" | "yarn" | undefined;
5
+ export declare const getRunCommand: (manager: PackageManager) => "bun run" | "npm run" | "pnpm run" | "yarn run";
6
+ export declare const getRenderCommand: (manager: PackageManager) => "bunx remotion render" | "npx remotion render" | "pnpm exec remotion render" | "yarn remotion render";
7
+ export declare const getUpgradeCommand: (manager: PackageManager) => "bunx remotion upgrade" | "npx remotion upgrade" | "pnpm exec remotion upgrade" | "yarn remotion upgrade";
8
8
  export declare const getDevCommand: (manager: PackageManager, template: Template) => string | undefined;
9
9
  export declare const getPackageManagerVersion: (manager: PackageManager) => Promise<string>;
10
10
  export declare const getPackageManagerVersionOrNull: (manager: PackageManager) => Promise<string | null>;
@@ -1,8 +1,8 @@
1
1
  import type { Template } from './templates';
2
2
  export declare const resolveProjectRoot: (options?: {
3
- directoryArgument?: string | null;
4
- selectedTemplate?: Template;
5
- }) => Promise<{
3
+ directoryArgument?: string | null | undefined;
4
+ selectedTemplate?: Template | undefined;
5
+ } | undefined) => Promise<{
6
6
  projectRoot: string;
7
7
  folderName: string;
8
8
  }>;
@@ -2,7 +2,7 @@ import type { Template } from './templates';
2
2
  export declare const isTmpFlagSelected: () => boolean;
3
3
  export declare const getPositionalArguments: () => string[];
4
4
  export declare const getDirectoryArgument: () => string | null;
5
- export declare const isFlagSelected: Template | {
5
+ export declare const isFlagSelected: {
6
6
  homePageLabel: string;
7
7
  shortName: string;
8
8
  org: string;
@@ -12,8 +12,8 @@ export declare const isFlagSelected: Template | {
12
12
  cliId: "editor-starter";
13
13
  defaultBranch: string;
14
14
  previewURL: string;
15
- } | undefined;
16
- export declare const selectTemplate: () => Promise<Template | {
15
+ } | Template | undefined;
16
+ export declare const selectTemplate: () => Promise<{
17
17
  homePageLabel: string;
18
18
  shortName: string;
19
19
  org: string;
@@ -23,4 +23,4 @@ export declare const selectTemplate: () => Promise<Template | {
23
23
  cliId: "editor-starter";
24
24
  defaultBranch: string;
25
25
  previewURL: string;
26
- }>;
26
+ } | Template>;
package/package.json CHANGED
@@ -3,17 +3,17 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/create-video"
4
4
  },
5
5
  "name": "create-video",
6
- "version": "4.0.423",
6
+ "version": "4.0.425",
7
7
  "description": "Create a new Remotion project",
8
8
  "main": "dist/index.js",
9
9
  "bin": {
10
10
  "create-video": "bin.js"
11
11
  },
12
12
  "scripts": {
13
- "formatting": "prettier --experimental-cli src --check",
13
+ "formatting": "prettier src --check",
14
14
  "lint": "eslint src",
15
15
  "test": "bun test src",
16
- "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts"
16
+ "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"
17
17
  },
18
18
  "author": "Jonny Burger <jonny@remotion.dev>",
19
19
  "license": "SEE LICENSE IN LICENSE.md",
@@ -29,8 +29,9 @@
29
29
  "@types/prompts": "^2.0.12",
30
30
  "@types/tar": "6.1.1",
31
31
  "react": "19.2.3",
32
- "@remotion/eslint-config-internal": "4.0.423",
33
- "eslint": "9.19.0"
32
+ "@remotion/eslint-config-internal": "4.0.425",
33
+ "eslint": "9.19.0",
34
+ "@typescript/native-preview": "7.0.0-dev.20260217.1"
34
35
  },
35
36
  "exports": {
36
37
  "./package.json": "./package.json",