@contractspec/example.content-generation 3.0.0 → 3.2.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.
- package/.turbo/turbo-build.log +3 -3
- package/AGENTS.md +31 -0
- package/CHANGELOG.md +36 -0
- package/package.json +6 -6
package/.turbo/turbo-build.log
CHANGED
|
@@ -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=5
|
|
6
|
-
Bundled 5 modules in
|
|
6
|
+
Bundled 5 modules in 21ms
|
|
7
7
|
|
|
8
8
|
docs/content-generation.docblock.js 1.37 KB (entry point)
|
|
9
9
|
./index.js 4.0 KB (entry point)
|
|
@@ -12,7 +12,7 @@ Bundled 5 modules in 40ms
|
|
|
12
12
|
./generate.js 1.72 KB (entry point)
|
|
13
13
|
|
|
14
14
|
[contractspec-bun-build] transpile target=node root=src entries=5
|
|
15
|
-
Bundled 5 modules in
|
|
15
|
+
Bundled 5 modules in 40ms
|
|
16
16
|
|
|
17
17
|
docs/content-generation.docblock.js 1.35 KB (entry point)
|
|
18
18
|
./index.js 4.0 KB (entry point)
|
|
@@ -21,7 +21,7 @@ Bundled 5 modules in 18ms
|
|
|
21
21
|
./generate.js 1.71 KB (entry point)
|
|
22
22
|
|
|
23
23
|
[contractspec-bun-build] transpile target=browser root=src entries=5
|
|
24
|
-
Bundled 5 modules in
|
|
24
|
+
Bundled 5 modules in 14ms
|
|
25
25
|
|
|
26
26
|
docs/content-generation.docblock.js 1.35 KB (entry point)
|
|
27
27
|
./index.js 4.0 KB (entry point)
|
package/AGENTS.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# AI Agent Guide -- `@contractspec/example.content-generation`
|
|
2
|
+
|
|
3
|
+
Scope: `packages/examples/content-generation/*`
|
|
4
|
+
|
|
5
|
+
Demonstrates AI-powered content generation using the content-gen lib with structured logging.
|
|
6
|
+
|
|
7
|
+
## Quick Context
|
|
8
|
+
|
|
9
|
+
- **Layer**: example
|
|
10
|
+
- **Related Packages**: `lib.contracts-spec`, `lib.content-gen`, `lib.logger`
|
|
11
|
+
|
|
12
|
+
## What This Demonstrates
|
|
13
|
+
|
|
14
|
+
- Content generation pipeline with typed contracts
|
|
15
|
+
- Integration with the content-gen library
|
|
16
|
+
- Structured logging for generation steps
|
|
17
|
+
- DocBlock documentation for the generation flow
|
|
18
|
+
|
|
19
|
+
## Public Exports
|
|
20
|
+
|
|
21
|
+
- `.` -- root barrel
|
|
22
|
+
- `./docs` -- DocBlock documentation
|
|
23
|
+
- `./example` -- runnable example entry point
|
|
24
|
+
- `./generate` -- generation logic
|
|
25
|
+
|
|
26
|
+
## Local Commands
|
|
27
|
+
|
|
28
|
+
- Build: `bun run build`
|
|
29
|
+
- Dev: `bun run dev`
|
|
30
|
+
- Test: `bun test`
|
|
31
|
+
- Typecheck: `bun run typecheck`
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# @contractspec/example.content-generation
|
|
2
2
|
|
|
3
|
+
## 3.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- a281fc5: fix: missing dependencies
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [a281fc5]
|
|
12
|
+
- @contractspec/lib.contracts-spec@3.2.0
|
|
13
|
+
- @contractspec/lib.content-gen@3.2.0
|
|
14
|
+
- @contractspec/lib.logger@3.2.0
|
|
15
|
+
|
|
16
|
+
## 3.1.1
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [02c0cc5]
|
|
21
|
+
- @contractspec/lib.contracts-spec@3.1.1
|
|
22
|
+
- @contractspec/lib.content-gen@3.1.1
|
|
23
|
+
|
|
24
|
+
## 3.1.0
|
|
25
|
+
|
|
26
|
+
### Minor Changes
|
|
27
|
+
|
|
28
|
+
- 28987eb: chore: upgrade dependencies
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- Updated dependencies [f2a4faf]
|
|
33
|
+
- Updated dependencies [28987eb]
|
|
34
|
+
- Updated dependencies [28987eb]
|
|
35
|
+
- @contractspec/lib.contracts-spec@3.1.0
|
|
36
|
+
- @contractspec/lib.content-gen@3.1.0
|
|
37
|
+
- @contractspec/lib.logger@3.1.0
|
|
38
|
+
|
|
3
39
|
## 3.0.0
|
|
4
40
|
|
|
5
41
|
### Major Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.content-generation",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Content generation example using @contractspec/lib.content-gen.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -64,14 +64,14 @@
|
|
|
64
64
|
"typecheck": "tsc --noEmit"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@contractspec/lib.contracts-spec": "3.
|
|
68
|
-
"@contractspec/lib.content-gen": "3.
|
|
69
|
-
"@contractspec/lib.logger": "3.
|
|
67
|
+
"@contractspec/lib.contracts-spec": "3.2.0",
|
|
68
|
+
"@contractspec/lib.content-gen": "3.2.0",
|
|
69
|
+
"@contractspec/lib.logger": "3.2.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@contractspec/tool.typescript": "3.
|
|
72
|
+
"@contractspec/tool.typescript": "3.2.0",
|
|
73
73
|
"typescript": "^5.9.3",
|
|
74
|
-
"@contractspec/tool.bun": "3.
|
|
74
|
+
"@contractspec/tool.bun": "3.2.0"
|
|
75
75
|
},
|
|
76
76
|
"publishConfig": {
|
|
77
77
|
"access": "public",
|