reelkit-cli 0.1.0 → 0.1.1
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/README.md +1 -1
- package/package.json +4 -11
- package/src/commands/init.ts +1 -1
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reelkit-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "CLI and Claude skill for making short-form video with a shared asset library.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Daniel Livshin",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/Livshind15/reelkit.git"
|
|
10
|
-
},
|
|
11
|
-
"homepage": "https://github.com/Livshind15/reelkit#readme",
|
|
12
|
-
"bugs": {
|
|
13
|
-
"url": "https://github.com/Livshind15/reelkit/issues"
|
|
14
|
-
},
|
|
15
7
|
"keywords": [
|
|
16
8
|
"video",
|
|
17
9
|
"short-form",
|
|
@@ -47,7 +39,7 @@
|
|
|
47
39
|
"skill"
|
|
48
40
|
],
|
|
49
41
|
"engines": {
|
|
50
|
-
"node": ">=
|
|
42
|
+
"node": ">=22.12"
|
|
51
43
|
},
|
|
52
44
|
"publishConfig": {
|
|
53
45
|
"access": "public"
|
|
@@ -85,5 +77,6 @@
|
|
|
85
77
|
"vitest": {
|
|
86
78
|
"optional": true
|
|
87
79
|
}
|
|
88
|
-
}
|
|
80
|
+
},
|
|
81
|
+
"homepage": "https://reelkit-kohl.vercel.app"
|
|
89
82
|
}
|
package/src/commands/init.ts
CHANGED
|
@@ -15,7 +15,7 @@ export async function init(ctx: Ctx, name: string | undefined, opts: { aspect?:
|
|
|
15
15
|
if (slug === "") return { ok: false, summary: "Give the project a name with letters or digits, for example: reelkit init launch-video" };
|
|
16
16
|
const aspect = AspectSchema.safeParse(opts.aspect ?? "9:16");
|
|
17
17
|
if (!aspect.success) return { ok: false, summary: `Unknown aspect "${opts.aspect}". Use 9:16, 16:9 or 1:1.` };
|
|
18
|
-
if (Number(process.versions.node.split(".")[0]) <
|
|
18
|
+
if (Number(process.versions.node.split(".")[0]) < 22) return { ok: false, summary: `Node 22 or newer is needed; this is ${process.versions.node}. Install a newer Node.` };
|
|
19
19
|
try { await exec("ffmpeg", ["-version"]); } catch { return { ok: false, summary: "ffmpeg was not found. Install it (macOS: `brew install ffmpeg`) and run `reelkit init` again." }; }
|
|
20
20
|
|
|
21
21
|
const dir = slug ? join(ctx.cwd, slug) : ctx.cwd;
|