@portabletext/plugin-sdk-value 1.0.17 → 1.0.18

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.
Files changed (1) hide show
  1. package/package.json +15 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@portabletext/plugin-sdk-value",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "Synchronizes the Portable Text Editor value with the Sanity SDK, allowing for two-way editing.",
5
5
  "keywords": [
6
6
  "portabletext",
@@ -45,31 +45,33 @@
45
45
  "@sanity/json-match": "^1.0.5"
46
46
  },
47
47
  "devDependencies": {
48
- "@sanity/schema": "^4.11.0",
48
+ "@sanity/schema": "^4.12.0",
49
49
  "@sanity/sdk-react": "^2.1.2",
50
- "@sanity/types": "^4.11.0",
50
+ "@sanity/types": "^4.12.0",
51
51
  "@testing-library/react": "^16.3.0",
52
52
  "@testing-library/user-event": "^14.6.1",
53
53
  "@types/react": "^19.1.12",
54
54
  "@vitejs/plugin-react": "^5.0.4",
55
+ "@vitest/browser": "^4.0.4",
56
+ "@vitest/browser-playwright": "^4.0.4",
55
57
  "babel-plugin-react-compiler": "1.0.0",
56
58
  "eslint": "^9.38.0",
57
- "eslint-plugin-react-hooks": "7.0.0",
59
+ "eslint-plugin-react-hooks": "7.0.1",
58
60
  "playwright": "^1.55.0",
59
61
  "react": "^19.1.1",
60
62
  "react-dom": "^19.1.1",
61
63
  "react-error-boundary": "^6.0.0",
62
64
  "typescript": "5.9.3",
63
65
  "typescript-eslint": "^8.46.1",
64
- "vitest": "^3.2.4",
65
- "@portabletext/editor": "^2.15.5",
66
+ "vitest": "^4.0.4",
67
+ "@portabletext/editor": "^2.16.0",
66
68
  "@portabletext/patches": "^1.1.8"
67
69
  },
68
70
  "peerDependencies": {
69
71
  "@sanity/sdk-react": "^2.1.2",
70
72
  "react": "^19",
71
73
  "react-dom": "^19",
72
- "@portabletext/editor": "^2.15.5"
74
+ "@portabletext/editor": "^2.16.0"
73
75
  },
74
76
  "scripts": {
75
77
  "build": "pkg-utils build --strict --check --clean",
@@ -80,6 +82,11 @@
80
82
  "clean": "del .turbo && del dist && del node_modules",
81
83
  "dev": "pkg-utils watch",
82
84
  "lint:fix": "biome lint --write .",
83
- "test": "vitest --run"
85
+ "test:browser:chromium": "vitest --run --project \"browser (chromium)\"",
86
+ "test:browser:chromium:watch": "vitest watch --project \"browser (chromium)\"",
87
+ "test:browser:firefox": "vitest --run --project \"browser (firefox)\"",
88
+ "test:browser:firefox:watch": "vitest watch --project \"browser (firefox)\"",
89
+ "test:browser:webkit": "vitest --run --project \"browser (webkit)\"",
90
+ "test:browser:webkit:watch": "vitest watch --project \"browser (webkit)\""
84
91
  }
85
92
  }