@stonecrop/nuxt-grafserv 0.8.9 → 0.8.11

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stonecrop/nuxt-grafserv",
3
3
  "configKey": "grafserv",
4
- "version": "0.8.9",
4
+ "version": "0.8.11",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
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.9",
3
+ "version": "0.8.11",
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.9"
47
+ "@stonecrop/graphql-middleware": "0.8.11"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@eslint/js": "^9.39.2",