@liam-michel/simple-form 0.1.0 → 0.1.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 +3 -0
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
# @liam-michel/simple-form
|
|
2
2
|
|
|
3
|
+
[](https://github.com/liam-michel/simple-form/actions/workflows/ci.yml)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
3
5
|
[](https://www.npmjs.com/package/@liam-michel/simple-form)
|
|
4
6
|
[](https://www.npmjs.com/package/@liam-michel/simple-form)
|
|
7
|
+
[](https://www.typescriptlang.org/)
|
|
5
8
|
|
|
6
9
|
A type-safe, schema-driven form library for React. Define a [Zod](https://zod.dev) schema and get validated, fully-typed form fields out of the box — built on [React Hook Form](https://react-hook-form.com) and [Radix UI](https://www.radix-ui.com).
|
|
7
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liam-michel/simple-form",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "A type-safe form library built on React Hook Form and Zod",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -39,9 +39,10 @@
|
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "tsup",
|
|
41
41
|
"dev": "tsup --watch",
|
|
42
|
+
"lint": "eslint .",
|
|
42
43
|
"test": "vitest run",
|
|
43
44
|
"demo": "npm run --prefix examples/demo dev",
|
|
44
|
-
"prepublishOnly": "npm run build && npm run test"
|
|
45
|
+
"prepublishOnly": "npm run lint && npm run build && npm run test"
|
|
45
46
|
},
|
|
46
47
|
"peerDependencies": {
|
|
47
48
|
"react": ">=17",
|
|
@@ -62,15 +63,19 @@
|
|
|
62
63
|
"clsx": ">=2"
|
|
63
64
|
},
|
|
64
65
|
"devDependencies": {
|
|
66
|
+
"@eslint/js": "^10.0.1",
|
|
65
67
|
"@testing-library/jest-dom": "^6.9.1",
|
|
66
68
|
"@testing-library/react": "^16.3.2",
|
|
67
69
|
"@testing-library/user-event": "^14.6.1",
|
|
68
70
|
"@types/bun": "latest",
|
|
69
71
|
"@types/react": "^19.2.14",
|
|
72
|
+
"eslint": "^10.2.0",
|
|
73
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
70
74
|
"jsdom": "^29.0.1",
|
|
71
75
|
"react": "^19.2.4",
|
|
72
76
|
"react-dom": "^19.2.4",
|
|
73
77
|
"tsup": "^8.5.1",
|
|
78
|
+
"typescript-eslint": "^8.58.0",
|
|
74
79
|
"vitest": "^4.1.2"
|
|
75
80
|
}
|
|
76
81
|
}
|