-
Notifications
You must be signed in to change notification settings - Fork 574
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
run tests on all EventTarget implementations
- Loading branch information
Showing
7 changed files
with
473 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,10 +7,7 @@ | |
"url": "https://github.com/dotansimha/graphql-yoga.git", | ||
"directory": "packages/event-target/redis-event-target" | ||
}, | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"scripts": { | ||
"prepack": "bob prepack", | ||
"check": "tsc --pretty --noEmit" | ||
}, | ||
"keywords": [ | ||
|
@@ -21,27 +18,6 @@ | |
], | ||
"author": "Laurin Quast <[email protected]>", | ||
"license": "MIT", | ||
"buildOptions": { | ||
"input": "./src/index.ts" | ||
}, | ||
"exports": { | ||
".": { | ||
"require": "./dist/index.js", | ||
"import": "./dist/index.mjs" | ||
}, | ||
"./*": { | ||
"require": "./dist/*.js", | ||
"import": "./dist/*.mjs" | ||
} | ||
}, | ||
"typings": "dist/index.d.ts", | ||
"typescript": { | ||
"definition": "dist/index.d.ts" | ||
}, | ||
"publishConfig": { | ||
"directory": "dist", | ||
"access": "public" | ||
}, | ||
"dependencies": { | ||
"@graphql-yoga/typed-event-target": "^0.0.0" | ||
}, | ||
|
@@ -53,5 +29,32 @@ | |
"bob-the-bundler": "^1.5.1", | ||
"ioredis": "5.0.6", | ||
"ioredis-mock": "8.2.2" | ||
}, | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"exports": { | ||
".": { | ||
"require": { | ||
"types": "./dist/typings/index.d.ts", | ||
"default": "./dist/cjs/index.js" | ||
}, | ||
"import": { | ||
"types": "./dist/typings/index.d.ts", | ||
"default": "./dist/esm/index.js" | ||
}, | ||
"default": { | ||
"types": "./dist/typings/index.d.ts", | ||
"default": "./dist/esm/index.js" | ||
} | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"typings": "dist/typings/index.d.ts", | ||
"typescript": { | ||
"definition": "dist/typings/index.d.ts" | ||
}, | ||
"publishConfig": { | ||
"directory": "dist", | ||
"access": "public" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,6 @@ | |
"url": "https://github.com/dotansimha/graphql-yoga.git", | ||
"directory": "packages/subscription" | ||
}, | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"scripts": { | ||
"check": "tsc --pretty --noEmit" | ||
}, | ||
|
@@ -20,9 +18,8 @@ | |
], | ||
"author": "Laurin Quast <[email protected]>", | ||
"license": "MIT", | ||
"buildOptions": { | ||
"input": "./src/index.ts" | ||
}, | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"exports": { | ||
".": { | ||
"require": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/node_modules/@types/ioredis-mock/index.d.ts b/node_modules/@types/ioredis-mock/index.d.ts | ||
index 2da5af1..5b9815b 100755 | ||
--- a/node_modules/@types/ioredis-mock/index.d.ts | ||
+++ b/node_modules/@types/ioredis-mock/index.d.ts | ||
@@ -4,8 +4,7 @@ | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
|
||
import RealIORedis = require('ioredis'); | ||
- | ||
-export default RealIORedis; | ||
+export default RealIORedis.default; | ||
export type AddressFromResponse = RealIORedis.AddressFromResponse; | ||
export type BooleanResponse = RealIORedis.BooleanResponse; | ||
export type Callback<T> = RealIORedis.Callback<T>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.