create-video 4.0.427 → 4.0.429

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/README.md CHANGED
@@ -1,18 +1,18 @@
1
1
  # @remotion/create-video
2
-
2
+
3
3
  Create a new Remotion project
4
-
4
+
5
5
  [![NPM Downloads](https://img.shields.io/npm/dm/create-video.svg?style=flat&color=black&label=Downloads)](https://npmcharts.com/compare/create-video?minimal=true)
6
-
6
+
7
7
  ## Installation
8
-
8
+
9
9
  ```bash
10
10
  npm install create-video --save-exact
11
11
  ```
12
-
12
+
13
13
  When installing a Remotion package, make sure to align the version of all `remotion` and `@remotion/*` packages to the same version.
14
14
  Remove the `^` character from the version number to use the exact version.
15
-
15
+
16
16
  ## Usage
17
-
17
+
18
18
  See the [documentation](https://remotion.dev/templates) for more information.
@@ -84,7 +84,8 @@ var listOfRemotionPackages = [
84
84
  "@remotion/web-renderer",
85
85
  "@remotion/design",
86
86
  "@remotion/light-leaks",
87
- "@remotion/vercel"
87
+ "@remotion/vercel",
88
+ "@remotion/sfx"
88
89
  ];
89
90
 
90
91
  // src/templates.ts
package/dist/init.js CHANGED
@@ -4,9 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.init = exports.checkGitAvailability = void 0;
7
+ const node_path_1 = __importDefault(require("node:path"));
7
8
  const chalk_1 = __importDefault(require("chalk"));
8
9
  const execa_1 = __importDefault(require("execa"));
9
- const node_path_1 = __importDefault(require("node:path"));
10
10
  const add_tailwind_1 = require("./add-tailwind");
11
11
  const add_yarn2_support_1 = require("./add-yarn2-support");
12
12
  const ask_skills_1 = require("./ask-skills");
@@ -93,11 +93,12 @@ const init = async () => {
93
93
  log_1.Log.error('Git is not installed or not in the path. Install Git to continue.');
94
94
  process.exit(1);
95
95
  }
96
- if (result.type === 'is-git-repo') {
96
+ const isInsideGitRepo = result.type === 'is-git-repo';
97
+ if (isInsideGitRepo) {
97
98
  const { shouldContinue } = await (0, prompts_1.default)({
98
99
  type: 'toggle',
99
100
  name: 'shouldContinue',
100
- message: `You are already inside a Git repo (${node_path_1.default.resolve(result.location)}).\nThis might lead to a Git Submodule being created. Do you want to continue?`,
101
+ message: `You are already inside a Git repo (${node_path_1.default.resolve(result.location)}).\nA new project will be created without initializing a new Git repository. Do you want to continue?`,
101
102
  initial: false,
102
103
  active: 'Yes',
103
104
  inactive: 'No',
@@ -145,7 +146,9 @@ const init = async () => {
145
146
  pkgManagerVersion,
146
147
  projectRoot,
147
148
  });
148
- await getGitStatus(projectRoot);
149
+ if (!isInsideGitRepo) {
150
+ await getGitStatus(projectRoot);
151
+ }
149
152
  if (shouldInstallSkills) {
150
153
  await (0, install_skills_1.installSkills)(projectRoot);
151
154
  }
@@ -88,4 +88,5 @@ exports.listOfRemotionPackages = [
88
88
  '@remotion/design',
89
89
  '@remotion/light-leaks',
90
90
  '@remotion/vercel',
91
+ '@remotion/sfx',
91
92
  ];
@@ -4,11 +4,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.resolveProjectRoot = void 0;
7
- const chalk_1 = __importDefault(require("chalk"));
8
7
  const node_fs_1 = __importDefault(require("node:fs"));
9
8
  const promises_1 = require("node:fs/promises");
10
9
  const node_os_1 = require("node:os");
11
10
  const node_path_1 = __importDefault(require("node:path"));
11
+ const chalk_1 = __importDefault(require("chalk"));
12
12
  const log_1 = require("./log");
13
13
  const mkdirp_1 = require("./mkdirp");
14
14
  const prompts_1 = __importDefault(require("./prompts"));
package/package.json CHANGED
@@ -3,14 +3,14 @@
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.427",
6
+ "version": "4.0.429",
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 src --check",
13
+ "formatting": "oxfmt src --check",
14
14
  "lint": "eslint src",
15
15
  "test": "bun test src",
16
16
  "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"
@@ -29,7 +29,7 @@
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.427",
32
+ "@remotion/eslint-config-internal": "4.0.429",
33
33
  "eslint": "9.19.0",
34
34
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
35
35
  },