A CLI tool to merge multiple Prisma schema files into a single schema file. Supports glob patterns for includes/excludes, optional comment stripping, and namespace annotation compatible with prisma-markdown. Version 0.0.6, released as a single-purpose utility. Prioritizes simplicity and integration with Prisma workflows; alternatives like @prisma/schema-fuse are less feature-rich.
npm install prisma-fuseNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Merge all .prisma files under src/ except schema.prisma, using base.prisma as anchor, output to schema.prisma, and add @namespace comments.
Set excluded-file-glob to exclude the output file, or use a different output path.
Only use this flag if you are using prisma-markdown.
Run prisma validate or prisma generate after fusion to check schema correctness.
Create the base.prisma file or specify a different path with --base-file.
Reinstall prisma-fuse: npm install -g prisma-fuse or use npx.
Use single quotes around the glob pattern: 'src/**/*.prisma'.
No dependency data recorded yet.