create-video 4.0.270 → 4.0.272
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/open-in-editor.d.ts +2 -2
- package/dist/open-in-editor.js +24 -2
- package/package.json +2 -2
package/dist/open-in-editor.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const isVsCodeDerivative: (editor: Editor) => editor is "code" | "code-insiders" | "vscodium" | "Code.exe" | "Code - Insiders.exe" | "VSCodium.exe";
|
|
1
|
+
export declare const isVsCodeDerivative: (editor: Editor) => editor is "code" | "code-insiders" | "vscodium" | "cursor" | "Cursor.exe" | "Code.exe" | "Code - Insiders.exe" | "VSCodium.exe" | "windsurf" | "Windsurf.exe";
|
|
2
2
|
export declare function isTerminalEditor(editor: Editor): boolean;
|
|
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"];
|
|
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", "cursor", "Cursor.exe", "/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", "windsurf", "Windsurf.exe", "Zed.exe", "Cursor.exe", "zed"];
|
|
4
4
|
export declare const getDisplayNameForEditor: (editor: Editor) => string;
|
|
5
5
|
type Editor = (typeof editorNames)[number];
|
|
6
6
|
type ProcessAndCommand = {
|
package/dist/open-in-editor.js
CHANGED
|
@@ -44,7 +44,11 @@ const isVsCodeDerivative = (editor) => {
|
|
|
44
44
|
editor === 'Code.exe' ||
|
|
45
45
|
editor === 'vscodium' ||
|
|
46
46
|
editor === 'VSCodium.exe' ||
|
|
47
|
-
editor === 'Code - Insiders.exe'
|
|
47
|
+
editor === 'Code - Insiders.exe' ||
|
|
48
|
+
editor === 'cursor' ||
|
|
49
|
+
editor === 'Cursor.exe' ||
|
|
50
|
+
editor === 'windsurf' ||
|
|
51
|
+
editor === 'Windsurf.exe');
|
|
48
52
|
};
|
|
49
53
|
exports.isVsCodeDerivative = isVsCodeDerivative;
|
|
50
54
|
function isTerminalEditor(editor) {
|
|
@@ -68,6 +72,8 @@ const editorNames = [
|
|
|
68
72
|
'code',
|
|
69
73
|
'code-insiders',
|
|
70
74
|
'vscodium',
|
|
75
|
+
'cursor',
|
|
76
|
+
'Cursor.exe',
|
|
71
77
|
'/Applications/AppCode.app/Contents/MacOS/appcode',
|
|
72
78
|
'/Applications/CLion.app/Contents/MacOS/clion',
|
|
73
79
|
'/Applications/IntelliJ IDEA.app/Contents/MacOS/idea',
|
|
@@ -114,6 +120,11 @@ const editorNames = [
|
|
|
114
120
|
'rider.exe',
|
|
115
121
|
'rider64.exe',
|
|
116
122
|
'nano',
|
|
123
|
+
'windsurf',
|
|
124
|
+
'Windsurf.exe',
|
|
125
|
+
'Zed.exe',
|
|
126
|
+
'Cursor.exe',
|
|
127
|
+
'zed',
|
|
117
128
|
];
|
|
118
129
|
const displayNameForEditor = {
|
|
119
130
|
'/Applications/AppCode.app/Contents/MacOS/appcode': 'AppCode',
|
|
@@ -134,12 +145,17 @@ const displayNameForEditor = {
|
|
|
134
145
|
'Code - Insiders.exe': 'VS Code Insiders',
|
|
135
146
|
'Code.exe': 'VS Code',
|
|
136
147
|
'VSCodium.exe': 'VS Codium',
|
|
148
|
+
'Cursor.exe': 'Cursor',
|
|
149
|
+
'Windsurf.exe': 'Windsurf',
|
|
150
|
+
'Zed.exe': 'Zed',
|
|
137
151
|
'atom.exe': 'Atom',
|
|
138
152
|
'clion.exe': 'CLion',
|
|
139
153
|
'clion64.exe': 'CLion',
|
|
140
154
|
'code-insiders': 'VS Code Insiders',
|
|
155
|
+
cursor: 'Cursor',
|
|
141
156
|
'goland.exe': 'GoLand',
|
|
142
157
|
'goland64.exe': 'GoLand',
|
|
158
|
+
goland: 'GoLand',
|
|
143
159
|
'idea.exe': 'IDEA',
|
|
144
160
|
'idea64.exe': 'IDEA',
|
|
145
161
|
'notepad++.exe': 'Notepad++',
|
|
@@ -158,7 +174,8 @@ const displayNameForEditor = {
|
|
|
158
174
|
brackets: 'Brackets',
|
|
159
175
|
code: 'VS Code',
|
|
160
176
|
emacs: 'emacs',
|
|
161
|
-
|
|
177
|
+
windsurf: 'Windsurf',
|
|
178
|
+
zed: 'Zed',
|
|
162
179
|
gvim: 'GVim',
|
|
163
180
|
idea: 'IDEA',
|
|
164
181
|
mvim: 'mvim',
|
|
@@ -193,6 +210,7 @@ const COMMON_EDITORS_OSX = {
|
|
|
193
210
|
'/Applications/Visual Studio Code.app/Contents/MacOS/Electron': 'code',
|
|
194
211
|
'/Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Electron': 'code-insiders',
|
|
195
212
|
'/Applications/VSCodium.app/Contents/MacOS/Electron': 'vscodium',
|
|
213
|
+
'/Applications/Cursor.app/Contents/MacOS/Cursor': 'cursor',
|
|
196
214
|
'/Applications/AppCode.app/Contents/MacOS/appcode': '/Applications/AppCode.app/Contents/MacOS/appcode',
|
|
197
215
|
'/Applications/CLion.app/Contents/MacOS/clion': '/Applications/CLion.app/Contents/MacOS/clion',
|
|
198
216
|
'/Applications/IntelliJ IDEA.app/Contents/MacOS/idea': '/Applications/IntelliJ IDEA.app/Contents/MacOS/idea',
|
|
@@ -211,6 +229,7 @@ const COMMON_EDITORS_LINUX = {
|
|
|
211
229
|
code: 'code',
|
|
212
230
|
'code-insiders': 'code-insiders',
|
|
213
231
|
vscodium: 'vscodium',
|
|
232
|
+
cursor: 'cursor',
|
|
214
233
|
emacs: 'emacs',
|
|
215
234
|
gvim: 'gvim',
|
|
216
235
|
'idea.sh': 'idea',
|
|
@@ -228,6 +247,7 @@ const COMMON_EDITORS_WIN = [
|
|
|
228
247
|
'Code.exe',
|
|
229
248
|
'Code - Insiders.exe',
|
|
230
249
|
'VSCodium.exe',
|
|
250
|
+
'Cursor.exe',
|
|
231
251
|
'atom.exe',
|
|
232
252
|
'sublime_text.exe',
|
|
233
253
|
'notepad++.exe',
|
|
@@ -285,6 +305,8 @@ function getArgumentsForLineNumber(editor, fileName, lineNumber, colNumber) {
|
|
|
285
305
|
case 'Code - Insiders':
|
|
286
306
|
case 'vscodium':
|
|
287
307
|
case 'VSCodium':
|
|
308
|
+
case 'Cursor.exe':
|
|
309
|
+
case 'cursor':
|
|
288
310
|
return ['-g', fileName + ':' + lineNumber + ':' + colNumber];
|
|
289
311
|
case 'appcode':
|
|
290
312
|
case 'clion':
|
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.272",
|
|
7
7
|
"description": "Create a new Remotion project",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"bin": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@types/tar": "6.1.1",
|
|
28
28
|
"react": "19.0.0",
|
|
29
29
|
"eslint": "9.19.0",
|
|
30
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
30
|
+
"@remotion/eslint-config-internal": "4.0.272"
|
|
31
31
|
},
|
|
32
32
|
"exports": {
|
|
33
33
|
"./package.json": "./package.json",
|