create-video 4.0.269 → 4.0.271

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.
@@ -178,7 +178,7 @@ var FEATURED_TEMPLATES = [
178
178
  cliId: "blank",
179
179
  type: "video",
180
180
  defaultBranch: "main",
181
- featuredOnHomePage: "Blank",
181
+ featuredOnHomePage: null,
182
182
  previewURL: "https://template-empty.vercel.app/?/MyComp",
183
183
  templateInMonorepo: "template-blank",
184
184
  allowEnableTailwind: true
@@ -204,23 +204,23 @@ var FEATURED_TEMPLATES = [
204
204
  allowEnableTailwind: true
205
205
  },
206
206
  {
207
- homePageLabel: "Remix",
208
- shortName: "Remix",
207
+ homePageLabel: "React Router 7",
208
+ shortName: "React Router",
209
209
  org: "remotion-dev",
210
- repoName: "template-remix",
211
- description: "Remotion + Remix Starter Kit",
212
- longerDescription: "A software-as-a-service starter kit which has the Remotion Player and rendering via Remotion Lambda built-in. Built with remix.run.",
210
+ repoName: "template-react-router",
211
+ description: "SaaS template for video generation apps",
212
+ longerDescription: "A software-as-a-service starter kit which has the Remotion Player and rendering via Remotion Lambda built-in. Built with React Router 7.",
213
213
  promoBanner: {
214
- width: 1280,
214
+ width: 918,
215
215
  height: 720,
216
216
  src: "/img/remix-template.png"
217
217
  },
218
- cliId: "remix",
218
+ cliId: "react-router",
219
219
  type: "image",
220
220
  defaultBranch: "main",
221
- featuredOnHomePage: null,
221
+ featuredOnHomePage: "React Router",
222
222
  previewURL: null,
223
- templateInMonorepo: "template-remix",
223
+ templateInMonorepo: "template-react-router",
224
224
  allowEnableTailwind: false
225
225
  },
226
226
  {
@@ -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 = {
@@ -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
- goland: 'GoLand',
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':
@@ -126,7 +126,7 @@ const getUpgradeCommand = (manager) => {
126
126
  };
127
127
  exports.getUpgradeCommand = getUpgradeCommand;
128
128
  const getDevCommand = (manager, template) => {
129
- if (template.cliId === 'remix' ||
129
+ if (template.cliId === 'react-router' ||
130
130
  template.cliId === 'next' ||
131
131
  template.cliId === 'next-tailwind' ||
132
132
  template.cliId === 'next-pages-dir') {
@@ -20,7 +20,7 @@ export type Template = {
20
20
  repoName: string;
21
21
  homePageLabel: string;
22
22
  longerDescription: string;
23
- cliId: 'hello-world' | 'javascript' | 'blank' | 'next' | 'next-tailwind' | 'next-pages-dir' | 'remix' | 'three' | 'still' | 'tts' | 'google-tts' | 'audiogram' | 'skia' | 'overlay' | 'stargazer' | 'tiktok' | 'code-hike';
23
+ cliId: 'hello-world' | 'javascript' | 'blank' | 'next' | 'next-tailwind' | 'next-pages-dir' | 'react-router' | 'three' | 'still' | 'tts' | 'google-tts' | 'audiogram' | 'skia' | 'overlay' | 'stargazer' | 'tiktok' | 'code-hike';
24
24
  defaultBranch: string;
25
25
  featuredOnHomePage: string | null;
26
26
  previewURL: string | null;
package/dist/templates.js CHANGED
@@ -100,7 +100,7 @@ exports.FEATURED_TEMPLATES = [
100
100
  cliId: 'blank',
101
101
  type: 'video',
102
102
  defaultBranch: 'main',
103
- featuredOnHomePage: 'Blank',
103
+ featuredOnHomePage: null,
104
104
  previewURL: 'https://template-empty.vercel.app/?/MyComp',
105
105
  templateInMonorepo: 'template-blank',
106
106
  allowEnableTailwind: true,
@@ -126,23 +126,23 @@ exports.FEATURED_TEMPLATES = [
126
126
  allowEnableTailwind: true,
127
127
  },
128
128
  {
129
- homePageLabel: 'Remix',
130
- shortName: 'Remix',
129
+ homePageLabel: 'React Router 7',
130
+ shortName: 'React Router',
131
131
  org: 'remotion-dev',
132
- repoName: 'template-remix',
133
- description: 'Remotion + Remix Starter Kit',
134
- longerDescription: 'A software-as-a-service starter kit which has the Remotion Player and rendering via Remotion Lambda built-in. Built with remix.run.',
132
+ repoName: 'template-react-router',
133
+ description: 'SaaS template for video generation apps',
134
+ longerDescription: 'A software-as-a-service starter kit which has the Remotion Player and rendering via Remotion Lambda built-in. Built with React Router 7.',
135
135
  promoBanner: {
136
- width: 1280,
136
+ width: 918,
137
137
  height: 720,
138
138
  src: '/img/remix-template.png',
139
139
  },
140
- cliId: 'remix',
140
+ cliId: 'react-router',
141
141
  type: 'image',
142
142
  defaultBranch: 'main',
143
- featuredOnHomePage: null,
143
+ featuredOnHomePage: 'React Router',
144
144
  previewURL: null,
145
- templateInMonorepo: 'template-remix',
145
+ templateInMonorepo: 'template-react-router',
146
146
  allowEnableTailwind: false,
147
147
  },
148
148
  {
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.269",
6
+ "version": "4.0.271",
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.269"
30
+ "@remotion/eslint-config-internal": "4.0.271"
31
31
  },
32
32
  "exports": {
33
33
  "./package.json": "./package.json",