create-video 4.0.221 → 4.0.222

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/init.js CHANGED
@@ -10,6 +10,7 @@ const node_path_1 = __importDefault(require("node:path"));
10
10
  const add_tailwind_1 = require("./add-tailwind");
11
11
  const add_yarn2_support_1 = require("./add-yarn2-support");
12
12
  const ask_tailwind_1 = require("./ask-tailwind");
13
+ const create_public_folder_1 = require("./create-public-folder");
13
14
  const degit_1 = require("./degit");
14
15
  const latest_remotion_version_1 = require("./latest-remotion-version");
15
16
  const log_1 = require("./log");
@@ -102,6 +103,7 @@ const init = async () => {
102
103
  (0, add_tailwind_1.addTailwindConfigJs)(projectRoot);
103
104
  (0, add_tailwind_1.addTailwindRootCss)(projectRoot);
104
105
  }
106
+ (0, create_public_folder_1.createPublicFolder)(projectRoot);
105
107
  const latestVersion = await latestRemotionVersionPromise;
106
108
  (0, patch_package_json_1.patchPackageJson)({
107
109
  projectRoot,
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  type DynamicTemplate = {
3
3
  type: 'video';
4
4
  promoVideo: {
@@ -20,7 +20,7 @@ export type Template = {
20
20
  org: string;
21
21
  repoName: string;
22
22
  homePageLabel: string;
23
- longerDescription: React.ReactNode;
23
+ longerDescription: ReactNode;
24
24
  cliId: 'hello-world' | 'javascript' | 'blank' | 'next' | 'next-tailwind' | 'next-pages-dir' | 'remix' | 'three' | 'still' | 'tts' | 'google-tts' | 'audiogram' | 'skia' | 'overlay' | 'stargazer' | 'tiktok' | 'code-hike';
25
25
  defaultBranch: string;
26
26
  featuredOnHomePage: string | null;
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.221",
6
+ "version": "4.0.222",
7
7
  "description": "Create a new Remotion project",
8
8
  "main": "dist/index.js",
9
9
  "bin": {
@@ -19,13 +19,13 @@
19
19
  "execa": "5.1.1",
20
20
  "minimist": "1.2.6",
21
21
  "prompts": "2.4.2",
22
- "react": "18.3.1",
23
22
  "tar": "6.2.1"
24
23
  },
25
24
  "devDependencies": {
26
25
  "@types/minimist": "1.2.2",
27
26
  "@types/prompts": "^2.0.12",
28
- "@types/tar": "6.1.1"
27
+ "@types/tar": "6.1.1",
28
+ "react": "18.3.1"
29
29
  },
30
30
  "homepage": "https://remotion.dev/templates",
31
31
  "scripts": {