create-video 3.2.32 → 3.2.34

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/degit.d.ts CHANGED
File without changes
package/dist/degit.js CHANGED
File without changes
package/dist/index.d.ts CHANGED
File without changes
package/dist/index.js CHANGED
File without changes
package/dist/init.d.ts CHANGED
File without changes
package/dist/init.js CHANGED
File without changes
File without changes
File without changes
package/dist/log.d.ts CHANGED
File without changes
package/dist/log.js CHANGED
File without changes
package/dist/mkdirp.d.ts CHANGED
File without changes
package/dist/mkdirp.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -22,8 +22,8 @@ const patchReadmeMd = (projectRoot, packageManager) => {
22
22
  if (c.startsWith('npm run build')) {
23
23
  return (0, pkg_managers_1.getRenderCommand)(packageManager);
24
24
  }
25
- if (c.startsWith('npm run upgrade')) {
26
- return (0, pkg_managers_1.getUpgradeCommand)(packageManager);
25
+ if (c.startsWith('npm run ')) {
26
+ return (0, pkg_managers_1.getRunCommand)(packageManager) + c.replace('npm run', '');
27
27
  }
28
28
  return c;
29
29
  })
@@ -3,4 +3,4 @@ export declare const selectPackageManager: () => PackageManager;
3
3
  export declare const getInstallCommand: (manager: PackageManager) => "yarn" | "npm i" | "pnpm i" | undefined;
4
4
  export declare const getStartCommand: (manager: PackageManager) => "npm start" | "yarn start" | "pnpm start" | undefined;
5
5
  export declare const getRenderCommand: (manager: PackageManager) => "npm run build" | "yarn build" | "pnpm build" | undefined;
6
- export declare const getUpgradeCommand: (manager: PackageManager) => "npm run upgrade" | "yarn run upgrade" | "pnpm run upgrade" | undefined;
6
+ export declare const getRunCommand: (manager: PackageManager) => "npm run" | "yarn run" | "pnpm run";
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getUpgradeCommand = exports.getRenderCommand = exports.getStartCommand = exports.getInstallCommand = exports.selectPackageManager = void 0;
6
+ exports.getRunCommand = exports.getRenderCommand = exports.getStartCommand = exports.getInstallCommand = exports.selectPackageManager = void 0;
7
7
  const path_1 = __importDefault(require("path"));
8
8
  const shouldUseYarn = () => {
9
9
  var _a, _b;
@@ -71,15 +71,16 @@ const getRenderCommand = (manager) => {
71
71
  }
72
72
  };
73
73
  exports.getRenderCommand = getRenderCommand;
74
- const getUpgradeCommand = (manager) => {
74
+ const getRunCommand = (manager) => {
75
75
  if (manager === 'npm') {
76
- return `npm run upgrade`;
76
+ return `npm run`;
77
77
  }
78
78
  if (manager === 'yarn') {
79
- return `yarn run upgrade`;
79
+ return `yarn run`;
80
80
  }
81
81
  if (manager === 'pnpm') {
82
- return `pnpm run upgrade`;
82
+ return `pnpm run`;
83
83
  }
84
+ throw new TypeError('unknown package manager');
84
85
  };
85
- exports.getUpgradeCommand = getUpgradeCommand;
86
+ exports.getRunCommand = getRunCommand;
package/dist/prompts.d.ts CHANGED
File without changes
package/dist/prompts.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/templates.js CHANGED
File without changes
File without changes
File without changes
package/dist/yesno.d.ts CHANGED
File without changes
package/dist/yesno.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-video",
3
- "version": "3.2.32",
3
+ "version": "3.2.34",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -30,10 +30,10 @@
30
30
  "@types/node": "^16.7.5",
31
31
  "@types/prompts": "^2.0.12",
32
32
  "@types/tar": "6.1.1",
33
- "eslint": "8.13.0",
33
+ "eslint": "8.25.0",
34
34
  "prettier": "2.6.2",
35
35
  "prettier-plugin-organize-imports": "^2.3.4",
36
36
  "typescript": "^4.7.0"
37
37
  },
38
- "gitHead": "4f7ab3637405d140041f898f95f78c99943d1b40"
38
+ "gitHead": "82f5d37510dfdf0630c5836cbe5655d7d3ebb2b2"
39
39
  }