@akanjs/server 0.0.86 → 0.0.87
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/package.json +1 -1
- package/src/boot.js +1 -2
- package/src/boot.mjs +1 -2
package/package.json
CHANGED
package/src/boot.js
CHANGED
|
@@ -56,7 +56,6 @@ var import_dgram = __toESM(require("dgram"));
|
|
|
56
56
|
var import_events = __toESM(require("events"));
|
|
57
57
|
var import_graphql_upload = require("graphql-upload");
|
|
58
58
|
var import_meilisearch = require("meilisearch");
|
|
59
|
-
var import_path = require("path");
|
|
60
59
|
var import_redis = require("redis");
|
|
61
60
|
var import_gql = require("./gql");
|
|
62
61
|
var import_module = require("./module");
|
|
@@ -127,7 +126,7 @@ const createNestApp = async ({ registerModules, serverMode = "federation", env,
|
|
|
127
126
|
imports: [],
|
|
128
127
|
useFactory: () => ({
|
|
129
128
|
useGlobalPrefix: true,
|
|
130
|
-
autoSchemaFile:
|
|
129
|
+
autoSchemaFile: true,
|
|
131
130
|
sortSchema: true,
|
|
132
131
|
playground: import_base.baseEnv.environment !== "main",
|
|
133
132
|
introspection: import_base.baseEnv.environment !== "main",
|
package/src/boot.mjs
CHANGED
|
@@ -47,7 +47,6 @@ import dgram from "dgram";
|
|
|
47
47
|
import events from "events";
|
|
48
48
|
import { graphqlUploadExpress } from "graphql-upload";
|
|
49
49
|
import { MeiliSearch } from "meilisearch";
|
|
50
|
-
import { join } from "path";
|
|
51
50
|
import { createClient } from "redis";
|
|
52
51
|
import { DateScalar } from "./gql";
|
|
53
52
|
import { useGlobals } from "./module";
|
|
@@ -118,7 +117,7 @@ const createNestApp = async ({ registerModules, serverMode = "federation", env,
|
|
|
118
117
|
imports: [],
|
|
119
118
|
useFactory: () => ({
|
|
120
119
|
useGlobalPrefix: true,
|
|
121
|
-
autoSchemaFile:
|
|
120
|
+
autoSchemaFile: true,
|
|
122
121
|
sortSchema: true,
|
|
123
122
|
playground: baseEnv.environment !== "main",
|
|
124
123
|
introspection: baseEnv.environment !== "main",
|