Socket
Socket
Sign inDemoInstall

prisma-fuse

Package Overview
Dependencies
22
Maintainers
5
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    prisma-fuse

Fuse multiple Prisma schema files into one


Version published
Maintainers
5
Install size
3.35 MB
Created

Changelog

Source

0.0.6 (2024-04-16)

  • Create new option --add-namespace-from-file-name

Readme

Source

prisma-fuse

Fuse multiple Prisma schema files into one.

CLI Options

Usage: prisma-fuse [options]

Fuse multiple Prisma schema files into one.

Options:
  -V, --version                      output the version number
  -b, --base-file <string>           Base file usually with datasource & generator statement. (default: "src/prisma/base.prisma")
  -o, --output-file <string>         Output file. (default: "src/prisma/schema.prisma")
  -s, --schema-file-glob <string>    Glob pattern of Prisma schema files to include. (default: "src/**/*.prisma")
  -e, --excluded-file-glob <string>  Glob pattern of excluded files (e.g schema.prisma in migrations/generated folder). (default: "src/**/schema.prisma")
  --strip-comments                   Strip out lines that start with `//`. Lines that start with `///` will not be stripped. (default: false)
  --add-namespace-from-file-name     Adds a `/// @namespace {namespace}` comment before each model using the prisma file name. For example, `user.prisma` would map to `/// @namespace User`. Compatible with https://github.com/samchon/prisma-markdown. (default: false)
  --verbose                          Verbose logging. (default: false)
  -h, --help                         display help for command

FAQs

Last updated on 16 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc