chore(forms): remove unused vee-validate; formalize ref+validators+Zod as canonical pattern
Strict-regex sweep of apps/app/src/ confirms zero VeeValidate usage: no `from 'vee-validate'` imports, no <Field|Form|ErrorMessage>, no defineRule(), no useForm(). The 15 prior fuzzy matches were false positives where /useForm/ matched useFormDraft/useFormSteps/ useFormSchemas/useFormFailures. Changes: - Remove `vee-validate` and `@vee-validate/zod` from apps/app/package.json - Regenerate pnpm-lock.yaml (no other deps shifted) - CLAUDE.md "Forms": replace VeeValidate prescription with the actual ref + @core/utils/validators + Zod-payload-schema pattern that the codebase already uses everywhere - VUEXY_COMPONENTS.md: correct the stale "Registration uses VeeValidate" claim (the page actually uses useFormDraft + validators); update the "Form validation" reference row - BACKLOG.md: close VEE-001 with the audit trail All 319 existing tests still pass; vue-tsc clean. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -30,7 +30,6 @@
|
||||
"@tiptap/pm": "^2.27.1",
|
||||
"@tiptap/starter-kit": "^2.27.1",
|
||||
"@tiptap/vue-3": "^2.27.1",
|
||||
"@vee-validate/zod": "^4.15.1",
|
||||
"@vueuse/core": "10.11.1",
|
||||
"@vueuse/math": "10.11.1",
|
||||
"apexcharts": "3.54.1",
|
||||
@@ -50,7 +49,6 @@
|
||||
"shepherd.js": "13.0.3",
|
||||
"ufo": "1.6.1",
|
||||
"unplugin-vue-define-options": "1.5.5",
|
||||
"vee-validate": "^4.15.1",
|
||||
"vue": "3.5.22",
|
||||
"vue-chartjs": "5.3.2",
|
||||
"vue-flatpickr-component": "11.0.5",
|
||||
|
||||
30
apps/app/pnpm-lock.yaml
generated
30
apps/app/pnpm-lock.yaml
generated
@@ -51,9 +51,6 @@ importers:
|
||||
'@tiptap/vue-3':
|
||||
specifier: ^2.27.1
|
||||
version: 2.27.1(@tiptap/core@2.27.1(@tiptap/pm@2.27.1))(@tiptap/pm@2.27.1)(vue@3.5.22(typescript@5.9.3))
|
||||
'@vee-validate/zod':
|
||||
specifier: ^4.15.1
|
||||
version: 4.15.1(vue@3.5.22(typescript@5.9.3))(zod@3.25.76)
|
||||
'@vueuse/core':
|
||||
specifier: 10.11.1
|
||||
version: 10.11.1(vue@3.5.22(typescript@5.9.3))
|
||||
@@ -111,9 +108,6 @@ importers:
|
||||
unplugin-vue-define-options:
|
||||
specifier: 1.5.5
|
||||
version: 1.5.5(vue@3.5.22(typescript@5.9.3))
|
||||
vee-validate:
|
||||
specifier: ^4.15.1
|
||||
version: 4.15.1(vue@3.5.22(typescript@5.9.3))
|
||||
vue:
|
||||
specifier: 3.5.22
|
||||
version: 3.5.22(typescript@5.9.3)
|
||||
@@ -1931,11 +1925,6 @@ packages:
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
|
||||
'@vee-validate/zod@4.15.1':
|
||||
resolution: {integrity: sha512-329Z4TDBE5Vx0FdbA8S4eR9iGCFFUNGbxjpQ20ff5b5wGueScjocUIx9JHPa79LTG06RnlUR4XogQsjN4tecKA==}
|
||||
peerDependencies:
|
||||
zod: ^3.24.0
|
||||
|
||||
'@vitejs/plugin-vue-jsx@5.1.1':
|
||||
resolution: {integrity: sha512-uQkfxzlF8SGHJJVH966lFTdjM/lGcwJGzwAHpVqAPDD/QcsqoUGa+q31ox1BrUfi+FLP2ChVp7uLXE3DkHyDdQ==}
|
||||
engines: {node: ^20.19.0 || >=22.12.0}
|
||||
@@ -5001,11 +4990,6 @@ packages:
|
||||
validate-npm-package-license@3.0.4:
|
||||
resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==}
|
||||
|
||||
vee-validate@4.15.1:
|
||||
resolution: {integrity: sha512-DkFsiTwEKau8VIxyZBGdO6tOudD+QoUBPuHj3e6QFqmbfCRj1ArmYWue9lEp6jLSWBIw4XPlDLjFIZNLdRAMSg==}
|
||||
peerDependencies:
|
||||
vue: ^3.4.26
|
||||
|
||||
vfile-message@4.0.3:
|
||||
resolution: {integrity: sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==}
|
||||
|
||||
@@ -7013,14 +6997,6 @@ snapshots:
|
||||
'@unrs/resolver-binding-win32-x64-msvc@1.11.1':
|
||||
optional: true
|
||||
|
||||
'@vee-validate/zod@4.15.1(vue@3.5.22(typescript@5.9.3))(zod@3.25.76)':
|
||||
dependencies:
|
||||
type-fest: 4.41.0
|
||||
vee-validate: 4.15.1(vue@3.5.22(typescript@5.9.3))
|
||||
zod: 3.25.76
|
||||
transitivePeerDependencies:
|
||||
- vue
|
||||
|
||||
'@vitejs/plugin-vue-jsx@5.1.1(vite@7.1.12(@types/node@24.9.2)(sass@1.76.0)(tsx@4.20.6)(yaml@2.8.1))(vue@3.5.22(typescript@5.9.3))':
|
||||
dependencies:
|
||||
'@babel/core': 7.28.5
|
||||
@@ -10722,12 +10698,6 @@ snapshots:
|
||||
spdx-correct: 3.2.0
|
||||
spdx-expression-parse: 3.0.1
|
||||
|
||||
vee-validate@4.15.1(vue@3.5.22(typescript@5.9.3)):
|
||||
dependencies:
|
||||
'@vue/devtools-api': 7.7.7
|
||||
type-fest: 4.41.0
|
||||
vue: 3.5.22(typescript@5.9.3)
|
||||
|
||||
vfile-message@4.0.3:
|
||||
dependencies:
|
||||
'@types/unist': 3.0.3
|
||||
|
||||
Reference in New Issue
Block a user