@graphql-codegen/typescript-oclif 2.3.0-alpha-2fbcdb6d3.0 → 2.3.0-alpha-98f983dcf.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/cjs/visitor.js +1 -1
- package/esm/visitor.js +1 -1
- package/package.json +3 -3
package/cjs/visitor.js
CHANGED
|
@@ -11,7 +11,7 @@ class GraphQLRequestVisitor extends visitor_plugin_common_1.ClientSideBaseVisito
|
|
|
11
11
|
super(schema, fragments, rawConfig, {});
|
|
12
12
|
this._operationsToInclude = [];
|
|
13
13
|
this._info = info;
|
|
14
|
-
const { handlerPath = '../../handler' } = rawConfig;
|
|
14
|
+
const { handlerPath = '../../handler.js' } = rawConfig;
|
|
15
15
|
// FIXME: This is taken in part from
|
|
16
16
|
// presets/near-operation-file/src/index.ts:139. How do I build a path relative to the outputFile in the same way?
|
|
17
17
|
// A plugin doesn't appear to have access to the same "options.baseOutputDir" that the preset does.
|
package/esm/visitor.js
CHANGED
|
@@ -7,7 +7,7 @@ export class GraphQLRequestVisitor extends ClientSideBaseVisitor {
|
|
|
7
7
|
super(schema, fragments, rawConfig, {});
|
|
8
8
|
this._operationsToInclude = [];
|
|
9
9
|
this._info = info;
|
|
10
|
-
const { handlerPath = '../../handler' } = rawConfig;
|
|
10
|
+
const { handlerPath = '../../handler.js' } = rawConfig;
|
|
11
11
|
// FIXME: This is taken in part from
|
|
12
12
|
// presets/near-operation-file/src/index.ts:139. How do I build a path relative to the outputFile in the same way?
|
|
13
13
|
// A plugin doesn't appear to have access to the same "options.baseOutputDir" that the preset does.
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/typescript-oclif",
|
|
3
|
-
"version": "2.3.0-alpha-
|
|
3
|
+
"version": "2.3.0-alpha-98f983dcf.0",
|
|
4
4
|
"description": "GraphQL Code Generator plugin for generating a CLI tool with oclif",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0",
|
|
7
7
|
"graphql-tag": "^2.0.0"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@graphql-codegen/plugin-helpers": "^2.
|
|
11
|
-
"@graphql-codegen/visitor-plugin-common": "2.11.0-alpha-
|
|
10
|
+
"@graphql-codegen/plugin-helpers": "^2.4.0",
|
|
11
|
+
"@graphql-codegen/visitor-plugin-common": "2.11.0-alpha-98f983dcf.0",
|
|
12
12
|
"auto-bind": "~4.0.0",
|
|
13
13
|
"tslib": "~2.4.0"
|
|
14
14
|
},
|