@cedarjs/web-server 3.1.1 → 3.1.2-next.126

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
@@ -133,13 +133,13 @@ function builder(yargs2) {
133
133
 
134
134
  // src/bin.ts
135
135
  init_cliConfigHandler();
136
- if (!process.env.REDWOOD_ENV_FILES_LOADED) {
136
+ if (!process.env.CEDAR_ENV_FILES_LOADED) {
137
137
  (0, import_dotenv_defaults.config)({
138
138
  path: import_path.default.join((0, import_project_config2.getPaths)().base, ".env"),
139
139
  defaults: import_path.default.join((0, import_project_config2.getPaths)().base, ".env.defaults"),
140
140
  multiline: true
141
141
  });
142
- process.env.REDWOOD_ENV_FILES_LOADED = "true";
142
+ process.env.CEDAR_ENV_FILES_LOADED = "true";
143
143
  }
144
144
  process.env.NODE_ENV ??= "production";
145
145
  var [scriptName] = Object.keys(bin);
@@ -1,5 +1,5 @@
1
1
  import type { Argv } from 'yargs';
2
- import type { ParsedOptions } from './types';
2
+ import type { ParsedOptions } from './types.js';
3
3
  export declare const description = "Start a server for serving the web side";
4
4
  export declare function builder(yargs: Argv<ParsedOptions>): void;
5
5
  export declare function handler(options: ParsedOptions): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"cliConfig.d.ts","sourceRoot":"","sources":["../src/cliConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,eAAO,MAAM,WAAW,4CAA4C,CAAA;AAEpE,wBAAgB,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,QA0BjD;AAED,wBAAsB,OAAO,CAAC,OAAO,EAAE,aAAa,iBAGnD"}
1
+ {"version":3,"file":"cliConfig.d.ts","sourceRoot":"","sources":["../src/cliConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE/C,eAAO,MAAM,WAAW,4CAA4C,CAAA;AAEpE,wBAAgB,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,QA0BjD;AAED,wBAAsB,OAAO,CAAC,OAAO,EAAE,aAAa,iBAGnD"}
@@ -1,3 +1,3 @@
1
- import type { ParsedOptions } from './types';
1
+ import type { ParsedOptions } from './types.js';
2
2
  export declare function handler(options: ParsedOptions): Promise<void>;
3
3
  //# sourceMappingURL=cliConfigHandler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cliConfigHandler.d.ts","sourceRoot":"","sources":["../src/cliConfigHandler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAG5C,wBAAsB,OAAO,CAAC,OAAO,EAAE,aAAa,iBAQnD"}
1
+ {"version":3,"file":"cliConfigHandler.d.ts","sourceRoot":"","sources":["../src/cliConfigHandler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAG/C,wBAAsB,OAAO,CAAC,OAAO,EAAE,aAAa,iBAQnD"}
@@ -21,7 +21,7 @@ __export(cliConfigHandler_exports, {
21
21
  handler: () => handler
22
22
  });
23
23
  module.exports = __toCommonJS(cliConfigHandler_exports);
24
- var import_webServer = require("./webServer");
24
+ var import_webServer = require("./webServer.js");
25
25
  async function handler(options) {
26
26
  try {
27
27
  await (0, import_webServer.serveWeb)(options);
@@ -1,3 +1,3 @@
1
- import type { ParsedOptions } from './types';
1
+ import type { ParsedOptions } from './types.js';
2
2
  export declare function serveWeb(options?: ParsedOptions): Promise<void>;
3
3
  //# sourceMappingURL=webServer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"webServer.d.ts","sourceRoot":"","sources":["../src/webServer.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,wBAAsB,QAAQ,CAAC,OAAO,GAAE,aAAkB,iBA8CzD"}
1
+ {"version":3,"file":"webServer.d.ts","sourceRoot":"","sources":["../src/webServer.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE/C,wBAAsB,QAAQ,CAAC,OAAO,GAAE,aAAkB,iBA8CzD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/web-server",
3
- "version": "3.1.1",
3
+ "version": "3.1.2-next.126+e7fa625a39",
4
4
  "description": "CedarJS's server for the Web side",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,6 +8,7 @@
8
8
  "directory": "packages/web-server"
9
9
  },
10
10
  "license": "MIT",
11
+ "type": "commonjs",
11
12
  "main": "./dist/cliConfig.js",
12
13
  "types": "./dist/cliConfig.d.ts",
13
14
  "bin": {
@@ -25,15 +26,15 @@
25
26
  "prepublishOnly": "NODE_ENV=production yarn build"
26
27
  },
27
28
  "dependencies": {
28
- "@cedarjs/fastify-web": "3.1.1",
29
- "@cedarjs/project-config": "3.1.1",
29
+ "@cedarjs/fastify-web": "3.1.2-next.126+e7fa625a39",
30
+ "@cedarjs/project-config": "3.1.2-next.126+e7fa625a39",
30
31
  "ansis": "4.2.0",
31
32
  "dotenv-defaults": "5.0.2",
32
- "fastify": "5.8.2",
33
+ "fastify": "5.8.4",
33
34
  "yargs": "17.7.2"
34
35
  },
35
36
  "devDependencies": {
36
- "@cedarjs/framework-tools": "0.0.0",
37
+ "@cedarjs/framework-tools": "3.1.2-next.126",
37
38
  "tsx": "4.21.0",
38
39
  "typescript": "5.9.3"
39
40
  },
@@ -43,5 +44,5 @@
43
44
  "publishConfig": {
44
45
  "access": "public"
45
46
  },
46
- "gitHead": "daccdd356942396c8037bd53c8e945255e4c8fdb"
47
+ "gitHead": "e7fa625a39d829a9078bd5b8237e93ec1a8745be"
47
48
  }