@contractspec/example.content-generation 3.7.7 → 3.7.12

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 36ms
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 31ms
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 39ms
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,47 @@
1
1
  # @contractspec/example.content-generation
2
2
 
3
+ ## 3.7.12
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [81256ea]
8
+ - Updated dependencies [2619dd8]
9
+ - Updated dependencies [81256ea]
10
+ - Updated dependencies [a4489bb]
11
+ - Updated dependencies [9cb304e]
12
+ - @contractspec/lib.contracts-spec@5.0.0
13
+ - @contractspec/lib.content-gen@3.7.12
14
+
15
+ ## 3.7.11
16
+
17
+ ### Patch Changes
18
+
19
+ - fix: release
20
+ - Updated dependencies
21
+ - @contractspec/lib.contracts-spec@4.1.3
22
+ - @contractspec/lib.content-gen@3.7.11
23
+ - @contractspec/lib.logger@3.7.9
24
+
25
+ ## 3.7.10
26
+
27
+ ### Patch Changes
28
+
29
+ - 1a44cb6: feat: improve examples to increase coverage of Contracts type
30
+ - Updated dependencies [1a44cb6]
31
+ - @contractspec/lib.contracts-spec@4.1.2
32
+ - @contractspec/lib.content-gen@3.7.10
33
+ - @contractspec/lib.logger@3.7.8
34
+
35
+ ## 3.7.9
36
+
37
+ ### Patch Changes
38
+
39
+ - fix: release
40
+ - Updated dependencies
41
+ - @contractspec/lib.contracts-spec@4.1.1
42
+ - @contractspec/lib.content-gen@3.7.9
43
+ - @contractspec/lib.logger@3.7.7
44
+
3
45
  ## 3.7.6
4
46
 
5
47
  ### Patch Changes
@@ -414,6 +456,7 @@
414
456
  - 7f3203a: fix: make workspace test runs resilient when packages have no tests
415
457
 
416
458
  Updates package test scripts to pass cleanly when no matching test files exist:
459
+
417
460
  - Uses `bun test --pass-with-no-tests` in Bun-based packages that currently ship without test files.
418
461
  - Uses `jest --passWithNoTests` for the UI kit web package.
419
462
  - 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 +819,17 @@
776
819
  feat: Contract layers support (features, examples, app-configs)
777
820
 
778
821
  ### New CLI Commands
822
+
779
823
  - `contractspec list layers` - List all contract layers with filtering
780
824
 
781
825
  ### Enhanced Commands
826
+
782
827
  - `contractspec ci` - New `layers` check category validates features/examples/config
783
828
  - `contractspec doctor` - New `layers` health checks
784
829
  - `contractspec integrity` - Now shows layer statistics
785
830
 
786
831
  ### New APIs
832
+
787
833
  - `discoverLayers()` - Scan workspace for all layer files
788
834
  - `scanExampleSource()` - Parse ExampleSpec from source code
789
835
  - `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.12",
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": "5.0.0",
68
+ "@contractspec/lib.content-gen": "3.7.12",
69
+ "@contractspec/lib.logger": "3.7.9"
70
70
  },
71
71
  "devDependencies": {
72
- "@contractspec/tool.typescript": "3.7.6",
72
+ "@contractspec/tool.typescript": "3.7.9",
73
73
  "typescript": "^5.9.3",
74
- "@contractspec/tool.bun": "3.7.6"
74
+ "@contractspec/tool.bun": "3.7.9"
75
75
  },
76
76
  "publishConfig": {
77
77
  "access": "public",