create-video 4.0.0-alpha13 → 4.0.0-alpha14

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.
@@ -2,8 +2,8 @@ export declare const isVsCodeDerivative: (editor: Editor) => boolean;
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", "/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"];
4
4
  export declare const getDisplayNameForEditor: (editor: Editor) => string;
5
- declare type Editor = typeof editorNames[number];
6
- declare type ProcessAndCommand = {
5
+ type Editor = typeof editorNames[number];
6
+ type ProcessAndCommand = {
7
7
  process: string;
8
8
  command: Editor;
9
9
  };
@@ -1,5 +1,5 @@
1
1
  import type { Template } from './templates';
2
- export declare type PackageManager = 'npm' | 'yarn' | 'pnpm';
2
+ export type PackageManager = 'npm' | 'yarn' | 'pnpm';
3
3
  export declare const selectPackageManager: () => PackageManager;
4
4
  export declare const getInstallCommand: (manager: PackageManager) => "yarn" | "npm i" | "pnpm i" | undefined;
5
5
  export declare const getDevCommand: (manager: PackageManager, template: Template) => string | undefined;
package/dist/prompts.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import type { Options, PromptObject } from 'prompts';
2
2
  import prompts from 'prompts';
3
- export declare type Question<V extends string = string> = PromptObject<V> & {
3
+ export type Question<V extends string = string> = PromptObject<V> & {
4
4
  optionsPerPage?: number;
5
5
  };
6
- export declare type NamelessQuestion = Omit<Question<'value'>, 'name' | 'type'>;
7
- declare type PromptOptions = {
6
+ export type NamelessQuestion = Omit<Question<'value'>, 'name' | 'type'>;
7
+ type PromptOptions = {
8
8
  nonInteractiveHelp?: string;
9
9
  } & Options;
10
10
  declare function prompt(questions: Question | Question[], { nonInteractiveHelp, ...options }?: PromptOptions): Promise<prompts.Answers<string>>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type DynamicTemplate = {
2
+ type DynamicTemplate = {
3
3
  type: 'video';
4
4
  promoVideo: {
5
5
  muxId: string;
@@ -14,14 +14,14 @@ declare type DynamicTemplate = {
14
14
  height: number;
15
15
  };
16
16
  };
17
- export declare type Template = {
17
+ export type Template = {
18
18
  shortName: string;
19
19
  description: string;
20
20
  org: string;
21
21
  repoName: string;
22
22
  homePageLabel: string;
23
23
  longerDescription: React.ReactNode;
24
- cliId: 'hello-world' | 'javascript' | 'blank' | 'next' | 'remix' | 'three' | 'still' | 'tts' | 'gtts' | 'audiogram' | 'skia' | 'tailwind' | 'overlay';
24
+ cliId: 'hello-world' | 'javascript' | 'blank' | 'next' | 'remix' | 'three' | 'still' | 'tts' | 'google-tts' | 'audiogram' | 'skia' | 'tailwind' | 'overlay';
25
25
  defaultBranch: string;
26
26
  } & DynamicTemplate;
27
27
  export declare const FEATURED_TEMPLATES: Template[];
package/dist/templates.js CHANGED
@@ -149,7 +149,7 @@ exports.FEATURED_TEMPLATES = [
149
149
  width: 1920,
150
150
  height: 1080,
151
151
  },
152
- cliId: 'gtts',
152
+ cliId: 'google-tts',
153
153
  type: 'video',
154
154
  defaultBranch: 'master',
155
155
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-video",
3
- "version": "4.0.0-alpha13",
3
+ "version": "4.0.0-alpha14",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -26,11 +26,11 @@
26
26
  "@types/prompts": "^2.0.12",
27
27
  "@types/react": "18.0.26",
28
28
  "@types/tar": "6.1.1",
29
- "eslint": "8.25.0",
29
+ "eslint": "8.42.0",
30
30
  "got": "^11",
31
31
  "prettier": "2.6.2",
32
32
  "prettier-plugin-organize-imports": "^2.3.4",
33
- "typescript": "^4.7.0",
33
+ "typescript": "4.9.5",
34
34
  "vitest": "0.31.1"
35
35
  },
36
36
  "scripts": {