prisma-import

1.0.5 • Public • Published

Prisma Import

Compile all your schemas into one and replace all imports


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

Readme

Keywords

Package Sidebar

Install

npm i prisma-import

Weekly Downloads

3,298

Version

1.0.5

License

MIT

Unpacked Size

14.9 kB

Total Files

11

Last publish

Collaborators

  • ajmnz