{"_id":"@7nohe/laravel-zodgen","_rev":"9-2a77db8503a2a484eece0689cbac8b55","name":"@7nohe/laravel-zodgen","dist-tags":{"latest":"0.2.2"},"versions":{"0.1.0":{"name":"@7nohe/laravel-zodgen","version":"0.1.0","keywords":["zod","laravel","typescript","validation","zodgen"],"author":{"url":"@7nohe","name":"Daiki Urata"},"license":"MIT","_id":"@7nohe/laravel-zodgen@0.1.0","maintainers":[{"name":"7nohe","email":"7nohe.urata@gmail.com"}],"homepage":"https://github.com/7nohe/laravel-zodgen","bugs":{"url":"https://github.com/7nohe/laravel-zodgen/issues"},"bin":{"laravel-zodgen":"dist/src/cli.js"},"dist":{"shasum":"08c07300981d7c9ad056a679902df69647f12d12","tarball":"https://registry.npmjs.org/@7nohe/laravel-zodgen/-/laravel-zodgen-0.1.0.tgz","fileCount":19,"integrity":"sha512-a+6Db2TC4SUC3PDYj98erTE6Z9lamuyFSfGmDQaa2vzizSPW+ujFcojYpvw0cSZh9pazwiY369mNq/b4NkAGOg==","signatures":[{"sig":"MEUCIQC68BG5RFz44z0nTMTNyFBh7UkXmk5PzsjXlOOIH6BvRwIgO2yxd7fiXnylbzv5Q8otN+yYCLazL0/+xA0dQx0znBU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20561,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKZQoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrmExAAoYtl7CJ5Q4bHtVcqjutI3Lx4hslSzLra6Daj0UrQAuePWd9I\r\nwtIIpLaaqQmXzAw4sIYHMNfXjJOeCEhVULqdBiAUlrjubwAASHtEVP36CGjW\r\n4CHPkliK5yQtkP7QEytzZHEj9V700BqCRPfpwV+GoqrC5pGxREyQvHtI/gZ7\r\ns7X294xQZm3Io57ru3wn7nBSVFlg7cI/jhh3I2czQSzz4Hf4PAh6qQ21tlih\r\ngDMMdjr7EllQQCsFC0OtMfNii4Ez0dkUuLlZe/H0fgyTzGsBI29kV8swZVoe\r\neAcRoT6c8rt6ty9Ft5o6onXnRn7WJqVSq7VyPxprZ8tkN/frawKAC+je9QiB\r\n/hWGxPmcKAXXA4GG15k7FnLhUXmZR2AL6pvPC8RcV3i/SB5GdSiFnGcf82vR\r\nvLEAKA724MJU1eLh8MXyZDdiOu2XgYx9Peggj9sa7eINZRsVVt2zCOXojph1\r\ni2rDJOKQgWRaXQtEmW6VqmLyUwnEybYvBxn1FxtnMya+B1SfdIH7ndnJfDa2\r\naP5XzQl8cmX+WzgW3yqT18R1OYxM+SSESpm6YaL9T6C2eIFHnFG8+z406vtH\r\nkX5Xv1thReT4ddlRvja0hwpk6QYtvAFfBucvaz9D5Cov9kSLY2MlxR2cjlaW\r\n2cTnVi92T6xvjY4TvDfvIemzNFivotSRgsg=\r\n=htl9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:7nohe-laravel-zodgen-0.1.0.tgz","types":"./dist/src/index.d.ts","exports":"./dist/src/index.js","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","release":"npx git-ensure -a && npx bumpp --commit --tag --push"},"_npmUser":{"name":"7nohe","email":"7nohe.urata@gmail.com"},"_resolved":"/private/var/folders/w5/gdgp75rs48742wn5mt359rjw0000gn/T/9ac1f6b639d414ea2219f86928ac1fd4/7nohe-laravel-zodgen-0.1.0.tgz","_integrity":"sha512-a+6Db2TC4SUC3PDYj98erTE6Z9lamuyFSfGmDQaa2vzizSPW+ujFcojYpvw0cSZh9pazwiY369mNq/b4NkAGOg==","repository":{"url":"git+https://github.com/7nohe/laravel-zodgen.git","type":"git"},"_npmVersion":"8.15.0","description":"The library lets you generate Zod schemas from Laravel FormRequests.","directories":{},"_nodeVersion":"18.7.0","dependencies":{"zod":"^3.21.4","glob":"^9.3.2","commander":"^10.0.0","php-parser":"^3.1.4","typescript":"^5.0.2"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^18.15.6"},"_npmOperationalInternal":{"tmp":"tmp/laravel-zodgen_0.1.0_1680446504075_0.3918564623739178","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@7nohe/laravel-zodgen","version":"0.1.1","keywords":["zod","laravel","typescript","validation","zodgen"],"author":{"url":"@7nohe","name":"Daiki Urata"},"license":"MIT","_id":"@7nohe/laravel-zodgen@0.1.1","maintainers":[{"name":"7nohe","email":"7nohe.urata@gmail.com"}],"homepage":"https://github.com/7nohe/laravel-zodgen","bugs":{"url":"https://github.com/7nohe/laravel-zodgen/issues"},"bin":{"laravel-zodgen":"dist/src/cli.js"},"dist":{"shasum":"88ed4b7e2a776f57cbd3cbee8cabce7997db1ff5","tarball":"https://registry.npmjs.org/@7nohe/laravel-zodgen/-/laravel-zodgen-0.1.1.tgz","fileCount":19,"integrity":"sha512-PoVlszWvF9PLOpDQlVVCocrOJqXqABmvf/W4gz/626yaDEc6M/GVdOTCY9INQ6UEgNobZ6JZKgYRM7ossR7fwQ==","signatures":[{"sig":"MEYCIQD6V2QejN+SQK9H2BkmAvi5mziwHYazwybgVEVXAAgKQQIhALBt9L14oOImLgNVcUr5DZ9Gy31qgl+m/NNmJJDX+rE5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKtSZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrukw//buvmJZe4d3Oy9vjPa9Nxju4NVanmWUBIY5sn402n/sCsO7vZ\r\nF7Fhnd5OdHWcintjPPMv3LBUOInYb8BwfjJvX9jqKWEAzW4AjIh21xUxAze1\r\nVryIbAGA5tLZokNTVj6ZsPHQf3bWPfDni74uOzuF8tu/yowQVybG6XNTthZQ\r\nol0zl3jwsEIfI1zpk72UOojunaJDkozXi1Z8hVH+cLP3Q+ZKQ0bRrIwjEyMO\r\nxsolrH0yKMla5mJnFkSjBSVU3+TLTofa+ZNm0ZGedgpUHwzbcLzbrJLF2qRX\r\nP2SYCubYkWSrwlbCFF7irH3Oo87SJ9iKt5XhN+MBjksiP/OWkdRp1jV48v/9\r\n1Xxxkxd5xEpu5jZl2TjvAXqHibpx0i6XZYiX1ZZcttNmfpvUNNoR6ivl0sNS\r\n9sed8y/5hubMxX9nXaPWf2Ahi18dMYYuvDcsaB92daGE0r1pXbreFNxKTG9r\r\nr2VeGnyzEfDWtmY1JeUFTAzbFI2rsBYqFe7S1KNP4hqCRqPsSbpsakdbJNi7\r\nQ0k2wVnlXFy1V020TLhqlfWjgWJzF9HxtkYwIGAOrnPYSdt047j8e8f4tsH3\r\n6MxTXd6b854tG0baK8c1Mx1laLcABMMljf8Cf51Ghn4qxbrLNGB/TcTC5VE2\r\nXN/UaiLD/RHCan2wHOhh12Il+15nBAquaYM=\r\n=QW+T\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:7nohe-laravel-zodgen-0.1.1.tgz","types":"./dist/src/index.d.ts","exports":"./dist/src/index.js","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","release":"npx git-ensure -a && npx bumpp --commit --tag --push"},"_npmUser":{"name":"7nohe","email":"7nohe.urata@gmail.com"},"_resolved":"/private/var/folders/w5/gdgp75rs48742wn5mt359rjw0000gn/T/dc058c19116149bf1faef368fb769da4/7nohe-laravel-zodgen-0.1.1.tgz","_integrity":"sha512-PoVlszWvF9PLOpDQlVVCocrOJqXqABmvf/W4gz/626yaDEc6M/GVdOTCY9INQ6UEgNobZ6JZKgYRM7ossR7fwQ==","repository":{"url":"git+https://github.com/7nohe/laravel-zodgen.git","type":"git"},"_npmVersion":"8.15.0","description":"The library lets you generate Zod schemas from Laravel FormRequests.","directories":{},"_nodeVersion":"18.7.0","dependencies":{"zod":"^3.21.4","glob":"^9.3.2","commander":"^10.0.0","php-parser":"^3.1.4","typescript":"^5.0.2"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^18.15.6"},"_npmOperationalInternal":{"tmp":"tmp/laravel-zodgen_0.1.1_1680528536969_0.7707243061683746","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@7nohe/laravel-zodgen","version":"0.1.2","keywords":["zod","laravel","typescript","validation","zodgen"],"author":{"url":"@7nohe","name":"Daiki Urata"},"license":"MIT","_id":"@7nohe/laravel-zodgen@0.1.2","maintainers":[{"name":"7nohe","email":"7nohe.urata@gmail.com"}],"homepage":"https://github.com/7nohe/laravel-zodgen","bugs":{"url":"https://github.com/7nohe/laravel-zodgen/issues"},"bin":{"laravel-zodgen":"dist/src/cli.js"},"dist":{"shasum":"22a1ffc3a68ba56481ebebb35fac0610b51edf78","tarball":"https://registry.npmjs.org/@7nohe/laravel-zodgen/-/laravel-zodgen-0.1.2.tgz","fileCount":19,"integrity":"sha512-mtrOtBWqWUDoO+XafgrT+277mKab2GQTYJseV6rLIG5Y2q0sa8ll/Z0tgOUxScCyPJq2FBB+645sGxWsklSpYA==","signatures":[{"sig":"MEUCIGW9u+h6Jifl80AV4D5pvkpvnNKhY4+imScQC/NnfmQLAiEAhTmVH+7RyGofdjY1WQUuKZUetawk47Dx6aTVgFKUpvs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23411,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLDfQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqUNw//SMvQVaWce7gvqkgxD7PaOupUGUXgz+HSr4F5bLOAxIYVcjeU\r\n5b15yUWK7w48ITIIuNpsUGAiUPWH85G2ciEdt3hYQsQRYmoxOy32jAT7MO61\r\nd6S8HNcdZfaAcUHVkGbrSyk35ppD1UtYQ0OuYo8+jqXEXULEV2vfYwg0ip99\r\nI6XhK+oVp7WCo2QBq9F471W2dH/07gt/YJtq2nxOmF5N5L6C6G4Hqj5CaW7w\r\nL/XCfrMDm9RWNtI9pKVONPSrm3GPhwV9ZW/3jdd4isfU6gNVYY2bYdvs8hV3\r\npSA9/pAyXcUdvfHtFXi807C4nW5rThdfrNYlVQjt6yIKyTJTCshE4KgLXfgS\r\noyTNteXOJ7ngOx/ELh27P8zdBeV+GKx530WPG/abYnHyIg+fdSvCKGcTLFzO\r\nX4rHs5xR8arGtp/f/+8BYS3wWD7W458CNAYzILAG8gqWcmbuGVHYLc+K2M1S\r\nWpzGLMTpchqFGBI3HMSR5EVKtaVXXCGNqrY890buxyQLFuC5jopDhIEVAF1o\r\n+VH8JlH3nXwT5fGa43FzjDU8ht0KalI2cZAmgN2A/xIqrm2sKUDr0xvxjcua\r\nzJwfjPqW7PsWMo1c2WUaRdL89fl9fyts5hQ4RNoMf4uTPljzAVkq0DIEzKvI\r\njb2eZHfEQtlTE/QsfX0/+vsr06k22wFIuNI=\r\n=63BM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:7nohe-laravel-zodgen-0.1.2.tgz","types":"./dist/src/index.d.ts","exports":"./dist/src/index.js","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","release":"npx git-ensure -a && npx bumpp --commit --tag --push"},"_npmUser":{"name":"7nohe","email":"7nohe.urata@gmail.com"},"_resolved":"/private/var/folders/w5/gdgp75rs48742wn5mt359rjw0000gn/T/e7318a593cbc00d5d076b0cbda4457b4/7nohe-laravel-zodgen-0.1.2.tgz","_integrity":"sha512-mtrOtBWqWUDoO+XafgrT+277mKab2GQTYJseV6rLIG5Y2q0sa8ll/Z0tgOUxScCyPJq2FBB+645sGxWsklSpYA==","repository":{"url":"git+https://github.com/7nohe/laravel-zodgen.git","type":"git"},"_npmVersion":"8.15.0","description":"The library lets you generate Zod schemas from Laravel FormRequests.","directories":{},"_nodeVersion":"18.7.0","dependencies":{"zod":"^3.21.4","glob":"^9.3.2","commander":"^10.0.0","php-parser":"^3.1.4","typescript":"^5.0.2"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^18.15.6"},"_npmOperationalInternal":{"tmp":"tmp/laravel-zodgen_0.1.2_1680619472217_0.19780757621798695","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@7nohe/laravel-zodgen","version":"0.1.3","keywords":["zod","laravel","typescript","validation","zodgen"],"author":{"url":"@7nohe","name":"Daiki Urata"},"license":"MIT","_id":"@7nohe/laravel-zodgen@0.1.3","maintainers":[{"name":"7nohe","email":"7nohe.urata@gmail.com"}],"homepage":"https://github.com/7nohe/laravel-zodgen","bugs":{"url":"https://github.com/7nohe/laravel-zodgen/issues"},"bin":{"laravel-zodgen":"dist/cli.js"},"dist":{"shasum":"277b0c1c8f3aa36592e74186bd4bd4995fb65082","tarball":"https://registry.npmjs.org/@7nohe/laravel-zodgen/-/laravel-zodgen-0.1.3.tgz","fileCount":10,"integrity":"sha512-ay1XRAljCAuzC0/TjbCQwOexVEGnOoATarUtpQwoMboScsZ5jO7E1eMmKdcG4AtNqnMHE+B9FE+iu5fOdwU2jg==","signatures":[{"sig":"MEUCIQCdvYhXqgsxWjE7N2WKX5LNGsw3ER7fnEQCmPq3rOvnjgIgV6dBiWLpHde3i3+z3UyUQda1RHAhq2zDXGgCa6+Kxpg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":70660,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTTrfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoDDBAAgtDzXtAlHnc74CiFnQJo6GDBkJ9s9N6hHoBvk4Cvba/Yv38g\r\nu5v82uT4KCPi9mTIyw/bRmeOJR82N16h18GkhiMLIex74qZoUwO3dapwvf7j\r\n6e+1O7p6rozeYmHOlPCrTU7G7Pivuh6lDZT6/MDdeZs8chzEJUDgtH3yoEA4\r\n7SezVbvlRv3W10pwlLZAF94/pGIPTY4L8LZBBNNmL0WHxAbLlbyGUxGn6m+L\r\nCvNxMz5qQPjcdAub0YKWH6JCLhIPU+f4tvyL4MBwJwD7k4QniOCCIHWNNlof\r\nLjNJe+TFxZI8eyjpLRxB+TNiYLSfTUbhE2TMVeq0mJBcndjvOn3MtUtKVRA1\r\nXz7VlduHQVhuSNlYTA0vg98wi6ZOqkzTuHpB+Xth93Cpcfffe5t9e6qxUImA\r\n8iKE6yavSS8wQkG1BU/AJQ7qAinwNnH2YFlgY/2oVkES8RdjFWgSPUapO1XB\r\nTNvBbxwgPAbOZwTklWfB7Hh92rbzAmgzRl3Rmhm15C2DdsNTxDprAv95t9aW\r\nbVzxtjKOu7v3YRkbF4SUvTlhVXt60wMCOPQ0OtjYkuHqkHz8L+DszyiSZ7ex\r\n2EwIZwqcyLCn2NJ5VrC5yez7D/whm1ojvUZc/torJWmq9UIAAoOEZNt2FjZa\r\nNijTmjk6Av40fUyHXLFiHkoW8qacf1pF9/A=\r\n=lwJl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","_from":"file:7nohe-laravel-zodgen-0.1.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup src/index.ts src/cli.ts --format esm,cjs --dts --clean","release":"npx git-ensure -a && npx bumpp --commit --tag --push"},"_npmUser":{"name":"7nohe","email":"7nohe.urata@gmail.com"},"_resolved":"/private/var/folders/w5/gdgp75rs48742wn5mt359rjw0000gn/T/298e4f94a9011855bf5d482e6cd5b39f/7nohe-laravel-zodgen-0.1.3.tgz","_integrity":"sha512-ay1XRAljCAuzC0/TjbCQwOexVEGnOoATarUtpQwoMboScsZ5jO7E1eMmKdcG4AtNqnMHE+B9FE+iu5fOdwU2jg==","repository":{"url":"git+https://github.com/7nohe/laravel-zodgen.git","type":"git"},"_npmVersion":"8.15.0","description":"The library lets you generate Zod schemas from Laravel FormRequests.","directories":{},"_nodeVersion":"18.7.0","dependencies":{"zod":"^3.21.4","glob":"^9.3.2","commander":"^10.0.0","php-parser":"^3.1.4","typescript":"^5.0.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","@types/node":"^18.15.6"},"_npmOperationalInternal":{"tmp":"tmp/laravel-zodgen_0.1.3_1682782943082_0.5412496005545708","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@7nohe/laravel-zodgen","version":"0.1.4","keywords":["zod","laravel","typescript","validation","zodgen"],"author":{"url":"@7nohe","name":"Daiki Urata"},"license":"MIT","_id":"@7nohe/laravel-zodgen@0.1.4","maintainers":[{"name":"7nohe","email":"7nohe.urata@gmail.com"}],"homepage":"https://github.com/7nohe/laravel-zodgen","bugs":{"url":"https://github.com/7nohe/laravel-zodgen/issues"},"bin":{"laravel-zodgen":"dist/cli.js"},"dist":{"shasum":"d096f1b98ef3ce349413d93f47e02c409ef8a79d","tarball":"https://registry.npmjs.org/@7nohe/laravel-zodgen/-/laravel-zodgen-0.1.4.tgz","fileCount":10,"integrity":"sha512-sgudHjErWLT6SM5oxe6Bq2RbtxdD9tts83bQY3hTC8zZBrfwMUsCu0c/kYnKoQNXiMMajleyWIRT7fBIVVVG6Q==","signatures":[{"sig":"MEUCIETQOPj7EKuaez+rzQ1PW8cvjL5n49uANyLUpih9eNqmAiEA1xFHeV9IrNeiJhuHAD2Pp6BdF/jrJ/ugWegUtGXIJGo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74392,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTd71ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmptCA/8CTjUbSsJ2B7vuNqBPcZB5eLZoM8xeRNy7LGXAhBQ9PLK16sJ\r\nG1UnAoCo9gJY16og2E0L20MmbCG7Yw9rdlbyhzdl7P+MmPtB6RIhGzLajukM\r\n/X2xpgKpuD9vcvgpfW8cMs0MU0CcXwL/jpdh0k/RYM/1v6+nyXoa5V+Uv4qH\r\n1j6I7C2RKTDYQrayeZzLbp5Iym731ES9rMK10tHHTpf3OKHth/Z5K9lWLo2B\r\nL5Su35pSfIO63JnKKTJrwVCN+3UWe9h0/YJlvzF4nr1P+z+n5FaLgZbL0bGm\r\nVdgsHKovXRX8Fd5KQLnxUInG12XhhDi4eNgGybsUlgF0GSQ6ZmQBZBVJT8wH\r\n8bXYQkwbcheylW3x/MQF384cY+GNvzROZLmyvbOdf+xKHiLyTw1lvOaUSlYh\r\nSl2dHSPFFpeqSNS3x4ttrsFUaz6YMmnhOP7fkblkhr4zkKuovYj9WtnKe1D4\r\nCCJBK+dgOanNnH8Mrd6JRadTjNgg+9A80zwXNJZoTbWzl1E5i3h5oZzpmckm\r\n8kMa4FSeFLaynydTezTxdGLr/t/kmeKofaas1GTZ/lA0ABb84Rvf/Bo/otNu\r\n8mwZBLiNVPcgG3zVyWRfgjFDykWJs0kIktvE3lwdJn4QZ4SIen0UAyB6sJI6\r\nMbldR49cVGYvQBJD4UdYeZVyVuak2p39x6I=\r\n=ds2x\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","_from":"file:7nohe-laravel-zodgen-0.1.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup src/index.ts src/cli.ts --format esm,cjs --dts --clean","release":"npx git-ensure -a && npx bumpp --commit --tag --push"},"_npmUser":{"name":"7nohe","email":"7nohe.urata@gmail.com"},"_resolved":"/private/var/folders/w5/gdgp75rs48742wn5mt359rjw0000gn/T/4a4275150c667db60a3eb676880e606f/7nohe-laravel-zodgen-0.1.4.tgz","_integrity":"sha512-sgudHjErWLT6SM5oxe6Bq2RbtxdD9tts83bQY3hTC8zZBrfwMUsCu0c/kYnKoQNXiMMajleyWIRT7fBIVVVG6Q==","repository":{"url":"git+https://github.com/7nohe/laravel-zodgen.git","type":"git"},"_npmVersion":"8.15.0","description":"The library lets you generate Zod schemas from Laravel FormRequests.","directories":{},"_nodeVersion":"18.7.0","dependencies":{"zod":"^3.21.4","glob":"^9.3.2","commander":"^10.0.0","php-parser":"^3.1.4","typescript":"^5.0.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","@types/node":"^18.15.6"},"_npmOperationalInternal":{"tmp":"tmp/laravel-zodgen_0.1.4_1682824948905_0.635216671811736","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"@7nohe/laravel-zodgen","version":"0.1.5","keywords":["zod","laravel","typescript","validation","zodgen"],"author":{"url":"@7nohe","name":"Daiki Urata"},"license":"MIT","_id":"@7nohe/laravel-zodgen@0.1.5","maintainers":[{"name":"7nohe","email":"7nohe.urata@gmail.com"}],"homepage":"https://github.com/7nohe/laravel-zodgen","bugs":{"url":"https://github.com/7nohe/laravel-zodgen/issues"},"bin":{"laravel-zodgen":"dist/cli.js"},"dist":{"shasum":"9a67b2580af1002555a11abd226af97987fe7295","tarball":"https://registry.npmjs.org/@7nohe/laravel-zodgen/-/laravel-zodgen-0.1.5.tgz","fileCount":10,"integrity":"sha512-DqayU8j0g4u7O+gHLiKaeoJNXg1cz2AVaV6mGgvpIZJfzcIQbCc2JIc39BU1GcZsJ4eyddbzbKBxLcKCO2bxhw==","signatures":[{"sig":"MEUCIQCwum1rBB4tXW3f7t6MrTKuGyxcIbMcJ5mACzxE697YWQIgVdgn6IhkYGh8wwHA8UaDsc7dBYTV+kb1DMUSO6DxVrw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":70210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkToLlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpK9A//ZVUvkD23v1apLiqBLABtlHgTR9D6MNjCuM7cdmkxDEEmE+IH\r\n1HQrhtqZwGx8wZ8aAZ+OaUZyiZ4KP8fLMrbhGz1F8t9tOG0Eh8dRgFoWz3F/\r\nZXcMa1ZMDD+bUu1zssAIXdxriZ439d/w/61jvJnKUKLHB+HDnF4hTEoJFYKV\r\ns4m9ZaVyHYdpK3twSyAhd+QSnCiHx81fOM+JDC1SiRcMlaaZsuDOCtdFV7f+\r\n9MgnAUnnOUBGvzCaIFjJzoy2UqdBd8WXFvUuzLdyHQ4jJ1G+Tv8A3lyj3rWj\r\nf3MCM5oKx4x4JYy3BHuG/iwjMI8pBfdp779iMVbX2QsRgrzHP6fNGqx0VN7/\r\np3JCizUXwyotowXRXvQEjAJF3CbOttgT0YQfkq5n86sOGFeZuE5g5zWSl96p\r\nCNRNcX8HlL+epWN4V6P4B69D1g/80NJG84sUSdI9Ao+rxc4wwORj9mMgGYhS\r\n87M+vCge7j1WQUp/LOvOImCMG8CdsPikuuQ+Qphph38L2XP4LfH5G07mqXfv\r\nfi2k0Wze8FAU9RQEDSppQ3SktIrXpSiWmTNsWnu5vkGnATV4LXCbhRWc7k4r\r\n1HJVYQt5KkuImWkOTlwJqWaCmGi6zNg+OThckwFd4+8PxBIR765Hm+DawUug\r\n/JTGjZTLUOAeBfUqi/Yae9Zm8IjDgF3TTss=\r\n=1JDP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","_from":"file:7nohe-laravel-zodgen-0.1.5.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup src/index.ts src/cli.ts --format esm,cjs --dts --clean","release":"npx git-ensure -a && npx bumpp --commit --tag --push"},"_npmUser":{"name":"7nohe","email":"7nohe.urata@gmail.com"},"_resolved":"/private/var/folders/w5/gdgp75rs48742wn5mt359rjw0000gn/T/ce60eff2fdf831e57db26e8169cfac53/7nohe-laravel-zodgen-0.1.5.tgz","_integrity":"sha512-DqayU8j0g4u7O+gHLiKaeoJNXg1cz2AVaV6mGgvpIZJfzcIQbCc2JIc39BU1GcZsJ4eyddbzbKBxLcKCO2bxhw==","repository":{"url":"git+https://github.com/7nohe/laravel-zodgen.git","type":"git"},"_npmVersion":"8.15.0","description":"The library lets you generate Zod schemas from Laravel FormRequests.","directories":{},"_nodeVersion":"18.7.0","dependencies":{"zod":"^3.21.4","glob":"^9.3.2","commander":"^10.0.0","php-parser":"^3.1.4","typescript":"^5.0.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","@types/node":"^18.15.6"},"_npmOperationalInternal":{"tmp":"tmp/laravel-zodgen_0.1.5_1682866917335_0.47933192881858133","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"@7nohe/laravel-zodgen","version":"0.1.6","keywords":["zod","laravel","typescript","validation","zodgen"],"author":{"url":"@7nohe","name":"Daiki Urata"},"license":"MIT","_id":"@7nohe/laravel-zodgen@0.1.6","maintainers":[{"name":"7nohe","email":"7nohe.urata@gmail.com"}],"homepage":"https://github.com/7nohe/laravel-zodgen","bugs":{"url":"https://github.com/7nohe/laravel-zodgen/issues"},"bin":{"laravel-zodgen":"dist/cli.js"},"dist":{"shasum":"31a7117ea45829ff29c301013148ac4a04d21cb5","tarball":"https://registry.npmjs.org/@7nohe/laravel-zodgen/-/laravel-zodgen-0.1.6.tgz","fileCount":9,"integrity":"sha512-HYp1FeJ14fUnU4C2z74cCQEf6c3nS932LURg98K85KJnnHoGmyNw9hSO4/YLWCZKBtlnPyUBGgEpyuDyyhKAYg==","signatures":[{"sig":"MEYCIQDOoiBcbKownSD/jptmiXswhk/jomcN0+rfL+GlGm8y/AIhAI3AS1zuUh9DrnEAYUQvaVZ3bqGZ9233t+TeGD6qD8Vs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53668},"main":"./dist/index.cjs","type":"module","_from":"file:7nohe-laravel-zodgen-0.1.6.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup src/index.ts src/cli.ts --format esm,cjs --dts --clean","release":"npx git-ensure -a && npx bumpp --commit --tag --push"},"_npmUser":{"name":"7nohe","email":"7nohe.urata@gmail.com"},"_resolved":"/private/var/folders/w5/gdgp75rs48742wn5mt359rjw0000gn/T/679a0e7ac7934ced40f69cc10ad33a23/7nohe-laravel-zodgen-0.1.6.tgz","_integrity":"sha512-HYp1FeJ14fUnU4C2z74cCQEf6c3nS932LURg98K85KJnnHoGmyNw9hSO4/YLWCZKBtlnPyUBGgEpyuDyyhKAYg==","repository":{"url":"git+https://github.com/7nohe/laravel-zodgen.git","type":"git"},"_npmVersion":"10.2.3","description":"The library lets you generate Zod schemas from Laravel FormRequests.","directories":{},"_nodeVersion":"20.10.0","dependencies":{"zod":"^3.21.4","glob":"^9.3.2","commander":"^10.0.0","php-parser":"^3.1.4","typescript":"^5.0.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","@types/node":"^18.15.6"},"_npmOperationalInternal":{"tmp":"tmp/laravel-zodgen_0.1.6_1711199230133_0.6934331301163665","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@7nohe/laravel-zodgen","version":"0.2.0","keywords":["zod","laravel","typescript","validation","zodgen"],"author":{"url":"@7nohe","name":"Daiki Urata"},"license":"MIT","_id":"@7nohe/laravel-zodgen@0.2.0","maintainers":[{"name":"7nohe","email":"7nohe.urata@gmail.com"}],"homepage":"https://github.com/7nohe/laravel-zodgen","bugs":{"url":"https://github.com/7nohe/laravel-zodgen/issues"},"bin":{"laravel-zodgen":"dist/cli.js"},"dist":{"shasum":"60b22dda3ebd34a8a538449a7ff21374d1158368","tarball":"https://registry.npmjs.org/@7nohe/laravel-zodgen/-/laravel-zodgen-0.2.0.tgz","fileCount":11,"integrity":"sha512-nOpayNeOdZ4a5TW91K+4HWrEtGabjJ1DDbrxS1PeCfp4E8zPU+A4qSzhaug7Q2RAZdXCSM2hTJZeLN4ns+iDbQ==","signatures":[{"sig":"MEYCIQCxXXbNUnhPCFcvD7GT4xNnwdAjx+OGDEILuiv9/m4AOQIhAP114o334octx1aR3NGcfuSe4n4WrtjkxeMIrdhqAobB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55673},"main":"./dist/index.cjs","type":"module","_from":"file:7nohe-laravel-zodgen-0.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup src/index.ts src/cli.ts --format esm,cjs --dts --clean","release":"npx git-ensure -a && npx bumpp --commit --tag --push"},"_npmUser":{"name":"7nohe","email":"7nohe.urata@gmail.com"},"_resolved":"/tmp/83a04796bbf63f42558a9f763c3cfd39/7nohe-laravel-zodgen-0.2.0.tgz","_integrity":"sha512-nOpayNeOdZ4a5TW91K+4HWrEtGabjJ1DDbrxS1PeCfp4E8zPU+A4qSzhaug7Q2RAZdXCSM2hTJZeLN4ns+iDbQ==","repository":{"url":"git+https://github.com/7nohe/laravel-zodgen.git","type":"git"},"_npmVersion":"10.5.0","description":"The library lets you generate Zod schemas from Laravel FormRequests.","directories":{},"_nodeVersion":"20.12.2","dependencies":{"zod":"^3.23.6","glob":"^10.3.12","commander":"^12.0.0","php-parser":"^3.1.5","typescript":"^5.4.5"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","@types/node":"^20.12.8"},"_npmOperationalInternal":{"tmp":"tmp/laravel-zodgen_0.2.0_1715001164055_0.5945487820995325","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@7nohe/laravel-zodgen","version":"0.2.1","keywords":["zod","laravel","typescript","validation","zodgen"],"author":{"url":"@7nohe","name":"Daiki Urata"},"license":"MIT","_id":"@7nohe/laravel-zodgen@0.2.1","maintainers":[{"name":"7nohe","email":"7nohe.urata@gmail.com"}],"homepage":"https://github.com/7nohe/laravel-zodgen","bugs":{"url":"https://github.com/7nohe/laravel-zodgen/issues"},"bin":{"laravel-zodgen":"dist/cli.js"},"dist":{"shasum":"45a5949a6d8cc41312aaff908182dacb408a0496","tarball":"https://registry.npmjs.org/@7nohe/laravel-zodgen/-/laravel-zodgen-0.2.1.tgz","fileCount":11,"integrity":"sha512-JOHGwqrYDbc1iLhGrpjeN341zIAvaoTUYL5+G+uvRTHGao61joKZHbI7ExRuX8w2KKpIGCGxoFluZhKWuGERDQ==","signatures":[{"sig":"MEQCIAj6KT0Gd8cR7wUZx4VdXksvlIrIxBy0yOWCFa5AhM7vAiAccEUu6D3BdlSyvRzibaU/PfBViP2VvfhPTmrTkU96vA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57007},"main":"./dist/index.cjs","type":"module","_from":"file:7nohe-laravel-zodgen-0.2.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup src/index.ts src/cli.ts --format esm,cjs --dts --clean","release":"npx git-ensure -a && npx bumpp --commit --tag --push"},"_npmUser":{"name":"7nohe","email":"7nohe.urata@gmail.com"},"_resolved":"/tmp/b33f80cc362318506a7b97beb016ede8/7nohe-laravel-zodgen-0.2.1.tgz","_integrity":"sha512-JOHGwqrYDbc1iLhGrpjeN341zIAvaoTUYL5+G+uvRTHGao61joKZHbI7ExRuX8w2KKpIGCGxoFluZhKWuGERDQ==","repository":{"url":"git+https://github.com/7nohe/laravel-zodgen.git","type":"git"},"_npmVersion":"10.5.2","description":"The library lets you generate Zod schemas from Laravel FormRequests.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"zod":"^3.23.6","glob":"^10.3.12","commander":"^12.0.0","php-parser":"^3.1.5","typescript":"^5.4.5"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","@types/node":"^20.12.8"},"_npmOperationalInternal":{"tmp":"tmp/laravel-zodgen_0.2.1_1716684559807_0.6641454604466295","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"@7nohe/laravel-zodgen","version":"0.2.2","description":"The library lets you generate Zod schemas from Laravel FormRequests.","type":"module","bin":{"laravel-zodgen":"dist/cli.js"},"exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.js","types":"./dist/index.d.ts"}},"main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/7nohe/laravel-zodgen.git"},"homepage":"https://github.com/7nohe/laravel-zodgen","bugs":{"url":"https://github.com/7nohe/laravel-zodgen/issues"},"keywords":["zod","laravel","typescript","validation","zodgen"],"author":{"name":"Daiki Urata","url":"@7nohe"},"license":"MIT","dependencies":{"commander":"^12.0.0","glob":"^10.3.12","php-parser":"^3.1.5","typescript":"^5.4.5","zod":"^3.23.6"},"devDependencies":{"@types/node":"^20.12.8","tsup":"^8.0.2"},"scripts":{"build":"tsup src/index.ts src/cli.ts --format esm,cjs --dts --clean","release":"npx git-ensure -a && npx bumpp --commit --tag --push"},"_id":"@7nohe/laravel-zodgen@0.2.2","_integrity":"sha512-p0NvISWIpSrNXRpW7G8kjJjWjIQg8FP8o2RV1X752vscfm7MVovVRao/7BmuVLvLF1QDKFL1nfYYT3wL/m4e3g==","_resolved":"/tmp/47d27533284566179b08f16558ecc4c5/7nohe-laravel-zodgen-0.2.2.tgz","_from":"file:7nohe-laravel-zodgen-0.2.2.tgz","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-p0NvISWIpSrNXRpW7G8kjJjWjIQg8FP8o2RV1X752vscfm7MVovVRao/7BmuVLvLF1QDKFL1nfYYT3wL/m4e3g==","shasum":"64e47d3f60aabbc441b0abb88701eeeabd7056d3","tarball":"https://registry.npmjs.org/@7nohe/laravel-zodgen/-/laravel-zodgen-0.2.2.tgz","fileCount":11,"unpackedSize":57628,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrQQlqDJXylNcSE/tGRZi/eVdCCNAh5txr7Ii8s+fyGwIgV/wyjmQ/iy2Rz+HtM0I9iCPsnKuU1GZDv3zLLEY29lw="}]},"_npmUser":{"name":"7nohe","email":"7nohe.urata@gmail.com"},"directories":{},"maintainers":[{"name":"7nohe","email":"7nohe.urata@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/laravel-zodgen_0.2.2_1726465336130_0.8263951352021881"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-02T14:41:43.984Z","modified":"2024-09-16T05:42:16.479Z","0.1.0":"2023-04-02T14:41:44.273Z","0.1.1":"2023-04-03T13:28:57.158Z","0.1.2":"2023-04-04T14:44:32.410Z","0.1.3":"2023-04-29T15:42:23.255Z","0.1.4":"2023-04-30T03:22:29.089Z","0.1.5":"2023-04-30T15:01:57.482Z","0.1.6":"2024-03-23T13:07:10.297Z","0.2.0":"2024-05-06T13:12:44.216Z","0.2.1":"2024-05-26T00:49:19.982Z","0.2.2":"2024-09-16T05:42:16.299Z"},"bugs":{"url":"https://github.com/7nohe/laravel-zodgen/issues"},"author":{"name":"Daiki Urata","url":"@7nohe"},"license":"MIT","homepage":"https://github.com/7nohe/laravel-zodgen","keywords":["zod","laravel","typescript","validation","zodgen"],"repository":{"type":"git","url":"git+https://github.com/7nohe/laravel-zodgen.git"},"description":"The library lets you generate Zod schemas from Laravel FormRequests.","maintainers":[{"name":"7nohe","email":"7nohe.urata@gmail.com"}],"readme":"# Laravel Zodgen\n\nThis is a package that generates [Zod](https://zod.dev) schemas from Laravel FormRequests. This allows you to share your validation rules between your Laravel backend and your TypeScript frontend.\n\n## Features\n\n- Generate Zod schemas from Laravel FormRequests\n- Support Nested arrays and objects\n\n## Supported Versions\nThis library supports the following versions:\n\n- Laravel 9.x and 10.x\n- TypeScript 5.0 and above\n\n## Installation\n\n```bash\n$ npm install -D @7nohe/laravel-zodgen\n```\n\n## Usage\n\nEdit package.json\n```json\n{\n    \"scripts\": {\n        \"zodgen\": \"laravel-zodgen\"\n    },\n}\n```\n\n```bash\n$ npm run zodgen\n```\n\n## Example\n\nFor example, you have the FormRequest class below.\n\n```php\n<?php\n\nnamespace App\\Http\\Requests;\n\nuse Illuminate\\Foundation\\Http\\FormRequest;\n\nclass StorePostRequest extends FormRequest\n{\n    /**\n     * Determine if the user is authorized to make this request.\n     */\n    public function authorize(): bool\n    {\n        return true;\n    }\n\n    /**\n     * Get the validation rules that apply to the request.\n     *\n     * @return array<string, \\Illuminate\\Contracts\\Validation\\Rule|array|string>\n     */\n    public function rules(): array\n    {\n        return [\n            'title' => 'required|string|max:255',\n            'body' => 'required|string',\n        ];\n    }\n}\n\n```\n\nAfter running the `zodgen` command, you will get the following output.\n\n```ts\nexport const StorePostRequest = z.object({\n    title: z.string().max(255).nonempty(),\n    body: z.string().nonempty()\n});\n```\n\nOptionally you can use `--coercion` option to coerce primitive values.\n\n```ts\nexport const StorePostRequest = z.object({\n    title: z.coerce.string().max(255).nonempty(),\n    body: z.coerce.string().nonempty()\n});\n```\n\n## Available options\n\n```bash\nUsage: laravel-zodgen [options]\n\nGenerate Zod schemas from Laravel FormRequests\n\nOptions:\n  -V, --version         output the version number\n  -o, --output <value>  Output directory (default: \"resources/js\")\n  --form-request-path   Path for Laravel's FormRequest classes\n  --coercion            Coercion for primitives (default: false)\n  -h, --help            display help for command\n```\n\n## [Inertia Vue Form](https://github.com/7nohe/inertia-vue-form)\n\nThis library is an extension of Inertia's [useForm()](https://inertiajs.com/forms#form-helper), enabling form validation using Zod.\nYou can directly use the code generated from Laravel Zodgen in this library.\n\n## Development\n\n### Setup example project\n\n```bash\n$ cd examples/laravel10-app\n$ cp .env.example .env\n$ docker run --rm \\\n    -u \"$(id -u):$(id -g)\" \\\n    -v \"$(pwd):/var/www/html\" \\\n    -w /var/www/html \\\n    laravelsail/php81-composer:latest \\\n    composer install --ignore-platform-reqs\n$ ./vendor/bin/sail up -d\n$ ./vendor/bin/sail php artisan key:generate\n$ ./vendor/bin/sail php artisan migrate --seed\n$ ./vendor/bin/sail npm install\n```\n\n### Debug\n\n```bash\n$ pnpm install\n$ sh debug.sh\n```\n\n## License\nMIT\n","readmeFilename":"README.md"}