Skip to content

Commit 4221a49

Browse files
author
Siddharth Yadav
committed
feat: change json-dereference to json-dereference-v2 to avoid conflicts
1 parent b834868 commit 4221a49

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# JSON Dereference CLI
1+
# JSON Dereference CLI v2
22

33
*Very* simple CLI tool that wraps the
44
excellent [json-schema-ref-parser](https://github.com/BigstickCarpet/json-schema-ref-parser) library.
@@ -9,11 +9,11 @@ excellent [json-schema-ref-parser](https://github.com/BigstickCarpet/json-schema
99

1010
```bash
1111
# Using npx:
12-
npx json-dereference-cli -s <schema> [-i <spaces>] [-o <output>] [-t <type>]
12+
npx json-dereference-cli-v2 -s <schema> [-i <spaces>] [-o <output>] [-t <type>]
1313

1414
# Installing globally:
15-
npm install -g json-dereference-cli
16-
json-dereference -s <schema> [-i <spaces>] [-o <output>] [-t <type>]
15+
npm install -g json-dereference-cli-v2
16+
json-dereference-v2 -s <schema> [-i <spaces>] [-o <output>] [-t <type>]
1717
```
1818

1919
*Note:* The input file can either be `json`, or `yaml` / `yml`.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"author": "Siddharth Yadav",
44
"description": "Provides a cli interface to the json-schema-ref-parser library",
55
"bin": {
6-
"json-dereference": "./dereference.js"
6+
"json-dereference-v2": "./dereference.js"
77
},
88
"bugs": {
99
"url": "https://github.com/sedflix/json-dereference-cli-v2/issues"

0 commit comments

Comments
 (0)