@graphql-tools/jest-transform 1.2.1-alpha-e7752ba5.0 → 1.2.1-alpha-b9e4a92b.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -5
- package/typings/index.d.cts +14 -0
package/package.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-tools/jest-transform",
|
|
3
|
-
"version": "1.2.1-alpha-
|
|
3
|
+
"version": "1.2.1-alpha-b9e4a92b.0",
|
|
4
4
|
"description": "Jest Plugin to load and parse imported GraphQL files",
|
|
5
5
|
"sideEffects": false,
|
|
6
|
+
"peerDependencies": {
|
|
7
|
+
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
|
|
8
|
+
},
|
|
6
9
|
"dependencies": {
|
|
7
|
-
"@graphql-tools/
|
|
8
|
-
"@graphql-tools/webpack-loader": "6.7.1-alpha-e7752ba5.0",
|
|
10
|
+
"@graphql-tools/webpack-loader": "6.7.1-alpha-b9e4a92b.0",
|
|
9
11
|
"@jest/transform": "^28.0.0",
|
|
10
12
|
"@jest/types": "^28.0.0",
|
|
11
13
|
"tslib": "^2.4.0"
|
|
@@ -26,7 +28,7 @@
|
|
|
26
28
|
"exports": {
|
|
27
29
|
".": {
|
|
28
30
|
"require": {
|
|
29
|
-
"types": "./typings/index.d.
|
|
31
|
+
"types": "./typings/index.d.cts",
|
|
30
32
|
"default": "./cjs/index.js"
|
|
31
33
|
},
|
|
32
34
|
"import": {
|
|
@@ -40,7 +42,7 @@
|
|
|
40
42
|
},
|
|
41
43
|
"./*": {
|
|
42
44
|
"require": {
|
|
43
|
-
"types": "./typings/*.d.
|
|
45
|
+
"types": "./typings/*.d.cts",
|
|
44
46
|
"default": "./cjs/*.js"
|
|
45
47
|
},
|
|
46
48
|
"import": {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import loader from '@graphql-tools/webpack-loader';
|
|
2
|
+
export declare type GraphQLGlobalOptions = ThisParameterType<typeof loader>['query'];
|
|
3
|
+
declare module '@jest/types' {
|
|
4
|
+
namespace Config {
|
|
5
|
+
interface ConfigGlobals {
|
|
6
|
+
graphql: GraphQLGlobalOptions;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare function process(...args: any[]): any;
|
|
11
|
+
declare const transformerFactory: {
|
|
12
|
+
process: typeof process;
|
|
13
|
+
};
|
|
14
|
+
export default transformerFactory;
|