@cedarjs/api-server 4.0.0-canary.13791 → 4.0.0-canary.13798

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/bin.js CHANGED
@@ -654,13 +654,13 @@ var init_createServer = __esm({
654
654
  "use strict";
655
655
  init_createServerHelpers();
656
656
  init_api();
657
- if (!process.env.REDWOOD_ENV_FILES_LOADED) {
657
+ if (!process.env.CEDAR_ENV_FILES_LOADED) {
658
658
  config({
659
659
  path: path3.join(getPaths4().base, ".env"),
660
660
  defaults: path3.join(getPaths4().base, ".env.defaults"),
661
661
  multiline: true
662
662
  });
663
- process.env.REDWOOD_ENV_FILES_LOADED = "true";
663
+ process.env.CEDAR_ENV_FILES_LOADED = "true";
664
664
  }
665
665
  }
666
666
  });
@@ -857,13 +857,13 @@ function builder2(yargs2) {
857
857
 
858
858
  // src/bin.ts
859
859
  init_bothCLIConfigHandler();
860
- if (!process.env.REDWOOD_ENV_FILES_LOADED) {
860
+ if (!process.env.CEDAR_ENV_FILES_LOADED) {
861
861
  config2({
862
862
  path: path4.join(getPaths5().base, ".env"),
863
863
  defaults: path4.join(getPaths5().base, ".env.defaults"),
864
864
  multiline: true
865
865
  });
866
- process.env.REDWOOD_ENV_FILES_LOADED = "true";
866
+ process.env.CEDAR_ENV_FILES_LOADED = "true";
867
867
  }
868
868
  process.env.NODE_ENV ??= "production";
869
869
  yargs(hideBin(process.argv)).scriptName("rw-server").strict().alias("h", "help").alias("v", "version").command(
package/dist/cjs/bin.js CHANGED
@@ -679,13 +679,13 @@ var init_createServer = __esm({
679
679
  import_project_config5 = require("@cedarjs/project-config");
680
680
  init_createServerHelpers();
681
681
  init_api();
682
- if (!process.env.REDWOOD_ENV_FILES_LOADED) {
682
+ if (!process.env.CEDAR_ENV_FILES_LOADED) {
683
683
  (0, import_dotenv_defaults.config)({
684
684
  path: import_path3.default.join((0, import_project_config5.getPaths)().base, ".env"),
685
685
  defaults: import_path3.default.join((0, import_project_config5.getPaths)().base, ".env.defaults"),
686
686
  multiline: true
687
687
  });
688
- process.env.REDWOOD_ENV_FILES_LOADED = "true";
688
+ process.env.CEDAR_ENV_FILES_LOADED = "true";
689
689
  }
690
690
  }
691
691
  });
@@ -880,13 +880,13 @@ function builder2(yargs2) {
880
880
 
881
881
  // src/bin.ts
882
882
  init_bothCLIConfigHandler();
883
- if (!process.env.REDWOOD_ENV_FILES_LOADED) {
883
+ if (!process.env.CEDAR_ENV_FILES_LOADED) {
884
884
  (0, import_dotenv_defaults2.config)({
885
885
  path: import_path4.default.join((0, import_project_config6.getPaths)().base, ".env"),
886
886
  defaults: import_path4.default.join((0, import_project_config6.getPaths)().base, ".env.defaults"),
887
887
  multiline: true
888
888
  });
889
- process.env.REDWOOD_ENV_FILES_LOADED = "true";
889
+ process.env.CEDAR_ENV_FILES_LOADED = "true";
890
890
  }
891
891
  process.env.NODE_ENV ??= "production";
892
892
  (0, import_yargs.default)((0, import_helpers4.hideBin)(process.argv)).scriptName("rw-server").strict().alias("h", "help").alias("v", "version").command(
@@ -1 +1 @@
1
- {"version":3,"file":"createServer.d.ts","sourceRoot":"","sources":["../../src/createServer.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,mBAAmB,EACnB,MAAM,EAEP,MAAM,0BAA0B,CAAA;AAqBjC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAsB,YAAY,CAAC,OAAO,GAAE,mBAAwB,mBAoHnE"}
1
+ {"version":3,"file":"createServer.d.ts","sourceRoot":"","sources":["../../src/createServer.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,mBAAmB,EACnB,MAAM,EAEP,MAAM,0BAA0B,CAAA;AAsBjC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAsB,YAAY,CAAC,OAAO,GAAE,mBAAwB,mBAoHnE"}
@@ -41,13 +41,13 @@ var import_store = require("@cedarjs/context/dist/store");
41
41
  var import_project_config = require("@cedarjs/project-config");
42
42
  var import_createServerHelpers = require("./createServerHelpers.js");
43
43
  var import_api = require("./plugins/api.js");
44
- if (!process.env.REDWOOD_ENV_FILES_LOADED) {
44
+ if (!process.env.CEDAR_ENV_FILES_LOADED) {
45
45
  (0, import_dotenv_defaults.config)({
46
46
  path: import_path.default.join((0, import_project_config.getPaths)().base, ".env"),
47
47
  defaults: import_path.default.join((0, import_project_config.getPaths)().base, ".env.defaults"),
48
48
  multiline: true
49
49
  });
50
- process.env.REDWOOD_ENV_FILES_LOADED = "true";
50
+ process.env.CEDAR_ENV_FILES_LOADED = "true";
51
51
  }
52
52
  async function createServer(options = {}) {
53
53
  const {
package/dist/cjs/watch.js CHANGED
@@ -316,13 +316,13 @@ async function pathsToWatch() {
316
316
 
317
317
  // src/watch.ts
318
318
  var cedarPaths = (0, import_project_config3.getPaths)();
319
- if (!process.env.REDWOOD_ENV_FILES_LOADED) {
319
+ if (!process.env.CEDAR_ENV_FILES_LOADED) {
320
320
  (0, import_dotenv_defaults.config)({
321
321
  path: import_node_path2.default.join(cedarPaths.base, ".env"),
322
322
  defaults: import_node_path2.default.join(cedarPaths.base, ".env.defaults"),
323
323
  multiline: true
324
324
  });
325
- process.env.REDWOOD_ENV_FILES_LOADED = "true";
325
+ process.env.CEDAR_ENV_FILES_LOADED = "true";
326
326
  }
327
327
  async function buildAndServe(options) {
328
328
  const buildTs = Date.now();
@@ -1 +1 @@
1
- {"version":3,"file":"createServer.d.ts","sourceRoot":"","sources":["../src/createServer.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,mBAAmB,EACnB,MAAM,EAEP,MAAM,0BAA0B,CAAA;AAqBjC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAsB,YAAY,CAAC,OAAO,GAAE,mBAAwB,mBAoHnE"}
1
+ {"version":3,"file":"createServer.d.ts","sourceRoot":"","sources":["../src/createServer.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,mBAAmB,EACnB,MAAM,EAEP,MAAM,0BAA0B,CAAA;AAsBjC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAsB,YAAY,CAAC,OAAO,GAAE,mBAAwB,mBAoHnE"}
@@ -8,13 +8,13 @@ import { getAsyncStoreInstance } from "@cedarjs/context/dist/store";
8
8
  import { getConfig, getPaths } from "@cedarjs/project-config";
9
9
  import { resolveOptions } from "./createServerHelpers.js";
10
10
  import { cedarFastifyAPI } from "./plugins/api.js";
11
- if (!process.env.REDWOOD_ENV_FILES_LOADED) {
11
+ if (!process.env.CEDAR_ENV_FILES_LOADED) {
12
12
  config({
13
13
  path: path.join(getPaths().base, ".env"),
14
14
  defaults: path.join(getPaths().base, ".env.defaults"),
15
15
  multiline: true
16
16
  });
17
- process.env.REDWOOD_ENV_FILES_LOADED = "true";
17
+ process.env.CEDAR_ENV_FILES_LOADED = "true";
18
18
  }
19
19
  async function createServer(options = {}) {
20
20
  const {
package/dist/watch.js CHANGED
@@ -291,13 +291,13 @@ async function pathsToWatch() {
291
291
 
292
292
  // src/watch.ts
293
293
  var cedarPaths = getPaths3();
294
- if (!process.env.REDWOOD_ENV_FILES_LOADED) {
294
+ if (!process.env.CEDAR_ENV_FILES_LOADED) {
295
295
  config({
296
296
  path: path3.join(cedarPaths.base, ".env"),
297
297
  defaults: path3.join(cedarPaths.base, ".env.defaults"),
298
298
  multiline: true
299
299
  });
300
- process.env.REDWOOD_ENV_FILES_LOADED = "true";
300
+ process.env.CEDAR_ENV_FILES_LOADED = "true";
301
301
  }
302
302
  async function buildAndServe(options) {
303
303
  const buildTs = Date.now();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/api-server",
3
- "version": "4.0.0-canary.13791+17ef2c2eb8",
3
+ "version": "4.0.0-canary.13798+50f726e607",
4
4
  "description": "CedarJS's HTTP server for Serverless Functions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -111,11 +111,11 @@
111
111
  "test:watch": "vitest watch"
112
112
  },
113
113
  "dependencies": {
114
- "@cedarjs/context": "4.0.0-canary.13791",
115
- "@cedarjs/fastify-web": "4.0.0-canary.13791",
116
- "@cedarjs/internal": "4.0.0-canary.13791",
117
- "@cedarjs/project-config": "4.0.0-canary.13791",
118
- "@cedarjs/web-server": "4.0.0-canary.13791",
114
+ "@cedarjs/context": "4.0.0-canary.13798",
115
+ "@cedarjs/fastify-web": "4.0.0-canary.13798",
116
+ "@cedarjs/internal": "4.0.0-canary.13798",
117
+ "@cedarjs/project-config": "4.0.0-canary.13798",
118
+ "@cedarjs/web-server": "4.0.0-canary.13798",
119
119
  "@fastify/multipart": "9.4.0",
120
120
  "@fastify/url-data": "6.0.3",
121
121
  "ansis": "4.2.0",
@@ -132,7 +132,7 @@
132
132
  "yargs": "17.7.2"
133
133
  },
134
134
  "devDependencies": {
135
- "@cedarjs/framework-tools": "4.0.0-canary.13791",
135
+ "@cedarjs/framework-tools": "4.0.0-canary.13798",
136
136
  "@types/aws-lambda": "8.10.161",
137
137
  "@types/dotenv-defaults": "^5.0.0",
138
138
  "@types/split2": "4.2.3",
@@ -145,7 +145,7 @@
145
145
  "vitest": "3.2.4"
146
146
  },
147
147
  "peerDependencies": {
148
- "@cedarjs/graphql-server": "4.0.0-canary.13791"
148
+ "@cedarjs/graphql-server": "4.0.0-canary.13798"
149
149
  },
150
150
  "peerDependenciesMeta": {
151
151
  "@cedarjs/graphql-server": {
@@ -155,5 +155,5 @@
155
155
  "publishConfig": {
156
156
  "access": "public"
157
157
  },
158
- "gitHead": "17ef2c2eb8029d6828831d27ef7918d788ab51a6"
158
+ "gitHead": "50f726e607a65475e6a5e4e3e0604e2e8f602fd0"
159
159
  }