@stonecrop/nuxt-grafserv 0.8.10 → 0.8.12
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/dist/module.json +1 -1
- package/dist/module.mjs +3 -0
- package/package.json +3 -3
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -120,6 +120,7 @@ export default {
|
|
|
120
120
|
`// This handles schema building, watch mode, and lifecycle`,
|
|
121
121
|
`export const pgl = postgraphile(preset)`
|
|
122
122
|
].join("\n");
|
|
123
|
+
config.virtual["#internal/grafserv/resolvers"] = "export default null";
|
|
123
124
|
config.runtimeConfig = config.runtimeConfig || {};
|
|
124
125
|
config.runtimeConfig.grafserv = {
|
|
125
126
|
type: "postgraphile",
|
|
@@ -158,6 +159,8 @@ export default {
|
|
|
158
159
|
config.virtual = config.virtual || {};
|
|
159
160
|
if (resolverPath) {
|
|
160
161
|
config.virtual["#internal/grafserv/resolvers"] = `export { default } from '${resolverPath}'`;
|
|
162
|
+
} else {
|
|
163
|
+
config.virtual["#internal/grafserv/resolvers"] = "export default null";
|
|
161
164
|
}
|
|
162
165
|
}
|
|
163
166
|
config.externals = config.externals || {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stonecrop/nuxt-grafserv",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.12",
|
|
4
4
|
"description": "Pluggable Grafserv GraphQL server as Nuxt Module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"grafserv": "^1.0.0-rc.6",
|
|
45
45
|
"graphql": "^16.12.0",
|
|
46
46
|
"postgraphile": "^5.0.0-rc.7",
|
|
47
|
-
"@stonecrop/graphql-middleware": "0.8.
|
|
47
|
+
"@stonecrop/graphql-middleware": "0.8.12"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@eslint/js": "^9.39.2",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"lint": "eslint .",
|
|
98
98
|
"test": "vitest run",
|
|
99
99
|
"test:ci": "vitest run --run",
|
|
100
|
-
"test:coverage": "vitest run --coverage",
|
|
100
|
+
"test:coverage": "vitest run --coverage.enabled --coverage.provider=istanbul",
|
|
101
101
|
"test:e2e": "vitest run test/e2e",
|
|
102
102
|
"test:watch": "vitest watch",
|
|
103
103
|
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
|