Skip to content

Commit 9a54e66

Browse files
committed
Release version, add README detail
1 parent da097b4 commit 9a54e66

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,23 @@ Node client for generating crude GraphQL specs from Swagger OpenAPI.
2020

2121
### CLI
2222

23-
```
23+
```bash
2424
npx @manifoldco/graphql-gen schema.yaml --output schema.graphql
25+
26+
# 🚀 schema.yaml -> schema.graphql [2ms]
2527
```
2628

27-
This will save a `schema.graphql` file in the current folder.
29+
This will save a `schema.graphql` file in the current folder. The CLI can
30+
accept YAML or JSON for the input file.
2831

2932
### Node
3033

31-
```
34+
```bash
3235
npm i --save-dev @manifoldco/graphql-gen
3336
```
3437

3538
```js
36-
const graphqlGen = require('@manifoldco/swagger-to-graphql');
39+
const graphqlGen = require('@manifoldco/graphql-gen');
3740

3841
graphqlGen(spec, [options]);
3942
```

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@manifoldco/graphql-gen",
3-
"version": "1.1.0-alpha.4",
3+
"version": "1.1.0",
44
"main": "dist/index.js",
55
"bin": {
66
"graphql-gen": "./bin/cli.js"
@@ -9,10 +9,10 @@
99
"bin",
1010
"dist"
1111
],
12-
"homepage": "https://github.com/manifoldco/swagger-to-graphql#readme",
12+
"homepage": "https://github.com/manifoldco/graphql-gen#readme",
1313
"repository": {
1414
"type": "git",
15-
"url": "git+https://github.com/manifoldco/swagger-to-graphql.git"
15+
"url": "git+https://github.com/manifoldco/graphql-gen.git"
1616
},
1717
"keywords": [
1818
"swagger",
@@ -24,7 +24,7 @@
2424
"author": "dangodev",
2525
"license": "ISC",
2626
"bugs": {
27-
"url": "https://github.com/manifoldco/swagger-to-graphql/issues"
27+
"url": "https://github.com/manifoldco/graphql-gen/issues"
2828
},
2929
"scripts": {
3030
"build": "node scripts/build",

0 commit comments

Comments
 (0)