Skip to content

Commit

Permalink
chore: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
victorgarciaesgi committed Jan 4, 2025
1 parent 8e856c1 commit 1963a09
Show file tree
Hide file tree
Showing 14 changed files with 1,516 additions and 1,285 deletions.
3 changes: 2 additions & 1 deletion docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,9 @@ export default defineConfig({
['meta', { name: 'twitter:domain', content: 'reglejs.dev' }],
['meta', { name: 'twitter:description', content: 'Regle is a type safe form validation library made for Vue.js' }],
['meta', { name: 'twitter:url', content: 'https://reglejs.dev' }],
['meta', { name: 'twitter:title', content: 'Regle' }],
['meta', { name: 'twitter:image', content: 'https://reglejs.dev/banner-og.png' }],
['meta', { name: 'twitter:card', content: 'summary_large_image' }],
['meta', { name: 'google-site-verification', content: 'mYJKnciAjHTdI7nsB2xame8QO61IeKoXCZeGyWGjs-4' }],
],
markdown: {
codeTransformers: [transformerTwoslash({}) as any],
Expand Down
2 changes: 1 addition & 1 deletion docs/src/core-concepts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const { r$ } = useRegle(state, {

If you’ve used Vuelidate before, useRegle behaves similarly to `v$`.

Regle is a reactive object containing various computed properties and methods that you can freely use based on your requirements.
`r$` is a reactive object containing the values, errors, dirty state and all the necessary validations properties you'll need to display informations.

You can find all the [available properties here](/core-concepts/validation-properties)

Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
"@playwright/test": "1.49.1",
"@regle/core": "workspace:*",
"@regle/rules": "workspace:*",
"@regle/zod": "workspace:*",
"@regle/valibot": "workspace:*",
"@shikijs/vitepress-twoslash": "1.24.4",
"@regle/zod": "workspace:*",
"@shikijs/vitepress-twoslash": "1.26.1",
"@tailwindcss/forms": "0.5.9",
"@types/semver": "7.5.8",
"@typescript-eslint/eslint-plugin": "8.18.1",
"@typescript-eslint/parser": "8.18.1",
"@typescript-eslint/eslint-plugin": "8.19.0",
"@typescript-eslint/parser": "8.19.0",
"@vitejs/plugin-vue": "5.2.1",
"@vitest/coverage-istanbul": "2.1.8",
"@vitest/coverage-v8": "2.1.8",
Expand All @@ -50,7 +50,7 @@
"eslint": "catalog:",
"eslint-config-prettier": "catalog:",
"eslint-plugin-vue": "catalog:",
"happy-dom": "15.11.7",
"happy-dom": "16.3.0",
"pinia": "catalog:",
"playwright": "1.49.1",
"playwright-core": "1.49.1",
Expand All @@ -63,15 +63,15 @@
"tsup": "catalog:",
"tsx": "4.19.2",
"typescript": "catalog:",
"valibot": "1.0.0-beta.9",
"vitepress": "1.5.0",
"vitepress-plugin-group-icons": "1.3.2",
"vitest": "2.1.8",
"vue": "catalog:",
"vue-eslint-parser": "catalog:",
"vue-tsc": "catalog:",
"zod": "3.24.1",
"valibot": "1.0.0-beta.9",
"zx": "8.2.4"
"zx": "8.3.0"
},
"type": "module",
"main": "./dist/module.cjs",
Expand Down
8 changes: 4 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@
"devDependencies": {
"@total-typescript/ts-reset": "0.6.1",
"@types/node": "22.10.2",
"@typescript-eslint/eslint-plugin": "8.18.1",
"@typescript-eslint/parser": "8.18.1",
"@typescript-eslint/eslint-plugin": "8.19.0",
"@typescript-eslint/parser": "8.19.0",
"@vue/test-utils": "2.4.6",
"bumpp": "9.9.2",
"changelogithub": "0.13.11",
"cross-env": "7.0.3",
"eslint": "catalog:",
"eslint-config-prettier": "catalog:",
"eslint-plugin-vue": "catalog:",
"expect-type": "1.1.0",
"prettier": "catalog:",
"tsup": "catalog:",
"type-fest": "4.30.2",
"expect-type": "1.1.0",
"type-fest": "4.31.0",
"typescript": "catalog:",
"vitest": "2.1.8",
"vue": "catalog:",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/core/useRegle/useRegle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export function createUseRegleComposable<
*
* @param state - This can be a plain object, a ref, a reactive object, or a structure containing nested refs.
* @param rules - These should align with the structure of your state.
* @param modifiers - Customize computed beahviour
* @param modifiers - Customize regle behaviour
*
* ```ts
* import { useRegle } from '@regle/core';
Expand Down
5 changes: 5 additions & 0 deletions packages/core/src/types/core/useRegle.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ export interface Regle<
TValidationGroups extends Record<string, RegleValidationGroupEntry[]> = {},
TShortcuts extends RegleShortcutDefinition = {},
> {
/**
* r$ is a reactive object containing the values, errors, dirty state and all the necessary validations properties you'll need to display informations.
*
* To see the list of properties: {@link https://www.reglejs.dev/core-concepts/validation-properties}
*/
r$: RegleRoot<TState, TRules, TValidationGroups, TShortcuts>;
}

Expand Down
12 changes: 6 additions & 6 deletions packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"test:watch": "vitest watch"
},
"dependencies": {
"@nuxt/kit": "3.14.1592",
"@nuxt/schema": "3.14.1592",
"@nuxt/kit": "3.15.0",
"@nuxt/schema": "3.15.0",
"@regle/core": "workspace:*",
"@regle/rules": "workspace:*"
},
Expand All @@ -40,7 +40,7 @@
"@regle/zod": "workspace:*"
},
"devDependencies": {
"@nuxt/devtools": "1.6.4",
"@nuxt/devtools": "1.7.0",
"@nuxt/eslint-config": "0.7.4",
"@nuxt/module-builder": "0.8.4",
"@nuxt/schema": "3.14.1592",
Expand All @@ -51,12 +51,12 @@
"eslint": "catalog:",
"eslint-config-prettier": "catalog:",
"eslint-plugin-vue": "catalog:",
"nuxt": "3.14.1592",
"nuxt": "3.15.0",
"prettier": "catalog:",
"tsup": "catalog:",
"type-fest": "4.30.2",
"type-fest": "4.31.0",
"typescript": "catalog:",
"unbuild": "3.0.1",
"unbuild": "3.2.0",
"vitest": "2.1.8",
"vue": "catalog:",
"vue-eslint-parser": "catalog:",
Expand Down
6 changes: 3 additions & 3 deletions packages/rules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"@regle/core": "workspace:*"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "8.18.1",
"@typescript-eslint/parser": "8.18.1",
"@typescript-eslint/eslint-plugin": "8.19.0",
"@typescript-eslint/parser": "8.19.0",
"@vue/reactivity": "catalog:",
"@vue/test-utils": "2.4.6",
"bumpp": "9.9.2",
Expand All @@ -25,7 +25,7 @@
"eslint-plugin-vue": "catalog:",
"prettier": "catalog:",
"tsup": "catalog:",
"type-fest": "4.30.2",
"type-fest": "4.31.0",
"typescript": "catalog:",
"vitest": "2.1.8",
"vue": "catalog:",
Expand Down
4 changes: 2 additions & 2 deletions packages/valibot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"devDependencies": {
"@total-typescript/ts-reset": "0.6.1",
"@types/node": "22.10.2",
"@typescript-eslint/eslint-plugin": "8.18.1",
"@typescript-eslint/parser": "8.18.1",
"@typescript-eslint/eslint-plugin": "8.19.0",
"@typescript-eslint/parser": "8.19.0",
"@vue/test-utils": "2.4.6",
"bumpp": "9.9.2",
"changelogithub": "0.13.11",
Expand Down
4 changes: 2 additions & 2 deletions packages/zod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"devDependencies": {
"@total-typescript/ts-reset": "0.6.1",
"@types/node": "22.10.2",
"@typescript-eslint/eslint-plugin": "8.18.1",
"@typescript-eslint/parser": "8.18.1",
"@typescript-eslint/eslint-plugin": "8.19.0",
"@typescript-eslint/parser": "8.19.0",
"@vue/test-utils": "2.4.6",
"bumpp": "9.9.2",
"changelogithub": "0.13.11",
Expand Down
4 changes: 2 additions & 2 deletions playground/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"@regle/core": "workspace:*",
"@regle/rules": "workspace:*",
"@regle/zod": "workspace:*",
"pinia": "^2.2.6",
"pinia": "^2.3.0",
"typescript": "5.6.3",
"zod": "3.24.1"
},
"devDependencies": {
"nuxt": "^3.14.1592",
"nuxt": "^3.15.0",
"vue": "^3.5.13",
"vue-router": "^4.5.0"
},
Expand Down
4 changes: 2 additions & 2 deletions playground/vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@types/node": "^22.10.2",
"@vitejs/plugin-vue": "^5.2.1",
"@vue/eslint-config-prettier": "^10.0.0",
"@vue/eslint-config-typescript": "^14.1.4",
"@vue/eslint-config-typescript": "^14.2.0",
"@vue/tsconfig": "^0.7.0",
"eslint": "catalog:",
"eslint-config-prettier": "catalog:",
Expand All @@ -35,7 +35,7 @@
"prettier": "catalog:",
"tsup": "catalog:",
"typescript": "catalog:",
"vite": "^6.0.5",
"vite": "^6.0.7",
"vue-eslint-parser": "catalog:",
"vue-tsc": "catalog:"
}
Expand Down
Loading

0 comments on commit 1963a09

Please sign in to comment.