Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Commit

Permalink
Remove copy of io ts reporters (#19)
Browse files Browse the repository at this point in the history
* Use latest version of io-ts-reporter dependencies
* Bump major version.

Co-authored-by: Frida Jakobsson <[email protected]>
Co-authored-by: Kristian Lundström <[email protected]>
  • Loading branch information
3 people authored Aug 16, 2019
1 parent d0578b8 commit 7d246dd
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 51 deletions.
2 changes: 1 addition & 1 deletion dist/src/decoder.js

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

2 changes: 1 addition & 1 deletion dist/src/decoder.js.map

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

2 changes: 1 addition & 1 deletion dist/src/mq.js

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

2 changes: 1 addition & 1 deletion dist/src/mq.js.map

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mq",
"version": "3.0.0",
"version": "4.0.0",
"description": "A declarative abstraction layer for writing event handlers.",
"main": "./dist/src/mq.js",
"types": "./dist/src/mq.d.ts",
Expand Down Expand Up @@ -32,6 +32,7 @@
"peerDependencies": {
"fp-ts": "^2.0.0",
"io-ts": "^2.0.0",
"io-ts-reporters": "^1.0.0",
"winston": "^3.1.0"
},
"devDependencies": {
Expand All @@ -44,6 +45,7 @@
"chai-as-promised": "^7.1.1",
"fp-ts": "^2.0.3",
"io-ts": "^2.0.0",
"io-ts-reporters": "^1.0.0",
"istanbul": "^0.4.5",
"mocha": "^6.2.0",
"nyc": "^14.1.1",
Expand Down
2 changes: 1 addition & 1 deletion src/decoder.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as E from "fp-ts/lib/Either";
import * as t from "io-ts";
import { reporter } from "./io-ts-reporters";
import { reporter } from "io-ts-reporters";

export const decode = <A, O>(
decoder: t.Type<A, O>,
Expand Down
44 changes: 0 additions & 44 deletions src/io-ts-reporters.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/mq.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as t from "io-ts";
import * as _reporters from "io-ts-reporters";
import * as _events from "./events";
import * as _reporters from "./io-ts-reporters";
import * as _resource from "./resource";
import * as _service from "./service";

Expand Down

0 comments on commit 7d246dd

Please sign in to comment.