1.0.5 • Published 3 months ago

prisma-import v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Usage

$ npx prisma-import

# or with yarn

$ yarn dlx prisma-import

Options

Use the --help flag to get a list of possible options

Compile all your schemas into one and replace all imports

Usage

  $ prisma-import [flags/options]
  $ prisma-import -s "glob/pattern/for/schemas" -o path/to/output/schema.prisma
  $ prisma-import -s "glob/pattern/for/schemas" -s "other/glob/pattern/for/schemas" -o path/to/output/schema.prisma

Flags

          -h, --help    Display this help message
          -d, --dry     Print the resulting schema to stdout
          -f, --force   Skip asking for confirmation on schema overwrite
          -o, --output  Specify where you want your resulting schema to be written
          -s, --schemas Specify where your schemas are using a glob pattern