@regle/nuxt 1.17.0 → 1.17.2
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 +4 -6
- package/dist/module.json +1 -1
- package/package.json +30 -31
package/README.md
CHANGED
|
@@ -6,20 +6,18 @@
|
|
|
6
6
|
|
|
7
7
|
# Regle
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
Regle \ʁɛɡl\ (French word for 'rule') is a Typescript-first model-based validation library for Vue 3.
|
|
11
10
|
It's heavily inspired by Vuelidate.
|
|
12
11
|
|
|
13
|
-
|
|
14
12
|
## 📚 Documentation
|
|
15
13
|
|
|
16
14
|
[](https://reglejs.dev/)
|
|
17
15
|
|
|
18
16
|
## 🎮 Play with it
|
|
19
17
|
|
|
20
|
-
| Playground
|
|
21
|
-
|
|
|
22
|
-
| <a target='_blank' href="https://play.reglejs.dev"><img width="180" src="https://raw.githubusercontent.com/victorgarciaesgi/regle/refs/heads/main/.github/images/regle-playground-button.svg" /></a> |
|
|
18
|
+
| Playground | Simple demo | Advanced Demo |
|
|
19
|
+
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
20
|
+
| <a target='_blank' href="https://play.reglejs.dev"><img width="180" src="https://raw.githubusercontent.com/victorgarciaesgi/regle/refs/heads/main/.github/images/regle-playground-button.svg" /></a> | [](https://stackblitz.com/~/github.com/victorgarciaesgi/regle-examples/tree/main/examples/simple-example?file=examples/simple-example/src/App.vue&configPath=examples/simple-example) | [](https://stackblitz.com/~/github.com/victorgarciaesgi/regle-examples/tree/main/examples/advanced-example?file=examples/advanced-example/src/App.vue&configPath=examples/advanced-example) |
|
|
23
21
|
|
|
24
22
|
## ✨ Features
|
|
25
23
|
|
|
@@ -35,4 +33,4 @@ It's heavily inspired by Vuelidate.
|
|
|
35
33
|
- ✅ **Alternative validation**: [Standard Schema](https://standardschema.dev/) spec validation support.
|
|
36
34
|
- 🦸♂️ [Zod](https://zod.dev/)
|
|
37
35
|
- 🤖 [Valibot](https://valibot.dev/)
|
|
38
|
-
- 🚢 [ArkType](https://arktype.io)
|
|
36
|
+
- 🚢 [ArkType](https://arktype.io)
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regle/nuxt",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.2",
|
|
4
4
|
"description": "Regle nuxt module",
|
|
5
|
+
"homepage": "https://reglejs.dev/",
|
|
5
6
|
"license": "MIT",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "Victor Garcia",
|
|
9
|
+
"url": "https://github.com/victorgarciaesgi"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/victorgarciaesgi/regle.git"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
6
18
|
"type": "module",
|
|
19
|
+
"main": "./dist/module.mjs",
|
|
20
|
+
"types": "./dist/types.d.mts",
|
|
7
21
|
"exports": {
|
|
8
22
|
".": {
|
|
9
23
|
"types": "./dist/types.d.mts",
|
|
@@ -14,49 +28,34 @@
|
|
|
14
28
|
"import": "./dist/runtime/defineRegleNuxtPlugin.js"
|
|
15
29
|
}
|
|
16
30
|
},
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"dist"
|
|
21
|
-
],
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public"
|
|
33
|
+
},
|
|
22
34
|
"dependencies": {
|
|
23
35
|
"@nuxt/kit": "4.2.2",
|
|
24
36
|
"@nuxt/schema": "4.2.2",
|
|
25
|
-
"@regle/core": "1.17.
|
|
26
|
-
"@regle/rules": "1.17.
|
|
27
|
-
},
|
|
28
|
-
"optionalDependencies": {
|
|
29
|
-
"@regle/schemas": "1.17.0"
|
|
37
|
+
"@regle/core": "1.17.2",
|
|
38
|
+
"@regle/rules": "1.17.2"
|
|
30
39
|
},
|
|
31
40
|
"devDependencies": {
|
|
32
41
|
"@nuxt/module-builder": "1.0.2",
|
|
33
|
-
"@nuxt/test-utils": "3.
|
|
34
|
-
"@playwright/test": "1.
|
|
35
|
-
"@types/node": "22.19.
|
|
42
|
+
"@nuxt/test-utils": "3.23.0",
|
|
43
|
+
"@playwright/test": "1.57.0",
|
|
44
|
+
"@types/node": "22.19.7",
|
|
36
45
|
"nuxt": "4.2.2",
|
|
37
|
-
"
|
|
38
|
-
"type-fest": "5.3.1",
|
|
46
|
+
"type-fest": "5.4.1",
|
|
39
47
|
"typescript": "5.9.3",
|
|
40
48
|
"unbuild": "3.6.1",
|
|
41
|
-
"vitest": "4.0.
|
|
42
|
-
"vue": "3.5.
|
|
43
|
-
"vue-tsc": "3.2.
|
|
49
|
+
"vitest": "4.0.17",
|
|
50
|
+
"vue": "3.5.27",
|
|
51
|
+
"vue-tsc": "3.2.2"
|
|
52
|
+
},
|
|
53
|
+
"optionalDependencies": {
|
|
54
|
+
"@regle/schemas": "1.17.2"
|
|
44
55
|
},
|
|
45
56
|
"engines": {
|
|
46
57
|
"node": "^20.19.0 || >=22.12.0"
|
|
47
58
|
},
|
|
48
|
-
"publishConfig": {
|
|
49
|
-
"access": "public"
|
|
50
|
-
},
|
|
51
|
-
"author": {
|
|
52
|
-
"name": "Victor Garcia",
|
|
53
|
-
"url": "https://github.com/victorgarciaesgi"
|
|
54
|
-
},
|
|
55
|
-
"homepage": "https://reglejs.dev/",
|
|
56
|
-
"repository": {
|
|
57
|
-
"type": "git",
|
|
58
|
-
"url": "git+https://github.com/victorgarciaesgi/regle.git"
|
|
59
|
-
},
|
|
60
59
|
"scripts": {
|
|
61
60
|
"turbo:postinstall": "pnpm exec playwright install",
|
|
62
61
|
"dev": "nuxt-module-build build --stub",
|