@yoast/ai-insights-client 1.4.81 → 1.4.82

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yoast/ai-insights-client",
3
3
  "private": false,
4
- "version": "1.4.81",
4
+ "version": "1.4.82",
5
5
  "type": "module",
6
6
  "description": "A React component library for AI-powered brand analysis and insights",
7
7
  "keywords": [
@@ -41,6 +41,9 @@
41
41
  "build:types": "tsc -p tsconfig.lib.json",
42
42
  "build:lib": "yarn build",
43
43
  "lint": "eslint .",
44
+ "test": "vitest",
45
+ "test:ui": "vitest --ui",
46
+ "test:run": "vitest run",
44
47
  "preview": "vite preview",
45
48
  "analyze:ui-lib": "node scripts/generate-ui-lib-types.js",
46
49
  "prepublishOnly": "yarn build",
@@ -93,6 +96,7 @@
93
96
  "@types/react": "^19.1.8",
94
97
  "@types/react-dom": "^19.1.6",
95
98
  "@vitejs/plugin-react": "^4.6.0",
99
+ "@vitest/ui": "^3.2.4",
96
100
  "@yoast/postcss-preset": "^1.2.0",
97
101
  "@yoast/ui-library": "^4.2.0",
98
102
  "autoprefixer": "^10.4.21",
@@ -104,6 +108,7 @@
104
108
  "eslint-plugin-react-hooks": "^5.2.0",
105
109
  "eslint-plugin-react-refresh": "^0.4.20",
106
110
  "globals": "^16.3.0",
111
+ "jsdom": "^27.0.0",
107
112
  "orval": "^7.10.0",
108
113
  "postcss": "^8.5.6",
109
114
  "postcss-import": "^16.1.1",
@@ -120,7 +125,8 @@
120
125
  "typescript-eslint": "^8.35.1",
121
126
  "vite": "^7.0.3",
122
127
  "vite-plugin-dts": "^4.5.4",
123
- "vite-plugin-svgr": "^4.5.0"
128
+ "vite-plugin-svgr": "^4.5.0",
129
+ "vitest": "^3.2.4"
124
130
  },
125
131
  "volta": {
126
132
  "node": "22.19.0"