Skip to content
This repository has been archived by the owner on Dec 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #168 from rkaneko/renovate/prettier-1.x
Browse files Browse the repository at this point in the history
chore(deps): update dependency prettier to ^1.18.2
  • Loading branch information
rkaneko authored Jun 16, 2019
2 parents 65d2ade + 5265ef9 commit ae37d82
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"graphql-config": "^2.2.1",
"npm-run-all": "^4.1.5",
"nyc": "^14.1.1",
"prettier": "^1.17.1",
"prettier": "^1.18.2",
"rimraf": "^2.6.3",
"tslint": "^5.17.0",
"tslint-config-prettier": "^1.18.0",
Expand Down
4 changes: 1 addition & 3 deletions src/api/compute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ export default async function compute(
const schemaJson = require(option.schema);
if (!schemaJson.data && !schemaJson.__schema) {
throw new Error(
`A valid GraphQL introspection query result should be contained in : ${
option.schema
} .`
`A valid GraphQL introspection query result should be contained in : ${option.schema} .`
);
}
const schema = buildClientSchema(schemaJson.data);
Expand Down
8 changes: 2 additions & 6 deletions src/cli/usage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,11 @@ const sections = [
content: [
{
desc: "Case: Specifying all options via command line args.",
example: `$ gqlcat -i "./src/**/*.graphql" -i "./src/**/*.gql" -e "./dist/**/*.graphql" -d ./dist -o ${
OptionOutput.OUTPUT_FILE
} -l ${OptionLang.LANG_TS} -s ./src/schema.json`
example: `$ gqlcat -i "./src/**/*.graphql" -i "./src/**/*.gql" -e "./dist/**/*.graphql" -d ./dist -o ${OptionOutput.OUTPUT_FILE} -l ${OptionLang.LANG_TS} -s ./src/schema.json`
},
{
desc: "Case: Using your {italic .graphqlconfig}.",
example: `$ gqlcat -d ./dist -o ${
OptionOutput.OUTPUT_STDOUT
} -l ${OptionLang.LANG_GQL} -p github`
example: `$ gqlcat -d ./dist -o ${OptionOutput.OUTPUT_STDOUT} -l ${OptionLang.LANG_GQL} -p github`
}
]
},
Expand Down

0 comments on commit ae37d82

Please sign in to comment.