diff --git a/.changeset/odd-crabs-cry.md b/.changeset/odd-crabs-cry.md new file mode 100644 index 0000000..452d7ae --- /dev/null +++ b/.changeset/odd-crabs-cry.md @@ -0,0 +1,10 @@ +--- +"@autoform/mantine": minor +"@autoform/shadcn": minor +"@autoform/react": minor +"@autoform/mui": minor +"@autoform/yup": minor +"@autoform/zod": minor +--- + +Mark react and zod as peerDependencies, allow React 19 as a peer dependency diff --git a/.gitignore b/.gitignore index 96fab4f..32395f6 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,4 @@ yarn-error.log* # Misc .DS_Store *.pem +.idea diff --git a/apps/docs/pages/docs/react/custom-integration.mdx b/apps/docs/pages/docs/react/custom-integration.mdx index 875c7c3..83f5f71 100644 --- a/apps/docs/pages/docs/react/custom-integration.mdx +++ b/apps/docs/pages/docs/react/custom-integration.mdx @@ -261,7 +261,7 @@ Update your `package.json` file with the appropriate information and scripts: "prepublishOnly": "npm run build" }, "peerDependencies": { - "react": "^17.0.0 || ^18.0.0", + "react": "^17 || ^18 || ^19", "@autoform/react": "^1.0.0", "@autoform/core": "^1.0.0" }, diff --git a/package-lock.json b/package-lock.json index efe985a..929dc44 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1554,6 +1554,7 @@ "cpu": [ "ppc64" ], + "dev": true, "optional": true, "os": [ "aix" @@ -1569,6 +1570,7 @@ "cpu": [ "arm" ], + "dev": true, "optional": true, "os": [ "android" @@ -1584,6 +1586,7 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "android" @@ -1599,6 +1602,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "android" @@ -1614,6 +1618,7 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "darwin" @@ -1629,6 +1634,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "darwin" @@ -1644,6 +1650,7 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "freebsd" @@ -1659,6 +1666,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "freebsd" @@ -1674,6 +1682,7 @@ "cpu": [ "arm" ], + "dev": true, "optional": true, "os": [ "linux" @@ -1689,6 +1698,7 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "linux" @@ -1704,6 +1714,7 @@ "cpu": [ "ia32" ], + "dev": true, "optional": true, "os": [ "linux" @@ -1719,6 +1730,7 @@ "cpu": [ "loong64" ], + "dev": true, "optional": true, "os": [ "linux" @@ -1734,6 +1746,7 @@ "cpu": [ "mips64el" ], + "dev": true, "optional": true, "os": [ "linux" @@ -1749,6 +1762,7 @@ "cpu": [ "ppc64" ], + "dev": true, "optional": true, "os": [ "linux" @@ -1764,6 +1778,7 @@ "cpu": [ "riscv64" ], + "dev": true, "optional": true, "os": [ "linux" @@ -1779,6 +1794,7 @@ "cpu": [ "s390x" ], + "dev": true, "optional": true, "os": [ "linux" @@ -1794,6 +1810,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "linux" @@ -1809,6 +1826,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "netbsd" @@ -1824,6 +1842,7 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "openbsd" @@ -1839,6 +1858,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "openbsd" @@ -1854,6 +1874,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "sunos" @@ -1869,6 +1890,7 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "win32" @@ -1884,6 +1906,7 @@ "cpu": [ "ia32" ], + "dev": true, "optional": true, "os": [ "win32" @@ -1899,6 +1922,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "win32" @@ -4521,6 +4545,7 @@ "cpu": [ "arm" ], + "dev": true, "optional": true, "os": [ "android" @@ -4533,6 +4558,7 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "android" @@ -4545,6 +4571,7 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "darwin" @@ -4557,6 +4584,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "darwin" @@ -4569,6 +4597,7 @@ "cpu": [ "arm" ], + "dev": true, "optional": true, "os": [ "linux" @@ -4581,6 +4610,7 @@ "cpu": [ "arm" ], + "dev": true, "optional": true, "os": [ "linux" @@ -4593,6 +4623,7 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "linux" @@ -4605,6 +4636,7 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "linux" @@ -4617,6 +4649,7 @@ "cpu": [ "ppc64" ], + "dev": true, "optional": true, "os": [ "linux" @@ -4629,6 +4662,7 @@ "cpu": [ "riscv64" ], + "dev": true, "optional": true, "os": [ "linux" @@ -4641,6 +4675,7 @@ "cpu": [ "s390x" ], + "dev": true, "optional": true, "os": [ "linux" @@ -4653,6 +4688,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "linux" @@ -4665,6 +4701,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "linux" @@ -4677,6 +4714,7 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "win32" @@ -4689,6 +4727,7 @@ "cpu": [ "ia32" ], + "dev": true, "optional": true, "os": [ "win32" @@ -4701,6 +4740,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "win32" @@ -6573,6 +6613,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/bundle-require/-/bundle-require-5.0.0.tgz", "integrity": "sha512-GuziW3fSSmopcx4KRymQEJVbZUfqlCqcq7dvs6TYwKRZiegK/2buMxQTPs6MGlNv50wms1699qYO54R8XfRX4w==", + "dev": true, "dependencies": { "load-tsconfig": "^0.2.3" }, @@ -6596,6 +6637,7 @@ "version": "6.7.14", "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz", "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==", + "dev": true, "engines": { "node": ">=8" } @@ -7176,6 +7218,7 @@ "version": "3.2.3", "resolved": "https://registry.npmjs.org/consola/-/consola-3.2.3.tgz", "integrity": "sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==", + "dev": true, "engines": { "node": "^14.18.0 || >=16.10.0" } @@ -8678,6 +8721,7 @@ "version": "0.23.1", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.23.1.tgz", "integrity": "sha512-VVNz/9Sa0bs5SELtn3f7qhJCDPCF5oMEl5cO9/SSinpE9hbPVvxbd572HH5AKiP7WD8INO53GgfDDhRjkylHEg==", + "dev": true, "hasInstallScript": true, "bin": { "esbuild": "bin/esbuild" @@ -9956,6 +10000,7 @@ }, "node_modules/execa": { "version": "5.1.1", + "dev": true, "license": "MIT", "dependencies": { "cross-spawn": "^7.0.3", @@ -10403,6 +10448,7 @@ }, "node_modules/get-stream": { "version": "6.0.1", + "dev": true, "license": "MIT", "engines": { "node": ">=10" @@ -11179,6 +11225,7 @@ }, "node_modules/human-signals": { "version": "2.1.0", + "dev": true, "license": "Apache-2.0", "engines": { "node": ">=10.17.0" @@ -11823,6 +11870,7 @@ }, "node_modules/is-stream": { "version": "2.0.1", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -12028,6 +12076,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/joycon/-/joycon-3.1.1.tgz", "integrity": "sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==", + "dev": true, "engines": { "node": ">=10" } @@ -12254,6 +12303,7 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.2.tgz", "integrity": "sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==", + "dev": true, "engines": { "node": ">=14" }, @@ -12361,6 +12411,7 @@ "version": "0.2.5", "resolved": "https://registry.npmjs.org/load-tsconfig/-/load-tsconfig-0.2.5.tgz", "integrity": "sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==", + "dev": true, "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } @@ -12423,7 +12474,8 @@ "node_modules/lodash.sortby": { "version": "4.7.0", "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", - "integrity": "sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==" + "integrity": "sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==", + "dev": true }, "node_modules/lodash.startcase": { "version": "4.4.0", @@ -13050,6 +13102,7 @@ }, "node_modules/merge-stream": { "version": "2.0.0", + "dev": true, "license": "MIT" }, "node_modules/merge2": { @@ -14750,6 +14803,7 @@ }, "node_modules/mimic-fn": { "version": "2.1.0", + "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -15348,6 +15402,7 @@ }, "node_modules/npm-run-path": { "version": "4.0.1", + "dev": true, "license": "MIT", "dependencies": { "path-key": "^3.0.0" @@ -15502,6 +15557,7 @@ }, "node_modules/onetime": { "version": "5.1.2", + "dev": true, "license": "MIT", "dependencies": { "mimic-fn": "^2.1.0" @@ -16093,6 +16149,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-6.0.1.tgz", "integrity": "sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==", + "dev": true, "funding": [ { "type": "opencollective", @@ -16351,6 +16408,7 @@ }, "node_modules/punycode": { "version": "2.3.1", + "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -17308,6 +17366,7 @@ "version": "4.24.0", "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.24.0.tgz", "integrity": "sha512-DOmrlGSXNk1DM0ljiQA+i+o0rSLhtii1je5wgk60j49d1jHT5YYttBv1iWOnYSTG+fZZESUOSNiAl89SIet+Cg==", + "dev": true, "dependencies": { "@types/estree": "1.0.6" }, @@ -18089,6 +18148,7 @@ }, "node_modules/strip-final-newline": { "version": "2.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -18447,6 +18507,7 @@ "version": "0.2.9", "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.9.tgz", "integrity": "sha512-8or1+BGEdk1Zkkw2ii16qSS7uVrQJPre5A9o/XkWPATkk23FZh/15BKFxPnlTy6vkljZxLqYCzzBMj30ZrSvjw==", + "dev": true, "dependencies": { "fdir": "^6.4.0", "picomatch": "^4.0.2" @@ -18459,6 +18520,7 @@ "version": "6.4.0", "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.0.tgz", "integrity": "sha512-3oB133prH1o4j/L5lLW7uOCF1PlD+/It2L0eL/iAqWMB91RBbqTewABqxhj0ibBd90EEmWZq7ntIWzVaWcXTGQ==", + "dev": true, "peerDependencies": { "picomatch": "^3 || ^4" }, @@ -18472,6 +18534,7 @@ "version": "4.0.2", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", + "dev": true, "engines": { "node": ">=12" }, @@ -18624,6 +18687,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", "integrity": "sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==", + "dev": true, "dependencies": { "punycode": "^2.1.0" } @@ -18632,6 +18696,7 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", + "dev": true, "bin": { "tree-kill": "cli.js" } @@ -18750,6 +18815,7 @@ "version": "8.3.0", "resolved": "https://registry.npmjs.org/tsup/-/tsup-8.3.0.tgz", "integrity": "sha512-ALscEeyS03IomcuNdFdc0YWGVIkwH1Ws7nfTbAPuoILvEV2hpGQAY72LIOjglGo4ShWpZfpBqP/jpQVCzqYQag==", + "dev": true, "dependencies": { "bundle-require": "^5.0.0", "cac": "^6.7.14", @@ -18800,6 +18866,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, "engines": { "node": ">=8" } @@ -18808,6 +18875,7 @@ "version": "0.8.0-beta.0", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.8.0-beta.0.tgz", "integrity": "sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==", + "dev": true, "dependencies": { "whatwg-url": "^7.0.0" }, @@ -19512,12 +19580,14 @@ "node_modules/webidl-conversions": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", - "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==" + "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==", + "dev": true }, "node_modules/whatwg-url": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==", + "dev": true, "dependencies": { "lodash.sortby": "^4.7.0", "tr46": "^1.0.1", @@ -19813,16 +19883,14 @@ }, "packages/mantine": { "name": "@autoform/mantine", - "version": "2.1.0", + "version": "2.2.0", "dependencies": { "@autoform/core": "*", "@autoform/react": "*", "@autoform/zod": "*", "@mantine/core": "^7.0.0", "@mantine/dates": "^7.0.0", - "@tabler/icons-react": "^3.0.0", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "tsup": "^8.3.0" + "@tabler/icons-react": "^3.0.0" }, "devDependencies": { "@autoform/eslint-config": "*", @@ -19832,10 +19900,12 @@ "@types/react": "^18.2.61", "@types/react-dom": "^18.2.19", "eslint": "^8.57.0", + "react": "^18.3.1", + "tsup": "^8.3.0", "typescript": "^5.3.3" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + "react": "^16.8.0 || ^17 || ^18 || ^19" } }, "packages/mui": { @@ -19848,9 +19918,7 @@ "@emotion/react": "^11.0.0", "@emotion/styled": "^11.0.0", "@mui/icons-material": "^6.1.3", - "@mui/material": "^5.0.0", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "tsup": "^8.3.0" + "@mui/material": "^5.0.0" }, "devDependencies": { "@autoform/eslint-config": "*", @@ -19860,13 +19928,15 @@ "@types/react": "^18.2.61", "@types/react-dom": "^18.2.19", "eslint": "^8.57.0", + "react": "^18.3.1", + "tsup": "^8.3.0", "typescript": "^5.3.3" }, "peerDependencies": { "@emotion/react": "^11.0.0", "@emotion/styled": "^11.0.0", "@mui/material": "^5.0.0", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + "react": "^16.8.0 || ^17 || ^18 || ^19" } }, "packages/mui/node_modules/@mui/core-downloads-tracker": { @@ -20059,8 +20129,7 @@ "@autoform/core": "*", "@autoform/yup": "*", "@autoform/zod": "*", - "@hookform/resolvers": "^3.9.0", - "react": "^18.2.0" + "@hookform/resolvers": "^3.9.0" }, "devDependencies": { "@autoform/eslint-config": "*", @@ -20071,12 +20140,14 @@ "@types/react": "^18.2.61", "@types/react-dom": "^18.2.19", "eslint": "^8.57.0", + "react": "^18.3.1", "react-hook-form": "^7.53.0", "tsup": "^8.3.0", "typescript": "^5.3.3" }, "peerDependencies": { - "react-hook-form": "^7.53.0" + "react": "^16.8.0 || ^17 || ^18 || ^19", + "react-hook-form": "^7" } }, "packages/shadcn": { @@ -20098,12 +20169,7 @@ "clsx": "^2.1.1", "date-fns": "^3.6.0", "lucide-react": "*", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-day-picker": "^8.10.1", - "tailwind-merge": "^2.3.0", - "tailwindcss-animate": "^1.0.7", - "tsup": "^8.3.0", - "zod": "^3.23.8" + "react-day-picker": "^8.10.1" }, "devDependencies": { "@autoform/eslint-config": "*", @@ -20116,13 +20182,19 @@ "eslint": "^8.57.0", "postcss": "^8", "postcss-load-config": "^6", + "react": "^18.3.1", "react-hook-form": "^7.53.0", + "tailwind-merge": "^2.3.0", "tailwindcss": "*", - "typescript": "^5.3.3" + "tailwindcss-animate": "^1.0.7", + "tsup": "^8.3.0", + "typescript": "^5.3.3", + "zod": "^3.23.8" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-hook-form": "^7.53.0" + "react": "^16.8.0 || ^17 || ^18 || ^19", + "react-hook-form": "^7", + "zod": "^3" } }, "packages/ts": { @@ -20175,8 +20247,7 @@ "name": "@autoform/yup", "version": "2.0.0", "dependencies": { - "@autoform/core": "*", - "yup": "^1.4.0" + "@autoform/core": "*" }, "devDependencies": { "@autoform/eslint-config": "*", @@ -20188,15 +20259,18 @@ "@types/react-dom": "^18.2.19", "eslint": "^8.57.0", "tsup": "^8.3.0", - "typescript": "^5.3.3" + "typescript": "^5.3.3", + "yup": "^1.4.0" + }, + "peerDependencies": { + "yup": "^1.4.0" } }, "packages/zod": { "name": "@autoform/zod", "version": "2.0.0", "dependencies": { - "@autoform/core": "*", - "zod": "^3.23.8" + "@autoform/core": "*" }, "devDependencies": { "@autoform/eslint-config": "*", @@ -20208,7 +20282,11 @@ "@types/react-dom": "^18.2.19", "eslint": "^8.57.0", "tsup": "^8.3.0", - "typescript": "^5.3.3" + "typescript": "^5.3.3", + "zod": "^3.23.8" + }, + "peerDependencies": { + "zod": "^3" } } } diff --git a/packages/mantine/package.json b/packages/mantine/package.json index 398c4c0..e8c68f6 100644 --- a/packages/mantine/package.json +++ b/packages/mantine/package.json @@ -21,6 +21,8 @@ "@types/react": "^18.2.61", "@types/react-dom": "^18.2.19", "eslint": "^8.57.0", + "react": "^18.3.1", + "tsup": "^8.3.0", "typescript": "^5.3.3" }, "dependencies": { @@ -29,11 +31,9 @@ "@autoform/zod": "*", "@mantine/core": "^7.0.0", "@mantine/dates": "^7.0.0", - "@tabler/icons-react": "^3.0.0", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "tsup": "^8.3.0" + "@tabler/icons-react": "^3.0.0" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + "react": "^16.8.0 || ^17 || ^18 || ^19" } } diff --git a/packages/mui/package.json b/packages/mui/package.json index 5449730..68947b9 100644 --- a/packages/mui/package.json +++ b/packages/mui/package.json @@ -21,6 +21,8 @@ "@types/react": "^18.2.61", "@types/react-dom": "^18.2.19", "eslint": "^8.57.0", + "react": "^18.3.1", + "tsup": "^8.3.0", "typescript": "^5.3.3" }, "dependencies": { @@ -30,14 +32,12 @@ "@emotion/react": "^11.0.0", "@emotion/styled": "^11.0.0", "@mui/icons-material": "^6.1.3", - "@mui/material": "^5.0.0", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "tsup": "^8.3.0" + "@mui/material": "^5.0.0" }, "peerDependencies": { "@emotion/react": "^11.0.0", "@emotion/styled": "^11.0.0", "@mui/material": "^5.0.0", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + "react": "^16.8.0 || ^17 || ^18 || ^19" } } diff --git a/packages/react/package.json b/packages/react/package.json index 8ac35d1..dd53782 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -22,18 +22,19 @@ "@types/react": "^18.2.61", "@types/react-dom": "^18.2.19", "eslint": "^8.57.0", + "react": "^18.3.1", + "react-hook-form": "^7.53.0", "tsup": "^8.3.0", - "typescript": "^5.3.3", - "react-hook-form": "^7.53.0" + "typescript": "^5.3.3" }, "dependencies": { "@autoform/core": "*", "@autoform/zod": "*", "@autoform/yup": "*", - "@hookform/resolvers": "^3.9.0", - "react": "^18.2.0" + "@hookform/resolvers": "^3.9.0" }, "peerDependencies": { - "react-hook-form": "^7.53.0" + "react": "^16.8.0 || ^17 || ^18 || ^19", + "react-hook-form": "^7" } } diff --git a/packages/shadcn/package.json b/packages/shadcn/package.json index 18dfc15..022b15f 100644 --- a/packages/shadcn/package.json +++ b/packages/shadcn/package.json @@ -31,11 +31,16 @@ "@types/react-dom": "^18.2.19", "autoprefixer": "^10", "eslint": "^8.57.0", - "react-hook-form": "^7.53.0", "postcss": "^8", "postcss-load-config": "^6", + "react": "^18.3.1", + "react-hook-form": "^7.53.0", + "tailwind-merge": "^2.3.0", "tailwindcss": "*", - "typescript": "^5.3.3" + "tailwindcss-animate": "^1.0.7", + "tsup": "^8.3.0", + "typescript": "^5.3.3", + "zod": "^3.23.8" }, "dependencies": { "@autoform/core": "*", @@ -53,15 +58,11 @@ "clsx": "^2.1.1", "date-fns": "^3.6.0", "lucide-react": "*", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-day-picker": "^8.10.1", - "tailwind-merge": "^2.3.0", - "tailwindcss-animate": "^1.0.7", - "tsup": "^8.3.0", - "zod": "^3.23.8" + "react-day-picker": "^8.10.1" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-hook-form": "^7.53.0" + "react": "^16.8.0 || ^17 || ^18 || ^19", + "react-hook-form": "^7", + "zod": "^3" } } diff --git a/packages/yup/package.json b/packages/yup/package.json index a30718c..34ed6c6 100644 --- a/packages/yup/package.json +++ b/packages/yup/package.json @@ -23,10 +23,13 @@ "@types/react-dom": "^18.2.19", "eslint": "^8.57.0", "tsup": "^8.3.0", - "typescript": "^5.3.3" + "typescript": "^5.3.3", + "yup": "^1.4.0" }, "dependencies": { - "@autoform/core": "*", + "@autoform/core": "*" + }, + "peerDependencies": { "yup": "^1.4.0" } } diff --git a/packages/zod/package.json b/packages/zod/package.json index ca14ee9..2e318fe 100644 --- a/packages/zod/package.json +++ b/packages/zod/package.json @@ -23,10 +23,13 @@ "@types/react-dom": "^18.2.19", "eslint": "^8.57.0", "tsup": "^8.3.0", - "typescript": "^5.3.3" + "typescript": "^5.3.3", + "zod": "^3.23.8" }, "dependencies": { - "@autoform/core": "*", - "zod": "^3.23.8" + "@autoform/core": "*" + }, + "peerDependencies": { + "zod": "^3" } }