@volverjs/form-vue 0.0.5 → 0.0.7-beta.5

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -1
package/README.md CHANGED
@@ -466,7 +466,7 @@ const schema = z
466
466
  number: z.number().default(1)
467
467
  }),
468
468
  age: z.number().nullable().default(null),
469
- height: z.number().coerce().default(1.8),
469
+ height: z.coerce.number().default(1.8),
470
470
  weight: z.number().default(80)
471
471
  })
472
472
  .passthrough()
package/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "bugs": {
20
20
  "url": "https://github.com/volverjs/form-vue/issues"
21
21
  },
22
- "version": "0.0.5",
22
+ "version": "0.0.7-beta.5",
23
23
  "engines": {
24
24
  "node": ">= 16.x"
25
25
  },
@@ -41,6 +41,7 @@
41
41
  "zod": "^3.21.4"
42
42
  },
43
43
  "devDependencies": {
44
+ "@playwright/experimental-ct-vue": "^1.31.2",
44
45
  "@testing-library/vue": "^7.0.0",
45
46
  "@typescript-eslint/eslint-plugin": "^5.55.0",
46
47
  "@typescript-eslint/parser": "^5.55.0",
@@ -82,6 +83,7 @@
82
83
  "type-check": "tsc --noEmit",
83
84
  "build": "vite build && vue-tsc --declaration --emitDeclarationOnly && copy src/**/types.d.ts dist",
84
85
  "test": "vitest",
86
+ "test-playwright": "playwright test -c playwright-ct.config.ts",
85
87
  "credits": "npx @opengovsg/credits-generator"
86
88
  }
87
89
  }