Skip to content

Commit

Permalink
WIP: Rename project to graphql-typewriter (#27)
Browse files Browse the repository at this point in the history
Rename project to graphql-typewriter
  • Loading branch information
nknapp committed Jan 18, 2017
1 parent 526468a commit 153b923
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .thought/partials/usage.md.hbs
@@ -1,6 +1,6 @@
### Usage

{{exec "node bin/gql2ts-for-server.js --help"}}
{{exec "node bin/graphql-typewriter.js --help"}}

`{{package.name}}` is assumed to be run in the root folder of a npm-project.
It finds all .graphqls files recursively and adds a .graphqls.ts file next each file
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -9,7 +9,7 @@ script:
- npm install istanbul remap-istanbul
- istanbul cover --print none --report none ./node_modules/.bin/_mocha
# Test that running the executable itself does not create an error
- bin/gql2ts-for-server.js
- node bin/graphql-typewriter.js
after_script:
# This will fail in node v4, but it does not matter, because it is in
# after_script
Expand Down
12 changes: 6 additions & 6 deletions README.md
@@ -1,6 +1,6 @@
# gql2ts-for-server
# graphql-typewriter

[![NPM version](https://badge.fury.io/js/gql2ts-for-server.svg)](http://badge.fury.io/js/gql2ts-for-server)
[![NPM version](https://badge.fury.io/js/graphql-typewriter.svg)](http://badge.fury.io/js/graphql-typewriter)
[![Travis Build Status](https://travis-ci.org/nknapp/gql2ts-for-server.svg?branch=master)](https://travis-ci.org/nknapp/gql2ts-for-server)
[![Coverage Status](https://img.shields.io/coveralls/nknapp/gql2ts-for-server.svg)](https://coveralls.io/r/nknapp/gql2ts-for-server)

Expand All @@ -11,13 +11,13 @@
# Installation

```
npm install -g gql2ts-for-server
npm install -g graphql-typewriter
```

### Usage

```
Usage: gql2ts-for-server [options]
Usage: graphql-typewriter [options]
Convert all .graphqls schema-files in the current directory tree into typescript
interfaces that can be used to implement a graphql-root for this schema.
Expand All @@ -30,7 +30,7 @@ interfaces that can be used to implement a graphql-root for this schema.
--dont-save-same-file do not save a file if the contents has not changed. This read each target file prior to loading
```

`gql2ts-for-server` is assumed to be run in the root folder of a npm-project.
`graphql-typewriter` is assumed to be run in the root folder of a npm-project.
It finds all .graphqls files recursively and adds a .graphqls.ts file next each file
(excluding the `node_modules`-folder).

Expand Down Expand Up @@ -185,7 +185,7 @@ The output of this program is

## License

`gql2ts-for-server` is published under the MIT-license.
`graphql-typewriter` is published under the MIT-license.
See [LICENSE.md](LICENSE.md) for details.

## Release-Notes
Expand Down
26 changes: 0 additions & 26 deletions bin/gql2ts-for-server.js

This file was deleted.

File renamed without changes.
10 changes: 5 additions & 5 deletions package.json
@@ -1,15 +1,15 @@
{
"name": "gql2ts-for-server",
"name": "graphql-typewriter",
"version": "0.3.0",
"description": "Easy TypeScript interfaces for your GraphQL server",
"repository": {
"type": "git",
"url": "git@github.com:nknapp/gql2ts-for-server.git"
"url": "git@github.com:nknapp/graphql-typewriter.git"
},
"bin": {
"gql2ts-for-server": "bin/gql2ts-for-server.js"
"graphql-typewriter": "bin/graphql-typewriter.js"
},
"homepage": "https://github.com/nknapp/gql2ts-for-server",
"homepage": "https://github.com/nknapp/graphql-typewriter",
"preferGlobal": true,
"author": {
"name": "Nils Knappmeier",
Expand All @@ -24,7 +24,7 @@
}
],
"bugs": {
"url": "https://github.com/nknapp/gql2ts-for-server/issues"
"url": "https://github.com/nknapp/graphql-typewriter/issues"
},
"main": "src/index.js",
"license": "MIT",
Expand Down

0 comments on commit 153b923

Please sign in to comment.