@modality-counter/core 0.12.0 → 0.12.2

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.
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Zod-Based Template Validator with Enhanced YAML Validation
3
+ *
4
+ * This test suite uses TypeScript-first Zod schemas for template validation,
5
+ * ensuring type-safe validation with superior error messages.
6
+ * Performance optimized with caching to prevent repeated file I/O.
7
+ *
8
+ * Features:
9
+ * - Type-safe validation with automatic TypeScript types
10
+ * - Runtime validation with detailed error paths
11
+ * - Comprehensive template structure validation
12
+ * - Quality metrics validation with precise scoring
13
+ * - EXPLICIT YAML format validation - any invalid YAML will cause test failure
14
+ * - Enhanced error handling for both YAML syntax and template structure errors
15
+ */
1
16
  /**
2
17
  * Setup template validation tests - can be imported and reused in other projects
3
18
  */
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.12.0",
2
+ "version": "0.12.2",
3
3
  "name": "@modality-counter/core",
4
4
  "repository": {
5
5
  "type": "git",
@@ -14,9 +14,9 @@
14
14
  "author": "Hill <hill@kimo.com>",
15
15
  "license": "ISC",
16
16
  "peerDependencies": {
17
- "modality-mcp-kit": "^1.6.2",
18
- "react": "^19.2.5",
19
- "react-dom": "^19.2.5"
17
+ "modality-mcp-kit": "^1.7.0",
18
+ "react": "^19.2.6",
19
+ "react-dom": "^19.2.6"
20
20
  },
21
21
  "dependencies": {
22
22
  "@mdx-js/esbuild": "^3.1.1",
@@ -31,8 +31,8 @@
31
31
  "devDependencies": {
32
32
  "@types/react": "^19.2.14",
33
33
  "@types/react-dom": "^19.2.3",
34
- "modality-bun-kit": "^1.3.131",
35
- "valibot": "^1.3.1",
34
+ "modality-bun-kit": "^1.3.14",
35
+ "valibot": "^1.4.0",
36
36
  "xdm": "^3.4.0"
37
37
  },
38
38
  "exports": {