create-video 4.0.18 → 4.0.19

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/templates.js CHANGED
@@ -5,23 +5,6 @@ const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  function truthy(value) {
6
6
  return Boolean(value);
7
7
  }
8
- const ENABLE_NEXT = false;
9
- const nextTemplate = {
10
- homePageLabel: 'Next.js',
11
- shortName: 'Next.js',
12
- org: 'remotion-dev',
13
- repoName: 'template-next',
14
- description: 'SaaS template for video generation apps',
15
- longerDescription: 'A software-as-a-service starter kit which has the Remotion Player and rendering via Remotion Lambda built-in. Our recommended choice for people who want to build a video generation app.',
16
- promoBanner: {
17
- width: 1280,
18
- height: 720,
19
- src: '/img/remix-template.png',
20
- },
21
- cliId: 'next',
22
- type: 'image',
23
- defaultBranch: 'main',
24
- };
25
8
  // Note that this page is statically analyzed by extract-articles.mjs
26
9
  exports.FEATURED_TEMPLATES = [
27
10
  {
@@ -40,7 +23,22 @@ exports.FEATURED_TEMPLATES = [
40
23
  type: 'video',
41
24
  defaultBranch: 'main',
42
25
  },
43
- ENABLE_NEXT ? nextTemplate : null,
26
+ {
27
+ homePageLabel: 'Next.js',
28
+ shortName: 'Next.js',
29
+ org: 'remotion-dev',
30
+ repoName: 'template-next',
31
+ description: 'SaaS template for video generation apps',
32
+ longerDescription: 'A SaaS starter kit which has the Remotion Player and rendering via Remotion Lambda built-in. Our recommended choice for people who want to build an app that can generate videos.',
33
+ promoVideo: {
34
+ width: 1280,
35
+ height: 720,
36
+ muxId: 'RufnZIJZh6L1MAaeG02jnXuM9pK96tNuHRxmXHbWqCBI',
37
+ },
38
+ cliId: 'next',
39
+ type: 'video',
40
+ defaultBranch: 'main',
41
+ },
44
42
  {
45
43
  homePageLabel: 'Blank',
46
44
  shortName: 'Blank',
@@ -22,6 +22,7 @@ const getFileForTemplate = (template, file) => {
22
22
  (0, vitest_1.expect)(res.statusCode).toBe(200);
23
23
  const body = JSON.parse(res.body);
24
24
  if (!template.shortName.includes('Remix') &&
25
+ !template.shortName.includes('Next') &&
25
26
  !template.shortName.includes('Still')) {
26
27
  (0, vitest_1.expect)(body.scripts.build).toMatch(/render/);
27
28
  (0, vitest_1.expect)(body.scripts.build).not.toContain('index');
@@ -91,7 +92,7 @@ const getFileForTemplate = (template, file) => {
91
92
  (0, vitest_1.expect)(entryPoint).toBeTruthy();
92
93
  (0, vitest_1.expect)(contents).toMatch(/export const RemotionRoot/);
93
94
  }, 12000);
94
- (0, vitest_1.it)(template.shortName + 'should use the new config file format', async () => {
95
+ (0, vitest_1.it)(`${template.shortName} should use the new config file format`, async () => {
95
96
  const { contents, entryPoint } = await findFile([
96
97
  getFileForTemplate(template, 'remotion.config.ts'),
97
98
  getFileForTemplate(template, 'remotion.config.js'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-video",
3
- "version": "4.0.18",
3
+ "version": "4.0.19",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "bin": {