@contractspec/example.content-generation 3.7.7 → 3.7.10

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 noBundle=false
6
- Bundled 6 modules in 35ms
6
+ Bundled 6 modules in 18ms
7
7
 
8
8
  ./content-generation.feature.js 0.62 KB (entry point)
9
9
  ./index.js 4.65 KB (entry point)
@@ -13,7 +13,7 @@ Bundled 6 modules in 35ms
13
13
  ./generate.js 1.72 KB (entry point)
14
14
 
15
15
  [contractspec-bun-build] transpile target=node root=src entries=6 noBundle=false
16
- Bundled 6 modules in 20ms
16
+ Bundled 6 modules in 11ms
17
17
 
18
18
  ./content-generation.feature.js 0.61 KB (entry point)
19
19
  ./index.js 4.63 KB (entry point)
@@ -23,7 +23,7 @@ Bundled 6 modules in 20ms
23
23
  ./generate.js 1.71 KB (entry point)
24
24
 
25
25
  [contractspec-bun-build] transpile target=browser root=src entries=6 noBundle=false
26
- Bundled 6 modules in 49ms
26
+ Bundled 6 modules in 17ms
27
27
 
28
28
  ./content-generation.feature.js 0.61 KB (entry point)
29
29
  ./index.js 4.63 KB (entry point)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @contractspec/example.content-generation
2
2
 
3
+ ## 3.7.10
4
+
5
+ ### Patch Changes
6
+
7
+ - 1a44cb6: feat: improve examples to increase coverage of Contracts type
8
+ - Updated dependencies [1a44cb6]
9
+ - @contractspec/lib.contracts-spec@4.1.2
10
+ - @contractspec/lib.content-gen@3.7.10
11
+ - @contractspec/lib.logger@3.7.8
12
+
13
+ ## 3.7.9
14
+
15
+ ### Patch Changes
16
+
17
+ - fix: release
18
+ - Updated dependencies
19
+ - @contractspec/lib.contracts-spec@4.1.1
20
+ - @contractspec/lib.content-gen@3.7.9
21
+ - @contractspec/lib.logger@3.7.7
22
+
3
23
  ## 3.7.6
4
24
 
5
25
  ### Patch Changes
@@ -414,6 +434,7 @@
414
434
  - 7f3203a: fix: make workspace test runs resilient when packages have no tests
415
435
 
416
436
  Updates package test scripts to pass cleanly when no matching test files exist:
437
+
417
438
  - Uses `bun test --pass-with-no-tests` in Bun-based packages that currently ship without test files.
418
439
  - Uses `jest --passWithNoTests` for the UI kit web package.
419
440
  - Adds `.vscode-test.mjs` for `vscode-contractspec` so VS Code extension test runs have an explicit config and stop failing on missing default configuration.
@@ -776,14 +797,17 @@
776
797
  feat: Contract layers support (features, examples, app-configs)
777
798
 
778
799
  ### New CLI Commands
800
+
779
801
  - `contractspec list layers` - List all contract layers with filtering
780
802
 
781
803
  ### Enhanced Commands
804
+
782
805
  - `contractspec ci` - New `layers` check category validates features/examples/config
783
806
  - `contractspec doctor` - New `layers` health checks
784
807
  - `contractspec integrity` - Now shows layer statistics
785
808
 
786
809
  ### New APIs
810
+
787
811
  - `discoverLayers()` - Scan workspace for all layer files
788
812
  - `scanExampleSource()` - Parse ExampleSpec from source code
789
813
  - `isExampleFile()` - Check if file is an example spec
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.content-generation",
3
- "version": "3.7.7",
3
+ "version": "3.7.10",
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": "4.0.0",
68
- "@contractspec/lib.content-gen": "3.7.7",
69
- "@contractspec/lib.logger": "3.7.6"
67
+ "@contractspec/lib.contracts-spec": "4.1.2",
68
+ "@contractspec/lib.content-gen": "3.7.10",
69
+ "@contractspec/lib.logger": "3.7.8"
70
70
  },
71
71
  "devDependencies": {
72
- "@contractspec/tool.typescript": "3.7.6",
72
+ "@contractspec/tool.typescript": "3.7.8",
73
73
  "typescript": "^5.9.3",
74
- "@contractspec/tool.bun": "3.7.6"
74
+ "@contractspec/tool.bun": "3.7.8"
75
75
  },
76
76
  "publishConfig": {
77
77
  "access": "public",