create-video 4.0.409 → 4.0.411

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.
@@ -16,7 +16,7 @@ const askSkills = async () => {
16
16
  type: 'toggle',
17
17
  name: 'answer',
18
18
  message: `Add ${link}?`,
19
- initial: false,
19
+ initial: true,
20
20
  active: 'Yes',
21
21
  inactive: 'No',
22
22
  });
@@ -90,13 +90,35 @@ function truthy(value) {
90
90
  return Boolean(value);
91
91
  }
92
92
  var FEATURED_TEMPLATES = [
93
+ {
94
+ homePageLabel: "Blank",
95
+ shortName: "Blank",
96
+ description: "Nothing except an empty canvas",
97
+ org: "remotion-dev",
98
+ repoName: "template-empty",
99
+ longerDescription: "A template containing nothing but an empty canvas. Recommended if you already used Remotion or plan to write your code with AI.",
100
+ promoVideo: {
101
+ muxId: "JD00x15y859GjqO7C9hpILkrSddGzd55K4lfj02dv8gU4",
102
+ width: 1280,
103
+ height: 720
104
+ },
105
+ cliId: "blank",
106
+ type: "video",
107
+ defaultBranch: "main",
108
+ featuredOnHomePage: "Blank",
109
+ previewURL: "https://template-empty.vercel.app/?/MyComp",
110
+ templateInMonorepo: "template-blank",
111
+ allowEnableTailwind: true,
112
+ contributedBy: null,
113
+ showStackblitz: true
114
+ },
93
115
  {
94
116
  homePageLabel: "Hello World",
95
117
  shortName: "Hello World",
96
118
  org: "remotion-dev",
97
119
  repoName: "template-helloworld",
98
- description: 'A "Hello World" starter template',
99
- longerDescription: "A basic template with TypeScript, Prettier and ESLint preconfigured. Our recommended choice for beginners.",
120
+ description: "A playground with a simple animation",
121
+ longerDescription: "A basic template with TypeScript, Prettier and ESLint preconfigured.",
100
122
  promoVideo: {
101
123
  muxId: "vKvV6aa7GXGlR01cmpc6J8Zz4Gkj9d2hBSnVYoef00900I",
102
124
  height: 1080,
@@ -109,7 +131,8 @@ var FEATURED_TEMPLATES = [
109
131
  previewURL: "https://remotion-helloworld.vercel.app/?/HelloWorld",
110
132
  templateInMonorepo: "template-helloworld",
111
133
  allowEnableTailwind: true,
112
- contributedBy: null
134
+ contributedBy: null,
135
+ showStackblitz: true
113
136
  },
114
137
  {
115
138
  homePageLabel: "Next.js (App dir)",
@@ -130,7 +153,8 @@ var FEATURED_TEMPLATES = [
130
153
  previewURL: "https://next.remotion.dev",
131
154
  templateInMonorepo: "template-next-app",
132
155
  allowEnableTailwind: false,
133
- contributedBy: null
156
+ contributedBy: null,
157
+ showStackblitz: true
134
158
  },
135
159
  {
136
160
  homePageLabel: "Next.js (App dir + TailwindCSS)",
@@ -151,7 +175,8 @@ var FEATURED_TEMPLATES = [
151
175
  previewURL: "https://next.remotion.dev",
152
176
  templateInMonorepo: "template-next-app-tailwind",
153
177
  allowEnableTailwind: false,
154
- contributedBy: null
178
+ contributedBy: null,
179
+ showStackblitz: true
155
180
  },
156
181
  {
157
182
  homePageLabel: "Next.js (Pages dir)",
@@ -172,28 +197,8 @@ var FEATURED_TEMPLATES = [
172
197
  previewURL: "https://next.remotion.dev",
173
198
  templateInMonorepo: "template-next-pages",
174
199
  allowEnableTailwind: false,
175
- contributedBy: null
176
- },
177
- {
178
- homePageLabel: "Blank",
179
- shortName: "Blank",
180
- description: "Nothing except an empty canvas",
181
- org: "remotion-dev",
182
- repoName: "template-empty",
183
- longerDescription: "A template containing nothing but an empty canvas. Recommended for people who already worked with Remotion.",
184
- promoVideo: {
185
- muxId: "JD00x15y859GjqO7C9hpILkrSddGzd55K4lfj02dv8gU4",
186
- width: 1280,
187
- height: 720
188
- },
189
- cliId: "blank",
190
- type: "video",
191
- defaultBranch: "main",
192
- featuredOnHomePage: "Blank",
193
- previewURL: "https://template-empty.vercel.app/?/MyComp",
194
- templateInMonorepo: "template-blank",
195
- allowEnableTailwind: true,
196
- contributedBy: null
200
+ contributedBy: null,
201
+ showStackblitz: true
197
202
  },
198
203
  {
199
204
  homePageLabel: "Recorder",
@@ -214,7 +219,8 @@ var FEATURED_TEMPLATES = [
214
219
  previewURL: null,
215
220
  templateInMonorepo: "template-recorder",
216
221
  allowEnableTailwind: false,
217
- contributedBy: null
222
+ contributedBy: null,
223
+ showStackblitz: true
218
224
  },
219
225
  {
220
226
  homePageLabel: "Prompt to Motion Graphics",
@@ -235,7 +241,8 @@ var FEATURED_TEMPLATES = [
235
241
  previewURL: null,
236
242
  templateInMonorepo: "template-prompt-to-motion-graphics",
237
243
  allowEnableTailwind: false,
238
- contributedBy: "ASchwad"
244
+ contributedBy: "ASchwad",
245
+ showStackblitz: false
239
246
  },
240
247
  {
241
248
  homePageLabel: "JavaScript",
@@ -256,7 +263,8 @@ var FEATURED_TEMPLATES = [
256
263
  previewURL: "https://template-helloworld-javascript.vercel.app/?/HelloWorld",
257
264
  templateInMonorepo: "template-javascript",
258
265
  allowEnableTailwind: true,
259
- contributedBy: null
266
+ contributedBy: null,
267
+ showStackblitz: true
260
268
  },
261
269
  {
262
270
  homePageLabel: "Render Server (Express.js)",
@@ -277,7 +285,8 @@ var FEATURED_TEMPLATES = [
277
285
  previewURL: null,
278
286
  templateInMonorepo: "template-render-server",
279
287
  allowEnableTailwind: false,
280
- contributedBy: null
288
+ contributedBy: null,
289
+ showStackblitz: true
281
290
  },
282
291
  {
283
292
  homePageLabel: "React Router 7",
@@ -298,7 +307,8 @@ var FEATURED_TEMPLATES = [
298
307
  previewURL: null,
299
308
  templateInMonorepo: "template-react-router",
300
309
  allowEnableTailwind: false,
301
- contributedBy: null
310
+ contributedBy: null,
311
+ showStackblitz: true
302
312
  },
303
313
  {
304
314
  homePageLabel: "3D",
@@ -319,7 +329,8 @@ var FEATURED_TEMPLATES = [
319
329
  previewURL: "https://template-three-remotion.vercel.app/",
320
330
  templateInMonorepo: "template-three",
321
331
  allowEnableTailwind: false,
322
- contributedBy: null
332
+ contributedBy: null,
333
+ showStackblitz: true
323
334
  },
324
335
  {
325
336
  homePageLabel: "Stills",
@@ -340,7 +351,8 @@ var FEATURED_TEMPLATES = [
340
351
  previewURL: "https://template-still.vercel.app/?/PreviewCard",
341
352
  templateInMonorepo: "template-still",
342
353
  allowEnableTailwind: false,
343
- contributedBy: null
354
+ contributedBy: null,
355
+ showStackblitz: true
344
356
  },
345
357
  {
346
358
  homePageLabel: "Text-To-Speech (Azure)",
@@ -361,7 +373,8 @@ var FEATURED_TEMPLATES = [
361
373
  previewURL: null,
362
374
  templateInMonorepo: "template-tts-azure",
363
375
  allowEnableTailwind: false,
364
- contributedBy: null
376
+ contributedBy: null,
377
+ showStackblitz: true
365
378
  },
366
379
  {
367
380
  homePageLabel: "Text-To-Speech (Google)",
@@ -382,7 +395,8 @@ var FEATURED_TEMPLATES = [
382
395
  previewURL: null,
383
396
  templateInMonorepo: "template-tts-google",
384
397
  allowEnableTailwind: false,
385
- contributedBy: null
398
+ contributedBy: null,
399
+ showStackblitz: true
386
400
  },
387
401
  {
388
402
  homePageLabel: "Audiogram",
@@ -403,7 +417,8 @@ var FEATURED_TEMPLATES = [
403
417
  previewURL: "https://template-audiogram-1nrh.vercel.app",
404
418
  templateInMonorepo: "template-audiogram",
405
419
  allowEnableTailwind: true,
406
- contributedBy: null
420
+ contributedBy: null,
421
+ showStackblitz: true
407
422
  },
408
423
  {
409
424
  homePageLabel: "Music Visualization",
@@ -424,7 +439,8 @@ var FEATURED_TEMPLATES = [
424
439
  previewURL: null,
425
440
  templateInMonorepo: "template-music-visualization",
426
441
  allowEnableTailwind: true,
427
- contributedBy: null
442
+ contributedBy: null,
443
+ showStackblitz: true
428
444
  },
429
445
  {
430
446
  homePageLabel: "Prompt to Video",
@@ -445,7 +461,8 @@ var FEATURED_TEMPLATES = [
445
461
  previewURL: null,
446
462
  templateInMonorepo: "template-prompt-to-video",
447
463
  allowEnableTailwind: true,
448
- contributedBy: "webmonch"
464
+ contributedBy: "webmonch",
465
+ showStackblitz: true
449
466
  },
450
467
  {
451
468
  homePageLabel: "Skia",
@@ -466,7 +483,8 @@ var FEATURED_TEMPLATES = [
466
483
  previewURL: null,
467
484
  templateInMonorepo: "template-skia",
468
485
  allowEnableTailwind: false,
469
- contributedBy: null
486
+ contributedBy: null,
487
+ showStackblitz: true
470
488
  },
471
489
  {
472
490
  homePageLabel: "Overlay",
@@ -493,7 +511,8 @@ var FEATURED_TEMPLATES = [
493
511
  previewURL: null,
494
512
  templateInMonorepo: "template-overlay",
495
513
  allowEnableTailwind: true,
496
- contributedBy: null
514
+ contributedBy: null,
515
+ showStackblitz: true
497
516
  },
498
517
  {
499
518
  homePageLabel: "Code Hike",
@@ -518,7 +537,8 @@ var FEATURED_TEMPLATES = [
518
537
  previewURL: "https://template-code-hike.vercel.app/",
519
538
  templateInMonorepo: "template-code-hike",
520
539
  allowEnableTailwind: false,
521
- contributedBy: null
540
+ contributedBy: null,
541
+ showStackblitz: true
522
542
  },
523
543
  {
524
544
  homePageLabel: "Stargazer",
@@ -539,7 +559,8 @@ var FEATURED_TEMPLATES = [
539
559
  previewURL: null,
540
560
  templateInMonorepo: "template-stargazer",
541
561
  allowEnableTailwind: true,
542
- contributedBy: null
562
+ contributedBy: "pomber",
563
+ showStackblitz: true
543
564
  },
544
565
  {
545
566
  homePageLabel: "TikTok",
@@ -560,7 +581,8 @@ var FEATURED_TEMPLATES = [
560
581
  previewURL: null,
561
582
  templateInMonorepo: "template-tiktok",
562
583
  allowEnableTailwind: true,
563
- contributedBy: null
584
+ contributedBy: null,
585
+ showStackblitz: true
564
586
  }
565
587
  ].filter(truthy);
566
588
  var PAID_TEMPLATES = [
@@ -7,8 +7,9 @@ exports.installSkills = void 0;
7
7
  const execa_1 = __importDefault(require("execa"));
8
8
  const log_1 = require("./log");
9
9
  const installSkills = async (projectRoot) => {
10
+ const command = process.platform === 'win32' ? 'npx.cmd' : 'npx';
10
11
  try {
11
- await (0, execa_1.default)('npx', [
12
+ await (0, execa_1.default)(command, [
12
13
  '-y',
13
14
  '--loglevel=error',
14
15
  'add-skill@1.0.20',
@@ -15,7 +15,7 @@ const openInEditorFlow = async (projectRoot) => {
15
15
  return;
16
16
  }
17
17
  const displayName = (0, open_in_editor_1.getDisplayNameForEditor)(guiEditor.command);
18
- const should = await (0, prompts_1.default)({
18
+ const { answer } = await (0, prompts_1.default)({
19
19
  message: `💻 Open in ${displayName}?`,
20
20
  initial: true,
21
21
  type: 'toggle',
@@ -23,7 +23,7 @@ const openInEditorFlow = async (projectRoot) => {
23
23
  active: 'Yes',
24
24
  inactive: 'No',
25
25
  });
26
- if (should) {
26
+ if (answer) {
27
27
  await (0, open_in_editor_1.launchEditor)({
28
28
  colNumber: 1,
29
29
  editor: guiEditor,
@@ -27,6 +27,7 @@ export type Template = {
27
27
  templateInMonorepo: string;
28
28
  allowEnableTailwind: boolean;
29
29
  contributedBy: string | null;
30
+ showStackblitz: boolean;
30
31
  } & DynamicTemplate;
31
32
  export declare const FEATURED_TEMPLATES: Template[];
32
33
  export declare const PAID_TEMPLATES: {
package/dist/templates.js CHANGED
@@ -5,13 +5,35 @@ function truthy(value) {
5
5
  return Boolean(value);
6
6
  }
7
7
  exports.FEATURED_TEMPLATES = [
8
+ {
9
+ homePageLabel: 'Blank',
10
+ shortName: 'Blank',
11
+ description: 'Nothing except an empty canvas',
12
+ org: 'remotion-dev',
13
+ repoName: 'template-empty',
14
+ longerDescription: 'A template containing nothing but an empty canvas. Recommended if you already used Remotion or plan to write your code with AI.',
15
+ promoVideo: {
16
+ muxId: 'JD00x15y859GjqO7C9hpILkrSddGzd55K4lfj02dv8gU4',
17
+ width: 1280,
18
+ height: 720,
19
+ },
20
+ cliId: 'blank',
21
+ type: 'video',
22
+ defaultBranch: 'main',
23
+ featuredOnHomePage: 'Blank',
24
+ previewURL: 'https://template-empty.vercel.app/?/MyComp',
25
+ templateInMonorepo: 'template-blank',
26
+ allowEnableTailwind: true,
27
+ contributedBy: null,
28
+ showStackblitz: true,
29
+ },
8
30
  {
9
31
  homePageLabel: 'Hello World',
10
32
  shortName: 'Hello World',
11
33
  org: 'remotion-dev',
12
34
  repoName: 'template-helloworld',
13
- description: 'A "Hello World" starter template',
14
- longerDescription: 'A basic template with TypeScript, Prettier and ESLint preconfigured. Our recommended choice for beginners.',
35
+ description: 'A playground with a simple animation',
36
+ longerDescription: 'A basic template with TypeScript, Prettier and ESLint preconfigured.',
15
37
  promoVideo: {
16
38
  muxId: 'vKvV6aa7GXGlR01cmpc6J8Zz4Gkj9d2hBSnVYoef00900I',
17
39
  height: 1080,
@@ -25,6 +47,7 @@ exports.FEATURED_TEMPLATES = [
25
47
  templateInMonorepo: 'template-helloworld',
26
48
  allowEnableTailwind: true,
27
49
  contributedBy: null,
50
+ showStackblitz: true,
28
51
  },
29
52
  {
30
53
  homePageLabel: 'Next.js (App dir)',
@@ -46,6 +69,7 @@ exports.FEATURED_TEMPLATES = [
46
69
  templateInMonorepo: 'template-next-app',
47
70
  allowEnableTailwind: false,
48
71
  contributedBy: null,
72
+ showStackblitz: true,
49
73
  },
50
74
  {
51
75
  homePageLabel: 'Next.js (App dir + TailwindCSS)',
@@ -67,6 +91,7 @@ exports.FEATURED_TEMPLATES = [
67
91
  templateInMonorepo: 'template-next-app-tailwind',
68
92
  allowEnableTailwind: false,
69
93
  contributedBy: null,
94
+ showStackblitz: true,
70
95
  },
71
96
  {
72
97
  homePageLabel: 'Next.js (Pages dir)',
@@ -88,27 +113,7 @@ exports.FEATURED_TEMPLATES = [
88
113
  templateInMonorepo: 'template-next-pages',
89
114
  allowEnableTailwind: false,
90
115
  contributedBy: null,
91
- },
92
- {
93
- homePageLabel: 'Blank',
94
- shortName: 'Blank',
95
- description: 'Nothing except an empty canvas',
96
- org: 'remotion-dev',
97
- repoName: 'template-empty',
98
- longerDescription: 'A template containing nothing but an empty canvas. Recommended for people who already worked with Remotion.',
99
- promoVideo: {
100
- muxId: 'JD00x15y859GjqO7C9hpILkrSddGzd55K4lfj02dv8gU4',
101
- width: 1280,
102
- height: 720,
103
- },
104
- cliId: 'blank',
105
- type: 'video',
106
- defaultBranch: 'main',
107
- featuredOnHomePage: 'Blank',
108
- previewURL: 'https://template-empty.vercel.app/?/MyComp',
109
- templateInMonorepo: 'template-blank',
110
- allowEnableTailwind: true,
111
- contributedBy: null,
116
+ showStackblitz: true,
112
117
  },
113
118
  {
114
119
  homePageLabel: 'Recorder',
@@ -130,6 +135,7 @@ exports.FEATURED_TEMPLATES = [
130
135
  templateInMonorepo: 'template-recorder',
131
136
  allowEnableTailwind: false,
132
137
  contributedBy: null,
138
+ showStackblitz: true,
133
139
  },
134
140
  {
135
141
  homePageLabel: 'Prompt to Motion Graphics',
@@ -151,6 +157,7 @@ exports.FEATURED_TEMPLATES = [
151
157
  templateInMonorepo: 'template-prompt-to-motion-graphics',
152
158
  allowEnableTailwind: false,
153
159
  contributedBy: 'ASchwad',
160
+ showStackblitz: false,
154
161
  },
155
162
  {
156
163
  homePageLabel: 'JavaScript',
@@ -172,6 +179,7 @@ exports.FEATURED_TEMPLATES = [
172
179
  templateInMonorepo: 'template-javascript',
173
180
  allowEnableTailwind: true,
174
181
  contributedBy: null,
182
+ showStackblitz: true,
175
183
  },
176
184
  {
177
185
  homePageLabel: 'Render Server (Express.js)',
@@ -193,6 +201,7 @@ exports.FEATURED_TEMPLATES = [
193
201
  templateInMonorepo: 'template-render-server',
194
202
  allowEnableTailwind: false,
195
203
  contributedBy: null,
204
+ showStackblitz: true,
196
205
  },
197
206
  {
198
207
  homePageLabel: 'React Router 7',
@@ -214,6 +223,7 @@ exports.FEATURED_TEMPLATES = [
214
223
  templateInMonorepo: 'template-react-router',
215
224
  allowEnableTailwind: false,
216
225
  contributedBy: null,
226
+ showStackblitz: true,
217
227
  },
218
228
  {
219
229
  homePageLabel: '3D',
@@ -235,6 +245,7 @@ exports.FEATURED_TEMPLATES = [
235
245
  templateInMonorepo: 'template-three',
236
246
  allowEnableTailwind: false,
237
247
  contributedBy: null,
248
+ showStackblitz: true,
238
249
  },
239
250
  {
240
251
  homePageLabel: 'Stills',
@@ -256,6 +267,7 @@ exports.FEATURED_TEMPLATES = [
256
267
  templateInMonorepo: 'template-still',
257
268
  allowEnableTailwind: false,
258
269
  contributedBy: null,
270
+ showStackblitz: true,
259
271
  },
260
272
  {
261
273
  homePageLabel: 'Text-To-Speech (Azure)',
@@ -277,6 +289,7 @@ exports.FEATURED_TEMPLATES = [
277
289
  templateInMonorepo: 'template-tts-azure',
278
290
  allowEnableTailwind: false,
279
291
  contributedBy: null,
292
+ showStackblitz: true,
280
293
  },
281
294
  {
282
295
  homePageLabel: 'Text-To-Speech (Google)',
@@ -298,6 +311,7 @@ exports.FEATURED_TEMPLATES = [
298
311
  templateInMonorepo: 'template-tts-google',
299
312
  allowEnableTailwind: false,
300
313
  contributedBy: null,
314
+ showStackblitz: true,
301
315
  },
302
316
  {
303
317
  homePageLabel: 'Audiogram',
@@ -319,6 +333,7 @@ exports.FEATURED_TEMPLATES = [
319
333
  templateInMonorepo: 'template-audiogram',
320
334
  allowEnableTailwind: true,
321
335
  contributedBy: null,
336
+ showStackblitz: true,
322
337
  },
323
338
  {
324
339
  homePageLabel: 'Music Visualization',
@@ -340,6 +355,7 @@ exports.FEATURED_TEMPLATES = [
340
355
  templateInMonorepo: 'template-music-visualization',
341
356
  allowEnableTailwind: true,
342
357
  contributedBy: null,
358
+ showStackblitz: true,
343
359
  },
344
360
  {
345
361
  homePageLabel: 'Prompt to Video',
@@ -361,6 +377,7 @@ exports.FEATURED_TEMPLATES = [
361
377
  templateInMonorepo: 'template-prompt-to-video',
362
378
  allowEnableTailwind: true,
363
379
  contributedBy: 'webmonch',
380
+ showStackblitz: true,
364
381
  },
365
382
  {
366
383
  homePageLabel: 'Skia',
@@ -382,6 +399,7 @@ exports.FEATURED_TEMPLATES = [
382
399
  templateInMonorepo: 'template-skia',
383
400
  allowEnableTailwind: false,
384
401
  contributedBy: null,
402
+ showStackblitz: true,
385
403
  },
386
404
  {
387
405
  homePageLabel: 'Overlay',
@@ -409,6 +427,7 @@ exports.FEATURED_TEMPLATES = [
409
427
  templateInMonorepo: 'template-overlay',
410
428
  allowEnableTailwind: true,
411
429
  contributedBy: null,
430
+ showStackblitz: true,
412
431
  },
413
432
  {
414
433
  homePageLabel: 'Code Hike',
@@ -434,6 +453,7 @@ exports.FEATURED_TEMPLATES = [
434
453
  templateInMonorepo: 'template-code-hike',
435
454
  allowEnableTailwind: false,
436
455
  contributedBy: null,
456
+ showStackblitz: true,
437
457
  },
438
458
  {
439
459
  homePageLabel: 'Stargazer',
@@ -454,7 +474,8 @@ exports.FEATURED_TEMPLATES = [
454
474
  previewURL: null,
455
475
  templateInMonorepo: 'template-stargazer',
456
476
  allowEnableTailwind: true,
457
- contributedBy: null,
477
+ contributedBy: 'pomber',
478
+ showStackblitz: true,
458
479
  },
459
480
  {
460
481
  homePageLabel: 'TikTok',
@@ -476,6 +497,7 @@ exports.FEATURED_TEMPLATES = [
476
497
  templateInMonorepo: 'template-tiktok',
477
498
  allowEnableTailwind: true,
478
499
  contributedBy: null,
500
+ showStackblitz: true,
479
501
  },
480
502
  ].filter(truthy);
481
503
  exports.PAID_TEMPLATES = [
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.409",
6
+ "version": "4.0.411",
7
7
  "description": "Create a new Remotion project",
8
8
  "main": "dist/index.js",
9
9
  "bin": {
@@ -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.409",
32
+ "@remotion/eslint-config-internal": "4.0.411",
33
33
  "eslint": "9.19.0"
34
34
  },
35
35
  "exports": {