@graphql-mesh/merger-bare 1.0.0-alpha-20230523154231-8c60b52d9 → 1.0.0-alpha-20230523155104-df277a22b
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/index.js +1 -2
- package/esm/index.js +1 -2
- package/package.json +9 -6
package/cjs/index.js
CHANGED
|
@@ -53,9 +53,8 @@ class BareMerger {
|
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
async getUnifiedSchema({ rawSources, typeDefs, resolvers }) {
|
|
56
|
-
var _a;
|
|
57
56
|
if (rawSources.length === 1) {
|
|
58
|
-
if ((rawSources[0].executor ||
|
|
57
|
+
if ((rawSources[0].executor || rawSources[0].transforms?.length) &&
|
|
59
58
|
(typeDefs.length > 0 || (0, utils_2.asArray)(resolvers).length > 0)) {
|
|
60
59
|
return this.handleSingleWrappedExtendedSource({ rawSources, typeDefs, resolvers });
|
|
61
60
|
}
|
package/esm/index.js
CHANGED
|
@@ -50,9 +50,8 @@ export default class BareMerger {
|
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
async getUnifiedSchema({ rawSources, typeDefs, resolvers }) {
|
|
53
|
-
var _a;
|
|
54
53
|
if (rawSources.length === 1) {
|
|
55
|
-
if ((rawSources[0].executor ||
|
|
54
|
+
if ((rawSources[0].executor || rawSources[0].transforms?.length) &&
|
|
56
55
|
(typeDefs.length > 0 || asArray(resolvers).length > 0)) {
|
|
57
56
|
return this.handleSingleWrappedExtendedSource({ rawSources, typeDefs, resolvers });
|
|
58
57
|
}
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-mesh/merger-bare",
|
|
3
|
-
"version": "1.0.0-alpha-
|
|
3
|
+
"version": "1.0.0-alpha-20230523155104-df277a22b",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@graphql-mesh/types": "1.0.0-alpha-
|
|
7
|
-
"@graphql-mesh/utils": "1.0.0-alpha-
|
|
8
|
-
"@graphql-tools/utils": "^9.2.1
|
|
6
|
+
"@graphql-mesh/types": "1.0.0-alpha-20230523155104-df277a22b",
|
|
7
|
+
"@graphql-mesh/utils": "1.0.0-alpha-20230523155104-df277a22b",
|
|
8
|
+
"@graphql-tools/utils": "^9.2.1",
|
|
9
9
|
"graphql": "*",
|
|
10
10
|
"tslib": "^2.4.0"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@graphql-mesh/merger-stitching": "1.0.0-alpha-
|
|
14
|
-
"@graphql-tools/schema": "
|
|
13
|
+
"@graphql-mesh/merger-stitching": "1.0.0-alpha-20230523155104-df277a22b",
|
|
14
|
+
"@graphql-tools/schema": "9.0.19"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
@@ -19,6 +19,9 @@
|
|
|
19
19
|
"directory": "packages/mergers/bare"
|
|
20
20
|
},
|
|
21
21
|
"license": "MIT",
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">=16.0.0"
|
|
24
|
+
},
|
|
22
25
|
"main": "cjs/index.js",
|
|
23
26
|
"module": "esm/index.js",
|
|
24
27
|
"typings": "typings/index.d.ts",
|