@contractspec/example.video-marketing-clip 2.4.0 → 2.5.0

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.
@@ -3,7 +3,7 @@ $ bun run prebuild && bun run build:bundle && bun run build:types
3
3
  $ contractspec-bun-build prebuild
4
4
  $ contractspec-bun-build transpile
5
5
  [contractspec-bun-build] transpile target=bun root=src entries=6
6
- Bundled 6 modules in 35ms
6
+ Bundled 6 modules in 11ms
7
7
 
8
8
  ./briefs.js 2.65 KB (entry point)
9
9
  ./index.js 7.76 KB (entry point)
@@ -23,7 +23,7 @@ Bundled 6 modules in 39ms
23
23
  ./generate-clip.js 1.0 KB (entry point)
24
24
 
25
25
  [contractspec-bun-build] transpile target=browser root=src entries=6
26
- Bundled 6 modules in 29ms
26
+ Bundled 6 modules in 45ms
27
27
 
28
28
  ./briefs.js 2.64 KB (entry point)
29
29
  ./index.js 7.76 KB (entry point)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @contractspec/example.video-marketing-clip
2
2
 
3
+ ## 2.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - c83c323: feat: major change to content generation
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [4fa3bd4]
12
+ - Updated dependencies [63eee9b]
13
+ - Updated dependencies [284cbe2]
14
+ - Updated dependencies [c83c323]
15
+ - Updated dependencies [397b7c0]
16
+ - Updated dependencies [4d19382]
17
+ - @contractspec/lib.contracts-spec@2.5.0
18
+ - @contractspec/lib.video-gen@1.46.0
19
+ - @contractspec/lib.content-gen@2.5.0
20
+
3
21
  ## 2.4.0
4
22
 
5
23
  ### Minor Changes
package/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # @contractspec/example.video-marketing-clip
2
+
3
+ Website: https://contractspec.io/
4
+
5
+ Generate short-form marketing videos from content briefs using the video-gen pipeline.
6
+
7
+ This package demonstrates:
8
+
9
+ - End-to-end video generation: `ContentBrief` to `VideoBrief` to `VideoProject` via `VideoGenerator`
10
+ - Multi-format output: landscape (16:9), square (1:1), and portrait (9:16)
11
+ - Generating all three format variants in parallel with `generateAllFormats`
12
+ - Fully deterministic pipeline without LLM or voice provider
13
+
14
+ ## Quickstart
15
+
16
+ ```typescript
17
+ import { generateMarketingClip, generateAllFormats } from "@contractspec/example.video-marketing-clip";
18
+ import { productLaunchBrief } from "@contractspec/example.video-marketing-clip";
19
+
20
+ // Generate a single landscape clip
21
+ const project = await generateMarketingClip(productLaunchBrief, "landscape");
22
+
23
+ // Generate all three format variants in parallel
24
+ const formats = await generateAllFormats(productLaunchBrief);
25
+ // formats.landscape, formats.square, formats.portrait
26
+ ```
27
+
28
+ Three sample briefs are included: a product launch ("Ship APIs 10x Faster"), a feature announcement ("Now Generating MCP Tools from Your Specs"), and a case study ("How Acme Corp Cut API Dev Time by 80%"). The scene planner automatically maps brief sections to `SocialClip` compositions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.video-marketing-clip",
3
- "version": "2.4.0",
3
+ "version": "2.5.0",
4
4
  "description": "Generate short-form marketing videos from content briefs using the video-gen pipeline.",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -71,13 +71,13 @@
71
71
  "typecheck": "tsc --noEmit"
72
72
  },
73
73
  "dependencies": {
74
- "@contractspec/lib.contracts-spec": "2.4.0",
75
- "@contractspec/lib.video-gen": "1.45.0",
76
- "@contractspec/lib.content-gen": "2.4.0"
74
+ "@contractspec/lib.contracts-spec": "2.5.0",
75
+ "@contractspec/lib.video-gen": "1.46.0",
76
+ "@contractspec/lib.content-gen": "2.5.0"
77
77
  },
78
78
  "devDependencies": {
79
- "@contractspec/tool.typescript": "2.4.0",
80
- "@contractspec/tool.bun": "2.4.0",
79
+ "@contractspec/tool.typescript": "2.5.0",
80
+ "@contractspec/tool.bun": "2.5.0",
81
81
  "typescript": "^5.9.3"
82
82
  },
83
83
  "publishConfig": {