{"_id":"@8x/drizzle-prisma-generator","_rev":"2-16afe44b051128f009fd64eafc5446be","name":"@8x/drizzle-prisma-generator","dist-tags":{"latest":"0.1.9"},"versions":{"0.1.8":{"name":"@8x/drizzle-prisma-generator","version":"0.1.8","keywords":["drizzle","prisma","orm","pg","mysql","postgresql","postgres","sqlite","database","sql","typescript","ts","schema"],"author":{"name":"Drizzle Team"},"license":"Apache-2.0","_id":"@8x/drizzle-prisma-generator@0.1.8","maintainers":[{"name":"ken0x0a","email":"ken0x0a+npm@gmail.com"}],"homepage":"https://github.com/drizzle-team/drizzle-prisma-generator","bugs":{"url":"https://github.com/drizzle-team/drizzle-prisma-generator/issues"},"bin":{"drizzle-prisma-generator":"index.js"},"dist":{"shasum":"7bcfdda1811ff3966ee75442094e943cf809cdf4","tarball":"https://registry.npmjs.org/@8x/drizzle-prisma-generator/-/drizzle-prisma-generator-0.1.8.tgz","fileCount":5,"integrity":"sha512-r5EPoPZ0W0viHXkgY/26uqp0ks5+LrhdookRwjHmB2WuhwuBOfe4E8koSsxiZN4Jl/lhD5hNRMaCzzFzOlnTfg==","signatures":[{"sig":"MEUCIFlnICUizw5NazoWfG1mRkvgtlAvSxgTbyBnB2W5o158AiEAu3+R8rq7wNB6sluux33W72fHaUkt6r3F+YSXH5F0Ia4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":95737},"main":"./index.js","_from":"file:package.tgz","types":"./index.d.ts","scripts":{"run":"bun run build && cd ../prisma-testbench && bun run prisma generate dev && code ./src/db/schema.ts","lint":"dprint check --list-different","pack":"(cd dist && npm pack --pack-destination ..) && rm -f package.tgz && mv *.tgz package.tgz","test":"vitest run","build":"bun tsx scripts/build.ts","publish":"npm publish package.tgz"},"_npmUser":{"name":"ken0x0a","email":"ken0x0a+npm@gmail.com"},"_resolved":"/Users/k/GitHub/TS/drizzle-prisma-generator/package.tgz","_integrity":"sha512-r5EPoPZ0W0viHXkgY/26uqp0ks5+LrhdookRwjHmB2WuhwuBOfe4E8koSsxiZN4Jl/lhD5hNRMaCzzFzOlnTfg==","repository":{"url":"git+https://github.com/drizzle-team/drizzle-prisma-generator.git","type":"git"},"_npmVersion":"11.6.2","description":"Generate Drizzle schema from Prisma schema","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","dependencies":{"@prisma/generator-helper":"^7.2.0"},"publishConfig":{"provenance":false},"_hasShrinkwrap":false,"devDependencies":{"zx":"^8.0.2","tsx":"^4.7.2","tsup":"^8.0.2","dprint":"^0.51.1","prisma":"^7.2.0","typescript":"^5.4.5","@types/node":"^24.0.0","@arethetypeswrong/cli":"^0.18.2"},"_npmOperationalInternal":{"tmp":"tmp/drizzle-prisma-generator_0.1.8_1768298120336_0.21143172609597638","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@8x/drizzle-prisma-generator","author":{"name":"Drizzle Team"},"version":"0.1.9","description":"Generate Drizzle schema from Prisma schema","scripts":{"run":"bun run build && cd ../prisma-testbench && bun run prisma generate dev && code ./src/db/schema.ts","build":"bun tsx scripts/build.ts","pack":"(cd dist && npm pack --pack-destination ..) && rm -f package.tgz && mv *.tgz package.tgz","publish":"npm publish package.tgz","test":"vitest run","lint":"dprint check --list-different"},"license":"Apache-2.0","devDependencies":{"@arethetypeswrong/cli":"^0.18.2","@types/node":"^24.0.0","dprint":"^0.51.1","prisma":"^7.2.0","tsup":"^8.0.2","tsx":"^4.7.2","typescript":"^5.4.5","zx":"^8.0.2"},"keywords":["drizzle","prisma","orm","pg","mysql","postgresql","postgres","sqlite","database","sql","typescript","ts","schema"],"bin":{"drizzle-prisma-generator":"index.js"},"main":"./index.js","sideEffects":false,"publishConfig":{"provenance":true},"repository":{"type":"git","url":"git+https://github.com/ken0x0a/drizzle-prisma-generator.git"},"homepage":"https://github.com/ken0x0a/drizzle-prisma-generator","dependencies":{"@prisma/generator-helper":"^7.2.0"},"types":"./index.d.ts","_id":"@8x/drizzle-prisma-generator@0.1.9","bugs":{"url":"https://github.com/ken0x0a/drizzle-prisma-generator/issues"},"_integrity":"sha512-k3GAOJ0uyg85TFNvMMM/y+b+uLjGOiv8QpWEu2PB0ATx4WC+2HGn10E/vfL8JZDuAPiEXQnRJK+lH99k1gSmxw==","_resolved":"/home/runner/work/drizzle-prisma-generator/drizzle-prisma-generator/package.tgz","_from":"file:package.tgz","_nodeVersion":"24.12.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-k3GAOJ0uyg85TFNvMMM/y+b+uLjGOiv8QpWEu2PB0ATx4WC+2HGn10E/vfL8JZDuAPiEXQnRJK+lH99k1gSmxw==","shasum":"e83ec4e149fbe3633079fd7e7684551b4f3ccf00","tarball":"https://registry.npmjs.org/@8x/drizzle-prisma-generator/-/drizzle-prisma-generator-0.1.9.tgz","fileCount":5,"unpackedSize":95821,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@8x%2fdrizzle-prisma-generator@0.1.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDiqAqhkyu/L0kU1pFUKlj5/ZJUBBzlXTVo0Bsn82/d4wIgHsinNrjggNTq2td1VOw88bhnlZIBeqNkOryV6Va+JlU="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0e4465e5-3792-4f87-bc16-4a207cf3aef9"}},"directories":{},"maintainers":[{"name":"ken0x0a","email":"ken0x0a+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/drizzle-prisma-generator_0.1.9_1768298612573_0.8174143441729056"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-13T09:55:20.248Z","modified":"2026-01-13T10:03:33.124Z","0.1.8":"2026-01-13T09:55:20.467Z","0.1.9":"2026-01-13T10:03:32.747Z"},"bugs":{"url":"https://github.com/ken0x0a/drizzle-prisma-generator/issues"},"author":{"name":"Drizzle Team"},"license":"Apache-2.0","homepage":"https://github.com/ken0x0a/drizzle-prisma-generator","keywords":["drizzle","prisma","orm","pg","mysql","postgresql","postgres","sqlite","database","sql","typescript","ts","schema"],"repository":{"type":"git","url":"git+https://github.com/ken0x0a/drizzle-prisma-generator.git"},"description":"Generate Drizzle schema from Prisma schema","maintainers":[{"name":"ken0x0a","email":"ken0x0a+npm@gmail.com"}],"readme":"# Drizzle Prisma Generator\n\nAutomatically generate Drizzle schema from Prisma schema\n\n## Usage\n\n-  Install generator: `pnpm add -D drizzle-prisma-generator`\n-  Add generator to prisma:  \n```Prisma\ngenerator drizzle {\n  provider = \"drizzle-prisma-generator\"\n  output = \"./src/schema.ts\"\n}\n```\n:warning: - if output doesn't end with `.ts`, it will be treated like a folder, and schema will be generated to `schema.ts` inside of it.  \n:warning: - binary types in `MySQL`, `PostgreSQL` are not yet supported by `drizzle-orm`, therefore will throw an error.  \n:warning: - generator only supports `postgresql`, `mysql`, `sqlite` data providers, others will throw an error.  \n\n-  Install `drizzle-orm`: `pnpm add drizzle-orm`  \n-  Import schema from specified output file\\folder  \n-  Congratulations, now you can use Drizzle ORM with generated schemas!","readmeFilename":"README.md"}