1.0.4 • Published 1 year ago

@mdworld/drep v1.0.4

Weekly downloads
-
License
CC0-1.0
Repository
github
Last release
1 year ago

DREP

Deduplicate RTKQ EndPoints

When creating Redux Toolkit Query (RTKQ) endpoints with rtk-query-codegen-openapi, it is possible to have duplicate endpoint names from different schemas. Drep will run a check and fail if there are duplicates. It is possible to add endpoint names to a .drepignore file. Those endpoint names will not fail the run, but will still be listed as "ignored".

Requires an openapi-config.ts in de root of directory.

oclif Version Downloads/week

Usage

$ npm i -D @mdworld/drep
$ npx drep run
running command...
...

Commands

drep run

Find duplicate Redux Toolkit Query endpoints

USAGE
  $ drep run

DESCRIPTION
  Find duplicate Redux Toolkit Query endpoints

EXAMPLES
  $ drep run
  Found 2 duplicates

See code: src/commands/run.ts

drep help [COMMAND]

Display help for drep.

USAGE
  $ drep help [COMMAND...] [-n]

ARGUMENTS
  COMMAND...  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for drep.

See code: @oclif/plugin-help

Development

npm run build && ./bin/run.js run
npm publish --access=public
1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

1.0.4

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago