{"_id":"@abeljimenez8am-nx-tools/nx-prisma","_rev":"3-ebc98cb5581cd62e6757b1d9fbc116fa","name":"@abeljimenez8am-nx-tools/nx-prisma","dist-tags":{"latest":"7.2.3"},"versions":{"7.2.1":{"name":"@abeljimenez8am-nx-tools/nx-prisma","version":"7.2.1","author":{"name":"gperdomor","email":"gperdomor@gmail.com"},"license":"MIT","_id":"@abeljimenez8am-nx-tools/nx-prisma@7.2.1","maintainers":[{"name":"abeljimenez8am","email":"abel.jimenez@8am.com"}],"contributors":[{"name":"wSedlacek"}],"homepage":"https://github.com/gperdomor/nx-tools#readme","bugs":{"url":"https://github.com/gperdomor/nx-tools/issues"},"dist":{"shasum":"6cf7f4db919e3bd1ffc2b680d5e13f12f5af1948","tarball":"https://registry.npmjs.org/@abeljimenez8am-nx-tools/nx-prisma/-/nx-prisma-7.2.1.tgz","fileCount":86,"integrity":"sha512-bxvOpYhv5UXWWSEGAx71vhlReqMTZJ4g0K8NA6xoRUK4f8UCJ/w1b0sfjCG/ZbYySC3sPFqiLgnTxnEJs04PeA==","signatures":[{"sig":"MEUCIQCB/p97D8FVEz/2GGSdGq2eX2xLqHtFYCP7DdQFiGE8VAIgLRlOR3E5FDwE/N3HhDZItn5ck8+fnRORWBvoAYWFsXc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59095},"main":"./dist/index.js","type":"commonjs","_from":"file:abeljimenez8am-nx-tools-nx-prisma-7.2.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.19.0 <21 || >=22.12.0 <23 || >=24.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","@abeljimenez8am-nx-tools/source":"./src/index.ts"},"./package.json":"./package.json"},"_npmUser":{"name":"abeljimenez8am","email":"abel.jimenez@8am.com"},"_resolved":"/private/var/folders/kq/zjs_hqgs0mn0dlmhx8hm8t140000gp/T/1fa5218cd9e3717ae62a1b3487e888b0/abeljimenez8am-nx-tools-nx-prisma-7.2.1.tgz","executors":"./executors.json","_integrity":"sha512-bxvOpYhv5UXWWSEGAx71vhlReqMTZJ4g0K8NA6xoRUK4f8UCJ/w1b0sfjCG/ZbYySC3sPFqiLgnTxnEJs04PeA==","generators":"./generators.json","repository":{"url":"git+https://github.com/gperdomor/nx-tools.git","type":"git","directory":"packages/nx-prisma"},"_npmVersion":"10.9.4","description":"<p align=\"center\">   <a href=\"https://www.npmjs.com/package/@nx-tools/nx-prisma\">     <img alt=\"NPM Version\" src=\"https://img.shields.io/npm/v/@nx-tools/nx-prisma\"/>   </a>   <a href=\"https://www.npmjs.com/package/@nx-tools/nx-prisma\">     <img alt=\"NPM T","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@abeljimenez8am-nx-tools/core":"7.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@nx/devkit":"22.1.0"},"peerDependencies":{"tsx":"^4.0.0","tslib":"^2.6.0","prisma":"^5.0.0 || ^6.0.0 || ^7.0.0","ts-node":"^10.0.0","@nx/devkit":">=18.0.0 <23.0.0"},"peerDependenciesMeta":{"tsx":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nx-prisma_7.2.1_1768439808166_0.15188749099004228","host":"s3://npm-registry-packages-npm-production"}},"7.2.2":{"name":"@abeljimenez8am-nx-tools/nx-prisma","version":"7.2.2","author":{"name":"gperdomor","email":"gperdomor@gmail.com"},"license":"MIT","_id":"@abeljimenez8am-nx-tools/nx-prisma@7.2.2","maintainers":[{"name":"abeljimenez8am","email":"abel.jimenez@8am.com"}],"contributors":[{"name":"wSedlacek"}],"homepage":"https://github.com/gperdomor/nx-tools#readme","bugs":{"url":"https://github.com/gperdomor/nx-tools/issues"},"dist":{"shasum":"0f8380d55858a7e68894adcd087a2a879d47d16f","tarball":"https://registry.npmjs.org/@abeljimenez8am-nx-tools/nx-prisma/-/nx-prisma-7.2.2.tgz","fileCount":86,"integrity":"sha512-mKm3afGxNfB6Qu6KETcisknfR+MC1rkQ2BJ2bxi+KKhbQ0j/x6Aw2PMWePJi3D75h12pKIay46eXoD4+WfvGXg==","signatures":[{"sig":"MEYCIQDNREA5uqhu3YyOtLVqnb5SFtiVElrRJsoaHnwjNIXFsQIhANk0KbaA6zWaJ+0y2GCkYFHBZ4tTKr9Omb4dfeQIuujm","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59350},"main":"./dist/index.js","type":"commonjs","_from":"file:abeljimenez8am-nx-tools-nx-prisma-7.2.2.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.19.0 <21 || >=22.12.0 <23 || >=24.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","@abeljimenez8am-nx-tools/source":"./src/index.ts"},"./package.json":"./package.json"},"_npmUser":{"name":"abeljimenez8am","email":"abel.jimenez@8am.com"},"_resolved":"/private/var/folders/kq/zjs_hqgs0mn0dlmhx8hm8t140000gp/T/30fa81cf0af003d654f3cf1fb57fb89a/abeljimenez8am-nx-tools-nx-prisma-7.2.2.tgz","executors":"./executors.json","_integrity":"sha512-mKm3afGxNfB6Qu6KETcisknfR+MC1rkQ2BJ2bxi+KKhbQ0j/x6Aw2PMWePJi3D75h12pKIay46eXoD4+WfvGXg==","generators":"./generators.json","repository":{"url":"git+https://github.com/gperdomor/nx-tools.git","type":"git","directory":"packages/nx-prisma"},"_npmVersion":"10.9.4","description":"<p align=\"center\">   <a href=\"https://www.npmjs.com/package/@nx-tools/nx-prisma\">     <img alt=\"NPM Version\" src=\"https://img.shields.io/npm/v/@nx-tools/nx-prisma\"/>   </a>   <a href=\"https://www.npmjs.com/package/@nx-tools/nx-prisma\">     <img alt=\"NPM T","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@abeljimenez8am-nx-tools/core":"7.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@nx/devkit":"22.1.0"},"peerDependencies":{"tsx":"^4.0.0","tslib":"^2.6.0","prisma":"^5.0.0 || ^6.0.0 || ^7.0.0","ts-node":"^10.0.0","@nx/devkit":">=18.0.0 <23.0.0"},"peerDependenciesMeta":{"tsx":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nx-prisma_7.2.2_1768440110677_0.0834622571979613","host":"s3://npm-registry-packages-npm-production"}},"7.2.3":{"name":"@abeljimenez8am-nx-tools/nx-prisma","version":"7.2.3","type":"commonjs","author":{"name":"gperdomor","email":"gperdomor@gmail.com"},"contributors":[{"name":"wSedlacek"}],"repository":{"type":"git","url":"git+https://github.com/gperdomor/nx-tools.git","directory":"packages/nx-prisma"},"bugs":{"url":"https://github.com/gperdomor/nx-tools/issues"},"license":"MIT","publishConfig":{"access":"public"},"main":"./dist/index.js","types":"./dist/index.d.ts","executors":"./executors.json","generators":"./generators.json","dependencies":{"@abeljimenez8am-nx-tools/core":"7.2.3"},"peerDependencies":{"@nx/devkit":">=18.0.0 <23.0.0","tslib":"^2.6.0","prisma":"^5.0.0 || ^6.0.0 || ^7.0.0","ts-node":"^10.0.0","tsx":"^4.0.0"},"devDependencies":{"@nx/devkit":"22.1.0"},"peerDependenciesMeta":{"tsx":{"optional":true}},"engines":{"node":">=20.19.0 <21 || >=22.12.0 <23 || >=24.0.0"},"exports":{"./package.json":"./package.json",".":{"@abeljimenez8am-nx-tools/source":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"_id":"@abeljimenez8am-nx-tools/nx-prisma@7.2.3","description":"<p align=\"center\">   <a href=\"https://www.npmjs.com/package/@nx-tools/nx-prisma\">     <img alt=\"NPM Version\" src=\"https://img.shields.io/npm/v/@nx-tools/nx-prisma\"/>   </a>   <a href=\"https://www.npmjs.com/package/@nx-tools/nx-prisma\">     <img alt=\"NPM T","homepage":"https://github.com/gperdomor/nx-tools#readme","_integrity":"sha512-/t+NM0IEdtkPKx7noDAahhmCqKDEYJi6INtUJLbjtWeA0hhbCZw8IwbuhMCCJhLV5c+BISe3pG5K3XMwt0E+Iw==","_resolved":"/private/var/folders/kq/zjs_hqgs0mn0dlmhx8hm8t140000gp/T/714db9d99d106917d929babeea8996d8/abeljimenez8am-nx-tools-nx-prisma-7.2.3.tgz","_from":"file:abeljimenez8am-nx-tools-nx-prisma-7.2.3.tgz","_nodeVersion":"22.21.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-/t+NM0IEdtkPKx7noDAahhmCqKDEYJi6INtUJLbjtWeA0hhbCZw8IwbuhMCCJhLV5c+BISe3pG5K3XMwt0E+Iw==","shasum":"92e928eab8d7b6c0e2166f775fb78315c5d8cd2a","tarball":"https://registry.npmjs.org/@abeljimenez8am-nx-tools/nx-prisma/-/nx-prisma-7.2.3.tgz","fileCount":86,"unpackedSize":59350,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDPvmznJzl3v8GaiwFANCi+Av+YYOlcS+zjsgSm6Z1ULgIhALVLUFpI904v9HjOHlCSxtCPxr8SxoIeMyngDyNwHLk4"}]},"_npmUser":{"name":"abeljimenez8am","email":"abel.jimenez@8am.com"},"directories":{},"maintainers":[{"name":"abeljimenez8am","email":"abel.jimenez@8am.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nx-prisma_7.2.3_1768441089178_0.14169294807283594"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-15T01:16:48.023Z","modified":"2026-01-15T01:38:09.448Z","7.2.1":"2026-01-15T01:16:48.331Z","7.2.2":"2026-01-15T01:21:50.817Z","7.2.3":"2026-01-15T01:38:09.334Z"},"bugs":{"url":"https://github.com/gperdomor/nx-tools/issues"},"author":{"name":"gperdomor","email":"gperdomor@gmail.com"},"license":"MIT","homepage":"https://github.com/gperdomor/nx-tools#readme","repository":{"type":"git","url":"git+https://github.com/gperdomor/nx-tools.git","directory":"packages/nx-prisma"},"description":"<p align=\"center\">   <a href=\"https://www.npmjs.com/package/@nx-tools/nx-prisma\">     <img alt=\"NPM Version\" src=\"https://img.shields.io/npm/v/@nx-tools/nx-prisma\"/>   </a>   <a href=\"https://www.npmjs.com/package/@nx-tools/nx-prisma\">     <img alt=\"NPM T","contributors":[{"name":"wSedlacek"}],"maintainers":[{"name":"abeljimenez8am","email":"abel.jimenez@8am.com"}],"readme":"<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/@nx-tools/nx-prisma\">\n    <img alt=\"NPM Version\" src=\"https://img.shields.io/npm/v/@nx-tools/nx-prisma\"/>\n  </a>\n  <a href=\"https://www.npmjs.com/package/@nx-tools/nx-prisma\">\n    <img alt=\"NPM Type Definitions\" src=\"https://img.shields.io/npm/types/@nx-tools/nx-prisma\"/>\n  </a>\n  <a href=\"https://bundlephobia.com/package/@nx-tools/nx-prisma\">\n    <img alt=\"Minizipped Size\" src=\"https://img.shields.io/bundlephobia/minzip/@nx-tools/nx-prisma\" />\n  </a>\n  <a href=\"https://github.com/gperdomor/nx-tools/blob/main/LICENSE\">\n    <img alt=\"GitHub License\" src=\"https://img.shields.io/github/license/gperdomor/nx-tools\"/>\n  </a>\n  <a href=\"https://www.npmjs.com/package/@nx-tools/nx-prisma\">\n    <img alt=\"NPM Downloads\" src=\"https://img.shields.io/npm/dm/@nx-tools/nx-prisma\"/>\n  </a>\n</p>\n\n# @nx-tools/nx-prisma\n\nThe Nx Plugin for Prisma contains executors, generators, and utilities for managing Prisma applications within an Nx workspace. It provides:\n\n- Integration with [Prisma CLI](https://www.npmjs.com/package/prisma)\n- Generators to help to setup your apps quickly\n\n## Setting up the Prisma plugin\n\nAdding the Prisma plugin to an existing Nx workspace can be done with the following:\n\n```bash\nnpm install -D @nx-tools/nx-prisma\n```\n\n```bash\nyarn add -D @nx-tools/nx-prisma\n```\n\n## Using the Prisma Plugin\n\n### Configuring an application\n\nIt's straightforward to setup your application:\n\n```bash\nnx g @nx-tools/nx-prisma:configuration appName\n```\n\nBy default, the application will be configured with:\n\n- A Prisma schema in the application root.\n- A set of targets and executors to invoke common prisma commands to manage your application. You can add more executors later.\n\nWe can then call generate, deploy, migrate, db pull, db push prisma commands, and even start prisma studio with the following commands:\n\n```bash\nnx prisma-generate appName\nnx prisma-deploy appName\nnx prisma-migrate appName\nnx prisma-pull appName\nnx prisma-push appName\nnx prisma-studio appName\nnx prisma-validate appName\n```\n\n> Tip: You can change the location or rename your prisma file, but should live inside the project folder and the `options.schema` property of your project target needs to be updated with the relative path to the new schema location.\n\n## Package reference\n\nHere is a list of all the executors and generators available from this package:\n\n### Executors\n\n- deploy: Apply pending migrations to update the database schema in production/staging.\n- generate: Generate artifacts (e.g. Prisma Client).\n- migrate: Create a migration from changes in Prisma schema, apply it to the database, trigger generators (e.g. Prisma Client).\n- pull: Pull the schema from an existing database, updating the Prisma schema.\n- push: Push the Prisma schema state to the database.\n- reset: Reset your database and apply all migrations, all data will be lost.\n- resolve: Resolve issues with database migrations in deployment databases.\n- seed: Seed your database.\n- status: Check the status of your database migrations.\n- studio: Browse your data with Prisma Studio.\n- validate: validate your Prisma schema.\n\n### Generators\n\n- init: Setup Prisma for your app\n\n## Community\n\nJoin the growing Nx Tools community! We believe in building together and welcome contributors of all experience levels.\n\n### Get Involved\n\n- **Report Issues**: Found a bug or have a suggestion? [Open an issue](https://github.com/gperdomor/nx-tools/issues/new/choose) on GitHub\n- **Ask Questions**: Need help or clarification? Start a conversation in [GitHub Discussions](https://github.com/gperdomor/nx-tools/discussions)\n- **Contribute Code**: Pull requests are welcome! Check our [contribution guidelines](https://github.com/gperdomor/nx-tools/blob/main/CONTRIBUTING.md) to get started\n- **Share Your Work**: Built something with Nx Tools? Share it with the community in the [Showcase discussion](https://github.com/gperdomor/nx-tools/discussions/categories/show-and-tell)\n- **Spread the Word**: Star the [repository](https://github.com/gperdomor/nx-tools), share on social media, or write about your experience\n\n### Resources\n\n- [GitHub Repository](https://github.com/gperdomor/nx-tools) - Source code, issues, and project management\n- [GitHub Discussions](https://github.com/gperdomor/nx-tools/discussions) - Community conversations and support\n- [NPM Package](https://www.npmjs.com/package/@nx-tools/nx-prisma) - Latest releases and installation information\n- [Documentation](https://nx-tools.vercel.app) - Comprehensive guides and API reference\n- [Code of Conduct](https://github.com/gperdomor/nx-tools/blob/main/CODE_OF_CONDUCT.md) - Our community standards and expectations\n\nYour feedback and contributions help make Nx Tools better for everyone!\n\n## Sponsors\n\n<p align=\"center\">\n  <a href=\"https://cdn.jsdelivr.net/gh/gperdomor/static/sponsors.svg\">\n    <img src='https://cdn.jsdelivr.net/gh/gperdomor/static/sponsors.svg'/>\n  </a>\n</p>\n\n## License\n\n[MIT](https://github.com/gperdomor/nx-tools/blob/main/LICENSE) License © [Gustavo Perdomo](https://github.com/gperdomor)\n","readmeFilename":"README.md"}