@zemkogabor/vue-form-validator 0.0.1 → 0.0.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 +7 -1
- package/dist/Validator.d.ts +7 -0
- package/dist/index.d.ts +1 -0
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -3,7 +3,13 @@
|
|
|
3
3
|
A lightweight Vue.js library that implements the JavaScript Constraint Validation API,
|
|
4
4
|
offering advanced form validation with custom error messages and internationalization support.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
## Usage
|
|
7
|
+
```
|
|
8
|
+
yarn add @zemkogabor/vue-form-validator
|
|
7
9
|
|
|
10
|
+
or
|
|
8
11
|
|
|
12
|
+
npm install @zemkogabor/vue-form-validator
|
|
13
|
+
```
|
|
9
14
|
|
|
15
|
+
Examples see [here](https://github.com/zemkogabor/vue-form-validator/blob/main/dev/App.vue).
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useValidator } from './Validator';
|
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zemkogabor/vue-form-validator",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "A lightweight Vue.js library that implements the JavaScript Constraint Validation API, offering advanced form validation with custom error messages and internationalization support.",
|
|
5
5
|
"module": "./dist/vue-form-validator.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
6
7
|
"type": "module",
|
|
7
8
|
"exports": {
|
|
8
9
|
".": {
|
|
9
|
-
"import": "./dist/vue-form-validator.js"
|
|
10
|
+
"import": "./dist/vue-form-validator.js",
|
|
11
|
+
"types": "./dist/index.d.ts"
|
|
10
12
|
}
|
|
11
13
|
},
|
|
12
14
|
"files": [
|
|
@@ -49,8 +51,9 @@
|
|
|
49
51
|
"eslint-plugin-vue": "^9.22.0",
|
|
50
52
|
"typescript": "~5.3.0",
|
|
51
53
|
"vite": "^5.0.11",
|
|
52
|
-
"
|
|
54
|
+
"vite-plugin-dts": "^3.8.3",
|
|
53
55
|
"vue": "^3.4.21",
|
|
56
|
+
"vue-i18n": "^9.10.1",
|
|
54
57
|
"vue-tsc": "^1.8.27"
|
|
55
58
|
}
|
|
56
59
|
}
|