Skip to content

Commit

Permalink
feat: convert to typescript (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanve authored May 18, 2020
1 parent 5451a28 commit d70ff30
Show file tree
Hide file tree
Showing 64 changed files with 3,987 additions and 10,159 deletions.
4 changes: 1 addition & 3 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* @flow */

module.exports = {
presets: [
[
Expand All @@ -9,6 +7,6 @@ module.exports = {
modules: process.env.BABEL_ENV !== 'esm' ? 'commonjs' : false,
},
],
'@babel/flow',
'@babel/preset-typescript',
],
};
9 changes: 1 addition & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
/* @flow */

module.exports = {
extends: [
'4catalyzer-flow',
'4catalyzer-jest',
'prettier',
'prettier/flowtype',
],
extends: ['4catalyzer-typescript', '4catalyzer-jest', 'prettier'],
plugins: ['prettier'],
rules: {
'prettier/prettier': 'error',
Expand Down
11 changes: 0 additions & 11 deletions .flowconfig

This file was deleted.

44 changes: 20 additions & 24 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,91 +1,87 @@
## [0.10.1](https://github.com/4Catalyzer/graphql-subscription-server/compare/v0.10.0...v0.10.1) (2020-05-04)


### Bug Fixes

* Export options types ([#339](https://github.com/4Catalyzer/graphql-subscription-server/issues/339)) ([9faabd6](https://github.com/4Catalyzer/graphql-subscription-server/commit/9faabd6))
- Export options types ([#339](https://github.com/4Catalyzer/graphql-subscription-server/issues/339)) ([9faabd6](https://github.com/4Catalyzer/graphql-subscription-server/commit/9faabd6))

# [0.10.0](https://github.com/4Catalyzer/graphql-subscription-server/compare/v0.9.0...v0.10.0) (2020-05-03)


### Features

* Expose subscriber to subscription ([#337](https://github.com/4Catalyzer/graphql-subscription-server/issues/337)) ([5d164d9](https://github.com/4Catalyzer/graphql-subscription-server/commit/5d164d9))
- Expose subscriber to subscription ([#337](https://github.com/4Catalyzer/graphql-subscription-server/issues/337)) ([5d164d9](https://github.com/4Catalyzer/graphql-subscription-server/commit/5d164d9))

# [0.9.0](https://github.com/4Catalyzer/graphql-subscription-server/compare/v0.8.2...v0.9.0) (2019-04-02)


### Features

* Allow subscription-level override of authorization check function ([#37](https://github.com/4Catalyzer/graphql-subscription-server/issues/37)) ([d5c7aaa](https://github.com/4Catalyzer/graphql-subscription-server/commit/d5c7aaa))
- Allow subscription-level override of authorization check function ([#37](https://github.com/4Catalyzer/graphql-subscription-server/issues/37)) ([d5c7aaa](https://github.com/4Catalyzer/graphql-subscription-server/commit/d5c7aaa))

## [0.8.2](https://github.com/4Catalyzer/graphql-subscription-server/compare/v0.8.1...v0.8.2) (2019-03-20)


### Bug Fixes

* Update dependencies ([#34](https://github.com/4Catalyzer/graphql-subscription-server/issues/34)) ([1600040](https://github.com/4Catalyzer/graphql-subscription-server/commit/1600040))
- Update dependencies ([#34](https://github.com/4Catalyzer/graphql-subscription-server/issues/34)) ([1600040](https://github.com/4Catalyzer/graphql-subscription-server/commit/1600040))

<a name="0.8.1"></a>
## [0.8.1](https://github.com/4Catalyzer/graphql-subscription-server/compare/v0.8.0...v0.8.1) (2019-02-26)

## [0.8.1](https://github.com/4Catalyzer/graphql-subscription-server/compare/v0.8.0...v0.8.1) (2019-02-26)

### Bug Fixes

* Fix typing ([#22](https://github.com/4Catalyzer/graphql-subscription-server/issues/22)) ([cb44cf0](https://github.com/4Catalyzer/graphql-subscription-server/commit/cb44cf0))
- Fix typing ([#22](https://github.com/4Catalyzer/graphql-subscription-server/issues/22)) ([cb44cf0](https://github.com/4Catalyzer/graphql-subscription-server/commit/cb44cf0))

<a name="0.8.0"></a>
# [0.8.0](https://github.com/4Catalyzer/graphql-subscription-server/compare/v0.7.1...v0.8.0) (2018-08-13)

# [0.8.0](https://github.com/4Catalyzer/graphql-subscription-server/compare/v0.7.1...v0.8.0) (2018-08-13)

### Features

* Use an explicitly closeable async iterator ([#20](https://github.com/4Catalyzer/graphql-subscription-server/issues/20)) ([4408ddf](https://github.com/4Catalyzer/graphql-subscription-server/commit/4408ddf))
- Use an explicitly closeable async iterator ([#20](https://github.com/4Catalyzer/graphql-subscription-server/issues/20)) ([4408ddf](https://github.com/4Catalyzer/graphql-subscription-server/commit/4408ddf))

<a name="0.7.1"></a>
## [0.7.1](https://github.com/4Catalyzer/graphql-subscription-server/compare/v0.7.0...v0.7.1) (2018-08-13)

## [0.7.1](https://github.com/4Catalyzer/graphql-subscription-server/compare/v0.7.0...v0.7.1) (2018-08-13)

### Bug Fixes

* Fix subscribe error handling ([#21](https://github.com/4Catalyzer/graphql-subscription-server/issues/21)) ([fe9308b](https://github.com/4Catalyzer/graphql-subscription-server/commit/fe9308b))
- Fix subscribe error handling ([#21](https://github.com/4Catalyzer/graphql-subscription-server/issues/21)) ([fe9308b](https://github.com/4Catalyzer/graphql-subscription-server/commit/fe9308b))

<a name="0.6.0"></a>
# [0.6.0](https://github.com/4Catalyzer/graphql-subscription-server/compare/v0.5.0...v0.6.0) (2018-05-24)

# [0.6.0](https://github.com/4Catalyzer/graphql-subscription-server/compare/v0.5.0...v0.6.0) (2018-05-24)

### Features

* Create new context for each event ([e24b1a3](https://github.com/4Catalyzer/graphql-subscription-server/commit/e24b1a3))
- Create new context for each event ([e24b1a3](https://github.com/4Catalyzer/graphql-subscription-server/commit/e24b1a3))

<a name="0.5.0"></a>
# [0.5.0](https://github.com/4Catalyzer/graphql-subscription-server/compare/v0.4.0...v0.5.0) (2018-05-22)

# [0.5.0](https://github.com/4Catalyzer/graphql-subscription-server/compare/v0.4.0...v0.5.0) (2018-05-22)

### Features

* use native async generators/iterators ([#16](https://github.com/4Catalyzer/graphql-subscription-server/issues/16)) ([b44c08e](https://github.com/4Catalyzer/graphql-subscription-server/commit/b44c08e))
- use native async generators/iterators ([#16](https://github.com/4Catalyzer/graphql-subscription-server/issues/16)) ([b44c08e](https://github.com/4Catalyzer/graphql-subscription-server/commit/b44c08e))

<a name="0.4.0"></a>
# [0.4.0](https://github.com/4Catalyzer/graphql-subscription-server/compare/v0.3.0...v0.4.0) (2018-05-04)

# [0.4.0](https://github.com/4Catalyzer/graphql-subscription-server/compare/v0.3.0...v0.4.0) (2018-05-04)

### Features

* add main exports ([#15](https://github.com/4Catalyzer/graphql-subscription-server/issues/15)) ([03e549e](https://github.com/4Catalyzer/graphql-subscription-server/commit/03e549e))
- add main exports ([#15](https://github.com/4Catalyzer/graphql-subscription-server/issues/15)) ([03e549e](https://github.com/4Catalyzer/graphql-subscription-server/commit/03e549e))

<a name="0.3.0"></a>
# [0.3.0](https://github.com/4Catalyzer/graphql-subscription-server/compare/v0.2.0...v0.3.0) (2018-04-19)

# [0.3.0](https://github.com/4Catalyzer/graphql-subscription-server/compare/v0.2.0...v0.3.0) (2018-04-19)

### Features

* Standarize error handling for subscription limits ([#14](https://github.com/4Catalyzer/graphql-subscription-server/issues/14)) ([a07172b](https://github.com/4Catalyzer/graphql-subscription-server/commit/a07172b))
- Standarize error handling for subscription limits ([#14](https://github.com/4Catalyzer/graphql-subscription-server/issues/14)) ([a07172b](https://github.com/4Catalyzer/graphql-subscription-server/commit/a07172b))

<a name="0.2.0"></a>
# [0.2.0](https://github.com/4Catalyzer/graphql-subscription-server/compare/v0.1.1...v0.2.0) (2018-04-18)

# [0.2.0](https://github.com/4Catalyzer/graphql-subscription-server/compare/v0.1.1...v0.2.0) (2018-04-18)

### Features

* **logging:** expliclty log updates ([08c5f8f](https://github.com/4Catalyzer/graphql-subscription-server/commit/08c5f8f))
- **logging:** expliclty log updates ([08c5f8f](https://github.com/4Catalyzer/graphql-subscription-server/commit/08c5f8f))
9 changes: 0 additions & 9 deletions examples/todo/.babelrc

This file was deleted.

36 changes: 0 additions & 36 deletions examples/todo/.eslintrc

This file was deleted.

3 changes: 0 additions & 3 deletions examples/todo/.flowconfig

This file was deleted.

1 change: 0 additions & 1 deletion examples/todo/.gitignore

This file was deleted.

40 changes: 0 additions & 40 deletions examples/todo/README.md

This file was deleted.

124 changes: 0 additions & 124 deletions examples/todo/data/database.js

This file was deleted.

Loading

0 comments on commit d70ff30

Please sign in to comment.