@cedarjs/web-server 3.1.2-next.0 → 3.1.2-next.128
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 +2 -2
- package/dist/cliConfig.d.ts +1 -1
- package/dist/cliConfig.d.ts.map +1 -1
- package/dist/cliConfigHandler.d.ts +1 -1
- package/dist/cliConfigHandler.d.ts.map +1 -1
- package/dist/cliConfigHandler.js +1 -1
- package/dist/webServer.d.ts +1 -1
- package/dist/webServer.d.ts.map +1 -1
- package/package.json +7 -6
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.
|
|
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.
|
|
142
|
+
process.env.CEDAR_ENV_FILES_LOADED = "true";
|
|
143
143
|
}
|
|
144
144
|
process.env.NODE_ENV ??= "production";
|
|
145
145
|
var [scriptName] = Object.keys(bin);
|
package/dist/cliConfig.d.ts
CHANGED
|
@@ -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>;
|
package/dist/cliConfig.d.ts.map
CHANGED
|
@@ -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,
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cliConfigHandler.d.ts","sourceRoot":"","sources":["../src/cliConfigHandler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
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"}
|
package/dist/cliConfigHandler.js
CHANGED
|
@@ -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);
|
package/dist/webServer.d.ts
CHANGED
package/dist/webServer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webServer.d.ts","sourceRoot":"","sources":["../src/webServer.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
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.2-next.
|
|
3
|
+
"version": "3.1.2-next.128+165de00ea8",
|
|
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.2-next.
|
|
29
|
-
"@cedarjs/project-config": "3.1.2-next.
|
|
29
|
+
"@cedarjs/fastify-web": "3.1.2-next.128+165de00ea8",
|
|
30
|
+
"@cedarjs/project-config": "3.1.2-next.128+165de00ea8",
|
|
30
31
|
"ansis": "4.2.0",
|
|
31
32
|
"dotenv-defaults": "5.0.2",
|
|
32
|
-
"fastify": "5.8.
|
|
33
|
+
"fastify": "5.8.4",
|
|
33
34
|
"yargs": "17.7.2"
|
|
34
35
|
},
|
|
35
36
|
"devDependencies": {
|
|
36
|
-
"@cedarjs/framework-tools": "3.1.2-next.
|
|
37
|
+
"@cedarjs/framework-tools": "3.1.2-next.128",
|
|
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": "
|
|
47
|
+
"gitHead": "165de00ea86321332d0905102862b1165bcb726f"
|
|
47
48
|
}
|