@regle/nuxt 1.1.2 → 1.2.0-beta.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 CHANGED
@@ -5,36 +5,30 @@
5
5
  # Regle
6
6
 
7
7
 
8
- Regle \ʁɛɡl\ (French word for 'rule' ) is a Typescript-first model-based validation library for Vue 3.
8
+ Regle \ʁɛɡl\ (French word for 'rule') is a Typescript-first model-based validation library for Vue 3.
9
9
  It's heavily inspired by Vuelidate.
10
10
 
11
11
 
12
- # 📚 Documentation
13
-
14
- [![Documentation](https://raw.githubusercontent.com/victorgarciaesgi/regle/refs/heads/main/.github/images/redirectDoc.svg)](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
+ [![Documentation](https://raw.githubusercontent.com/victorgarciaesgi/regle/refs/heads/main/.github/images/redirectDoc.svg)](https://reglejs.dev/)
25
15
 
26
16
  ## 🎮 Play with it
27
17
 
28
- | Simple demo | Advanced Demo |
29
- | ------------- | ------------- |
30
- | [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/~/github.com/victorgarciaesgi/regle-examples/tree/main/examples/simple-example?file=examples/simple-example/src/App.vue&configPath=examples/simple-example) | [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/~/github.com/victorgarciaesgi/regle-examples/tree/main/examples/advanced-example?file=examples/advanced-example/src/App.vue&configPath=examples/advanced-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> | [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/~/github.com/victorgarciaesgi/regle-examples/tree/main/examples/simple-example?file=examples/simple-example/src/App.vue&configPath=examples/simple-example) | [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](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 compatible 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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "regle",
3
3
  "configKey": "regle",
4
- "version": "1.1.2",
4
+ "version": "1.2.0-beta.2",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.1",
7
7
  "unbuild": "3.5.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regle/nuxt",
3
- "version": "1.1.2",
3
+ "version": "1.2.0-beta.2",
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/core": "1.1.2",
22
- "@regle/rules": "1.1.2"
21
+ "@regle/rules": "1.2.0-beta.2",
22
+ "@regle/core": "1.2.0-beta.2"
23
23
  },
24
24
  "optionalDependencies": {
25
- "@regle/schemas": "1.1.2"
25
+ "@regle/schemas": "1.2.0-beta.2"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@nuxt/devtools": "2.4.0",