create-video 3.0.22 → 3.0.25

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.
@@ -28,15 +28,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  exports.launchEditor = exports.guessEditor = exports.getDisplayNameForEditor = exports.isTerminalEditor = exports.isVsCodeDerivative = void 0;
31
- /*
32
- Source code adapted from https://github.com/facebook/create-react-app/tree/main/packages/react-error-overlay and refactored in Typescript. This file is MIT-licensed.
33
- */
34
- /**
35
- * Copyright (c) 2015-present, Facebook, Inc.
36
- *
37
- * This source code is licensed under the MIT license found in the
38
- * LICENSE file in the root directory of this source tree.
39
- */
40
31
  const child_process_1 = __importStar(require("child_process"));
41
32
  const fs_1 = __importDefault(require("fs"));
42
33
  const os_1 = __importDefault(require("os"));
@@ -1,2 +1,2 @@
1
- import { PackageManager } from './pkg-managers';
1
+ import type { PackageManager } from './pkg-managers';
2
2
  export declare const patchReadmeMd: (projectRoot: string, packageManager: PackageManager) => void;
package/dist/prompts.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- import prompts, { Options, PromptObject } from 'prompts';
1
+ import type { Options, PromptObject } from 'prompts';
2
+ import prompts from 'prompts';
2
3
  export declare type Question<V extends string = string> = PromptObject<V> & {
3
4
  optionsPerPage?: number;
4
5
  };
@@ -1,2 +1,2 @@
1
- import { Template } from './templates';
1
+ import type { Template } from './templates';
2
2
  export declare const selectTemplate: () => Promise<Template>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-video",
3
- "version": "3.0.22",
3
+ "version": "3.0.25",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -25,7 +25,7 @@
25
25
  "tar": "6.1.11"
26
26
  },
27
27
  "devDependencies": {
28
- "@jonny/eslint-config": "3.0.259",
28
+ "@jonny/eslint-config": "3.0.266",
29
29
  "@types/minimist": "1.2.2",
30
30
  "@types/node": "^16.7.5",
31
31
  "@types/prompts": "^2.0.12",
@@ -35,5 +35,5 @@
35
35
  "prettier-plugin-organize-imports": "^2.3.4",
36
36
  "typescript": "^4.7.0"
37
37
  },
38
- "gitHead": "e79cfa299f58a26c84a637174875941898cdab97"
38
+ "gitHead": "27ec369ebe9cf3d063095383c1e30dc83c60f010"
39
39
  }