@vuehookform/core 0.2.11 → 0.3.3

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuehookform/core",
3
- "version": "0.2.11",
3
+ "version": "0.3.3",
4
4
  "description": "TypeScript-first form library for Vue 3, inspired by React Hook Form. Form-level state management with Zod validation.",
5
5
  "type": "module",
6
6
  "main": "./dist/vuehookform.cjs",
@@ -21,22 +21,20 @@
21
21
  "node": "^20.19.0 || >=22.12.0"
22
22
  },
23
23
  "scripts": {
24
- "dev": "vite",
25
- "build": "run-p type-check \"build-only {@}\" --",
26
- "build:lib": "run-p type-check build-lib-only",
27
- "build-lib-only": "vite build --config vite.config.lib.ts",
28
- "preview": "vite preview",
29
- "build-only": "vite build",
24
+ "build:lib": "vite build --config vite.config.lib.ts",
25
+ "build": "run-p type-check build:lib",
26
+ "docs": "vitepress dev docs",
27
+ "docs:build": "vitepress build docs",
28
+ "docs:preview": "vitepress preview docs",
30
29
  "type-check": "vue-tsc --build",
31
30
  "lint:oxlint": "oxlint . --fix -D correctness --ignore-path .gitignore",
32
31
  "lint:eslint": "eslint . --fix --cache",
33
32
  "lint": "run-s lint:*",
34
- "format": "prettier --write --experimental-cli src/ tests/",
33
+ "format": "prettier --write --experimental-cli lib/ docs/",
35
34
  "test": "vitest",
36
35
  "test:run": "vitest run",
37
36
  "test:coverage": "vitest run --coverage",
38
- "prepublishOnly": "npm run build:lib",
39
- "postversion": "git push && git push --tags"
37
+ "prepare": "husky"
40
38
  },
41
39
  "repository": {
42
40
  "type": "git",
@@ -68,7 +66,6 @@
68
66
  "zod": "^3.0.0 || ^4.0.0"
69
67
  },
70
68
  "devDependencies": {
71
- "@tailwindcss/vite": "^4.1.18",
72
69
  "@prettier/plugin-oxc": "^0.0.5",
73
70
  "@tsconfig/node24": "^24.0.3",
74
71
  "@types/node": "^24.10.1",
@@ -81,22 +78,29 @@
81
78
  "eslint-plugin-oxlint": "~1.29.0",
82
79
  "eslint-plugin-vue": "~10.5.1",
83
80
  "happy-dom": "^20.0.11",
81
+ "husky": "^9.1.7",
84
82
  "jiti": "^2.6.1",
83
+ "lint-staged": "^16.2.7",
85
84
  "npm-run-all2": "^8.0.4",
85
+ "oxc-minify": "^0.105.0",
86
86
  "oxlint": "~1.29.0",
87
- "pinia": "^3.0.4",
88
87
  "prettier": "3.6.2",
89
88
  "typescript": "~5.9.0",
90
89
  "vite": "npm:rolldown-vite@latest",
91
- "vite-plugin-compression2": "^2.4.0",
92
90
  "vite-plugin-dts": "^4.5.4",
91
+ "vitepress": "^2.0.0-alpha.15",
93
92
  "vitest": "^4.0.16",
94
93
  "vue": "^3.5.25",
95
- "vue-router": "^4.6.3",
96
94
  "vue-tsc": "^3.1.5",
97
- "zod": "^4.2.1",
98
- "material-icons": "^1.13.14",
99
- "material-symbols": "^0.40.2",
100
- "tailwindcss": "^4.1.18"
95
+ "zod": "^4.2.1"
96
+ },
97
+ "lint-staged": {
98
+ "*.{ts,tsx,vue}": [
99
+ "oxlint --fix -D correctness",
100
+ "eslint --fix"
101
+ ],
102
+ "*.{ts,tsx,vue,json,md}": [
103
+ "prettier --write --experimental-cli"
104
+ ]
101
105
  }
102
106
  }