@graphql-codegen/cli 2.9.0-alpha-892ec97e0.0 → 2.9.1
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/cli.js +0 -1
- package/cjs/plugins.js +1 -1
- package/esm/cli.js +0 -1
- package/esm/plugins.js +1 -1
- package/package.json +3 -3
package/cjs/cli.js
CHANGED
package/cjs/plugins.js
CHANGED
|
@@ -21,7 +21,7 @@ async function getPluginByName(name, pluginLoader) {
|
|
|
21
21
|
return await pluginLoader(moduleName);
|
|
22
22
|
}
|
|
23
23
|
catch (err) {
|
|
24
|
-
if (err.code !== 'MODULE_NOT_FOUND') {
|
|
24
|
+
if (err.code !== 'MODULE_NOT_FOUND' && err.code !== 'ERR_MODULE_NOT_FOUND') {
|
|
25
25
|
throw new plugin_helpers_1.DetailedError(`Unable to load template plugin matching ${name}`, `
|
|
26
26
|
Unable to load template plugin matching '${name}'.
|
|
27
27
|
Reason:
|
package/esm/cli.js
CHANGED
package/esm/plugins.js
CHANGED
|
@@ -18,7 +18,7 @@ export async function getPluginByName(name, pluginLoader) {
|
|
|
18
18
|
return await pluginLoader(moduleName);
|
|
19
19
|
}
|
|
20
20
|
catch (err) {
|
|
21
|
-
if (err.code !== 'MODULE_NOT_FOUND') {
|
|
21
|
+
if (err.code !== 'MODULE_NOT_FOUND' && err.code !== 'ERR_MODULE_NOT_FOUND') {
|
|
22
22
|
throw new DetailedError(`Unable to load template plugin matching ${name}`, `
|
|
23
23
|
Unable to load template plugin matching '${name}'.
|
|
24
24
|
Reason:
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/cli",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"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"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@graphql-codegen/core": "2.6.
|
|
9
|
-
"@graphql-codegen/plugin-helpers": "^2.6.0
|
|
8
|
+
"@graphql-codegen/core": "2.6.0",
|
|
9
|
+
"@graphql-codegen/plugin-helpers": "^2.6.0",
|
|
10
10
|
"@graphql-tools/apollo-engine-loader": "^7.3.1",
|
|
11
11
|
"@graphql-tools/code-file-loader": "^7.3.0",
|
|
12
12
|
"@graphql-tools/git-loader": "^7.2.0",
|