@akanjs/server 0.0.85 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/server",
3
- "version": "0.0.85",
3
+ "version": "0.0.87",
4
4
  "type": "commonjs",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -45,4 +45,4 @@
45
45
  "import": "./index.mjs"
46
46
  }
47
47
  }
48
- }
48
+ }
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: (0, import_path.join)(process.cwd(), "src/schema.gql"),
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: join(process.cwd(), "src/schema.gql"),
120
+ autoSchemaFile: true,
122
121
  sortSchema: true,
123
122
  playground: baseEnv.environment !== "main",
124
123
  introspection: baseEnv.environment !== "main",