@yoast/ai-insights-client 1.4.106 → 1.4.108

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.106",
4
+ "version": "1.4.108",
5
5
  "type": "module",
6
6
  "description": "A React component library for AI-powered brand analysis and insights",
7
7
  "keywords": [
@@ -43,6 +43,9 @@
43
43
  "build:analyze": "npm run build && npx vite-bundle-analyzer dist",
44
44
  "build:types": "tsc -p tsconfig.lib.json",
45
45
  "lint": "eslint .",
46
+ "test": "vitest",
47
+ "test:ui": "vitest --ui",
48
+ "test:run": "vitest run",
46
49
  "preview": "vite preview",
47
50
  "preview:app": "vite preview --outDir dist-app",
48
51
  "analyze:ui-lib": "node scripts/generate-ui-lib-types.js",
@@ -97,6 +100,7 @@
97
100
  "@types/react": "^19.1.8",
98
101
  "@types/react-dom": "^19.1.6",
99
102
  "@vitejs/plugin-react": "^4.6.0",
103
+ "@vitest/ui": "^3.2.4",
100
104
  "@yoast/postcss-preset": "^1.2.0",
101
105
  "@yoast/ui-library": "^4.2.0",
102
106
  "autoprefixer": "^10.4.21",
@@ -108,6 +112,7 @@
108
112
  "eslint-plugin-react-hooks": "^5.2.0",
109
113
  "eslint-plugin-react-refresh": "^0.4.20",
110
114
  "globals": "^16.3.0",
115
+ "jsdom": "^27.0.0",
111
116
  "orval": "^7.10.0",
112
117
  "postcss": "^8.5.6",
113
118
  "postcss-import": "^16.1.1",
@@ -124,7 +129,8 @@
124
129
  "typescript-eslint": "^8.35.1",
125
130
  "vite": "^7.0.3",
126
131
  "vite-plugin-dts": "^4.5.4",
127
- "vite-plugin-svgr": "^4.5.0"
132
+ "vite-plugin-svgr": "^4.5.0",
133
+ "vitest": "^3.2.4"
128
134
  },
129
135
  "volta": {
130
136
  "node": "22.19.0"