From 29ec78a994741a49c69d2400bb646ce0f4c6d6df Mon Sep 17 00:00:00 2001 From: Paul Loyd Date: Thu, 16 Nov 2017 17:34:27 +0300 Subject: [PATCH] Rename the project to "flow2schema" --- README.md | 16 +++++++++------- bin/{flow2avro => flow2schema} | 0 package.json | 13 +++++++------ 3 files changed, 16 insertions(+), 13 deletions(-) rename bin/{flow2avro => flow2schema} (100%) diff --git a/README.md b/README.md index b88ef61..b6dfc33 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,11 @@ -# flow2avro +# flow2schema -[![Version npm](https://img.shields.io/npm/v/flow2avro.svg)](https://www.npmjs.com/package/flow2avro) -[![Linux Build](https://travis-ci.org/loyd/flow2avro.svg?branch=master)](https://travis-ci.org/loyd/flow2avro) -[![Windows Build](https://ci.appveyor.com/api/projects/status/github/loyd/flow2avro?branch=master&svg=true)](https://ci.appveyor.com/project/loyd/flow2avro) -[![Coverage Status](https://coveralls.io/repos/github/loyd/flow2avro/badge.svg?branch=master)](https://coveralls.io/r/loyd/flow2avro?branch=master) +[![Version npm](https://img.shields.io/npm/v/flow2schema.svg)](https://www.npmjs.com/package/flow2schema) +[![Linux Build](https://travis-ci.org/loyd/flow2schema.svg?branch=master)](https://travis-ci.org/loyd/flow2schema) +[![Windows Build](https://ci.appveyor.com/api/projects/status/github/loyd/flow2schema?branch=master&svg=true)](https://ci.appveyor.com/project/loyd/flow2schema) +[![Coverage Status](https://coveralls.io/repos/github/loyd/flow2schema/badge.svg?branch=master)](https://coveralls.io/r/loyd/flow2schema?branch=master) + +Currently avro is the only supported target. ## Example @@ -19,7 +21,7 @@ export interface Foo { } ``` -Output (`$ ./bin/flow2avro example.js`): +Output (`$ ./bin/flow2schema example.js`): ```json [ { @@ -41,7 +43,7 @@ Output (`$ ./bin/flow2avro example.js`): ``` ## TODO -* Generics. +* Complete generics support. * Errors and warnings. * Support commonjs modules. * Documentation. diff --git a/bin/flow2avro b/bin/flow2schema similarity index 100% rename from bin/flow2avro rename to bin/flow2schema diff --git a/package.json b/package.json index 83aca10..70f76d5 100644 --- a/package.json +++ b/package.json @@ -1,25 +1,26 @@ { - "name": "flow2avro", + "name": "flow2schema", "version": "0.2.0", - "description": "Generate avro schemas for flowtype definitions", + "description": "Generate schemas for flowtype definitions", "author": "Paul Loyd ", "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/loyd/flow2avro.git" + "url": "https://github.com/loyd/flow2schema.git" }, "bugs": { - "url": "https://github.com/loyd/flow2avro/issues" + "url": "https://github.com/loyd/flow2schema/issues" }, "keywords": [ "flow", "flowtype", "avro", - "avsc" + "avsc", + "json-schema" ], "main": "lib/index.js", "bin": { - "flow2avro": "./bin/flow2avro" + "flow2schema": "./bin/flow2schema" }, "dependencies": { "babylon": "^7.0.0-beta.32",