@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/README.md +27 -29
- package/dist/core/domSync.d.ts +0 -7
- package/dist/core/formContext.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/types.d.ts +324 -35
- package/dist/utils/devWarnings.d.ts +55 -0
- package/dist/vuehookform.cjs +398 -21
- package/dist/vuehookform.js +397 -21
- package/package.json +22 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuehookform/core",
|
|
3
|
-
"version": "0.
|
|
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
|
-
"
|
|
25
|
-
"build": "run-p type-check
|
|
26
|
-
"
|
|
27
|
-
"build
|
|
28
|
-
"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
|
|
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
|
-
"
|
|
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
|
-
|
|
99
|
-
|
|
100
|
-
"
|
|
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
|
}
|