create-video 4.0.446 → 4.0.448
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/esm/index.mjs +1 -0
- package/dist/init.js +12 -14
- package/dist/list-of-remotion-packages.js +1 -0
- package/package.json +2 -2
package/dist/esm/index.mjs
CHANGED
package/dist/init.js
CHANGED
|
@@ -99,20 +99,18 @@ const init = async () => {
|
|
|
99
99
|
}
|
|
100
100
|
const isInsideGitRepo = result.type === 'is-git-repo';
|
|
101
101
|
if (isInsideGitRepo) {
|
|
102
|
-
if ((0, select_template_1.isYesFlagSelected)()) {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
if (!shouldContinue) {
|
|
115
|
-
process.exit(1);
|
|
102
|
+
if (!(0, select_template_1.isYesFlagSelected)()) {
|
|
103
|
+
const { shouldContinue } = await (0, prompts_1.default)({
|
|
104
|
+
type: 'toggle',
|
|
105
|
+
name: 'shouldContinue',
|
|
106
|
+
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?`,
|
|
107
|
+
initial: false,
|
|
108
|
+
active: 'Yes',
|
|
109
|
+
inactive: 'No',
|
|
110
|
+
});
|
|
111
|
+
if (!shouldContinue) {
|
|
112
|
+
process.exit(1);
|
|
113
|
+
}
|
|
116
114
|
}
|
|
117
115
|
}
|
|
118
116
|
const latestRemotionVersionPromise = (0, latest_remotion_version_1.getLatestRemotionVersion)();
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.
|
|
6
|
+
"version": "4.0.448",
|
|
7
7
|
"description": "Create a new Remotion project",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"bin": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@types/prompts": "^2.0.12",
|
|
31
31
|
"@types/tar": "6.1.1",
|
|
32
32
|
"react": "19.2.3",
|
|
33
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
33
|
+
"@remotion/eslint-config-internal": "4.0.448",
|
|
34
34
|
"eslint": "9.19.0",
|
|
35
35
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
36
36
|
},
|