create-video 3.1.3 → 3.1.4
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 +1 -1
- package/dist/open-in-editor.js +0 -3
- package/dist/prompts.js +4 -2
- package/dist/templates.js +14 -0
- package/package.json +2 -2
package/dist/open-in-editor.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const isVsCodeDerivative: (editor: Editor) => boolean;
|
|
2
2
|
export declare function isTerminalEditor(editor: Editor): boolean;
|
|
3
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"];
|
|
4
|
-
export declare const getDisplayNameForEditor: (editor: Editor
|
|
4
|
+
export declare const getDisplayNameForEditor: (editor: Editor) => string;
|
|
5
5
|
declare type Editor = typeof editorNames[number];
|
|
6
6
|
declare type ProcessAndCommand = {
|
|
7
7
|
process: string;
|
package/dist/open-in-editor.js
CHANGED
|
@@ -170,9 +170,6 @@ const displayNameForEditor = {
|
|
|
170
170
|
};
|
|
171
171
|
const getDisplayNameForEditor = (editor) => {
|
|
172
172
|
var _a, _b;
|
|
173
|
-
if (!editor) {
|
|
174
|
-
return null;
|
|
175
|
-
}
|
|
176
173
|
const endsIn = Object.keys(displayNameForEditor).find((displayNameKey) => {
|
|
177
174
|
return editor.endsWith(displayNameKey);
|
|
178
175
|
});
|
package/dist/prompts.js
CHANGED
|
@@ -48,7 +48,8 @@ async function selectAsync(questions, options) {
|
|
|
48
48
|
if (!this.choices[next].disabled)
|
|
49
49
|
break;
|
|
50
50
|
}
|
|
51
|
-
if (!this.choices[next].disabled &&
|
|
51
|
+
if (!this.choices[next].disabled &&
|
|
52
|
+
next !== this.cursor) {
|
|
52
53
|
this.moveCursor(next);
|
|
53
54
|
this.render();
|
|
54
55
|
}
|
|
@@ -67,7 +68,8 @@ async function selectAsync(questions, options) {
|
|
|
67
68
|
if (!this.choices[next].disabled)
|
|
68
69
|
break;
|
|
69
70
|
}
|
|
70
|
-
if (!this.choices[next].disabled &&
|
|
71
|
+
if (!this.choices[next].disabled &&
|
|
72
|
+
next !== this.cursor) {
|
|
71
73
|
this.moveCursor(next);
|
|
72
74
|
this.render();
|
|
73
75
|
}
|
package/dist/templates.js
CHANGED
|
@@ -100,6 +100,20 @@ exports.FEATURED_TEMPLATES = [
|
|
|
100
100
|
},
|
|
101
101
|
cliId: 'audiogram',
|
|
102
102
|
},
|
|
103
|
+
{
|
|
104
|
+
homePageLabel: 'Skia',
|
|
105
|
+
shortName: 'Skia',
|
|
106
|
+
org: 'remotion-dev',
|
|
107
|
+
repoName: 'template-skia',
|
|
108
|
+
description: 'React Native Skia starter',
|
|
109
|
+
longerDescription: 'A template with React Native Skia already setup.',
|
|
110
|
+
promoVideo: {
|
|
111
|
+
muxId: 'A3ei3bzeT00Z1JCXmykOXD9v01V02HWZkc4jmmDaBiW01rE',
|
|
112
|
+
height: 1080,
|
|
113
|
+
width: 1920,
|
|
114
|
+
},
|
|
115
|
+
cliId: 'skia',
|
|
116
|
+
},
|
|
103
117
|
{
|
|
104
118
|
homePageLabel: 'Tailwind',
|
|
105
119
|
shortName: 'Tailwind',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-video",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"prettier-plugin-organize-imports": "^2.3.4",
|
|
36
36
|
"typescript": "^4.7.0"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "cb662e72c635e5e70c5541d85e276ce2f4075099"
|
|
39
39
|
}
|