@regle/nuxt 1.1.2 → 1.1.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 +16 -22
- package/dist/module.json +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -9,32 +9,26 @@ Regle \ʁɛɡl\ (French word for 'rule' ) is a Typescript-first model-based vali
|
|
|
9
9
|
It's heavily inspired by Vuelidate.
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
[](https://reglejs.dev/)
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
## Quick Setup
|
|
18
|
-
|
|
19
|
-
Install the module to your Nuxt application with one command:
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
npx nuxi module add regle
|
|
23
|
-
```
|
|
12
|
+
## 📚 Documentation
|
|
24
13
|
|
|
14
|
+
[](https://reglejs.dev/)
|
|
25
15
|
|
|
26
16
|
## 🎮 Play with it
|
|
27
17
|
|
|
28
|
-
| Simple demo | Advanced Demo |
|
|
29
|
-
| ------------- | ------------- |
|
|
30
|
-
| [](https://stackblitz.com/~/github.com/victorgarciaesgi/regle-examples/tree/main/examples/simple-example?file=examples/simple-example/src/App.vue&configPath=examples/simple-example) |
|
|
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) |
|
|
31
21
|
|
|
32
22
|
## 🧰 Features
|
|
33
|
-
- ✅ 100% type inference
|
|
34
|
-
- 📖 Model based validation
|
|
35
|
-
- 🛒 Collection validation
|
|
36
|
-
- 🪗 Extensible
|
|
37
|
-
- 🦸♂️ [Zod](https://zod.dev/) support
|
|
38
|
-
- 🤖 [Valibot](https://valibot.dev/) support
|
|
39
|
-
- 🪶 Light(~7kb gzip) and 0 dependencies
|
|
40
23
|
|
|
24
|
+
- ☁️ Headless
|
|
25
|
+
- ✅ Type safety
|
|
26
|
+
- 🧮 Model based
|
|
27
|
+
- 🧰 Modular
|
|
28
|
+
- 🔄 Async validation
|
|
29
|
+
- 🌐 Plug any i18n library
|
|
30
|
+
- 📗 Vuelidate like API
|
|
31
|
+
- Standard Schemas spec support
|
|
32
|
+
- 🦸♂️ [Zod](https://zod.dev/)
|
|
33
|
+
- 🤖 [Valibot](https://valibot.dev/)
|
|
34
|
+
- 🚢 [ArkType](https://arktype.io) 🚧
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regle/nuxt",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Regle nuxt module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@nuxt/kit": "3.16.2",
|
|
20
20
|
"@nuxt/schema": "3.16.2",
|
|
21
|
-
"@regle/
|
|
22
|
-
"@regle/
|
|
21
|
+
"@regle/rules": "1.1.3",
|
|
22
|
+
"@regle/core": "1.1.3"
|
|
23
23
|
},
|
|
24
24
|
"optionalDependencies": {
|
|
25
|
-
"@regle/schemas": "1.1.
|
|
25
|
+
"@regle/schemas": "1.1.3"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@nuxt/devtools": "2.4.0",
|