@mathscan/math-exercise-engine 1.0.1 → 1.0.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.
package/dist/style.css CHANGED
@@ -126,9 +126,7 @@
126
126
  }
127
127
 
128
128
  .number-text .highlight {
129
- background: var(--exercise-highlight);
130
- padding: 0.125rem 0.25rem;
131
- border-radius: calc(var(--exercise-border-radius) * 0.75);
129
+ color: red;
132
130
  font-weight: var(--exercise-font-weight-bold);
133
131
  }
134
132
 
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@mathscan/math-exercise-engine",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A DSL parser and validator for math exercises - transforms text-based exercise definitions into structured AST and JSON",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",
8
8
  "exports": {
9
9
  ".": {
10
+ "types": "./dist/index.d.ts",
10
11
  "import": "./dist/index.mjs",
11
- "require": "./dist/index.js",
12
- "types": "./dist/index.d.ts"
12
+ "require": "./dist/index.js"
13
13
  },
14
14
  "./style.css": "./dist/style.css"
15
15
  },
@@ -69,6 +69,7 @@
69
69
  "@types/react-dom": "^18.2.0",
70
70
  "@typescript-eslint/eslint-plugin": "^6.19.0",
71
71
  "@typescript-eslint/parser": "^6.19.0",
72
+ "@vitest/coverage-v8": "^4.0.17",
72
73
  "eslint": "^8.56.0",
73
74
  "prettier": "^3.2.4",
74
75
  "react": "^18.2.0",
@@ -78,7 +79,7 @@
78
79
  "typescript": "^5.3.3",
79
80
  "vite": "^5.0.11",
80
81
  "vite-plugin-dts": "^3.7.0",
81
- "vitest": "^1.2.0"
82
+ "vitest": "^4.0.17"
82
83
  },
83
84
  "engines": {
84
85
  "node": ">=18.0.0"