@contractspec/example.content-generation 2.9.1 → 3.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/.turbo/turbo-build.log +3 -3
- package/AGENTS.md +31 -0
- package/CHANGELOG.md +41 -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 30ms
|
|
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 24ms
|
|
|
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 23ms
|
|
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 15ms
|
|
|
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 21ms
|
|
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,46 @@
|
|
|
1
1
|
# @contractspec/example.content-generation
|
|
2
2
|
|
|
3
|
+
## 3.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [02c0cc5]
|
|
8
|
+
- @contractspec/lib.contracts-spec@3.1.1
|
|
9
|
+
- @contractspec/lib.content-gen@3.1.1
|
|
10
|
+
|
|
11
|
+
## 3.1.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- 28987eb: chore: upgrade dependencies
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [f2a4faf]
|
|
20
|
+
- Updated dependencies [28987eb]
|
|
21
|
+
- Updated dependencies [28987eb]
|
|
22
|
+
- @contractspec/lib.contracts-spec@3.1.0
|
|
23
|
+
- @contractspec/lib.content-gen@3.1.0
|
|
24
|
+
- @contractspec/lib.logger@3.1.0
|
|
25
|
+
|
|
26
|
+
## 3.0.0
|
|
27
|
+
|
|
28
|
+
### Major Changes
|
|
29
|
+
|
|
30
|
+
- b781ce6: feat: improve ai readiness
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
- Updated dependencies [7cbdb7f]
|
|
35
|
+
- Updated dependencies [c608804]
|
|
36
|
+
- Updated dependencies [e3bc858]
|
|
37
|
+
- Updated dependencies [b19ae0a]
|
|
38
|
+
- Updated dependencies [aa4a9c9]
|
|
39
|
+
- Updated dependencies [b781ce6]
|
|
40
|
+
- @contractspec/lib.contracts-spec@3.0.0
|
|
41
|
+
- @contractspec/lib.content-gen@3.0.0
|
|
42
|
+
- @contractspec/lib.logger@3.0.0
|
|
43
|
+
|
|
3
44
|
## 2.9.1
|
|
4
45
|
|
|
5
46
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.content-generation",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.1",
|
|
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": "
|
|
68
|
-
"@contractspec/lib.content-gen": "
|
|
69
|
-
"@contractspec/lib.logger": "
|
|
67
|
+
"@contractspec/lib.contracts-spec": "3.1.1",
|
|
68
|
+
"@contractspec/lib.content-gen": "3.1.1",
|
|
69
|
+
"@contractspec/lib.logger": "3.1.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@contractspec/tool.typescript": "
|
|
72
|
+
"@contractspec/tool.typescript": "3.1.0",
|
|
73
73
|
"typescript": "^5.9.3",
|
|
74
|
-
"@contractspec/tool.bun": "
|
|
74
|
+
"@contractspec/tool.bun": "3.1.0"
|
|
75
75
|
},
|
|
76
76
|
"publishConfig": {
|
|
77
77
|
"access": "public",
|