CLI tool that generates repository pattern classes for Prisma ORM models. v0.3.12 is the last version on the original package, which has been moved to @krsbx/prisma-repo (see warnings). The tool creates abstract base repositories with static methods, configurable via repository.setting files (JSON, JS, TS). Supports Express request extension (conflicts with multer/file). This package is now deprecated in favor of the renamed successor. No updates since move.
npm install prisma-repoNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install prisma-repo, generate repositories, and use the generated UserRepository with PrismaClient.
Use @krsbx/prisma-repo instead. Migrate your config and imports.
Follow the new abstract class pattern with static methods. Refer to the README for migration.
Avoid extendExpress or restrict include/exclude arrays to only model names that do not conflict.
Run 'npm install -D prisma-repo' to install it as a devDependency.
Create the directory before running the CLI, or change repositoryPath to an existing directory.
Ensure repository.setting.json/js/ts exists in the project root with proper format.